Hi All,
I'm trying to use nibblebill "pause" function for a particular call but the call session locked after the call hangup.
Dialplan,
<extension name="outofcredit">
<condition field="destination_number" expression="^(outofcredit)$">
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="nibble_rate=0"/>
<action application="nibblebill" data="pause"/>
<action application="answer"/>
<action application="playback" data="$${sounds_dir}/en/us/callie/misc/8000/misc-your_call_has_been_terminated.wav"/>
<action application="hangup"/>
</condition>
</extension>
Call logs,
2013-07-30 20:38:33.360312 [DEBUG] switch_core_state_machine.c:48 sofia/sipinterface_2/
4668@192.168.0.106 Standard HANGUP, cause: NONE
2013-07-30 20:38:33.360312 [DEBUG] switch_core_state_machine.c:676 (sofia/sipinterface_2/
4668@192.168.0.106) State HANGUP going to sleep
2013-07-30 20:38:33.360312 [DEBUG] switch_core_state_machine.c:689 (sofia/sipinterface_2/
4668@192.168.0.106) Callstate Change ACTIVE -> HANGUP
2013-07-30 20:38:33.360312 [DEBUG] switch_core_state_machine.c:446 (sofia/sipinterface_2/
4668@192.168.0.106) State Change CS_HANGUP -> CS_REPORTING
2013-07-30 20:38:33.360312 [DEBUG] switch_core_session.c:1340 Send signal sofia/sipinterface_2/
4668@192.168.0.106 [BREAK]
2013-07-30 20:38:33.360312 [DEBUG] switch_core_state_machine.c:415 (sofia/sipinterface_2/
4668@192.168.0.106) Running State Change CS_REPORTING
2013-07-30 20:38:33.360312 [DEBUG] switch_core_state_machine.c:761 (sofia/sipinterface_2/
4668@192.168.0.106) State REPORTING
2013-07-30 20:38:33.360312 [DEBUG] switch_core_state_machine.c:92 sofia/sipinterface_2/
4668@192.168.0.106 Standard REPORTING, cause: NONE
2013-07-30 20:38:33.360312 [DEBUG] switch_core_state_machine.c:761 (sofia/sipinterface_2/
4668@192.168.0.106) State REPORTING going to sleep
2013-07-30 20:38:33.360312 [DEBUG] switch_core_state_machine.c:440 (sofia/sipinterface_2/
4668@192.168.0.106) State Change CS_REPORTING -> CS_DESTROY
2013-07-30 20:38:33.360312 [DEBUG] switch_core_session.c:1340 Send signal sofia/sipinterface_2/
4668@192.168.0.106 [BREAK]
2013-07-30 20:38:33.360312 [DEBUG] switch_core_session.c:1548 Session 3 (sofia/sipinterface_2/
4668@192.168.0.106) Locked, Waiting on external entities
show channels & uuid_kill,
freeswitch@internal> show channels
uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num
f161cb1c-f914-11e2-92d1-35a97464e755,inbound,2013-07-30 20:38:31,1375187911,sofia/sipinterface_2/
4668@192.168.0.106,CS_EXECUTE,4668,4668,192.168.0.133,0,playback,/usr/local/freeswitch/sounds/en/us/callie/misc/8000/misc-your_call_has_been_terminated.wav,XML,out_bound,PCMA,8000,64000,PCMA,8000,64000,,
sip.wit.net.my,
4668@192.168.0.106,,ACTIVE,,,,,,
1 total.
freeswitch@internal> uuid_kill f161cb1c-f914-11e2-92d1-35a97464e755
-ERR No such channel!
freeswitch@internal>
May i know is there any way to release the locked session? or is it a bug in freeswitch ?
Thanks,
dc