[Asterisk-Dev] Is this a bug in rtp.c?

Andrew Yager andrew at rwts.com.au
Mon Aug 22 10:05:19 MST 2005


Hi,

I've been trying to solve a bug I've been having with h323 and DTMF,  
but I don't think it's a dtmf bug.

In rtp.c, the value 'lastdigitts' is used to indicate the timestamp  
for DTMF digits. This value is never initialised unless ast_rtp_reset  
is called - and as far as I can see, it is never called.

If I initialize it to rtp->seqno in ast_rtp_new_with_bindaddr it  
seems to fix my problem, but I don't claim to know even half of  
enough to determine whether that is the correct behavior.

If someone can let me know, that'd be great.

Thanks,
Andrew

_________________________
Andrew Yager
Real World Technology Solutions
Real People, Real SolUtions (tm)
ph: (02) 9563 4840 (office) (02) 9563 4841 (direct)
fax: (02) 9563 4848 mob: 0405 152 568
http://www.rwts.com.au/
_________________________




More information about the asterisk-dev mailing list