[asterisk-bugs] [Asterisk 0017725]: Issue with transfers in chan_skinny
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jul 29 10:10:16 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17725
======================================================================
Reported By: salecha
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17725
Category: Channels/chan_skinny
Reproducibility: always
Severity: crash
Priority: normal
Status: acknowledged
Asterisk Version: SVN
JIRA: SWP-1961
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-07-27 06:58 CDT
Last Modified: 2010-07-29 10:10 CDT
======================================================================
Summary: Issue with transfers in chan_skinny
Description:
Bug in making the transfer skinny. the error occurred as follows:
scenario: two SIP IP phones (2803 and 2850) and a Cisco 7910 (Ext. 2410)
<ol>
<li>From the Cisco 7910 phone (Ext. 2410) call the extension 2850.</li>
<li>communication is set correctly.</li>
<li>Press the transfer key on the Cisco 7910 to make the transfer and
extension 2850 is on hold with music.</li>
<li>The Cisco 7910 I have a dial tone and dial extension 2803.</li>
<li>The 2803 extension accepts the call and establishing communication
with the extension 2410.</li>
<li>Well, if I hang up the extension now 2410 (Cisco 7910) the transfer is
done correctly.</li>
</ol>
The error is shown in item 6 as follows:
If instead of replacing the call to make the transfer, press the
"transfer", the transfer is performed but the Cisco 7910 is in an unusable
state, and shows me the display is connected with the 2850 extension that
is at that first call.
======================================================================
----------------------------------------------------------------------
(0125258) salecha (reporter) - 2010-07-29 10:10
https://issues.asterisk.org/view.php?id=17725#c125258
----------------------------------------------------------------------
vmelastix*CLI>
-- Executing [2410 at default:1] Dial("SIP/10.2.1.106-00000000",
"SKINNY/2410,120,tw") in new stack
-- skinny_request(2410)
skinny_new: tmp->nativeformats=0xc (ulaw|alaw) fmt=ulaw
skinny_get_rtp_peer() Channel = Skinny/2410 at Phone Skinny-1
-- skinny_call(Skinny/2410 at Phone Skinny-1)
Displaying Prompt Status 'Ring-In'
Setting Callinfo to LinkSys 01(2850) from Cisco Skinny(2410) on Phone
Skinny(1)
Setting ringer mode to '2'.
-- Called 2410
-- Skinny/2410 at Phone Skinny-1 is ringing
== Found device: Phone Skinny
Setting ringer mode to '1'.
-- Skinny/2410 at Phone Skinny-1 answered SIP/10.2.1.106-00000000
-- Asked to indicate 'Media Source Update' condition on channel
Skinny/2410 at Phone Skinny-1
skinny_get_rtp_peer() Channel = Skinny/2410 at Phone Skinny-1
skinny_get_rtp_peer() Using AST_RTP_GLUE_RESULT_LOCAL
== Found device: Phone Skinny
Received Open Receive Channel Ack
device ipaddr = 10.50.100.17:17892
asterisk ipaddr = 10.1.1.4:18368
Setting payloadType to 'ulaw' (20 ms)
skinny_get_rtp_peer() Channel = Skinny/2410 at Phone Skinny-1
skinny_get_rtp_peer() Using AST_RTP_GLUE_RESULT_LOCAL
vmelastix*CLI>
callreference in handle_stimulus_message is '0'
Received Stimulus: Transfer(0/0)
Putting on Hold(1)
skinny_new: tmp->nativeformats=0xc (ulaw|alaw) fmt=ulaw
Clearing Display
-- Started music on hold, class 'default', on SIP/10.2.1.106-00000000
-- Starting simple switch on '2410 at Phone Skinny'
== Found device: Phone Skinny
Collected digit: [2]
-- Asked to indicate 'Stop tone' condition on channel
Skinny/2410 at Phone Skinny-2
Collected digit: [8]
-- Asked to indicate 'Stop tone' condition on channel
Skinny/2410 at Phone Skinny-2
Collected digit: [0]
-- Asked to indicate 'Stop tone' condition on channel
Skinny/2410 at Phone Skinny-2
Collected digit: [3]
-- Executing [2803 at from-internal:1] Dial("Skinny/2410 at Phone Skinny-2",
"SIP/2803 at 10.2.1.106,120,tw") in new stack
skinny_get_rtp_peer() Channel = Skinny/2410 at Phone Skinny-2
skinny_get_rtp_peer() Using AST_RTP_GLUE_RESULT_LOCAL
-- Called 2803 at 10.2.1.106
== Found device: Phone Skinny
Received Open Receive Channel Ack
device ipaddr = 10.50.100.17:18900
asterisk ipaddr = 10.1.1.4:13160
Setting payloadType to 'ulaw' (20 ms)
-- SIP/10.2.1.106-00000001 is ringing
-- Asked to indicate 'Remote end is ringing' condition on channel
Skinny/2410 at Phone Skinny-2
Displaying Prompt Status 'Ring Out'
Setting Callinfo to Cisco Skinny(2410) from 2803(2803) on Phone
Skinny(1)
-- Asked to indicate 'Connected Line' condition on channel
Skinny/2410 at Phone Skinny-2
-- SIP/10.2.1.106-00000001 answered Skinny/2410 at Phone Skinny-2
skinny_answer(Skinny/2410 at Phone Skinny-2) on 2410 at Phone Skinny-2
Setting Callinfo to () from 2803(2803) on Phone Skinny(1)
Displaying Prompt Status 'Connected'
-- Asked to indicate 'Stop tone' condition on channel
Skinny/2410 at Phone Skinny-2
-- Asked to indicate 'Media Source Update' condition on channel
Skinny/2410 at Phone Skinny-2
skinny_get_rtp_peer() Channel = Skinny/2410 at Phone Skinny-2
skinny_get_rtp_peer() Using AST_RTP_GLUE_RESULT_LOCAL
== Found device: Phone Skinny
callreference in handle_stimulus_message is '0'
Received Stimulus: Transfer(0/0)
[Jul 29 12:04:02] NOTICE[7095]: chan_skinny.c:4195 skinny_fixup:
skinny_fixup(SIP/10.2.1.106-00000001, SIP/10.2.1.106-00000001<MASQ>)
-- Hanging up Phone Skinny/1
> Killing inactive sub 1
-- Stopped music on hold on SIP/10.2.1.106-00000000
-- Asked to indicate 'Media Source Update' condition on channel
Skinny/2410 at Phone Skinny-2
== Spawn extension (from-internal, 2803, 1) exited non-zero on
'Skinny/2410 at Phone Skinny-2'
-- Hanging up Phone Skinny/2
> Killing only sub 2
Clearing Prompt
Setting ringer mode to '1'.
Clearing Display
== Found device: Phone Skinny
== Found device: Phone Skinny
== Found device: Phone Skinny
vmelastix*CLI> core show cha
channel channels channeltypes channeltype
vmelastix*CLI> core show channels
Channel Location State Application(Data)
SIP/10.2.1.106-00000 (None) Up AppDial((Outgoing Line))
SIP/10.2.1.106-00000 2410 at default:1 Up Dial(SKINNY/2410,120,tw)
2 active channels
1 active call
2 calls processed
vmelastix*CLI> core show calls
1 active call
2 calls processed
== Spawn extension (default, 2410, 1) exited non-zero on
'SIP/10.2.1.106-00000000'
vmelastix*CLI>
Issue History
Date Modified Username Field Change
======================================================================
2010-07-29 10:10 salecha Note Added: 0125258
======================================================================
More information about the asterisk-bugs
mailing list