[asterisk-users] adding area code

Phil Reynolds phil-asterisk at tinsleyviaduct.com
Mon Apr 27 15:59:30 CDT 2015



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/77d0f9d5/attachment.html>


More information about the asterisk-users mailing list