[Freeswitch-users] getting error/user_not_registered when it should go to the presence_id

David Villasmil david.villasmil.work at gmail.com
Fri Apr 7 21:56:48 MSD 2017

Hello all,

If i understand properly, by defining a user like:

  <user id="54321">
      <param name="password" value="mypass"/>
      <param name="directory-exten-visible" value="true"/>
     <param name="dial-string" value="{presence_id=12345 at mydomain
      <variable name="domain_uuid" value="mydomain/>
      <variable name="extension_uuid"
      <variable name="toll_allow" value=""/>
      <variable name="accountcode" value=""/>
      <variable name="user_context" value="default"/>
      <variable name="directory-visible" value="true"/>
      <variable name="limit_max" value="5"/>

When the user 54321 is not registered, call should go to 12345 at mydomain
(which is the same domain) to be handled by further dialplan...

But when i try to (on my  public profile):

<extension name="54321_test" continue="false">
   <condition field="context" expression="public" />
   <condition field="network_addr" expression="^10\.1\.1\.1$"/>
   <condition field="destination_number" expression="^(543.*)$" >
       <action application="info"/>
       <action application="log" data="ERR DIAL-STRING:
       <action application="bridge"
data="user/${sofia_contact(*/${destination_number}@${dialed_domain})}" />

I invariably get "error/user_not_registered"...

Help is greatly appreciated...


David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170407/9e5d4bc9/attachment-0001.html 

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