[asterisk-bugs] [Asterisk 0009077]: Playback(<file>|noanswer) and in-band info are not working with chan_skinny

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Aug 3 18:17:48 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9077 
====================================================================== 
Reported By:                pj
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   9077
Category:                   Channels/chan_skinny
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 53885 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             02-15-2007 13:08 CST
Last Modified:              08-03-2007 18:17 CDT
====================================================================== 
Summary:                    Playback(<file>|noanswer) and in-band info are not
working with chan_skinny
Description: 
tried to playback with noanswer option, it works with chan_sip or chan_iax,
but not with chan_skinny, also other inband info messages from telco are
not possible with chan_skinny.
eg.: when calling to unavailable gsm phone and telco operator says "person
you are calling isn't available" chan_skinny plays normal ringing tone,
chan_sip and chan_iax plays this in-band messages fine.
tested with ci$co 7920.
====================================================================== 

---------------------------------------------------------------------- 
 wedhorn - 08-03-07 18:17  
---------------------------------------------------------------------- 
Added a patch based on comments and discussions (earlyrtp.diff).

Include an option in skinny.conf to enable early RTP, defaults to early
RTP. Basically, if the device is set to earlyrtp, skinny_indicate does not
send a transmit_tone to the device, but return -1 to asterisk which tells
asterisk to do inband (thanks to qwell and russellb).

The structure is horrible because I didn't want to change the order that
packets are sent to the device so we have to if statements for each
indicate. Could clean up if skinny devices are happy to receive the
transmit_tone after the other stuff.

Works for me (tones are obviously different to the device tones) on
30VIPs. Haven't tried a playback. Also, haven't change sub->outgoing to
sub->incoming. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-03-07 18:17  wedhorn        Note Added: 0068423                          
======================================================================




More information about the asterisk-bugs mailing list