[asterisk-dev] Asterisk 12.0.0-beta1 Call is hung up when Parking lot is full
Mert Yazgart
efes9999 at hotmail.com
Thu Nov 7 11:10:01 CST 2013
________________________________
>> I'm basically letting Asterisk (1.8.23) handle all of the parking process:
>>
>>
>> features.conf
>> parkext => 700
>> parkpos => 701-702
>> context => parkedcalls
>>
>> On the Cisco phone, I programmed one of the soft keys to park the calls:
>> Key: fnc=sd;ext=700 at 10.0.1.75;vid=1;nme=Park
>>
>> This works smoothly.
>>
>> if I try to park it via using the Key (which sends
>> a REFER), Asterisk responds with a SIP 503 message (which the phone
>> processes correctly telling me that its an invalid transfer). However,
>> the existing call is gone - both caller and callee's phones show as if
>> there is a call, but they are not connected to each other. There is no
>> SIP BYE. Asterisk CLI says :
>> Spawn extension (callee) exited non-zero on 'Parking\SIP\caller'...
>
> Out of morbid curiosity, could you test the same type of transfer
> against Asterisk 12's parking system?
>
> Also, is this a blind or attended transfer? As in, does the person
> transferring the call hear the parking failed message, and does that
> person then get hung up on, or is it the transferee the one that
> actually attempted parking and failed?
>
> --
> Jonathan R. Rose
> Digium, Inc. | Software Engineer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> direct +1 256 428 6139
>
Jonathan,
I was able to test this in Asterisk 12.0.0-beta1.
Parking works fine, but when parking lot is full, Asterisk sends SIP BYE to both parker and parkee (transferer, transferee) and the call is hung up. Compared to 18.23, Asterisk is left in a stable state though (in 1.8.23, I guess because the parking fails after the channels are masqueraded, Asterisk and phones turn unstable)
Test scenario:
123 called 125. 125 tried to park 123. Parking failed (parking lot is full). Asterisk sent both phones SIP BYE, call is hung up.
== Using SIP RTP CoS mark 5
-- Called SIP/125
-- SIP/125-00000005 is ringing
-- SIP/125-00000005 answered SIP/123-00000004
-- Channel SIP/123-00000004 joined 'simple_bridge' basic-bridge <2bc23c7d-0114-450c-ad19-65e63d613726>
-- Channel SIP/125-00000005 joined 'simple_bridge' basic-bridge <2bc23c7d-0114-450c-ad19-65e63d613726>
> Bridge 2bc23c7d-0114-450c-ad19-65e63d613726: switching from simple_bridge technology to native_rtp
> 0x7f9078093020 -- Probation passed - setting RTP source address to 10.0.1.80:52518
-- Started music on hold, class 'default', on SIP/125-00000005
> 0x7f9074015e30 -- Probation passed - setting RTP source address to 10.0.1.99:16482
-- Channel SIP/123-00000004 left 'native_rtp' basic-bridge <2bc23c7d-0114-450c-ad19-65e63d613726>
[Nov 6 19:19:03] NOTICE[10232][C-00000003]: parking/parking_bridge.c:150 generate_parked_user: Failed to get parking space in lot 'default'. All full.
-- Channel SIP/123-00000004 joined 'native_rtp' basic-bridge <2bc23c7d-0114-450c-ad19-65e63d613726>
> Bridge 2bc23c7d-0114-450c-ad19-65e63d613726: switching from native_rtp technology to simple_bridge
[Nov 6 19:19:03] ERROR[10232][C-00000003]: parking/parking_bridge_features.c:395 parking_park_bridge_channel: Failed to move SIP/123-00000004 into the parking bridge.
[Nov 6 19:19:03] WARNING[10232][C-00000003]: bridge_channel.c:937 bridge_channel_park: Error occurred while parking SIP/123-00000004
-- Stopped music on hold on SIP/125-00000005
-- <SIP/125-00000005> Playing 'pbx-parkingfailed.gsm' (language 'en')
[Nov 6 19:19:03] NOTICE[9948][C-00000003]: chan_sip.c:23566 handle_response_notify: Got OK on REFER Notify message
> 0x7f9074015e30 -- Probation passed - setting RTP source address to 10.0.1.99:16482
-- Started music on hold, class 'default', on SIP/125-00000005
-- Stopped music on hold on SIP/125-00000005
-- Started music on hold, class 'default', on SIP/125-00000005
-- Stopped music on hold on SIP/125-00000005
-- Channel SIP/125-00000005 left 'simple_bridge' basic-bridge <2bc23c7d-0114-450c-ad19-65e63d613726>
-- Channel SIP/123-00000004 left 'simple_bridge' basic-bridge <2bc23c7d-0114-450c-ad19-65e63d613726>
Thanks,
Matt
More information about the asterisk-dev
mailing list