DTMF tempermental due to silence issue

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

DTMF tempermental due to silence issue

Postby kchung » Wed Nov 22, 2006 4:57 pm

When I use the DTMF, the first tone sometimes get cut off. I've traced this to the following error message at the astrisk cli:
Code: Select all
    -- Executing Answer("Local/8500998@default-43d4,2", "") in new stack
       > Channel Local/8500998@default-43d4,1 was answered.
    -- Executing MeetMe("Local/8500998@default-43d4,1", "8600051|q") in new stack
    -- Executing Playback("Local/8500998@default-43d4,2", "silence") in new stack
    -- Playing 'silence' (language 'en')
Nov 22 13:56:03 WARNING[6373]: file.c:1039 ast_waitstream: Unexpected control subclass '-1'
    -- Executing AGI("Local/8500998@default-43d4,2", "agi-dtmf.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-dtmf.agi


Any idea why the silence didn't kick in?
kchung
 
Posts: 208
Joined: Fri Aug 04, 2006 5:28 pm

Postby kchung » Wed Nov 22, 2006 5:05 pm

Actually, ext 8500998 works fine by itself!

From extensions.conf
Code: Select all
exten => 8500998,1,Answer
exten => 8500998,2,Playback(silence)
exten => 8500998,3,AGI(agi-dtmf.agi)
exten => 8500998,4,Hangup


also, silence.wav exists

When I dial it myself, it works and gives me the full tones.

Asterisk 1.2.10 + snapshot release, but this problem has been around since 1.x for me.
kchung
 
Posts: 208
Joined: Fri Aug 04, 2006 5:28 pm

Postby mflorell » Wed Nov 22, 2006 11:20 pm

What happens if you add a comma "," to the beginning of the DTMF to be played field?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby kchung » Mon Nov 27, 2006 2:46 pm

Adding a comma solves the delay problem, but the error still comes up in the cli.
kchung
 
Posts: 208
Joined: Fri Aug 04, 2006 5:28 pm

Postby mflorell » Mon Nov 27, 2006 3:53 pm

What Asterisk version are you using?

Is the silence.gsm file present in your /var/lib/asterisk/sounds folder?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby kchung » Mon Nov 27, 2006 9:06 pm

I've got Asterisk 1.2.10.

I have silence.wav in that directory instead.
kchung
 
Posts: 208
Joined: Fri Aug 04, 2006 5:28 pm

Postby mflorell » Tue Nov 28, 2006 7:43 am

Does the error appear if you use Asterisk 1.2.13?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby kchung » Tue Nov 28, 2006 10:39 am

Haven't upgraded there yet. Is it safe for production?
kchung
 
Posts: 208
Joined: Fri Aug 04, 2006 5:28 pm

Postby mflorell » Tue Nov 28, 2006 3:39 pm

I am running it in production now on one server and it seems to work fine for me.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 108 guests