[asterisk-users] Parking function problem ?

matthieu Nicaise technique at thinkrosystem.com
Sun Dec 27 11:04:22 CST 2009


Hello,

i'm using the parking feature.

When the call is parked by A (number *15) , B is correctly parked, by  
A did not hangup automatically.


Here are the dialplan

[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()

and the logs :

     -- Executing [0383824377 at local:1] Wait("SIP/*15-0849ea88", "0")  
in new stack
     -- Executing [0383824377 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 [0383824377 at local:3] Dial("SIP/*15-0849ea88", "DAHDI/ 
4/0383824377,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


Why Executing [h at local:1] Hangup("SIP/*15-0849ea88", "")  did not  
hangup A call ?

I hope i'm clear enough !

Thank you

Matthieu NICAISE
Responsable technique

technique at thinkrosystem.com
------------------------------------------------------------------------
Thinkro System
http://www.thinkrosystem.com/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091227/6d20403e/attachment.htm 


More information about the asterisk-users mailing list