Curious, effective does work outside the bridge, why shouldn&#39;t it be used?<br><div class="gmail_quote"><div dir="ltr">On Thu, Jan 12, 2017 at 2:33 PM Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="gmail_msg">you REALLY should not be using effective_* vars<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">use the originate_* ones on the dial string instead</div></div><div style="word-wrap:break-word" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"><div class="gmail_msg"><blockquote type="cite" class="gmail_msg"><div class="gmail_msg">On Jan 12, 2017, at 2:27 PM, David Villasmil &lt;<a href="mailto:david.villasmil.work@gmail.com" class="gmail_msg" target="_blank">david.villasmil.work@gmail.com</a>&gt; wrote:</div><br class="m_2624288881899918651Apple-interchange-newline gmail_msg"><div class="gmail_msg">To set the &#39;from&#39; header you need to use <span style="color:rgb(49,49,49);word-spacing:1px;background-color:rgb(255,255,255)" class="gmail_msg">effective_caller_id_number or with origination_caller_id_number.</span><div class="gmail_msg" style="color:rgb(49,49,49);word-spacing:1px"><br class="gmail_msg"></div><div class="gmail_msg" style="color:rgb(49,49,49);word-spacing:1px">Caveat is, <b class="gmail_msg">effective_caller_id_number</b> can ONLY be set <b class="gmail_msg">BEFORE</b> the bridge, like so:</div><div class="gmail_msg" style="color:rgb(49,49,49);word-spacing:1px"><br class="gmail_msg"></div><div class="gmail_msg" style="color:rgb(49,49,49);word-spacing:1px"><div class="gmail_msg"><font face="monospace, monospace" class="gmail_msg">        &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=${caller_id_number}&quot;/&gt;</font></div><div class="gmail_msg"><font face="monospace, monospace" class="gmail_msg">        &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=${caller_id_number}&quot;/&gt;</font></div><div class="gmail_msg"><font face="monospace, monospace" class="gmail_msg">        &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/your-gateway/$1&quot;/&gt;<br class="gmail_msg"></font></div></div><div class="gmail_msg" style="color:rgb(49,49,49);word-spacing:1px"><br class="gmail_msg"></div><div class="gmail_msg" style="color:rgb(49,49,49);word-spacing:1px">if you set it on the bridge it will not work.</div><div class="gmail_msg" style="color:rgb(49,49,49);word-spacing:1px"><br class="gmail_msg"></div><div class="gmail_msg" style="color:rgb(49,49,49);word-spacing:1px">And you can also use origination_caller_id_number, BUT you need to set it <b class="gmail_msg">on the bridge itself</b>:</div><div class="gmail_msg" style="color:rgb(49,49,49);word-spacing:1px"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><font face="monospace, monospace" class="gmail_msg">&lt;action application=&quot;bridge&quot; data=&quot;{origination_caller_id_number=${caller_id_number},origination_caller_id_name=${caller_id_number}}sofia/gateway/your&#39;gateway/$1&quot;/&gt;</font><br class="gmail_msg"></div></div><div class="gmail_msg" style="color:rgb(49,49,49);word-spacing:1px"><br class="gmail_msg"></div><div class="gmail_msg"><span style="color:rgb(49,49,49);word-spacing:1px" class="gmail_msg">hope it&#39;s clear.</span> </div><div class="gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div class="gmail_msg">On Thu, Jan 12, 2017 at 10:56 AM Magnus Kelly &lt;<a href="mailto:magnus.kelly@gmail.com" class="gmail_msg" target="_blank">magnus.kelly@gmail.com</a>&gt; wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg"><span style="font-size:12.8px" class="gmail_msg">Hello All,</span><br style="font-size:12.8px" class="gmail_msg"><br style="font-size:12.8px" class="gmail_msg"><span style="font-size:12.8px" class="gmail_msg">would be very helpful if someone could help me with quick reminder on how to change SIP header on bridge</span><br style="font-size:12.8px" class="gmail_msg"><br style="font-size:12.8px" class="gmail_msg"><span style="font-size:12.8px" class="gmail_msg">as in  - incoming call on LegA Bridged to Leg B while changing the  &quot;ip:FreeSWITCH&quot; to sip: +44xxxxxxxxxx</span><br style="font-size:12.8px" class="gmail_msg"><br style="font-size:12.8px" class="gmail_msg"><span style="font-size:12.8px" class="gmail_msg">now this format appears as default -</span><br style="font-size:12.8px" class="gmail_msg"><br style="font-size:12.8px" class="gmail_msg"><span style="font-size:12.8px" class="gmail_msg">From: &quot;+44xxxxxxxxxx&quot; &lt;<a class="gmail_msg">sip:FreeSWITCH@10.11X.X.XX:</a></span><span style="font-size:12.8px" class="gmail_msg">5068;transport=tcp&gt;;tag=</span><span style="font-size:12.8px" class="gmail_msg">UB7tNX0mmBt7j</span><br style="font-size:12.8px" class="gmail_msg"><br style="font-size:12.8px" class="gmail_msg"><span style="font-size:12.8px" class="gmail_msg">And I would like help to change it to be in this format -</span><br style="font-size:12.8px" class="gmail_msg"><br style="font-size:12.8px" class="gmail_msg"><span style="font-size:12.8px" class="gmail_msg">From: &quot;+44xxxxxxxxxx &quot; &lt;sip: +<a href="mailto:44xxxxxxxxxx@10.11X.X.X" class="gmail_msg" target="_blank">44xxxxxxxxxx@10.11X.X.X</a>:5068;</span><span style="font-size:12.8px" class="gmail_msg">transport=tcp&gt;;tag=</span><span style="font-size:12.8px" class="gmail_msg">UB7tNX0mmBt7j</span><br style="font-size:12.8px" class="gmail_msg"><br style="font-size:12.8px" class="gmail_msg"><br style="font-size:12.8px" class="gmail_msg"><span style="font-size:12.8px" class="gmail_msg">Thanks</span><br class="gmail_msg"></div><br class="gmail_msg"><br class="gmail_msg">_________________________________________________________________________<br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg">Professional FreeSWITCH Consulting Services:<br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><a href="mailto:consulting@freeswitch.org" class="gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><a href="http://www.freeswitchsolutions.com/" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitchsolutions.com</a><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg">Official FreeSWITCH Sites<br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><a href="http://www.freeswitch.org/" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><a href="http://confluence.freeswitch.org/" rel="noreferrer" class="gmail_msg" target="_blank">http://confluence.freeswitch.org</a><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><a href="http://www.cluecon.com/" rel="noreferrer" class="gmail_msg" target="_blank">http://www.cluecon.com</a><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg">FreeSWITCH-users mailing list<br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="gmail_msg" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg">UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><a href="http://www.freeswitch.org/" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a></blockquote></div></div>
_________________________________________________________________________<br class="gmail_msg">Professional FreeSWITCH Consulting Services: <br class="gmail_msg"><a href="mailto:consulting@freeswitch.org" class="gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="gmail_msg"><a href="http://www.freeswitchsolutions.com" class="gmail_msg" target="_blank">http://www.freeswitchsolutions.com</a><br class="gmail_msg"><br class="gmail_msg">Official FreeSWITCH Sites<br class="gmail_msg"><a href="http://www.freeswitch.org" class="gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="gmail_msg"><a href="http://confluence.freeswitch.org" class="gmail_msg" target="_blank">http://confluence.freeswitch.org</a><br class="gmail_msg"><a href="http://www.cluecon.com" class="gmail_msg" target="_blank">http://www.cluecon.com</a><br class="gmail_msg"><br class="gmail_msg">FreeSWITCH-users mailing list<br class="gmail_msg"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="gmail_msg" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br class="gmail_msg"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="gmail_msg">UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="gmail_msg"><a href="http://www.freeswitch.org" class="gmail_msg" target="_blank">http://www.freeswitch.org</a></div></blockquote></div><br class="gmail_msg"></div></div>_________________________________________________________________________<br class="gmail_msg">
Professional FreeSWITCH Consulting Services:<br class="gmail_msg">
<a href="mailto:consulting@freeswitch.org" class="gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="gmail_msg">
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitchsolutions.com</a><br class="gmail_msg">
<br class="gmail_msg">
Official FreeSWITCH Sites<br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="gmail_msg">
<a href="http://confluence.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://confluence.freeswitch.org</a><br class="gmail_msg">
<a href="http://www.cluecon.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.cluecon.com</a><br class="gmail_msg">
<br class="gmail_msg">
FreeSWITCH-users mailing list<br class="gmail_msg">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="gmail_msg" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br class="gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a></blockquote></div>