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

Silvio Escher sescher_ml at omeco.de
Thu Sep 1 15:10:00 MSD 2011


Am 01.09.11 11:47, schrieb Steven Ayre:
>
>     the question is "why" are the vars and params unavailable without set_user or user_data thingies
>
>
> If set_user works ok, then I guess you're probably not authenticating as that user without running 
> that app. Perhaps some config file was changed during the update?
>
> -Steve
>
Regarding the mod_voicemail issue there isn't an authenticated user ( internal ) in place.

The Calls comes from external and joins the public dp ...

<extension name="internDW">
<condition field="${sip_to_user}" expression="^063168035(\d{1,2})$">
<action application="set" data="continue_on_fail=true"/>
<action application="set" data="call_timeout=20"/>
<action application="bridge" data="user/$1@${domain_name}"/>
<action application="answer"/>
<action application="playback" data="niemand_da_ohnezeit.wav"/>
<action application="sleep" data="1000"/>
<action application="set" data="default_language=de"/>
<action application="set" data="skip_greeting=true"/>
<action application="voicemail" data="default $${domain} $1"/>
</condition>
</extension>

As i understand the freeswitch wiki, mod_voicemail should take the Params for $1 ( the dialed 
extension ) somehow from the Directory User.

But an unanswered Call to DID 40 enters the Voicemail for that User correctly ( VM is stored, Phone 
Button/LED for VM Notify works as expected ) - but i get no Notify Message by Mail
because mod_voicemail cant get the "vm-mailto" from my Directoryentry.

2011-09-01 13:03:52.924206 [DEBUG] mod_voicemail.c:2578 Deliver VM to 40 at pbx.omeco.voice
2011-09-01 13:03:52.924206 [DEBUG] switch_utils.c:709 Emailed data to [(null)]
2011-09-01 13:03:52.924206 [DEBUG] mod_voicemail.c:2809 Sending notify message to (null)

Regards,
Silvio


-- 
Silvio Escher
omeco GmbH

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


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