[asterisk-users] Asterisk 1.8 to Asterisk 13.11 appending area code to local numbers

Joshua Colp jcolp at digium.com
Sun Nov 6 14:14:49 CST 2016


On Sun, Nov 6, 2016, at 03:35 PM, Motty Cruz wrote:
> Hello, I would like to add area code to local numbers, it worked like a
> charm on Asterisk 1.8 but does not work on Asterisk 13.11. 
> 
>  
> 
> Extensions.conf; worked before on Asterisk 1.8
> ; Adding Area code to local numbers
> 
> exten => _9XXXXXXX,n,Set(CALLERID(all)="$CallerID" <3818008000>)
> 
> exten => _9XXXXXXX,n,Dial(SIP/voip-truck/1381${EXTEN:1},80)

This should also work fine. You'll need to provide the console output of
an attempt. Different logic may be executed.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list