[Asterisk-Users] Passing called number in SIP
Andres
andres at telesip.net
Mon Jun 27 23:26:59 MST 2005
>
>However, it's not really passing the called number per say. What
>it's doing is putting the extension I have in my register statement
>into the "To" field. I'm assuming the "To" field is actually being
>populated with whatever * set the "Contact" field to when it
>registered. This seems to mean that I need a unique username for
>every SIP DID I have if I want to be able to route them to different
>context's.
>
>Is there a standard way of handling this issue when you have multiple
>SIP DID's ?
>
>Chris
>
>
>
Say you have a block of 100 DIDs with Level 3 for example. You can just
configure something like this in your incoming context:
exten => _30355597[0-9][0-9],1,Dial(SIP/${EXTEN},30)
(if you want each DID in a different context then you need a line for each)
--
Andres
Network Admin
http://www.telesip.net
More information about the asterisk-users
mailing list