maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   SIP call and in-call DTMF (https://talk.maemo.org/showthread.php?t=94105)

vandys 2014-11-03 02:34

SIP call and in-call DTMF
 
I have my N900 connecting fine to my Asterisk server. I can call my voicemail, but the dial pad of the N900 does not generate digits which Asterisk can recognize. Wireshark shows RTP messages with the correct digits, but Asterisk voicemail is acting as if they're not recognized.

I guess the good news is that usable RTP DTMF packets are reaching Asterisk, so I guess I can build my own copy and debug and code up something to fix the issue. But what a pain, all this was working fine on the n810, what changed on the n900?

endsormeans 2014-11-03 03:00

Re: SIP call and in-call DTMF
 
ah-ha...
what's that you say?
pain in the butt on the n900 but works fine on the n810?
Ah the joys of a more refined and complex system I suppose...
:D

Estel 2014-11-03 06:25

Re: SIP call and in-call DTMF
 
Quote:

Originally Posted by vandys (Post 1445532)
I have my N900 connecting fine to my Asterisk server. I can call my voicemail, but the dial pad of the N900 does not generate digits which Asterisk can recognize. Wireshark shows RTP messages with the correct digits, but Asterisk voicemail is acting as if they're not recognized.

Hm, strange... Every asterisk-based services I have used through SIP were recognizing my DTMF digits just fine... Are you sure, that there isn't something specific with your Asterisk configuration, especially that, as you've mentioned, Wiresharks recognizes the RTP messages as correct digits, just fine?

/Estel

vandys 2014-11-03 16:40

Re: SIP call and in-call DTMF
 
Quote:

Originally Posted by Estel (Post 1445542)
Hm, strange... Every asterisk-based services I have used through SIP were recognizing my DTMF digits just fine... Are you sure, that there isn't something specific with your Asterisk configuration, especially that, as you've mentioned, Wiresharks recognizes the RTP messages as correct digits, just fine?

/Estel

Dunno... it's the same sort of SIP config I've used for countless other devices. I'll report back once I've built a debug version and figured it all out.

Andy

vandys 2014-11-04 16:28

Re: SIP call and in-call DTMF
 
Ok, apologies to Nokia, it was an Asterisk bug. It had to do with how SDP negotiates the packet type to be used for DTMF; the SofiaSIP stack on the n900 tried for 99, and Asterisk came back with 101. SofiaSIP switched to 101, but Asterisk was not accepting packets of that type.

This is a bug with Ubuntu Trusty's current version of Asterisk, 11.7.0. -current of the -11 series (11.13.1) works OK.

If somebody's about to build Asterisk from source, one little gotcha I'll warn you about to save you some time. If you don't have the ssl-dev package installed, Asterisk will config and build and install--but will have no SIP support. Duh. Hope that saves somebody a few minutes.


All times are GMT. The time now is 23:15.

vBulletin® Version 3.8.8