[asterisk-users] Feature request: Need to INVITE to peer with other domain without peer domain addition

Barry Flanagan barryf-lists at flanagan.ie
Sun Mar 31 14:15:19 CDT 2013


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 outboundproxy=
domain1.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>


More information about the asterisk-users mailing list