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:[EMAIL PROTECTED] > Sent: Wednesday, January 26, 2005 12:49 PM > To: [email protected] > 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}:[EMAIL PROTECTED]/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 > _______________________________________________ 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
