Hello All, would be very helpful if someone could help me with quick reminder on how to change SIP header on bridge as in - incoming call on LegA Bridged to Leg B while changing the "ip:FreeSWITCH" to sip: +44xxxxxxxxxx now this format appears as default - From: "+44xxxxxxxxxx" <sip:FreeSWITCH@10.11X.X.XX:5068;transport=tcp>;tag= UB7tNX0mmBt7j And I would like help to change it to be in this format - From: "+44xxxxxxxxxx " <sip: +44xxxxxxxxxx@10.11X.X.X:5068; transport=tcp>;tag=UB7tNX0mmBt7j Thanks
To set the 'from' header you need to use effective_caller_id_number or with origination_caller_id_number. Caveat is, *effective_caller_id_number* can ONLY be set *BEFORE* the bridge, like so: <action application="set" data="effective_caller_id_number=${caller_id_number}"/> <action application="set" data="effective_caller_id_name=${caller_id_number}"/> <action application="bridge" data="sofia/gateway/your-gateway/$1"/> if you set it on the bridge it will not work. And you can also use origination_caller_id_number, BUT you need to set it *on the bridge itself*: <action application="bridge" data="{origination_caller_id_number=${caller_id_number},origination_caller_id_name=${caller_id_number}}sofia/gateway/your'gateway/$1"/> hope it's clear. On Thu, Jan 12, 2017 at 10:56 AM Magnus Kelly <magnus.kelly@gmail.com> wrote: Hello All, would be very helpful if someone could help me with quick reminder on how to change SIP header on bridge as in - incoming call on LegA Bridged to Leg B while changing the "ip:FreeSWITCH" to sip: +44xxxxxxxxxx now this format appears as default - From: "+44xxxxxxxxxx" <sip:FreeSWITCH@10.11X.X.XX:5068;transport=tcp>;tag= UB7tNX0mmBt7j And I would like help to change it to be in this format - From: "+44xxxxxxxxxx " <sip: +44xxxxxxxxxx@10.11X.X.X:5068; transport=tcp>;tag=UB7tNX0mmBt7j Thanks _________________________________________________________________________ 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
you REALLY should not be using effective_* vars use the originate_* ones on the dial string instead
On Jan 12, 2017, at 2:27 PM, David Villasmil <david.villasmil.work@gmail.com> wrote:
To set the 'from' header you need to use effective_caller_id_number or with origination_caller_id_number.
Caveat is, effective_caller_id_number can ONLY be set BEFORE the bridge, like so:
<action application="set" data="effective_caller_id_number=${caller_id_number}"/> <action application="set" data="effective_caller_id_name=${caller_id_number}"/> <action application="bridge" data="sofia/gateway/your-gateway/$1"/>
if you set it on the bridge it will not work.
And you can also use origination_caller_id_number, BUT you need to set it on the bridge itself:
<action application="bridge" data="{origination_caller_id_number=${caller_id_number},origination_caller_id_name=${caller_id_number}}sofia/gateway/your'gateway/$1"/>
hope it's clear.
On Thu, Jan 12, 2017 at 10:56 AM Magnus Kelly <magnus.kelly@gmail.com <mailto:magnus.kelly@gmail.com>> wrote: Hello All,
would be very helpful if someone could help me with quick reminder on how to change SIP header on bridge
as in - incoming call on LegA Bridged to Leg B while changing the "ip:FreeSWITCH" to sip: +44xxxxxxxxxx
now this format appears as default -
From: "+44xxxxxxxxxx" <sip:FreeSWITCH@10.11X.X.XX:5068;transport=tcp>;tag=UB7tNX0mmBt7j
And I would like help to change it to be in this format -
From: "+44xxxxxxxxxx " <sip: +44xxxxxxxxxx@10.11X.X.X:5068;transport=tcp>;tag=UB7tNX0mmBt7j
Thanks
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org <mailto:consulting@freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <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
Curious, effective does work outside the bridge, why shouldn't it be used? On Thu, Jan 12, 2017 at 2:33 PM Michael Jerris <mike@jerris.com> wrote:
you REALLY should not be using effective_* vars
use the originate_* ones on the dial string instead
On Jan 12, 2017, at 2:27 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
To set the 'from' header you need to use effective_caller_id_number or with origination_caller_id_number.
Caveat is, *effective_caller_id_number* can ONLY be set *BEFORE* the bridge, like so:
<action application="set" data="effective_caller_id_number=${caller_id_number}"/> <action application="set" data="effective_caller_id_name=${caller_id_number}"/> <action application="bridge" data="sofia/gateway/your-gateway/$1"/>
if you set it on the bridge it will not work.
And you can also use origination_caller_id_number, BUT you need to set it *on the bridge itself*:
<action application="bridge" data="{origination_caller_id_number=${caller_id_number},origination_caller_id_name=${caller_id_number}}sofia/gateway/your'gateway/$1"/>
hope it's clear.
On Thu, Jan 12, 2017 at 10:56 AM Magnus Kelly <magnus.kelly@gmail.com> wrote:
Hello All,
would be very helpful if someone could help me with quick reminder on how to change SIP header on bridge
as in - incoming call on LegA Bridged to Leg B while changing the "ip:FreeSWITCH" to sip: +44xxxxxxxxxx
now this format appears as default -
From: "+44xxxxxxxxxx" <sip:FreeSWITCH@10.11X.X.XX:5068;transport=tcp>;tag= UB7tNX0mmBt7j
And I would like help to change it to be in this format -
From: "+44xxxxxxxxxx " <sip: +44xxxxxxxxxx@10.11X.X.X:5068; transport=tcp>;tag=UB7tNX0mmBt7j
Thanks
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://confluence.freeswitch.org
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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
gets stuck on the channel, and re-used in transfer scenarios where you don’t intend it to be used. The origination ones are just used in the original originate, the effective ones were an earlier attempt at solving the problem that caused these other issues. really effective should never need to be used anymore.
On Jan 12, 2017, at 6:51 PM, David Villasmil <david.villasmil.work@gmail.com> wrote:
Curious, effective does work outside the bridge, why shouldn't it be used? On Thu, Jan 12, 2017 at 2:33 PM Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>> wrote: you REALLY should not be using effective_* vars
use the originate_* ones on the dial string instead
On Jan 12, 2017, at 2:27 PM, David Villasmil <david.villasmil.work@gmail.com <mailto:david.villasmil.work@gmail.com>> wrote:
To set the 'from' header you need to use effective_caller_id_number or with origination_caller_id_number.
Caveat is, effective_caller_id_number can ONLY be set BEFORE the bridge, like so:
<action application="set" data="effective_caller_id_number=${caller_id_number}"/> <action application="set" data="effective_caller_id_name=${caller_id_number}"/> <action application="bridge" data="sofia/gateway/your-gateway/$1"/>
if you set it on the bridge it will not work.
And you can also use origination_caller_id_number, BUT you need to set it on the bridge itself:
<action application="bridge" data="{origination_caller_id_number=${caller_id_number},origination_caller_id_name=${caller_id_number}}sofia/gateway/your'gateway/$1"/>
hope it's clear.
On Thu, Jan 12, 2017 at 10:56 AM Magnus Kelly <magnus.kelly@gmail.com <mailto:magnus.kelly@gmail.com>> wrote: Hello All,
would be very helpful if someone could help me with quick reminder on how to change SIP header on bridge
as in - incoming call on LegA Bridged to Leg B while changing the "ip:FreeSWITCH" to sip: +44xxxxxxxxxx
now this format appears as default -
From: "+44xxxxxxxxxx" <sip:FreeSWITCH@10.11X.X.XX: <>5068;transport=tcp>;tag=UB7tNX0mmBt7j
And I would like help to change it to be in this format -
From: "+44xxxxxxxxxx " <sip: +44xxxxxxxxxx@10.11X.X.X <mailto:44xxxxxxxxxx@10.11X.X.X>:5068;transport=tcp>;tag=UB7tNX0mmBt7j
Thanks
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org <mailto:consulting@freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <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
Ok, don't use it. I actually never use it, i always use origination straights in the bridge. Good to know, thanks. David On Thu, Jan 12, 2017 at 7:03 PM Michael Jerris <mike@jerris.com> wrote:
gets stuck on the channel, and re-used in transfer scenarios where you don’t intend it to be used. The origination ones are just used in the original originate, the effective ones were an earlier attempt at solving the problem that caused these other issues. really effective should never need to be used anymore.
On Jan 12, 2017, at 6:51 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Curious, effective does work outside the bridge, why shouldn't it be used? On Thu, Jan 12, 2017 at 2:33 PM Michael Jerris <mike@jerris.com> wrote:
you REALLY should not be using effective_* vars
use the originate_* ones on the dial string instead
On Jan 12, 2017, at 2:27 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
To set the 'from' header you need to use effective_caller_id_number or with origination_caller_id_number.
Caveat is, *effective_caller_id_number* can ONLY be set *BEFORE* the bridge, like so:
<action application="set" data="effective_caller_id_number=${caller_id_number}"/> <action application="set" data="effective_caller_id_name=${caller_id_number}"/> <action application="bridge" data="sofia/gateway/your-gateway/$1"/>
if you set it on the bridge it will not work.
And you can also use origination_caller_id_number, BUT you need to set it *on the bridge itself*:
<action application="bridge" data="{origination_caller_id_number=${caller_id_number},origination_caller_id_name=${caller_id_number}}sofia/gateway/your'gateway/$1"/>
hope it's clear.
On Thu, Jan 12, 2017 at 10:56 AM Magnus Kelly <magnus.kelly@gmail.com> wrote:
Hello All,
would be very helpful if someone could help me with quick reminder on how to change SIP header on bridge
as in - incoming call on LegA Bridged to Leg B while changing the "ip:FreeSWITCH" to sip: +44xxxxxxxxxx
now this format appears as default -
From: "+44xxxxxxxxxx" <sip:FreeSWITCH@10.11X.X.XX:5068;transport=tcp>;tag= UB7tNX0mmBt7j
And I would like help to change it to be in this format -
From: "+44xxxxxxxxxx " <sip: +44xxxxxxxxxx@10.11X.X.X:5068; transport=tcp>;tag=UB7tNX0mmBt7j
Thanks
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://confluence.freeswitch.org
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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
participants (3)
-
David Villasmil
-
Magnus Kelly
-
Michael Jerris