[Freeswitch-users] Quick Question

David Villasmil david.villasmil.work at gmail.com
Fri Jan 13 03:14:12 MSK 2017


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 at 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 at 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 at 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 at 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 at 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 at 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 at 10.11X.X.X:5068;
> transport=tcp>;tag=UB7tNX0mmBt7j
>
>
> Thanks
>
>
> _________________________________________________________________________
>
>
> 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
>
> _________________________________________________________________________
> 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
>
>
> _________________________________________________________________________
> 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
>
> _________________________________________________________________________
> 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
>
>
> _________________________________________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170113/9068f8f2/attachment-0001.html 


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