Summary: | ASTERISK-01327: Using SIPDtmfMode(inband) when calling voicemail causes crash | ||
Reporter: | sdolloff (sdolloff) | Labels: | |
Date Opened: | 2004-04-01 18:16:39.000-0600 | Date Closed: | 2008-01-15 14:49:34.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I want to use inband from my spa2000, which works fine except when calling the voicemail application. I have since used dtmfmode=inband on all of my sip.conf entries, but this should be looked into anyway. exten => *98,1,SIPDtmfMode(inband) exten => *98,2,Voicemailmain(${CALLERIDNUM}) calling from a sip extension: [5550222] type=friend secret=xxxxxxxx nat=yes host=dynamic canreinvite=no qualify=yes mailbox=5550222 context=unlimited ****** ADDITIONAL INFORMATION ****** This does not happen with other modes and below are references to other complaints about this issue. http://lists.digium.com/pipermail/asterisk-users/2003-November/027346.html and: [Asterisk-Users] BOOM! Crash when trying to use SIPDtmfMode on an outgoing call! From: Patrick Cantwell [pat@insomnia.org] Date: Wed 12/03/2003 and: RE: [Asterisk-Users] dtmfmode & SIPDtmfMode From: Jordi Haardman Date: Tues 11/08/2003 | ||
Comments: | By: Mark Spencer (markster) 2004-04-02 02:06:08.000-0600 how about a backtrace. By: Mark Spencer (markster) 2004-04-02 02:26:04.000-0600 Also cvs update to cvs head and see if that makes a difference. By: mutilator (mutilator) 2004-04-02 02:32:07.000-0600 i'm having the same prob, when i setdtmfmode(inband) it segfaults, other modes work fine here is my bt #0 0x0808f85d in __ast_dsp_silence (dsp=0x0, s=0xbe1fd70c, len=160, totalsilence=0x0) at dsp.c:1195 #1 0x400252d8 in dlopen () from /lib/libpthread.so.0 #2 0x0808d93c in ast_dsp_process (chan=0x8130b30, dsp=0x0, af=0xa0, needlock=0) at dsp.c:1427 #3 0x4037667a in sip_rtp_read (ast=0x0, p=0xbe1fd70c) at chan_sip.c:1671 #4 0x403746a9 in sip_read (ast=0xbe1fd70c) at chan_sip.c:1683 ASTERISK-1 0x08059965 in ast_read (chan=0x0) at channel.c:1149 ASTERISK-2 0x0806131e in ast_waitstream (c=0xbe1fd70c, breakon=0x80b63d9 "0123456789#*") at file.c:876 ASTERISK-3 0x0805b0a1 in ast_readstring (c=0x8130b30, s=0xbe1feaa4 "", len=79, timeout=2000, ftimeout=10000, enders=0x40473d12 "#") at channel.c:1822 ASTERISK-4 0x40468e9a in vm_execmain (chan=0x8130b30, data=0x4f) at app_voicemail.c:2772 By: Mark Spencer (markster) 2004-04-02 09:41:27.000-0600 Okay please confirm this is now fixed in CVS head. By: mutilator (mutilator) 2004-04-02 22:11:59.000-0600 latest cvs working great By: Mark Spencer (markster) 2004-04-03 20:28:09.000-0600 Fixed in CVS By: Digium Subversion (svnbot) 2008-01-15 14:49:34.000-0600 Repository: asterisk Revision: 2602 U trunk/channels/chan_sip.c ------------------------------------------------------------------------ r2602 | markster | 2008-01-15 14:49:34 -0600 (Tue, 15 Jan 2008) | 2 lines When going to in-band, be sure to allocate DSP (bug ASTERISK-1327) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=2602 |