[Voiceglue] DTMF digits not being sent to voiceglue

LATEEF, IRFAN, ATTSI il110w at att.com
Thu Dec 18 16:04:07 EST 2008


Actually I enabled the AGI debug after sending the previous    and found
that WAIT FOR DTMF is having no effect (see log below) and it is in loop
three times and exiting.


-- Executing [1 at phoneglue:1] AGI("SIP/2005-09b3a5b8", "agi://localhost")
in new stack
AGI Tx >> agi_network: yes
AGI Tx >> agi_request: agi://localhost
AGI Tx >> agi_channel: SIP/2005-09b3a5b8
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1229633051.2
AGI Tx >> agi_callerid: 2005
AGI Tx >> agi_calleridname: device
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: *33
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: phoneglue
AGI Tx >> agi_extension: 1
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << STREAM FILE
voiceglue/tts/For_News,_press_1.___________For_Sports,_press_2._________
__For_Weather,_press_3. 0123456789*#
    -- Playing
'voiceglue/tts/For_News,_press_1.___________For_Sports,_press_2.________
___For_Weather,_press_3.' (escape_digits=0123456789*#) (sample_offset 0)
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  == Manager 'admin' logged off from 127.0.0.1
AGI Tx >> 200 result=0 endpos=49074
AGI Rx << WAIT FOR DIGIT 7000
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  == Manager 'admin' logged off from 127.0.0.1
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  == Manager 'admin' logged off from 127.0.0.1
AGI Tx >> 200 result=0
AGI Rx << STREAM FILE
voiceglue/tts/For_News,_press_1.___________For_Sports,_press_2._________
__For_Weather,_press_3. 0123456789*#
    -- Playing
'voiceglue/tts/For_News,_press_1.___________For_Sports,_press_2.________
___For_Weather,_press_3.' (escape_digits=0123456789*#) (sample_offset 0)



_____________________________________________
From: LATEEF, IRFAN, ATTSI 
Sent: Thursday, December 18, 2008 3:41 PM
To: 'voiceglue at voiceglue.org'
Subject: Re: [Voiceglue] DTMF digits not being sent to voiceglue


Archie/Doug,

Sorry I got side tracked on something else and I am back to testing the
voiceglue now.

On 12/12/08, Doug Campbell <voiceglue at campbellcastle.com
<http://www.voiceglue.org/mailman/listinfo/voiceglue> > wrote:
>> But when I press 1 for news , the DTMF digit is not being passed from
>> Asterisk to Voiceglue.
>
> According to the log you supply, the call hangs up a few seconds
> after the prompts start playing:

>>> This can happen if you forget to include Answer() in your dialplan.

I did add Answer to the dialplan but it did not have any impact because
the control is not reaching it.

[phoneglue]
exten => 1,1,Agi(agi://localhost)
exten => 1,2,Answer
exten => 1,3,Hangup

The log from Asterisk as follows

    -- Executing [*33 at from-internal:1] NoOp("SIP/2005-09b38120",
"Running miscapp 1: PhoneGlueTesting") in new stack
    -- Executing [*33 at from-internal:2] Goto("SIP/2005-09b38120",
"phoneglue|1|1") in new stack
    -- Goto (phoneglue,1,1)
    -- Executing [1 at phoneglue:1] AGI("SIP/2005-09b38120",
"agi://localhost") in new stack
    -- Playing
'voiceglue/tts/For_News,_press_1.___________For_Sports,_press_2.________
___For_Weather,_press_3.' (escape_digits=0123456789*#) (sample_offset 0)

(After this there is no indication that it waiting to collect the
digits, so my suspicion is it did not receive any command from phoneglue
interface to do so)

>From the dynlog below, the phoneglue says "WAIT FOR DIGITS 7000" to
FASTAGI11 but the channel I am pressing the digits are on SIP/2005 so
don't know what is the role of FASTAGI11 here.

Anyway I did  press digit 3 which looks like asterisk got it and sent it
to phoneglue but was delivered to voiceglue but msg=" " was empty.
I am not a voiceglue developer to interpret the logs here but I would
appreciate your help in pointing me in the right direction.


14:28:49:951 DBUG PHONGLUE cbusai.j callid=[11] snd GETDIGIT
timeout=7000 to AGI client on fh="::FASTAGI11" at host=127.0.0.1
callid=[11]
14:28:49:951 DBUG PHONGLUE cbusai.j snd "WAIT FOR DIGIT 7000\n" to
::FASTAGI11
14:28:57:122 DBUG PHONGLUE cbusai.j rcv agi(::FASTAGI11): "200
result=0\n"
14:28:57:122 DBUG PHONGLUE cbusai.j callid=[11] AGI result=0
14:28:57:122 DBUG PHONGLUE cbusai.j callid=[11] snd gotdig callid=11
status=0 msg="" digits="" reason=timeout to CT client on
fh="::CTCLIENT1" at host=127.0.0.1 proto=SATC
14:28:57:122 DBUG PHONGLUE cbusai.j snd "gotdig 11 0 \"\" 3 \"\"\n" to
::CTCLIENT1
14:28:57:123 DBUG VOICEGLU cbusai.j rcv ctsrv: "gotdig 11 0 \"\" 3
\"\"\n"
14:28:57:123 DBUG VOICEGLU cbusai.j callid=[11] parsed gotdig callid=11
status=0 msg="" digits="" reason=timeout



More information about the Voiceglue mailing list