Hello <br><br>That didn't worked for me, and i can't find anything similar to that <br><br>David<br><div class="gmail_quote"><div dir="ltr">On Thu, Jan 12, 2017 at 12:12 PM John Covici <<a href="mailto:covici@ccs.covici.com">covici@ccs.covici.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There is a form of sofia-contact which will search all profiles, if I<br class="gmail_msg">
remember its */ followed by user name.<br class="gmail_msg">
<br class="gmail_msg">
On Thu, 12 Jan 2017 11:46:06 -0500,<br class="gmail_msg">
David Villasmil wrote:<br class="gmail_msg">
><br class="gmail_msg">
> [1 <multipart/alternative (7bit)>]<br class="gmail_msg">
> [1.1 <text/plain; UTF-8 (quoted-printable)>]<br class="gmail_msg">
> [1.2 <text/html; UTF-8 (quoted-printable)>]<br class="gmail_msg">
> this does work:<br class="gmail_msg">
><br class="gmail_msg">
> <action application="bridge" data="${sofia_contact(internal-second/1001)}"/><br class="gmail_msg">
><br class="gmail_msg">
> 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?<br class="gmail_msg">
><br class="gmail_msg">
> I can think of maybe doing:<br class="gmail_msg">
><br class="gmail_msg">
> <extension name="call_internal" continue="true"><br class="gmail_msg">
> <condition field="context" expression="public" /><br class="gmail_msg">
> <condition field="destination_number" expression="1001"><br class="gmail_msg">
> <action application="set" data="sofia_result=${sofia_contact(internal/${destination_number})}"/><br class="gmail_msg">
> <action application="log" data="INFO sofia contact result: ${sofia_result}"/><br class="gmail_msg">
> <condition field="${result}" data="sofia.*"><br class="gmail_msg">
><br class="gmail_msg">
> <action application="bridge" data="sofia/internal/${destination_number}"/><br class="gmail_msg">
> <anti-action application="bridge" data="sofia/internal-second/${destination_number}"/><br class="gmail_msg">
><br class="gmail_msg">
> </condition><br class="gmail_msg">
> </condition><br class="gmail_msg">
> </extension><br class="gmail_msg">
><br class="gmail_msg">
> i will try this<br class="gmail_msg">
> *<br class="gmail_msg">
> ᐧ<br class="gmail_msg">
><br class="gmail_msg">
> Regards,<br class="gmail_msg">
><br class="gmail_msg">
> David Villasmil<br class="gmail_msg">
> email: <a href="mailto:david.villasmil.work@gmail.com" class="gmail_msg" target="_blank">david.villasmil.work@gmail.com</a><br class="gmail_msg">
> phone: +34669448337<br class="gmail_msg">
><br class="gmail_msg">
> On Thu, Jan 12, 2017 at 11:20 AM, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" class="gmail_msg" target="_blank">david.villasmil.work@gmail.com</a>> wrote:<br class="gmail_msg">
><br class="gmail_msg">
> In the form of:<br class="gmail_msg">
><br class="gmail_msg">
> <action application="bridge" data="user/${sofia_contact(361110000)}"/><br class="gmail_msg">
><br class="gmail_msg">
> didn't work... was that the correct way of using it?<br class="gmail_msg">
><br class="gmail_msg">
> thanks again<br class="gmail_msg">
> *<br class="gmail_msg">
> ᐧ<br class="gmail_msg">
><br class="gmail_msg">
> Regards,<br class="gmail_msg">
><br class="gmail_msg">
> David Villasmil<br class="gmail_msg">
> email: <a href="mailto:david.villasmil.work@gmail.com" class="gmail_msg" target="_blank">david.villasmil.work@gmail.com</a><br class="gmail_msg">
> phone: +34669448337<br class="gmail_msg">
><br class="gmail_msg">
> On Thu, Jan 12, 2017 at 10:45 AM, Yehavi Bourvine <<a href="mailto:yehavi.bourvine@gmail.com" class="gmail_msg" target="_blank">yehavi.bourvine@gmail.com</a>> wrote:<br class="gmail_msg">
><br class="gmail_msg">
> try bridging to sofia_contact(1001) and see whether it works.<br class="gmail_msg">
><br class="gmail_msg">
> __Yehavi:<br class="gmail_msg">
><br class="gmail_msg">
> 2017-01-12 16:24 GMT+02:00 David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" class="gmail_msg" target="_blank">david.villasmil.work@gmail.com</a>>:<br class="gmail_msg">
><br class="gmail_msg">
> Hello,<br class="gmail_msg">
><br class="gmail_msg">
> Thanks for replying! I'm simply bridging to the user like<br class="gmail_msg">
><br class="gmail_msg">
> user/1001<br class="gmail_msg">
><br class="gmail_msg">
> This fails, of course.<br class="gmail_msg">
><br class="gmail_msg">
> David<br class="gmail_msg">
><br class="gmail_msg">
> On Wed, Jan 11, 2017 at 11:45 PM Yehavi Bourvine <<a href="mailto:yehavi.bourvine@gmail.com" class="gmail_msg" target="_blank">yehavi.bourvine@gmail.com</a>> wrote:<br class="gmail_msg">
><br class="gmail_msg">
> Can you post your bridge command call? Do you use sofia_contact() to build the dial string?<br class="gmail_msg">
><br class="gmail_msg">
> Regards, __Yehavi:<br class="gmail_msg">
><br class="gmail_msg">
> 2017-01-11 4:45 GMT+02:00 David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" class="gmail_msg" target="_blank">david.villasmil.work@gmail.com</a>>:<br class="gmail_msg">
><br class="gmail_msg">
> hello guys,<br class="gmail_msg">
><br class="gmail_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<br class="gmail_msg">
> returns USER_NOT_REGISTERED... i thought by forcing the register domain i could call the user to any of the 2 ips... any ideas?<br class="gmail_msg">
><br class="gmail_msg">
> Regards,<br class="gmail_msg">
><br class="gmail_msg">
> David Villasmil<br class="gmail_msg">
> email: <a href="mailto:david.villasmil.work@gmail.com" class="gmail_msg" target="_blank">david.villasmil.work@gmail.com</a><br class="gmail_msg">
> phone: +34669448337<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">
> <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><br class="gmail_msg">
><br class="gmail_msg">
> _________________________________________________________________________<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><br class="gmail_msg">
><br class="gmail_msg">
> _________________________________________________________________________<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><br class="gmail_msg">
><br class="gmail_msg">
> _________________________________________________________________________<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><br class="gmail_msg">
><br class="gmail_msg">
> [2 <text/plain; us-ascii (7bit)>]<br class="gmail_msg">
> _________________________________________________________________________<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><br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
Your life is like a penny. You're going to lose it. The question is:<br class="gmail_msg">
How do<br class="gmail_msg">
you spend it?<br class="gmail_msg">
<br class="gmail_msg">
John Covici<br class="gmail_msg">
<a href="mailto:covici@ccs.covici.com" class="gmail_msg" target="_blank">covici@ccs.covici.com</a><br class="gmail_msg">
<br class="gmail_msg">
_________________________________________________________________________<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>