[Asterisk-Users] INFO method and DTMF translation

Nguyen Hoang Lan dtkhang at hn.vnn.vn
Sun Oct 12 08:29:06 MST 2003


Hello Brancaleoni,

Sunday, October 12, 2003, 4:39:32 PM, you wrote:

BM> Hi.

BM> The implementation is correct, I can use sip info
BM> method to get all the DMTF, *,# included (eg voicemail
BM> works great with sip info dtmf)

BM> the line atoi(buf) is needed 'cause buf is a char, and
BM> we need a int value to do the comparisons below that line.

BM> and I don't see why they get set to 0 ... probably
BM> 'cause the INFO dtmf on your gw is broken.

BM> sip info method describes dmtf as numbers (not chars) ,
BM> so 0-9 are the digits, 10,11 are respectively *,#
BM> and 12-16 are A,B,C,D

BM> if you get translated to 0, I can assume that your gw
BM> sends out # or * as char and not as numbers, as sip info
BM> method requires.

BM> matteo.

Thanks matteo. You are correct. My gw send out # and * instead of
10 or 11. So I have created a 'special' handling for this broken?!
implementation.
-- 
Best regards,
 Nguyen                            mailto:dtkhang at hn.vnn.vn




More information about the asterisk-users mailing list