Hello,

Yeah, i see the difference, i sent out what i had while testing :)
Funny thing is, this used to work before... stumping my head here...

thanks

David
ᐧ

Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337

On Sat, Apr 8, 2017 at 4:51 PM, Brian West <brian@freeswitch.org> wrote:
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@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@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@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
ᐧ

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@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@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

Got Bugs? Report them here! | Reddit: /r/freeswitch

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
Skype:briankwest


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org