[asterisk-users] adding area code
Bryant Zimmerman
BryantZ at zktech.com
Mon Apr 27 16:22:20 CDT 2015
Thanks for your reply,
[globals]
AREACODE=381
[outbound]
exten => _9XXXXXX,1,Dial(SIP/SIP-Provider/1${AREACODE}${EXTEN-1},80)
did not work for me, any ideas?
Thanks,
On 04/27/2015 01:59 PM, Phil Reynolds wrote:
On 27 April 2015 21:32:42 BST, Motty Cruz <motty.cruz at gmail.com> wrote:
>Hello,
>
>I would like to add area code if clients dial 7 digits, it that
>possible? currently clients dial prefix 9 plus local number, however my
>
>SIP provider is requiring to dial 10 digits. is it possible to add area
>
>code?r
Quite simple - you need to match on NXXXXXXX and when passing it to the SIP
provider, present ${AREACODE}${EXTEN}, having first defined AREACODE in
[globals].
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150427/24155c2a/attachment.html>
More information about the asterisk-users
mailing list