Craig Guy wrote:
I was afraid that may be the case - The issue I have with that approach is how do you avoid manually mapping extensions to mac addresses in the dialplan? Assuming I have a PRI with 100did and I want to use the last 4 digits of the DID as the internal extension, I want to use something like below to handle the bulk of calls:

exten => _XXXXXXXX,1,Dial(SIP/${EXTEN:4},20)

How can this be accomplished if SIP usernames are mac addresses?, it would seem to me that sip.conf is the correct place to map an extension to a device, otherwise I would have an extensions.conf with a manual entry for each extension making updating it a chore.

sip.conf is not the correct place to map extensions to devices. extensions.conf is is place to do that. You are still stuck in the mindset that extension == device.

Part of running a PBX, any PBX, is having to map physical devices / ports to logical extensions.

We have to put in an exten => entry for each extension. It's not that hard, and only has to be done once for each extension.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to