Hi everybody,

I have a problem using parking for outgoing call.

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 [03838xx...@local:1] Wait("SIP/*15-0849ea88", "0") in new stack -- Executing [03838xx...@local:2] Dial("SIP/*15-0849ea88", "SIP/ 0383xxxx...@trunk_sip_2,0,TK") in new stack
== Using SIP RTP CoS mark 5
== Using SIP VRTP CoS mark 6
-- Called 0383824...@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 [...@local:1] Hangup("SIP/*15-0849ea88", "") in new stack
== Spawn extension (local, h, 1) exited non-zero on 'SIP/
*15-0849ea88'
-- Executing [03838xx...@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 very much for any help !


Matthieu NICAISE
Responsable technique

GSM : 06 72 19 09 55
techni...@thinkrosystem.com
------------------------------------------------------------------------
Thinkro System
http://www.thinkrosystem.com/




-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to