On 31 March 2013 18:11, Dmitriy Serov <[email protected]> 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 <[email protected]>
> ,60,r)
>
> [peer1]
> type=friend
> host=domain1.com
> fromdomain=domain1.com
>
> As a result in SIP packet uri: [email protected]@domain1.com
> I need: [email protected]
>
> 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/[email protected] ?

-Barry
--
_____________________________________________________________________
-- 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

Reply via email to