[Freeswitch-users] Variables in Dialplan - Problem with getting Variables from User Directory

Silvio Escher sescher_ml at omeco.de
Tue Sep 6 14:03:56 MSD 2011


Ok - finally i'll answer my own questions maybe this helps some others... - thanks to Michal & 
Mathieu for this nice gdb Session yesterday ;-)

Am 30.08.11 23:06, schrieb Silvio Escher:
>
> I've changed our Freeswitch Version some Weeks ago ( cannot remember exactly but proably from 
> 1.0.6 ) to the git Head. ).
> Since this Change ( or better since the followed Config File Adaptions ;-) ) i noticed that i 
> cannot use User Variables/Params inside the XML-Dialplan anymore.
thats related to "auth" - during the calls my phones arent regonized as "auth by user" atm - just by 
our ip subnet over the internal acl - thats why (as Mathieu told me) my User Vars/Params arent 
available in the DP (just with user_data or set_user)
related docs .. http://wiki.freeswitch.org/wiki/Variable_sip_auth_username or 
http://wiki.freeswitch.org/wiki/Variable_sip_authorized

i just disabled <param name="apply-inbound-acl" value="domains"/> ( commented it out ) and 
everything works fine ( btw i havent changed this parameter since months .. so maybe the default 
behavior
  ( acl auth overrule user auth ) changed in one of the "last" versions ?!

> So i've still Issues with mod_voicemail ( Mailto is undef )
>
> 2011-08-30 22:02:32.904211 [DEBUG] switch_utils.c:709 Emailed data to [(null)]
> 2011-08-30 22:02:32.904211 [DEBUG] mod_voicemail.c:2809 Sending notify message to (null)

on the one side an (now solved) bug 
(http://fisheye.freeswitch.org/changelog/freeswitch.git/?cs=8974f9d62e0346cd0763c508378e740fc0f2ce70) - 
on the other side
i havent used the vm-notify-mailto param directly (as the wiki told me that vm-notify-mailto 
defaults to vm-mailto)



-- 
Silvio Escher
omeco GmbH

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110906/5f48b77a/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list