<span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px"><div>Motty</div>
<div> </div>
<div>Yes</div>
<div> </div>
<div>From your dial plan accept 9 + 7 digits then concat your dialed number together with your areacode.</div>
<div> </div>
<div>This s a brief example.</div>
<div> </div>
<div>exten => _9XXXXXXX,1,Set(l_HomeAreaCode=555)</div>
<div>exten => _9XXXXXXX,n,Set(dialnumber=${l_HomeAreaCode}${EXTEN-1}) ;; This line should combine your area code and the last 7 digits of your dialed phone number</div>
<div>exten => _9XXXXXXX,n,Dial(SIP/${dialnumber},35)</div>
<div> </div>
<div> </div>
<div>Thanks<br />
<br />
Bryant Zimmerman (ZK Tech Inc.)<br />
616-855-1030 Ext. 2003</div>
<div> </div>
<hr align="center" size="2" width="100%" />
<div><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><b>From</b>: "Motty Cruz" <motty.cruz@gmail.com><br />
<b>Sent</b>: Monday, April 27, 2015 4:33 PM<br />
<b>To</b>: asterisk-users@lists.digium.com<br />
<b>Subject</b>: [asterisk-users] adding area code</span>
<div> </div>
Hello,<br />
<br />
I would like to add area code if clients dial 7 digits, it that<br />
possible? currently clients dial prefix 9 plus local number, however my<br />
SIP provider is requiring to dial 10 digits. is it possible to add area<br />
code?<br />
<br />
Thanks,<br />
Motty<br />
<br />
--<br />
_____________________________________________________________________<br />
-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br />
New to Asterisk? Join us for a live introductory webinar every Thurs:<br />
http://www.asterisk.org/hello<br />
<br />
asterisk-users mailing list<br />
To UNSUBSCRIBE or update options visit:<br />
http://lists.digium.com/mailman/listinfo/asterisk-users<br />
</div></span>