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