[asterisk-users] Virtual domain redirects

D'Arcy J.M. Cain darcy at Vex.Net
Thu Jan 7 15:17:00 CST 2016


On Thu, 7 Jan 2016 00:04:05 -0500
"D'Arcy J.M. Cain" <darcy at Vex.Net> wrote:
> I am trying to figure out how to allow darcy at example.com to be
> translated to dc2016 at vex.net (out ISP domain) but I am at a loss to

I think I see where I can hook this.

same => n,Verbose(0,To: ${SIP_HEADER(To)})

This shows me the actual address called.  e.g.
"To: <sip:darcy at vybenetworks.com>".  Now I just need to look for a
place to grab this and put in a GoTo.  Perhaps a new incoming context
that does the lookup and then jumps to the existing incoming context.

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy at Vex.Net
VoIP: sip:darcy at Vex.Net



More information about the asterisk-users mailing list