[Home]

Summary:ASTERISK-09978: cant park a parked call
Reporter:Clod Patry (junky)Labels:
Date Opened:2007-07-29 19:01:25Date Closed:2007-07-30 08:29:24
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_features
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:when you have parkcall => ** in your features.conf.

When you park a call the first time, everything is perfect.
You can ParkedCall that park too, until there, there's no problem.
But you can park him again.

I used dial with k option.


The problems seems to be a not-clear flag or something in res_features.c:ast_feature_interpret() , since the chan becomes the peer and the peer becomes the chan.

****** ADDITIONAL INFORMATION ******

when you park the first time:

   -- Packet2Packet bridging SIP/11-081ee910 and SIP/10-081f4c18
[Jul 29 16:14:48] DEBUG[21680]: app_queue.c:548 changethread: Device 'SIP/11' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[Jul 29 16:14:48] DEBUG[21679]: app_queue.c:548 changethread: Device 'SIP/10' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[Jul 29 16:14:48] DEBUG[21637]: chan_sip.c:4428 find_call: = No match Their Call ID: 33ef943a4684ab2f47992a5e30003308@192.168.1.5 Their Tag 56A4DB30-F87A2D69 Our tag: as312efd0c
[Jul 29 16:14:48] DEBUG[21637]: chan_sip.c:4428 find_call: = Found Their Call ID: 6680E68C-DA69-470A-5AF2-524F93121259@192.168.1.5 Their Tag 757725359 Our tag: as70064e5e
[Jul 29 16:14:48] DEBUG[21637]: chan_sip.c:14863 handle_request: **** Received ACK (6) - Command in SIP ACK
[Jul 29 16:14:48] DEBUG[21637]: chan_sip.c:2138 __sip_ack: Stopping retransmission on '6680E68C-DA69-470A-5AF2-524F93121259@192.168.1.5' of Response 41860: Match Not Found
[Jul 29 16:14:48] DEBUG[21676]: rtp.c:875 ast_rtcp_read: Got RTCP report of 84 bytes
[Jul 29 16:14:48] DEBUG[21676]: rtp.c:875 ast_rtcp_read: Got RTCP report of 114 bytes
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:626 send_dtmf: Sending dtmf: 35 (#), at 192.168.1.102
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:626 send_dtmf: Sending dtmf: 35 (#), at 192.168.1.102
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:3137 bridge_p2p_loop: Oooh, got a digit
[Jul 29 16:14:49] DEBUG[21676]: channel.c:4224 ast_channel_bridge: Returning from native bridge, channels: SIP/11-081ee910, SIP/10-081f4c18
[Jul 29 16:14:49] DEBUG[21676]: res_features.c:1061 ast_feature_interpret: Feature interpret: chan=SIP/11-081ee910, peer=SIP/10-081f4c18, sense=2, features=32
[Jul 29 16:14:49] DEBUG[21676]: res_features.c:1551 ast_bridge_call: Set time limit to 500
   -- Packet2Packet bridging SIP/11-081ee910 and SIP/10-081f4c18
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:626 send_dtmf: Sending dtmf: 55 (7), at 192.168.1.102
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:626 send_dtmf: Sending dtmf: 55 (7), at 192.168.1.102
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:3137 bridge_p2p_loop: Oooh, got a digit
[Jul 29 16:14:49] DEBUG[21676]: channel.c:4224 ast_channel_bridge: Returning from native bridge, channels: SIP/11-081ee910, SIP/10-081f4c18
[Jul 29 16:14:49] DEBUG[21676]: res_features.c:1061 ast_feature_interpret: Feature interpret: chan=SIP/11-081ee910, peer=SIP/10-081f4c18, sense=2, features=32
[Jul 29 16:14:49] DEBUG[21676]: res_features.c:1551 ast_bridge_call: Set time limit to 500
   -- Packet2Packet bridging SIP/11-081ee910 and SIP/10-081f4c18
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:626 send_dtmf: Sending dtmf: 50 (2), at 192.168.1.102
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:626 send_dtmf: Sending dtmf: 50 (2), at 192.168.1.102
[Jul 29 16:14:49] DEBUG[21676]: rtp.c:3137 bridge_p2p_loop: Oooh, got a digit
[Jul 29 16:14:49] DEBUG[21676]: channel.c:4224 ast_channel_bridge: Returning from native bridge, channels: SIP/11-081ee910, SIP/10-081f4c18
[Jul 29 16:14:49] DEBUG[21676]: res_features.c:1061 ast_feature_interpret: Feature interpret: chan=SIP/11-081ee910, peer=SIP/10-081f4c18, sense=2, features=32
   -- Started music on hold, class 'default', on SIP/11-081ee910



when you try to park again the parked call.

[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:626 send_dtmf: Sending dtmf: 35 (#), at 192.168.1.102
[Jul 29 16:18:52] DEBUG[21797]: channel.c:4016 ast_generic_bridge: Got DTMF begin on channel (SIP/10-081f4828)
[Jul 29 16:18:52] DEBUG[21797]: channel.c:4294 ast_channel_bridge: Bridge stops bridging channels SIP/10-081f4828 and SIP/11-081ee910
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:626 send_dtmf: Sending dtmf: 35 (#), at 192.168.1.102
[Jul 29 16:18:52] DEBUG[21797]: channel.c:4016 ast_generic_bridge: Got DTMF end on channel (SIP/10-081f4828)
[Jul 29 16:18:52] DEBUG[21797]: channel.c:4294 ast_channel_bridge: Bridge stops bridging channels SIP/10-081f4828 and SIP/11-081ee910
[Jul 29 16:18:52] DEBUG[21797]: res_features.c:1061 ast_feature_interpret: Feature interpret: chan=SIP/10-081f4828, peer=SIP/11-081ee910, sense=1, features=2
[Jul 29 16:18:52] DEBUG[21797]: res_features.c:1551 ast_bridge_call: Set time limit to 500
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 0000000b (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:626 send_dtmf: Sending dtmf: 55 (7), at 192.168.1.102
[Jul 29 16:18:52] DEBUG[21797]: channel.c:4016 ast_generic_bridge: Got DTMF begin on channel (SIP/10-081f4828)
[Jul 29 16:18:52] DEBUG[21797]: channel.c:4294 ast_channel_bridge: Bridge stops bridging channels SIP/10-081f4828 and SIP/11-081ee910
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:18:52] DEBUG[21797]: rtp.c:626 send_dtmf: Sending dtmf: 55 (7), at 192.168.1.102
[Jul 29 16:18:52] DEBUG[21797]: channel.c:4016 ast_generic_bridge: Got DTMF end on channel (SIP/10-081f4828)
[Jul 29 16:18:52] DEBUG[21797]: channel.c:4294 ast_channel_bridge: Bridge stops bridging channels SIP/10-081f4828 and SIP/11-081ee910
[Jul 29 16:18:52] DEBUG[21797]: res_features.c:1061 ast_feature_interpret: Feature interpret: chan=SIP/10-081f4828, peer=SIP/11-081ee910, sense=1, features=2
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:875 ast_rtcp_read: Got RTCP report of 64 bytes
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000007 (len = 4)
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:626 send_dtmf: Sending dtmf: 50 (2), at 192.168.1.102
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:626 send_dtmf: Sending dtmf: 50 (2), at 192.168.1.102
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:18:52] DEBUG[21663]: rtp.c:727 process_rfc2833: - RTP 2833 Event: 00000002 (len = 4)
[Jul 29 16:18:53] DEBUG[21797]: rtp.c:875 ast_rtcp_read: Got RTCP report of 84 bytes
Comments:By: Joshua C. Colp (jcolp) 2007-07-30 08:29:24

This has already been fixed in trunk by allowing the user to set in features.conf what options are enabled when picking up a parked call. In older versions you do not have the ability to set what options are enabled on a call when picked up, and since it is a new bridge the old options from the Dial line do not carry over.