[Asterisk-Users] BOOM! Crash when trying to use SIPDtmfMode on an outgoing call!

Patrick Cantwell pat at insomnia.org
Wed Dec 3 01:49:28 MST 2003


	Here's a cool one.. I was attempting to call a retarded conferencing
service, and was having problems with it picking up my DTMF.. after trying
all the settings my Sipura SPA2000 offers, I found inband actually works..
unfortunately, I can't get anything else to pick up my inband DTMF
(including asterisk's builtin voicemail! It just times out and says I never
entered a login!).  So, I did some digging around, and figured I might try
SIPDtmfMode to change my DTMF mode when I'm calling out.. that resulted in a
prompt crash, and the info included below out of gdb.  Is it me? Am I
misunderstanding the appropriate use of SIPDtmfMode?  If so, that's fine,
just bonk me on the head with a yellow pages book or something.. Also.. how
can I change the DTMF timing? I think the SIP INFO dtmf I'm sending is too
brief for the conferencing service.. is there any way I can change the
timings?  Finally, how come * voicemail won't recognize my inband digits?
I'm using ulaw from my * box to my Sipura on a local 100megabit switched


--> extensions.conf <--
exten => _1NXXNXXXXXX,1,SIPDtmfMode(inband)
exten => _1NXXNXXXXXX,2,Dial,IAX2/userid at voicepulse/${EXTEN}

--> gdb crash <--
[New Thread 278546 (LWP 4192)]
    -- Executing SIPDtmfMode("SIP/1000-9732", "inband") in new stack
    -- Executing Dial("SIP/1000-9732", "IAX2/userid at voicepulse/18882245408")
in new stack
    -- Called userid at voicepulse/18882245408
    -- Call accepted by (format ULAW)
    -- Format for call is ULAW
    -- IAX2[voicepulse]/3 stopped sounds

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 278546 (LWP 4192)]
0x0808c75d in __ast_dsp_silence (dsp=0x0, s=0xbd7fe774, len=160,
totalsilence=0x0) at dsp.c:969
969             if (accum < dsp->threshold) {
(gdb) Quit

More information about the asterisk-users mailing list