[Home]

Summary:ASTERISK-00260: Asterisk crashes on phoning a Cisco 30VIP
Reporter:bscott (bscott)Labels:
Date Opened:2003-09-12 13:27:40Date Closed:2004-09-25 02:52:04
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I've hooked up a Cisco 30VIP to asterisk, and whilst calls made from it work fine, if I try and dial to it then asterisk crashes, leaving no obvious error messages for me to quote. It's probably just me being incompetent, but everything else in my config works.

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

from skinny.conf:

[general]
port = 2000             ; Port to bind to, default tcp/2000
bindaddr = 0.0.0.0      ; Address to bind to
dateFormat = D-M-Y      ; M,D,Y in any order (5 chars max)
keepAlive = 120        

[vip]
device=SEP00308062C6E9
context=intern
line => 120            

from extensions.conf:

exten => 2003,1,Dial(Skinny/120@vip)

output from when extension 2003 is dialled by a SIP device:

*CLI>
   -- Executing Dial("SIP/2000-b5e0", "Skinny/120@vip") in new stack
Ouch ... error while writing audio data: : Broken pipe
Ouch ... error while writing audio data: : Broken pipe
Segmentation fault
Comments:By: Brian West (bkw918) 2003-09-12 14:33:10

This should be in Skinny category since thats what caused the crash!

By: jerjer (jerjer) 2003-09-13 19:33:05

Asterisk outbound dialing of Skinny channels wasn't implemented until this morning. cvs update and see if this goes away.

By: bscott (bscott) 2003-09-14 07:29:14

That's a definite improvement - Asterisk doesn't crash now, and the first call made to/from the 30vip works fine - audio and everything!

However, it appears that hangups don't work properly. Whilst asterisk spits out a:

skinny_hangup(Skinny/120@30vip-2) on 120@30vip

the next call made to/from the 30vip doesn't work. If the 30vip is making the call then the called phone receives no audio, whilst the 30vip receives audio from the called phone fine.

If the 30vip is called, it rings OK, and stops ringing when the handset is picked up. Unfortunately the calling phone just gets the ringing tone, even after the 30vip has been picked up, and obviously no other audio is received on either phone.

Hope this makes some kind of sense - I can provide some debugging output if need be...

By: jerjer (jerjer) 2003-10-07 19:51:37

Is this still a bug?

By: jerjer (jerjer) 2003-10-10 00:33:16

Since I do not have a 30VIP I cannot duplicate this problem.  Resubmit with more debug information if this is still a problem.

By: Paul Cadach (pcadach) 2003-11-22 10:43:21.000-0600

Reminder sent to JerJer

You just need to send "Stop Media Transmission" message after "Close Receive Channel" one. Otherwise phone have RTP in up state and cannot produce any sound.

Found and fixed with 12SP+ phone.

By: jerjer (jerjer) 2003-11-22 11:10:18.000-0600

Reminder sent to PCadach

I fixed this quite some time ago

By: Paul Cadach (pcadach) 2003-11-22 11:18:59.000-0600

Reminder sent to JerJer

Hm-m-m... I don't see message 0x8B (Stop Media Transmission) in channels/chan_skinny.c from actual CVS. Do you have more fresh version of chan_skinny.c than found on CVS?

Now I'm playing with 12SP+ and have some ideas to make chan_skinny be pretty well (for now I've done real multiline - works in speakerphone mode well, but handset pickup selects last active line, dynamic functional keys generation, etc.).