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@panorgan.ch <mailto:rw@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@freeswitch.org <mailto:consulting@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org