[Freeswitch-users] A in B leg CDR still sending after value=fals

Miha Zoubek miha at softnet.si
Fri Nov 18 17:10:04 MSK 2011


HI,

I have problem with modul mod_radius_cdr and dial plan. I have try to 
disable a and than b leg in my dial plan, but freeswitch is still 
sending values. Please tell me what I am doing wrong.

Dial plan:

<action inline="true" application="set" data="CALLID=h323-conf-id=${uuid}"/>
<action inline="true" application="set" 
data="SERVICENUM=h323-prompt-id=${destination_number}"/>
<!-- <action inline="true" application="set" 
data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/> -->
<action inline="true" application="set" 
data="CALLINGNUMBER=${caller_id_number}"/>
<action inline="true" application="set" 
data="CALLINGNUMBER=${destination_number}"/>
<action inline="true" application="set" 
data="USERNAME=${dialed_extension}"/>
<action inline="true" application="set" data="PASSWD=$${default_password}"/>
<!-- <action inline="true" application="set" data="DIALED_NUMBER=$1"/> -->
<action application="set" data="process_cdr=false"/>
<action application="export" data="_nolocal_process_cdr=false"/>
<action application="sleep" data="2000"/>
<action application="auth_function" data="in ${DIALED_NUMBER}, in 
${USERNAME}, in ${PASSWD}, out AUTH_RESULT"/>

<action application="export" data="dialed_extension=$1"/>
<action application="bridge" 
data="user/0${dialed_extension}@${domain_name}"/>
<action application="set" data="process_cdr=false"/>
<action application="export" data="_nolocal_process_cdr=false"/>
<action application="log" data="INFO  AUTH_RESULT=${AUTH_RESULT}"/>
<action application="log" data="INFO  billing_model=${billing_model}"/>
<action application="log" data="INFO  credit_amount=${credit_amount}"/>
<action application="log" data="INFO  currency=${currency}"/>
<action application="log" data="INFO  preffered_lang=${preffered_lang}"/>
<action application="log" data="INFO  credit_time=${credit_time}"/>
<!-- <action application="log" data="INFO  
h323_ivr_duration=${h323_ivr_duration}"/> -->
<action application="log" data="INFO  return_code=${return_code}"/>
<!-- <action application="execute_extension" data="AUTH XML default"/> -->
</condition>
</extension>

Regards,
Miha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111118/53343179/attachment.html 


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