[asterisk-dev] Parking problem with outgoing calls
matthieu Nicaise
technique at thinkrosystem.com
Tue May 4 11:35:06 CDT 2010
Hi everybody,
I have a problem using parking for outgoing call.
BRIEF DESCRIPTION :
I cannot undestand why after parking a call, instead of executing
hangup, the diaplan execution continue. I mean, i think there should
be a ast_hangup(peer) at the end of the function ast_park_call_full in
the file feature.c
Maybe i'm wrong, maybe we should add such an option, or maybe we
should add the hangup call.
COMPLETE DESCRIPTION :
A is an local sip phone. A is using the local extension :
[local]
exten => _XXX.,1,Wait(0)
exten => _XXX.,n,Dial(SIP/${EXTEN:0}@trunk_sip_2,0,TK)
exten => _XXX.,n,Dial(DAHDI/4/${EXTEN:0},0,TK)
exten => _XXX.,n,Playback(callbox-thinkro-trunkDefautIndispo)
exten => _XXX.,n,Hangup()
exten => h,1,Hangup()
When A is calling an outside number, trunk_sip_2 is used.
Then A is parking the call. A can hear the parking number.
But after the call is parked, the displan recall the outside number
using DAHDI/4.
Here are the logs :
-- Executing [03838xxxxx at local:1] Wait("SIP/*15-0849ea88", "0")
in new stack
-- Executing [03838xxxxx at local:2] Dial("SIP/*15-0849ea88", "SIP/
0383xxxxxxx at trunk_sip_2,0,TK") in new stack
== Using SIP RTP CoS mark 5
== Using SIP VRTP CoS mark 6
-- Called 0383824377 at trunk_sip_2
-- SIP/trunk_sip_2-084a5e18 is ringing
-- SIP/trunk_sip_2-084a5e18 is making progress passing it to SIP/
*15-0849ea88
-- SIP/trunk_sip_2-084a5e18 answered SIP/*15-0849ea88
callbox*CLI>
callbox*CLI>
callbox*CLI>
-- Started music on hold, class 'default', on SIP/
trunk_sip_2-084a5e18
== Parked SIP/trunk_sip_2-084a5e18 on 900 (lot default). Will
timeout back to extension [trunk_sip_2] , 1 in 300 seconds
-- Added extension '900' priority 1 to parkedcalls (0x84868d8)
-- <SIP/*15-0849ea88> Playing 'digits/9.alaw' (language 'fr')
-- <SIP/*15-0849ea88> Playing 'digits/0.alaw' (language 'fr')
-- <SIP/*15-0849ea88> Playing 'digits/0.alaw' (language 'fr')
-- Executing [h at local:1] Hangup("SIP/*15-0849ea88", "") in new
stack
== Spawn extension (local, h, 1) exited non-zero on 'SIP/
*15-0849ea88'
-- Executing [03838xxxxx at local:3] Dial("SIP/*15-0849ea88", "DAHDI/
4/03838xxxxx,0,TK") in new stack
-- Called 4/0383824377
[Dec 27 17:59:54] WARNING[25542]: app_dial.c:1620 dial_exec_full:
Invalid timeout specified: '0'. Setting timeout to infinite
callbox*CLI>
callbox*CLI>
callbox*CLI>
-- DAHDI/4-1 answered SIP/*15-0849ea88
Thank you,
Matthieu NICAISE
Responsable technique
GSM : 06 72 19 09 55
technique at thinkrosystem.com
------------------------------------------------------------------------
Thinkro System
http://www.thinkrosystem.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100504/e16b0fa4/attachment-0001.htm
More information about the asterisk-dev
mailing list