<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi L.Popov<div class=""><br class=""></div><div class="">Any other queries then please let me know.</div><div class=""><br class=""></div><div class="">I am working on a full config for FS with very good Jerasoft integration.</div><div class=""><br class=""></div><div class="">I have a custom collector which makes routing to local extensions and also domain based call routing work very well.</div><div class=""><br class=""></div><div class="">Soon as it’s finished I will let you know.</div><div class=""><br class=""></div><div class="">Regards</div><div class=""><div><blockquote type="cite" class=""><div class="">On 12 Feb 2018, at 18:31, Lyubo Popov <<a href="mailto:lpopov@blasterphone.com" class="">lpopov@blasterphone.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I am also using Jerasoft so I am going to try this out on my setup. Great help! Thank you!<div class=""><br class=""></div><div class="">Re.,</div><div class="">L.Popov</div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" class=""><br class="">
<table style="border-top:1px solid #d3d4de" class="">
        <tbody class=""><tr class="">
        <td style="width:55px;padding-top:13px" class=""><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank" class=""><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" class=""></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px" class="">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" target="_blank" style="color:#4453ea" class="">www.avast.com</a>
                </td>
        </tr>
</tbody></table><a href="x-msg://11/#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1" class=""></a></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Feb 12, 2018 at 4:20 PM, Jospeh Waite <span dir="ltr" class=""><<a href="mailto:joelists@tm.net.uk" target="_blank" class="">joelists@tm.net.uk</a>></span> wrote:<br class=""><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="">Hi L.Popov<div class=""><br class=""></div><div class="">Now this would depend in what format your redirect server is sending the reply back. In my case I’m using Jerasoft VCS which is sending the re-written caller id in a per contact form with src_number= set.</div><div class=""><br class=""></div><div class="">I use the following in my redirect catching dial plan</div><div class=""><br class=""></div><div class=""><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">       <condition field="${sip_redirect_contact_<wbr class="">0}" expression="src_number=(.+)\;(<wbr class="">.+)$"></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">            <action application="set" data="effective_caller_id_<wbr class="">name=$1"/></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">            <action application="set" data="effective_caller_id_<wbr class="">number=$1"/></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">        </condition></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">        <condition field="${sip_redirect_contact_<wbr class="">0}" expression="^<(.+)\>(.+)$"></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">            <action application="bridge" data="{sip_invite_from_uri=<wbr class=""><a href="sip:$" class="">sip:$</a>{effective_caller_id_<wbr class="">number}@${sip_network_ip}}<wbr class="">sofia/external/$1" /></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">        </condition></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">This catches the src_number in the first condition and updates the caller_id and then bridges the call in the second.</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">The one drawback is you would have to replicate this for each response your likely to have in the 300 response. So if it gives 3 different options to send the call to you would have to copy this 3 times, changing the sip_redirect_contact_0 and increasing the number on the end for each one.</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Regards</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On 12 Feb 2018, at 18:07, Lyubo Popov <<a href="mailto:lpopov@blasterphone.com" target="_blank" class="">lpopov@blasterphone.com</a>> wrote:</div><br class="m_-5003744467213414587Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello Joseph,<div class=""><br class=""></div><div class="">I am having the same problem and would like to resurrect this post. Does someone knows how to do that? I send one CallerID to redirect server where this is being rewritten and receive another from it in the 300 response and would like to update this CID before sending to termination (b-leg)</div><div class=""><br class=""></div><div class="">Re.,</div><div class="">L.Popov</div></div><div id="m_-5003744467213414587DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" class=""><br class="">
<table style="border-top:1px solid #d3d4de" class="">
        <tbody class=""><tr class="">
        <td style="width:55px;padding-top:13px" class=""><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank" class=""><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width:46px;height:29px" class=""></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px" class="">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" style="color:#4453ea" target="_blank" class="">www.avast.com</a>
                </td>
        </tr>
</tbody></table><a width="1" height="1" class=""></a></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Jul 11, 2017 at 4:32 PM, Joseph Waite <span dir="ltr" class=""><<a href="mailto:joelists@tm.net.uk" target="_blank" class="">joelists@tm.net.uk</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys<br class="">
<br class="">
I am trying to use the From field in a 300 Multiple Choices message to set the outbound CallerID in the re-directed b-leg<br class="">
<br class="">
So call comes into FreeSwitch, gets sent out to a SIP Redirect server which replies with a 300 Multiple choices.<br class="">
I need to pull the number from the From field of this 300 Response and use it to set the From field, raid & Paid fields in the re-directed invite.<br class="">
<br class="">
Any help would be very much appreciated.<br class="">
<br class="">
Regards<br class="">
______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" target="_blank" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.freeswitchsolutions<wbr class="">.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.o<wbr class="">rg</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswi<wbr class="">tch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/ma<wbr class="">ilman/listinfo/freeswitch-user<wbr class="">s</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.frees<wbr class="">witch.org/mailman/options/<wbr class="">freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="m_-5003744467213414587gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class="">Atenciosamente,</div><div class="">============================</div><div class="">Lyubo Popov</div><div class="">CEO - BlasterPhone LLC</div><div class="">Tel: 4003-1556 ( Outside Brazil 55 11 4003-1556)</div><div class="">iNum: <a href="tel:+883%20510%20001%20354%20111" value="+883510001354111" target="_blank" class="">+883 510001-354111</a></div><div class="">Website: <a href="http://www.blastervoip.com.br/" target="_blank" class="">http://www.blastervoip.com.br/</a></div><div class="">============================</div></div></div></div></div>
</div>
______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" target="_blank" class="">consulting@freeswitch.org</a><br class=""><a href="http://www.freeswitchsolutions.com/" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class=""><br class="">Official FreeSWITCH Sites<br class=""><a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a><br class=""><a href="http://confluence.freeswitch.org/" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class=""><a href="http://www.cluecon.com/" target="_blank" class="">http://www.cluecon.com</a><br class=""><br class="">FreeSWITCH-users mailing list<br class=""><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class=""><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class=""><a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a></div></blockquote></div><br class=""></div></div><br class="">______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class="">Atenciosamente,</div><div class="">============================</div><div class="">Lyubo Popov</div><div class="">CEO - BlasterPhone LLC</div><div class="">Tel: 4003-1556 ( Outside Brazil 55 11 4003-1556)</div><div class="">iNum: +883 510001-354111</div><div class="">Website: <a href="http://www.blastervoip.com.br/" target="_blank" class="">http://www.blastervoip.com.br/</a></div><div class="">============================</div></div></div></div></div>
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>