<div dir="ltr">this does work:<div><br></div><div><action application="bridge" data="${sofia_contact(internal-second/<span style="font-size:12.8px">1001</span>)}"/><br></div><div><br></div><div>but i have 2 profiles through which the user can be called, "internal" and "internal-second", and doing it like this kind of kills the purpose, no?</div><div><br></div><div>I can think of maybe doing:</div><div><br></div><div><div><extension name="call_internal" continue="true"></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span><condition field="context" expression="public" /></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span><condition field="destination_number" expression="1001"></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span><action application="set" data="sofia_result=${sofia_contact(internal/${destination_number})}"/></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span><action application="log" data="INFO sofia contact result: ${sofia_result}"/></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span><condition field="${result}" data="sofia.*"></div><div><br></div><div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                        </span><action application="bridge" data="sofia/internal/${destination_number}"/></div></div><div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                        </span><anti-action application="bridge" data="sofia/internal-second/${destination_number}"/></div></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"><br></span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span></condition></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span></condition></div><div></extension></div><div><br></div></div><div>i will try this</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=8cb8e4c2-08e2-4016-8784-42b1b56299ab"><font color="#ffffff" size="1">ᐧ</font></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div>
<br><div class="gmail_quote">On Thu, Jan 12, 2017 at 11:20 AM, David Villasmil <span dir="ltr"><<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">In the form of:<div><br></div><div><action application="bridge" data="user/${sofia_contact(<wbr>361110000)}"/><br></div><div><br></div><div>didn't work... was that the correct way of using it?</div><div><br></div><div>thanks again</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=44b95356-8358-4c8c-9dd7-6ef710260a04"><font color="#ffffff" size="1">ᐧ</font></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_-8109894317958862540gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: <a href="tel:+34%20669%2044%2083%2037" value="+34669448337" target="_blank">+34669448337</a></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Thu, Jan 12, 2017 at 10:45 AM, Yehavi Bourvine <span dir="ltr"><<a href="mailto:yehavi.bourvine@gmail.com" target="_blank">yehavi.bourvine@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr">try bridging to sofia_contact(1001) and see whether it works.</div><span class="m_-8109894317958862540HOEnZb"><font color="#888888"><div dir="ltr"><br></div><div dir="ltr"> __Yehavi:</div></font></span></div><div class="m_-8109894317958862540HOEnZb"><div class="m_-8109894317958862540h5"><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2017-01-12 16:24 GMT+02:00 David Villasmil <span dir="ltr"><<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.co<wbr>m</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">Hello,<br><br>Thanks for replying! I'm simply bridging to the user like<br><br>user/1001<br><br>This fails, of course.<span class="m_-8109894317958862540m_-5328120531892618403HOEnZb"><font color="#888888"><br><br>David</font></span><div class="m_-8109894317958862540m_-5328120531892618403HOEnZb"><div class="m_-8109894317958862540m_-5328120531892618403h5"><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 11, 2017 at 11:45 PM Yehavi Bourvine <<a href="mailto:yehavi.bourvine@gmail.com" target="_blank">yehavi.bourvine@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><div dir="ltr" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">Can you post your bridge command call? Do you use sofia_contact() to build the dial string?</div><div dir="ltr" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"></div><div dir="ltr" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"> Regards, __Yehavi:</div></div><div class="gmail_extra m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><div class="gmail_quote m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"></div></div><div class="gmail_extra m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><div class="gmail_quote m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><div dir="ltr" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">2017-01-11 4:45 GMT+02:00 David Villasmil <span dir="ltr" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><<a href="mailto:david.villasmil.work@gmail.com" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">david.villasmil.work@gmail.co<wbr>m</a>></span>:</div></div></div><div class="gmail_extra m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><div class="gmail_quote m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><blockquote class="gmail_quote m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><span style="color:rgb(51,51,51);font-family:arial;font-size:14px;white-space:pre-wrap" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">hello guys, </span><div class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><span style="color:rgb(51,51,51);font-family:arial;font-size:14px;white-space:pre-wrap" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"></span></div><div class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><span style="color:rgb(51,51,51);font-family:arial;font-size:14px;white-space:pre-wrap" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">i have 2 profiles for two different ip addresses (IP1 and IP2), both profiles have force-register-domain and force-register-db-domain to the IP1, i can register on IP2 but when calling this user like user@IP1, fs returns USER_NOT_REGISTERED... i thought by forcing the register domain i could call the user to any of the 2 ips... any ideas? </span><br clear="all" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><div class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><div class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285m_4320320314470170581m_-1167686893580024697gmail_signature m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><div dir="ltr" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><div class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"></div><div class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">Regards,</div><div class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"></div>David Villasmil<div class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">email: <a href="mailto:david.villasmil.work@gmail.com" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">david.villasmil.work@gmail.com</a></div><div class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">phone: <a href="tel:+34%20669%2044%2083%2037" value="+34669448337" target="_blank">+34669448337</a></div></div></div></div>
</div></div><div hspace="streak-pt-mark" style="max-height:1px" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=7b83f40f-9506-46bb-b701-88575cbda444" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><font color="#ffffff" size="1" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">ᐧ</font></div>
<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"></blockquote></div></div><div class="gmail_extra m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><div class="gmail_quote m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"><blockquote class="gmail_quote m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">______________________________<wbr>______________________________<wbr>_____________<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
Professional FreeSWITCH Consulting Services:<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="mailto:consulting@freeswitch.org" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
Official FreeSWITCH Sites<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://confluence.freeswitch.org" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://www.cluecon.com" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://www.cluecon.com</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
FreeSWITCH-users mailing list<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"></blockquote></div><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg"></div>
______________________________<wbr>______________________________<wbr>_____________<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
Professional FreeSWITCH Consulting Services:<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="mailto:consulting@freeswitch.org" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
Official FreeSWITCH Sites<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://confluence.freeswitch.org" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://www.cluecon.com" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://www.cluecon.com</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
FreeSWITCH-users mailing list<br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="m_-8109894317958862540m_-5328120531892618403m_2200108928605877285gmail_msg" target="_blank">http://www.freeswitch.org</a></blockquote></div>
</div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>