09-01-2015 01:59 PM - edited 03-21-2019 08:45 AM
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><:_sd_>7[1-9]x. | <:_sd_>x.</sip>
</IncomingDialPlanManipulations>
</OutboundDialPlanTemplate>
09-03-2015 04:59 AM
Unuseful stupid cisco support. Thanks!
For curious dude, this code works for me:
<IncomingDialPlanManipulations> <fxo><:_sd_>x.</fxo> <sip><_cc_:_sd_8>[34589]xxxxxxxxx | <:_sd_810>x.</sip> <e164><_cc_:_sd_8>[34589]xxxxxxxxx | <:_sd_810>x.</e164> </IncomingDialPlanManipulations>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide