[Freeswitch-users] Ported number, phone ring after hang up

Miha Zoubek miha at softnet.si
Wed Feb 29 15:55:25 MSK 2012


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 at xxx.xxx.xxx.xxx"/>
<!-- <action application="bridge" 
data="sofia/gateway/sbc_trunk/386$1 at 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 at xxx.xxx.xxx.xxx"/> -->
</condition>
</extension>
</include>


http://pastebin.freeswitch.org/18549
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120229/ed35052f/attachment.html 


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