Hi there,

iam really getting crazy these days ;-)

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.

Some (relevant?! ;) ) Copy&Paste ..

my Userentry

<include>
  <user id="99">
    <params>
      <param name="password" value="something"/>
      <param name="vm-mailto" value="maybe_me@omeco.de"/>
      <param name="vm-mailfrom" value="noreply@omeco.de"/>
      <param name="vm-enabled" value="true"/>
      <param name="vm-password" value="user-choose"/>
      <param name="vm-email-all-messages" value="false"/>
      <param name="vm-notify-email-all-messages" value="true"/>
      <param name="vm-keep-local-after-email" value="true"/>
    </params>
    <variables>
      <variable name="outbound_caller_id_name" value="Omeco GmbH"/>                        
      <variable name="outbound_caller_id_number" value="06316803540"/>
      <variable name="effective_caller_id_name" value="Silvio Escher"/>                                                                          
      <variable name="effective_caller_id_number" value="40"/>                                                                                     
      <variable name="callgroup" value="1"/>
    </variables>
  </user>
</include>

some dp snippet..

before the change something like

<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>

was working fine ..

Actually iam using

<action application="set" data="effective_caller_id_name=${user_data(${username}@${domain_name} var outbound_caller_id_name)}"/>
<action application="set" data="effective_caller_id_number=${user_data(${username}@${domain_name} var outbound_caller_id_number)}"/>

or an

<action application="set_user" data="$1@${domain_name}"/>

to get some or all Variables.

But i Noticed that the "set_user" Thingie just gets me the Variables - not the Params.
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)

Maybe i has something todo with an missing auth or wrong Domain or whatever .. but i have no clue where to look further.

Any Help ( from little Hints till complete Miracle Solve ;-) ) is actually very welcome.

Thanks in Advance,
Silvio


-- 
Silvio Escher
omeco GmbH