[asterisk-bugs] [Asterisk 0018988]: Skinny to Skinny transfer crash

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 21 09:54:21 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18988 
====================================================================== 
Reported By:                kobaz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18988
Category:                   Channels/chan_skinny
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.3.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-17 16:42 CDT
Last Modified:              2011-03-21 09:54 CDT
====================================================================== 
Summary:                    Skinny to Skinny transfer crash
Description: 
Transferring from a skinny phone to another skinny phone will seg fault.


Sip phone calls skinny phone
skinny phone attended transfers to another skinny phone
====================================================================== 

---------------------------------------------------------------------- 
 (0133037) kobaz (developer) - 2011-03-21 09:54
 https://issues.asterisk.org/view.php?id=18988#c133037 
---------------------------------------------------------------------- 
################# 2609 calls 2610
*CLI>   == Using SIP RTP CoS mark 5
    -- Executing [2610 at cos_internal+local+ld+intl:1]
Goto("SIP/2609-00000000", "_cos_internal+local+ld+intl,2610,1") in new
stack
    -- Goto (_cos_internal+local+ld+intl,2610,1)
    -- Executing [2610 at _cos_internal+local+ld+intl:1]
Dial("SIP/2609-00000000", "Skinny/2610") in new stack
    -- skinny_request(2610)
 skinny_new: tmp->nativeformats=0xc (ulaw|alaw) fmt=ulaw
 skinny_get_rtp_peer() Channel = Skinny/2610 at SEP0014A9239820-1
    -- skinny_call(Skinny/2610 at SEP0014A9239820-1)
 Displaying Prompt Status 'Ring-In'
 Setting Callinfo to 2609(2609) from Cisco 2610(2610) on
SEP0014A9239820(1)
 Setting ringer mode to '2'.
  == Found device: SEP0014A9239820
    -- Called 2610
    -- SIP/2609-00000000 calling Skinny/2610 at SEP0014A9239820-1 (callee is
ringing)

*CLI>
*CLI>
*CLI>
*CLI>
*CLI>
*CLI>
*CLI>
################# 2610 answers
*CLI>  Received Softkey Event: Answer(1/1)
 Setting ringer mode to '1'.
  == Found device: SEP0014A9239820
    -- Skinny/2610 at SEP0014A9239820-1 answered SIP/2609-00000000
    -- Asked to indicate 'Media Source Update' condition on channel
Skinny/2610 at SEP0014A9239820-1
 skinny_get_rtp_peer() Channel = Skinny/2610 at SEP0014A9239820-1
 skinny_get_rtp_peer() Using AST_RTP_GLUE_RESULT_LOCAL
 RECEIVED UNKNOWN MESSAGE TYPE:  49
 Received Open Receive Channel Ack
 device ipaddr = 192.168.50.105:17494
 asterisk ipaddr = 192.168.50.1:16594
 Setting payloadType to 'ulaw' (20 ms)
 skinny_get_rtp_peer() Channel = Skinny/2610 at SEP0014A9239820-1
 skinny_get_rtp_peer() Using AST_RTP_GLUE_RESULT_LOCAL

*CLI>
*CLI>
*CLI>
*CLI>
*CLI>
*CLI>
################# 2610 transfer to 2611, 2611 answers
*CLI>  Received Softkey Event: Transfer(1/1)
 Putting on Hold(1)
 skinny_new: tmp->nativeformats=0xc (ulaw|alaw) fmt=ulaw
 Clearing Display
    -- Started music on hold, class 'default', on channel
'SIP/2609-00000000'
    -- Starting simple switch on '2610 at SEP0014A9239820'
 Collected digit: [2]
    -- Asked to indicate 'Stop tone' condition on channel
Skinny/2610 at SEP0014A9239820-2
 Collected digit: [6]
    -- Asked to indicate 'Stop tone' condition on channel
Skinny/2610 at SEP0014A9239820-2
 Collected digit: [1]
    -- Asked to indicate 'Stop tone' condition on channel
Skinny/2610 at SEP0014A9239820-2
 Collected digit: [1]
    -- Asked to indicate 'Stop tone' condition on channel
Skinny/2610 at SEP0014A9239820-2
  == Found device: SEP0014A9239820
    -- Executing [2611 at cos_internal+local+ld+intl:1]
Goto("Skinny/2610 at SEP0014A9239820-2", "_cos_internal+local+ld+intl,2611,1")
in new stack
    -- Goto (_cos_internal+local+ld+intl,2611,1)
    -- Executing [2611 at _cos_internal+local+ld+intl:1]
Dial("Skinny/2610 at SEP0014A9239820-2", "Skinny/2611") in new stack
    -- skinny_request(2611)
 skinny_new: tmp->nativeformats=0xc (ulaw|alaw) fmt=ulaw
 skinny_get_rtp_peer() Channel = Skinny/2611 at SEP001121D89A42-3
 skinny_get_rtp_peer() Channel = Skinny/2610 at SEP0014A9239820-2
 skinny_get_rtp_peer() Using AST_RTP_GLUE_RESULT_LOCAL
    -- skinny_call(Skinny/2611 at SEP001121D89A42-3)
 Displaying Prompt Status 'Ring-In'
 Setting Callinfo to Cisco 2610(2610) from Cisco 2611(2611) on
SEP001121D89A42(1)
 Setting ringer mode to '2'.
  == Found device: SEP001121D89A42
    -- Called 2611
    -- Skinny/2610 at SEP0014A9239820-2 calling Skinny/2611 at SEP001121D89A42-3
(callee is ringing)
    -- Asked to indicate 'Remote end is ringing' condition on channel
Skinny/2610 at SEP0014A9239820-2
 Received Open Receive Channel Ack
 device ipaddr = 192.168.50.105:19040
 asterisk ipaddr = 192.168.50.1:16630
 Displaying Prompt Status 'Ring Out'
 Setting payloadType to 'ulaw' (20 ms)
 Setting Callinfo to Cisco 2610(2610) from 2611(2611) on
SEP0014A9239820(1)
 Received Softkey Event: Answer(1/3)
 Setting ringer mode to '1'.
  == Found device: SEP001121D89A42
    -- Skinny/2611 at SEP001121D89A42-3 answered
Skinny/2610 at SEP0014A9239820-2
 skinny_answer(Skinny/2610 at SEP0014A9239820-2) on 2610 at SEP0014A9239820-2
  == Found device: SEP0014A9239820
 Setting Callinfo to (2611) from 2611(2611) on SEP0014A9239820(1)
 Displaying Prompt Status 'Connected'
    -- Asked to indicate 'Stop tone' condition on channel
Skinny/2610 at SEP0014A9239820-2
    -- Asked to indicate 'Media Source Update' condition on channel
Skinny/2610 at SEP0014A9239820-2
    -- Asked to indicate 'Media Source Update' condition on channel
Skinny/2611 at SEP001121D89A42-3
 skinny_get_rtp_peer() Channel = Skinny/2610 at SEP0014A9239820-2
 skinny_get_rtp_peer() Using AST_RTP_GLUE_RESULT_LOCAL
 skinny_get_rtp_peer() Channel = Skinny/2611 at SEP001121D89A42-3
 skinny_get_rtp_peer() Using AST_RTP_GLUE_RESULT_LOCAL
    -- Locally bridging Skinny/2610 at SEP0014A9239820-2 and
Skinny/2611 at SEP001121D89A42-3
 RECEIVED UNKNOWN MESSAGE TYPE:  49
 Received Open Receive Channel Ack
 device ipaddr = 192.168.50.106:32542
 asterisk ipaddr = 192.168.50.1:16818
 Setting payloadType to 'ulaw' (20 ms)

*CLI>
*CLI>
*CLI>
*CLI>
################# 2610 completes transfer
*CLI>
*CLI>  Received Softkey Event: Transfer(1/2)
    -- Stopped music on hold on SIP/2609-00000000
    -- Asked to indicate 'Stop tone' condition on channel
Skinny/2610 at SEP0014A9239820-1
[2011-03-21 10:51:31] NOTICE[9026]: chan_skinny.c:4195 skinny_fixup:
skinny_fixup(Skinny/2611 at SEP001121D89A42-3,
Skinny/2611 at SEP001121D89A42-3<MAS                                          
       >)
    -- Hanging up SEP0014A9239820/1
       > Killing inactive sub 1
Segmentation fault (core dumped) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-21 09:54 kobaz          Note Added: 0133037                          
======================================================================




More information about the asterisk-bugs mailing list