<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi everybody, <div><br></div><div>I have a problem using parking for outgoing call.</div><div><br></div><div>BRIEF DESCRIPTION :</div><div><br></div><div>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</div><div>Maybe i'm wrong, maybe we should add such an option, or maybe we should add the hangup call.</div><div><br></div><div>COMPLETE DESCRIPTION :</div><div><br></div><div>A is an local sip phone. A is using the local extension :</div><div><br></div><div>[local] <br>exten => _XXX.,1,Wait(0) <br>exten => _XXX.,n,Dial(SIP/${EXTEN:0}@trunk_sip_2,0,TK) <br>exten => _XXX.,n,Dial(DAHDI/4/${EXTEN:0},0,TK) <br>exten => _XXX.,n,Playback(callbox-thinkro-trunkDefautIndispo) <br>exten => _XXX.,n,Hangup() <br>exten => h,1,Hangup() </div><div><br></div><div>When A is calling an outside number, trunk_sip_2 is used.</div><div>Then A is parking the call. A can hear the parking number.</div><div>But after the call is parked, the displan recall the outside number using DAHDI/4.</div><div><br></div><div>Here are the logs :</div><div><br></div><div>-- Executing [03838xxxxx@local:1] Wait("SIP/*15-0849ea88", "0") <br>in new stack <br>-- Executing [03838xxxxx@local:2] Dial("SIP/*15-0849ea88", "SIP/ <br>0383xxxxxxx@trunk_sip_2,0,TK") in new stack <br>== Using SIP RTP CoS mark 5 <br>== Using SIP VRTP CoS mark 6 <br>-- Called 0383824377@trunk_sip_2 <br>-- SIP/trunk_sip_2-084a5e18 is ringing <br>-- SIP/trunk_sip_2-084a5e18 is making progress passing it to SIP/ <br>*15-0849ea88 <br>-- SIP/trunk_sip_2-084a5e18 answered SIP/*15-0849ea88 <br>callbox*CLI> <br>callbox*CLI> <br>callbox*CLI> <br>-- Started music on hold, class 'default', on SIP/ <br>trunk_sip_2-084a5e18 <br>== Parked SIP/trunk_sip_2-084a5e18 on 900 (lot default). Will <br>timeout back to extension [trunk_sip_2] , 1 in 300 seconds <br>-- Added extension '900' priority 1 to parkedcalls (0x84868d8) <br>-- <SIP/*15-0849ea88> Playing 'digits/9.alaw' (language 'fr') <br>-- <SIP/*15-0849ea88> Playing 'digits/0.alaw' (language 'fr') <br>-- <SIP/*15-0849ea88> Playing 'digits/0.alaw' (language 'fr') <br>-- Executing [h@local:1] Hangup("SIP/*15-0849ea88", "") in new <br>stack <br>== Spawn extension (local, h, 1) exited non-zero on 'SIP/ <br>*15-0849ea88' <br>-- Executing [03838xxxxx@local:3] Dial("SIP/*15-0849ea88", "DAHDI/ <br>4/03838xxxxx,0,TK") in new stack <br>-- Called 4/0383824377 <br>[Dec 27 17:59:54] WARNING[25542]: app_dial.c:1620 dial_exec_full: <br>Invalid timeout specified: '0'. Setting timeout to infinite <br>callbox*CLI> <br>callbox*CLI> <br>callbox*CLI> <br>-- DAHDI/4-1 answered SIP/*15-0849ea88 </div><div><br></div><div><br></div><div>Thank you, </div><div><br></div><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Matthieu NICAISE</div><div>Responsable technique<br><br>GSM : 06 72 19 09 55<br><a href="mailto:commercial@thinkrosystem.com">technique@thinkrosystem.com</a><br>------------------------------------------------------------------------<br>Thinkro System<br><a href="http://www.thinkrosystem.com/">http://www.thinkrosystem.com/</a></div></div><div><br class="webkit-block-placeholder"></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></body></html>