Asterisk 1.8 To Asterisk 13.11 Appending Area Code To Local Numbers

Home » Asterisk Users » Asterisk 1.8 To Asterisk 13.11 Appending Area Code To Local Numbers
Asterisk Users 3 Comments

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)

Any ideas?

Thanks, Motty

3 thoughts on - Asterisk 1.8 To Asterisk 13.11 Appending Area Code To Local Numbers

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

  • It does not append the area code:
    5007-00000047″,”SIP/truck1-00000048″,”Dial”,”SIP/truck1/6052736,80″,”2016-11
    -06 18:49:41″,,”2016-11-06 18:49:45″,4,0,”NO
    ANSWER”,”DOCUMENTATION”,”1478458181.738″,””
    5007-00000049″,”SIP/truck1-0000004a”,”Dial”,”SIP/truck1/6052736,80″,”2016-11
    -06 18:52:26″,,”2016-11-06 18:52:34″,7,0,”NO
    ANSWER”,”DOCUMENTATION”,”1478458346.826″,””
    5007-0000004b”,”SIP/truck1-0000004c”,”Dial”,”SIP/truck1/6052736,80″,”2016-11
    -06 18:54:02″,,”2016-11-06 18:54:23″,20,0,”NO
    ANSWER”,”DOCUMENTATION”,”1478458442.914″,””

    Our Sip provider takes 10 digits, it should have append 381 to 6052736
    number.

    Thanks, Mottyh

    —–Original Message—

  • That appears to be CDR data, not the console output. We really need to see the console output to understand what is executing.