[Asterisk-Users] SIP URI Dialplan?

Daryll Strauss daryll.strauss at gmail.com
Wed Dec 22 16:13:40 MST 2004


I've got soft phone that allows me to dial SIP URI's. I'd like to
route these calls through a provider to be completed, because I'm
beind a NAT box and doing it directly doesn't work.

Right now I've got an extension defined like this:
Dial(IAX2/${FWDUSERID}:${FWDPASSWD}@${FWDSERVER}/**356<username>)
This will connect a call to FWD and call a user at FWD. It works nicely.

What I'd like to do is write a dialplan that recognizes:
<username>@sip.earthlink.net
and does a dial like the one above.

As far as I can tell the dial plans only allow me to specify digits.
As SIP phones become more prevelant, it would be great to have
dialplans that recognized SIP URIs.

- |Daryll



More information about the asterisk-users mailing list