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

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to