[asterisk-users] SendDTMF() behaves strangely
Moises Silva
moises.silva at gmail.com
Mon Nov 6 08:23:59 MST 2006
Have you tried using SIP INFO dtmf and test with SIP clients only?
this may be an issue with the IAX2 channel driver or something else,
not SendDTMF issue. Try finding out that, SendDTMF is very simple,
just queues a DTMF digit on the channel driver, I dont see what could
fail.
Kind Regards
On 11/4/06, Stephen Bosch <posting at vodacomm.ca> wrote:
> Stephen Bosch wrote:
> > Moises Silva wrote:
> >> try enabling DTMF debugging on logger.conf for the console, and tell
> >> us here waht do you see
> >
> > This is what comes out on the console, with IP addresses removed:
> >
> >
> >> -- Call accepted by xx.xx.xx.xx (format ulaw)
> >> -- Format for call is ulaw
> >> -- IAX2/[provider_channel_id] is making progress passing it to SIP/polycom-081827b0
> >> -- IAX2/[provider_channel_id] answered SIP/polycom-081827b0
> >> -- Executing Wait("IAX2/[provider_channel_id]", "0.5") in new stack
> >> -- Executing SendDTMF("IAX2/[provider_channel_id]", "4") in new stack
> >> Nov 4 11:21:34 DTMF[17046]: channel.c:2345 ast_write: IAX2/[provider_channel_id] : 4
> >> -- Executing SendDTMF("IAX2/[provider_channel_id]", "6") in new stack
> >> Nov 4 11:21:34 DTMF[17046]: channel.c:2345 ast_write: IAX2/[provider_channel_id] : 6
> >> -- Executing SendDTMF("IAX2/[provider_channel_id]", "1") in new stack
> >> Nov 4 11:21:34 DTMF[17046]: channel.c:2345 ast_write: IAX2/[provider_channel_id] : 1
> >> -- Executing SendDTMF("IAX2/[provider_channel_id]", "3") in new stack
> >> Nov 4 11:21:35 DTMF[17046]: channel.c:2345 ast_write: IAX2/[provider_channel_id] : 3
> >> -- Executing Set("IAX2/[provider_channel_id]", "MACRO_RESULT=CONTINUE") in new stack
> >> -- Hungup 'IAX2/[provider_channel_id]'
> >> -- Executing Hangup("SIP/polycom-081827b0", "") in new stack
> >> == Spawn extension (internal, 123, 4) exited non-zero on 'SIP/polycom-081827b0'
>
> If I change the macro section to read like so:
>
> > [macro-page]
> > exten => s,1,Wait(1)
> > exten => s,n,SendDTMF(2)
> > exten => s,n,Wait(10)
> > exten => s,n,SendDTMF(6)
> > exten => s,n,Wait(10)
> > exten => s,n,Set(MACRO_RESULT=CONTINUE)
>
> the called party hears the '2' for about 1.5 seconds, followed by a 10
> second pause, followed by the '6' for three seconds.
>
> This is highly unexpected and unspecified behaviour. What's wrong here?
>
> -Stephen-
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
More information about the asterisk-users
mailing list