[Asterisk-Users] Assigning DID and Extension with similar value
Henry Devito
hdevito at mchsi.com
Thu Apr 28 20:27:58 MST 2005
You ar making this a lot harder than it is. If your incomming trunk is in the same context and there is an extension that matches the DID the did will route to the correct place. Matter of fact I always try to match DID to extension. Usually I have the telco only send me the last 4 of the DID number and I make that the persons extension.
or another way would be like this.
[ext-did-in] ; context of did lines
exten => 999,1,Goto(ext-local,227,1) ;
[ext-local] ; local extensions
exten => 227,hint,SIP/227
exten => 227,1,Dial(SIP/227&SIP/228)
----- Original Message -----
From: Nathaniel Angelo A. Torres (247talk)
To: Asterisk Users Mailing List - Non-Commercial Discussion
Sent: Thursday, April 28, 2005 7:16 PM
Subject: [Asterisk-Users] Assigning DID and Extension with similar value
Hi, just wanted to ask if there is anyone here ever tried creating an extension, then get a did from a pstn network, route the call to that extension. The catch is, the extension and did is of similar value.
Example: extension = 6945192
did = 6945192
Please help me find out how I could implement this.
Thanks.
Cheers,
Angelo
------------------------------------------------------------------------------
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050428/9e6b3dd4/attachment.htm
More information about the asterisk-users
mailing list