[Asterisk-Users] SIP called number on incoming call

Jay Milk jay at skimmilk.net
Wed Jan 26 13:48:10 MST 2005


Simply leave off the /12345; then asterisk will route to the called
number in the dialplan; for example, if your number is 5551212, asterisk
will attempt to find "5551212" in your inbound context.

> -----Original Message-----
> From: bladerunner [mailto:bladerunner81 at gmx.net] 
> Sent: Wednesday, January 26, 2005 12:49 PM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] SIP called number on incoming call
> 
> 
> hi people on list,
> 
> i have a rather tough problem:
> 
> incoming sip from my ISP no problem, he gives me a sip trunk 
> that i connect to 
> asterisk.
> 
> register => ${username}:${password}@voip.${isp}.at/12345
> 
> so when an incoming call arrives it is sent to extension 
> 12345. from there on 
> it should be processed, extracting the DID-digits from the 
> sip header or from 
> some other source.
> 
> what would be the best method to get those DID-digits (i was 
> not able to find 
> them in the global variables provided by asterisk, but i know 
> for sure my isp 
> sends them somewhere in the sip packets)?
> 
> kind regards,
> 
> michael
> 




More information about the asterisk-users mailing list