sorry for my ignorance but i think its "break" not " brake" On Feb 29, 2012 7:57 AM, "Miha Zoubek" <miha@softnet.si> wrote:
Hi,
I am having problems with ported number. After call is being ansered (ported number), than if the person who is having ported number hang up the phone, his phone is being called again.
I have also paste log in pastebin.
Dialplan:
<condition field="destination_number" expression="^0(\d+)$" brake="on-true" > <action application="log" data="INFO Before Auth "/> <action application="log" /> <action application="set" data="process_cdr=true" /> <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=${accountcode}"/>
<action inline="true" application="set" data="PASSWD=${password}"/> <!-- <action inline="true" application="set" data="DIALED_NUMBER=$1"/> --> <action application="execute_extension" data="RADIUS_ANI_AUTH XML default"/>
<!-- <condition field="${AUTH_RESULT}" expression="NOK"> --> <!-- <anti-action application="reject" data="401"/> -->
<!-- <condition field="${AUTH_RESULT}" expression="OK" brake="on-true"> --> <!-- <action application="reject" data="401"/> -->
<action application="enum" data="386$1 enumsbc.softnet.si"/> <action application="bridge" data="${enum_auto_route}"/>
<action application="bridge" data="sofia/external/386$1@xxx.xxx.xxx.xxx"<sofia/external/386$1@xxx.xxx.xxx.xxx> /> <!-- <action application="bridge" data= "sofia/gateway/sbc_trunk/386$1@xxx.xxx.xxx.xxx"<sofia/gateway/sbc_trunk/386$1@xxx.xxx.xxx.xxx>/> -->
<!-- <action application="auth_function" data="in ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out AUTH_RESULT"/> --> <!-- <action application="bridge" data= "sofia/external/386$1@xxx.xxx.xxx.xxx"<sofia/external/386$1@xxx.xxx.xxx.xxx>/> --> </condition> </extension> </include>
http://pastebin.freeswitch.org/18549
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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