[Asterisk-Dev] The Almighty X-Lite DTMF Problem

Peter Grace pgrace at fierymoon.com
Wed Aug 13 16:01:08 MST 2003


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I tried it but it doesn't appear to do the trick..  It
seems like X-Lite doesn’t send the end bit??  Not so sure,
I'm trying to debug a few of these variables but it just
doesn’t quite add up.  The variable data, which event_end
is keyed from, is the button pressed.  It doesn't look like
a bitwise variable?  Maybe I'm showing my ignorance here. 
How can I confirm if X-Lite is in fact setting the stop
bit? 

- -----Original Message-----
From: asterisk-dev-admin at lists.digium.com
[mailto:asterisk-dev-admin at lists.digium.com] On Behalf Of
Chris Heiser
Sent: Wednesday, August 13, 2003 4:19 PM
To: asterisk-dev at lists.digium.com
Subject: RE: [Asterisk-Dev] The Almighty X-Lite DTMF
Problem


Pete,

Try this patch below...  I noticed that eStara's softphone
has the same problem as xten's softphone when it comes to
DTMF.  Seems as though Asterisk is not looking for the
"end" bit per RFC2833.  So try this fix.  It should do the
trick (at least... it fixed mine).

- --Chris

Index: rtp.c
============================================================
=======
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.22
diff -r1.22 rtp.c
205a206
>       unsigned int event_end;
209a211,213
>       event_end = ntohl(*((unsigned int *)(data)));
>       event_end <<= 8;
>       event_end >>= 24;
224a229,234
>       else if(event_end & 0x80)
>       {
>               f = send_dtmf(rtp);
>               resp = 0;
>       }
>

> -----Original Message-----
> From: asterisk-dev-admin at lists.digium.com
> [mailto:asterisk-dev-  admin at lists.digium.com] On Behalf
> Of pgrace at fierymoon.com Sent: Tuesday, August 12, 2003
> 2:35 PM
> To: asterisk-dev at lists.digium.com
> Subject: [Asterisk-Dev] The Almighty X-Lite DTMF Problem
> 
> Hey guys,
> 
> I just was told by Rob at xten that the timestamp problem
> is fixed in  the rfc2833 implementation.  I'm still
> having the exact same problems  with
> voicemail(2) that I was before.  Can someone please
> un-resolve bug 14 and maybe I can work with someone to
> help debug what's happening?  
> 
> Chris H, if you're still following this topic, fire me
> off an e-mail  if you want to see new debugs..
> 
> Thanks,
> Pete (km-)
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com 
> http://lists.digium.com/mailman/listinfo/asterisk-dev
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev

- ---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.506 / Virus Database: 303 - Release Date:
8/1/2003
 

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPzrDM9W8rcEEsO4aEQIQogCfXZ9Ra5PaNA9FwxinA0kuSxBB0ZMAoIum
uJJTsFl45fGhHq9SSIAPK/Ao
=13b3
-----END PGP SIGNATURE-----

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003




More information about the asterisk-dev mailing list