[Freeswitch-users] Using an outbound proxy [SOLVED]

Iñaki Baz Castillo ibc at aliax.net
Mon Nov 24 01:22:41 PST 2008


El Lunes, 24 de Noviembre de 2008, kokoska rokoska escribió:
> Iñaki Baz Castillo napsal(a):
> > El Lunes, 24 de Noviembre de 2008, Brian West escribió:
> >> YOu can also use the sip_invite_domain variable to accomplish the same
> >> thing.
> >
> > Thanks, it works but just if I use it as:
> >
> > <action application="bridge"
> > data="{sip_invite_domain=${sip_from_host}}sofia/gateway/gw1/XXX at XXXXXXX"/
> >>
> >
> > Why doesn't it work if I use:
> >
> > <action application="set" data="sip_invite_domain=${sip_from_host}"/>
> > <action application="bridge" data="sofia/gateway/gw1/XXX at XXXXXXX"/>
>
> Hi Iñaki,
>
> I have just a thought - try "export" instead of "set":
>
> <action application="export" data="sip_invite_domain=${sip_from_host}"/>
> <action application="bridge" data="sofia/gateway/gw1/XXX at XXXXXXX"/>

Thanks! I was reading about "export" app right now :)


-- 
Iñaki Baz Castillo




More information about the FreeSWITCH-users mailing list