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

Brian West brian at freeswitch.org
Sat Apr 8 18:51:16 MSD 2017


You should probably upgrade, there is no telling what is going on there...
also

       <action application="log" data="ERR DIAL-STRING:
${sofia_contact(*/${dialed_user}@mydomain)}"/>
       <action application="bridge" data="user/${sofia_contact(*/$
{destination_number}@${dialed_domain})}" />

See the difference?

On Sat, Apr 8, 2017 at 6:43 AM, David Villasmil <
david.villasmil.work at gmail.com> wrote:

> Still don't understand the dial-string doesn't seem to be populated.
>
> Help with this is appreciated. Btw, this is on an old fs 1.4
>
> David
>
> On Fri, Apr 7, 2017 at 7:56 PM David Villasmil <
> david.villasmil.work at gmail.com> wrote:
>
>> Hello all,
>>
>> If i understand properly, by defining a user like:
>>
>> <include>
>>   <user id="54321">
>>     <params>
>>       <param name="password" value="mypass"/>
>>       <param name="directory-exten-visible" value="true"/>
>>      <param name="dial-string" value="{presence_id=12345@
>> mydomain,instant_ringback=true}loopback/12345"/>
>>     </params>
>>     <variables>
>>       <variable name="domain_uuid" value="mydomain/>
>>       <variable name="extension_uuid" value="f477242d-d629-483d-
>> 845c-c5126b072508"/>
>>       <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"/>
>>     </variables>
>>   </user>
>> </include>
>>
>> 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:
>> ${sofia_contact(*/${dialed_user}@mydomain)}"/>
>>        <action application="bridge" data="user/${sofia_contact(*/$
>> {destination_number}@${dialed_domain})}" />
>>    </condition>
>> </extension>
>>
>> I invariably get "error/user_not_registered"...
>>
>> Help is greatly appreciated...
>>
>>
>>
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> phone: +34669448337 <+34%20669%2044%2083%2037>
>>>>
>
> _________________________________________________________________________
> 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
>



-- 

*Brian West*
brian at freeswitch.org

*Twitter: @FreeSWITCH , @briankwest*

http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Allison prompts for FreeSWITCH:

*https://www.gofundme.com/allison-prompts-for-freeswitch*
<https://www.gofundme.com/allison-prompts-for-freeswitch>

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170408/71bae0a5/attachment.html 


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