[Freeswitch-users] multiple profiles and user not registered

David Villasmil david.villasmil.work at gmail.com
Thu Jan 12 22:29:24 MSK 2017


Hello

That didn't worked for me, and i can't find anything similar to that

David
On Thu, Jan 12, 2017 at 12:12 PM John Covici <covici at ccs.covici.com> wrote:

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


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