cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
501
Views
0
Helpful
1
Replies

UC320W - CallerID Manipulations

Efim Kuznetsov
Level 1
Level 1

Hello!

Could you help me please? I can't understand how does it work.

I want to modify CallerID of inbound calls incoming from SIP line. I found this strings in locales:

  <IncomingDialPlanManipulations>
  <sip><:_sd_>0[1-9]x. | <:_sd_0011>[12345789][023456789]x. | <:_sd_0011>[123456789][023456789]x. | <:_sd_>x.</sip>
  </IncomingDialPlanManipulations> 

It's an example.

 

Now in syslog I see those strings:

Sep  1 23:23:32 UC320W user.debug voice: Caller Id modified:+74951234567
Sep  1 23:23:32 UC320W user.debug voice:  => 974951234567, pattern=<:9>x.

How should I modify IncomingDialPlanManipulations to change one digit?
 974951234567 => 984951234567

 

My dial plan:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OutboundDialPlanTemplate version="2.0">
    <Locale_shown>Local calls are 10-digits</Locale_shown>
    <OutboundDialDisplayFormat>xxx-xxx-xx-xx</OutboundDialDisplayFormat>
    <CountryCode>7</CountryCode>
    <LongDistancePrefix>8</LongDistancePrefix>
    <InternationalCode>810</InternationalCode>
    <OutboundNumbers>
        <OutboundNumberInputs>
            <defaultPrivilege>basic</defaultPrivilege>
            <Label_shown>Star Codes</Label_shown>
            <NumberBeginsWith>*</NumberBeginsWith>
            <NumberOfDigits>variable</NumberOfDigits>
            <service>true</service>
        </OutboundNumberInputs>
        <OutboundNumberInputs>
            <defaultPrivilege>basic</defaultPrivilege>
            <Label_shown>Operator</Label_shown>
            <NumberBeginsWith>09</NumberBeginsWith>
            <NumberOfDigits>2</NumberOfDigits>
            <service>true</service>
        </OutboundNumberInputs>
        
        <!-- Patterns below here are from the CCA template -->
        <OutboundNumberInputs>
            <defaultPrivilege>basic</defaultPrivilege>
            <Label_shown>Emergency</Label_shown>
            <NumberBeginsWith>911S0</NumberBeginsWith>
            <NumberOfDigits>3</NumberOfDigits>
            <service>true</service>
        </OutboundNumberInputs>
        <OutboundNumberInputs>
            <defaultPrivilege>basic</defaultPrivilege>
            <Label_shown>Emergency</Label_shown>
            <NumberBeginsWith>0[1-4]S0</NumberBeginsWith>
            <NumberOfDigits>2</NumberOfDigits>
            <service>true</service>
        </OutboundNumberInputs>
        <OutboundNumberInputs>
            <defaultPrivilege>basic</defaultPrivilege>
            <Label_shown>Service Numbers</Label_shown>
            <NumberBeginsWith>100S0</NumberBeginsWith>
            <NumberOfDigits>3</NumberOfDigits>
            <service>true</service>
        </OutboundNumberInputs>
        <OutboundNumberInputs>
            <defaultPrivilege>basic</defaultPrivilege>
            <Label_shown>10-Digit Local</Label_shown>
            <AccessCode>8</AccessCode>
            <NumberBeginsWith>49[59]</NumberBeginsWith>
            <NumberOfDigits>10</NumberOfDigits>
            <local>true</local>
        </OutboundNumberInputs>
        <OutboundNumberInputs>
            <defaultPrivilege>basic</defaultPrivilege>
            <Label_shown>Toll Free</Label_shown>
            <AccessCode>8</AccessCode>
            <NumberBeginsWith>800</NumberBeginsWith>
            <NumberOfDigits>10</NumberOfDigits>
        </OutboundNumberInputs>
        <OutboundNumberInputs>
            <defaultPrivilege>expanded</defaultPrivilege>
            <Label_shown>Long Distance</Label_shown>
            <NumberBeginsWith>8[2-9]</NumberBeginsWith>
            <NumberOfDigits>11</NumberOfDigits>
            <national_plus>8</national_plus>
        </OutboundNumberInputs>
        <OutboundNumberInputs>
            <defaultPrivilege>expanded</defaultPrivilege>
            <Label_shown>Long Distance Assisted</Label_shown>
            <NumberBeginsWith>813</NumberBeginsWith>
            <NumberOfDigits>3</NumberOfDigits>
        </OutboundNumberInputs>
        <OutboundNumberInputs>
            <defaultPrivilege>expanded</defaultPrivilege>
            <Label_shown>Premium Operator</Label_shown>
            <NumberBeginsWith>009</NumberBeginsWith>
            <NumberOfDigits>3</NumberOfDigits>
            <service>true</service>
        </OutboundNumberInputs>
        <OutboundNumberInputs>
            <defaultPrivilege>full</defaultPrivilege>
            <Label_shown>International</Label_shown>
            <NumberBeginsWith>810</NumberBeginsWith>
            <NumberOfDigits>variable</NumberOfDigits>
            <international_plus>810</international_plus>
        </OutboundNumberInputs>
        <OutboundNumberInputs>
            <defaultPrivilege>full</defaultPrivilege>
            <Label_shown>International Assisted</Label_shown>
            <NumberBeginsWith>819[1-4]</NumberBeginsWith>
            <NumberOfDigits>4</NumberOfDigits>
        </OutboundNumberInputs>
    </OutboundNumbers>
    <IncomingDialPlanManipulations>
        <!--  _cc_ country code, _ac_ area code -->
        <sip>&lt;:_sd_&gt;7[1-9]x. | &lt;:_sd_&gt;x.</sip>
    </IncomingDialPlanManipulations>        
</OutboundDialPlanTemplate>
1 Reply 1

Efim Kuznetsov
Level 1
Level 1

Unuseful stupid cisco support. Thanks!

For curious dude, this code works for me:

    <IncomingDialPlanManipulations>
        <fxo>&lt;:_sd_&gt;x.</fxo>
        <sip>&lt;_cc_:_sd_8&gt;[34589]xxxxxxxxx | &lt;:_sd_810&gt;x.</sip>
        <e164>&lt;_cc_:_sd_8&gt;[34589]xxxxxxxxx | &lt;:_sd_810&gt;x.</e164>
    </IncomingDialPlanManipulations>

Explaining Dial Plan

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: