Just as a better example of how to use accountcode for this ... maybe we
could add areacode= to sip.conf and pull that into a var instead of wasting
the accountcode for this.... hrm...

[1234567]
username=whatever
secret=whatever
context=phones
accountcode=920

 then in extensions.conf

[outbound]
exten => NXXXXXX,1,goto(1${ACCOUNTCODE}${EXTEN},1)

[phones]
include => outbound


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to