[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sems
Subject:    [Sems] RE: [Fwd: Re: [Sipums] DTMF detection bug??]
From:       rzheng () servpac ! com (Richard Z)
Date:       2004-11-05 10:01:29
Message-ID: EINSTEINJ3sl3xbYiMC00003633 () einstein ! systemmetrics ! com
[Download RAW message or body]

Hi Java,

Sipums depends on the DTMF digit detection in sems ivr module. It currently
only support DTMF inband. I believe that other developers are still working
on via SIP INFO and via RTP. Apparently inband DTMF is less reliable than
the other two because it relies on some mathematical algorithms to guess the
tone.

There is a perl script to test your phone. Copy
./answering_machine/plug-in/ivr/scripts/DTMF-detection.pl to your sipums
directory. Send a call to invoke it. It detects the tone and reads it back
to the caller. You can use this program to test if the system can detect
your phone correctly. Also it saves the sound into a wav file to be
processed later.

If it is the detection issue, please send the recorded wav file
(/tmp/record*) to me. I can look into it. There are several parameters in
the algorithm which can be fine tuned for a particular phone.

If it is not the detection issue, it might be a sipums issue.

Richard

> Java Rockx wrote:
> > Hi all.
> >
> > sipums is dropping the first DTMF digit I press when entering my
> voicemail password. If my
> > password is 0001 (plus # for the terminator) the collect subroutine only
> returns 001#
> >
> > If I key in 00001# then collect returns 0001#
> >
> > I'm using a grandstream BT100 phone and I've played with DMTF set as "in
> audio", "via RTP
> > (RFC2833)", and "via SIP INFO" but collect does the same regardless of
> the DTMF method used.
> >
> > Here's my syslog for a sample session:
> >
> > Nov  4 17:28:42 sip01 ivr[14958]: [14958/DEBUG] = run_menu called,
> Menu_id 202
> > Nov  4 17:28:42 sip01 ivr[14958]: [14958/DEBUG] = [Menu.pm] :
> menu_type_code:PASSWD,menu_id:202
> > Nov  4 17:28:42 sip01 ivr[14958]: [14958/DEBUG] = returning file
> > /var/spool/openums/prompts/password_prompt.wav
> > Nov  4 17:28:42 sip01 ivr[14958]: Play called:
> /var/spool/openums/prompts/password_prompt.wav
> > Nov  4 17:28:42 sip01 ivr[14958]: BEGIN COLLLECT:1,3
> > Nov  4 17:28:44 sip01 ivr[14958]: onMedieaQueueEmpty:  play_done called
> > Nov  4 17:28:44 sip01 ivr[14958]: collecting : array size = 0 digits = 1
> > Nov  4 17:28:45 sip01 ivr[14958]: CALLED GET KEYS 0
> > Nov  4 17:28:45 sip01 ivr[14958]: COLLECT RETURNING 0
> > Nov  4 17:28:45 sip01 ivr[14958]: [14958/DEBUG] =
> last_input=0,input=0,count=1,maxlength=10
> > Nov  4 17:28:45 sip01 ivr[14958]: BEGIN COLLLECT:1,3
> > Nov  4 17:28:45 sip01 ivr[14958]: collecting : array size = 0 digits = 1
> > Nov  4 17:28:46 sip01 ivr[14958]: CALLED GET KEYS 0
> > Nov  4 17:28:46 sip01 ivr[14958]: COLLECT RETURNING 0
> > Nov  4 17:28:46 sip01 ivr[14958]: [14958/DEBUG] =
> last_input=0,input=00,count=2,maxlength=10
> > Nov  4 17:28:46 sip01 ivr[14958]: BEGIN COLLLECT:1,3
> > Nov  4 17:28:46 sip01 ivr[14958]: collecting : array size = 0 digits = 1
> > Nov  4 17:28:46 sip01 ivr[14958]: CALLED GET KEYS 1
> > Nov  4 17:28:46 sip01 ivr[14958]: COLLECT RETURNING 1
> > Nov  4 17:28:46 sip01 ivr[14958]: [14958/DEBUG] =
> last_input=1,input=001,count=3,maxlength=10
> > Nov  4 17:28:46 sip01 ivr[14958]: BEGIN COLLLECT:1,3
> > Nov  4 17:28:46 sip01 ivr[14958]: collecting : array size = 0 digits = 1
> > Nov  4 17:28:46 sip01 ivr[14958]: CALLED GET KEYS #
> > Nov  4 17:28:46 sip01 ivr[14958]: COLLECT RETURNING #
> > Nov  4 17:28:46 sip01 ivr[14958]: [14958/DEBUG] =
> last_input=#,input=001#,count=4,maxlength=10
> > Nov  4 17:28:46 sip01 ivr[14958]: [14958/DEBUG] = phone_sys-
> >{INPUT_STACK} 001
> > Nov  4 17:28:46 sip01 ivr[14958]: [14958/NORMAL] = User login called,
> ext = 9990010001, passwd =
> > 001
> > Nov  4 17:28:47 sip01 ivr[14958]: [14958/DEBUG] = [MenuProcessor.pm]
> there's input--001
> >
> >
> > Any thoughts?
> >
> > Regards,
> > Paul
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Check out the new Yahoo! Front Page.
> > www.yahoo.com
> >
> >
> > _______________________________________________
> > Sipums mailing list
> > Sipums@servpac.com
> > http://lists.servpac.com/cgi-bin/mailman/listinfo/sipums
> 
> 
> --
> Kevin W. English
> kevin@x5dev.com
> Software Engineer, X5 Software Inc,
> 808-356-0034 (w)
> 808-271-5125 (c)
> _______________________________________________
> Sipums mailing list
> Sipums@servpac.com
> http://lists.servpac.com/cgi-bin/mailman/listinfo/sipums
> 
> 
> --
> Kevin W. English
> kenglish@servpac.com
> Business Applications Developer, Servpac Inc,
> 808-356-0034 (w)
> 808-271-5125 (c)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic