[Freeswitch-users] sip_invite_params for all outgoing calls

René Weiss rw at panorgan.ch
Mon Jan 23 13:03:23 MSK 2017


Hi Srigo

That is what I am doing at the moment.

What I would like to know is if there is a way to globaly set this 
variable in one (XML) file so that I don't have to remeber to always add 
it and also can change at only one place if I ever need to.


Am 23.01.17 um 10:42 schrieb KSrigo:
> hi,
>
> In your dialplan use:
>
> <action application="bridge"
> data="{sip_invite_params=user=phone}sofia/gateway/outgoing/12135551212"/>
>
> In your ESL script:
>
> originate
> {sip_invite_params=user=phone}sofia/gateway/outgoing/12135551212 &park()
>
> PS: sip_invite_params only apply to the RURI, If you wish to modify the
> To param son the invite you must use sip_invite_to_params the same way.
>
> Srigo
>
>> On Jan 23, 2017, at 8:20 AM, René Weiss <rw at panorgan.ch
>> <mailto:rw at panorgan.ch>> wrote:
>>
>> Hi,
>>
>> Is it possible to set "sip_invite_params='user=phone'" for all outgoing
>> calls / all outgoing calls using a specific gateway?
>>
>> I'm searching a solution which work with the dialplan and also with
>> calls over mod_event_socket and "originate".
>>
>> I tried to set the variable in "conf/sip_profiles/external.xml" and
>> "conf/sip_profiles/external/outgoing.xml" but I don't know if this was
>> the wrong place or if I was just using the wrong syntax.
>>
>> Thanks,
>> René
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list