Dmitriy Serov
2013-Mar-31 17:11 UTC
[asterisk-users] Feature request: Need to INVITE to peer with other domain without peer domain addition
Hi, asterisk admin and users. I need to SIP INVITE uri with domain via peer. And uri domain differ then peer domain. dialplan: exten => s,n,Dial(SIP/peer1/number at domain2.com,60,r) [peer1] type=friend host=domain1.com fromdomain=domain1.com As a result in SIP packet uri: number at domain2.com@domain1.com I need: number at domain2.com I can't use "SIP uri dial", i need authorization (peer1) I think asterisk can't do that. Is where work around? Dmitriy Serov.
Barry Flanagan
2013-Mar-31 19:15 UTC
[asterisk-users] Feature request: Need to INVITE to peer with other domain without peer domain addition
On 31 March 2013 18:11, Dmitriy Serov <serov.d.p at gmail.com> wrote:> Hi, asterisk admin and users. > > I need to SIP INVITE uri with domain via peer. And uri domain differ then > peer domain. > dialplan: > exten => s,n,Dial(SIP/peer1/number@**domain2.com <number at domain2.com> > ,60,r) > > [peer1] > type=friend > host=domain1.com > fromdomain=domain1.com > > As a result in SIP packet uri: number at domain2.com@domain1.com > I need: number at domain2.com > > I can't use "SIP uri dial", i need authorization (peer1) > > > I think asterisk can't do that. Is where work around? > >Would it work if you created a sip peer [domain2.com] and set outboundproxydomain1.com then sent the call to SIP/number at domain2.com ? -Barry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130331/972f4769/attachment.htm>