Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Virtual domain redirects


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
darcy at Vex.Net
Guest





PostPosted: Thu Jan 07, 2016 12:04 am    Post subject: [asterisk-users] Virtual domain redirects Reply with quote

I run an ISP with virtual services. We also offer VoIP. Currently we
have our DNS set up so that virtual domains can have SIP addresses in
their own domain. However, it comes to Asterisk as just the user
name. For example, my SIP address is sip:darcy@VybeNetworks.com which
calls extension darcy. That's fine because I am darcy in both the
virtual domain as well as the underlying ISP domain. However, clients
can have whatever user name they want within their own domain. For
example there might be a darcy@example.com that points to user dc2016
on our server. That means that the client's sip address has to be
dc2016@example.com.

I am trying to figure out how to allow darcy@example.com to be
translated to dc2016@vex.net (out ISP domain) but I am at a loss to see
how it could work. It almost seems like I need to run a separate
asterisk server for each virtual client. Is there some sort of proxy
software that will let me do that more efficiently? Is there some
magic DNS entries that can change it?

If it helps I am generating the configs from my client database for
asterisk as well as DNS so I don't care how complicated the configs get.

Thanks.

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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
darcy at Vex.Net
Guest





PostPosted: Thu Jan 07, 2016 4:17 pm    Post subject: [asterisk-users] Virtual domain redirects Reply with quote

On Thu, 7 Jan 2016 00:04:05 -0500
"D'Arcy J.M. Cain" <darcy@Vex.Net> wrote:
Quote:
I am trying to figure out how to allow darcy@example.com to be
translated to dc2016@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@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@Vex.Net
VoIP: sip:darcy@Vex.Net

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services