[pjsip] Incoming DTMF INFO
Archie Rosenblum
archie at bbsti.com
Wed Mar 10 10:21:02 CST 2010
I have a quick DTMF question, if you please. My client application is
receiving DTMF INFO from a server, but the on_dtmf_digit callback is not
triggered. I have tested this with PJSUA (the debug screen is below). The
PJSIP documentation mentions the system handles DTMF via RFC2833 and INFO,
but does not explicitely say the callback is triggers for both types of
messages. The callback is called with RFC2833.
Should I expect the on_dtmf_digit to be called when DTMF INFO comes in, or
should I interrogate the INFO message for the application/dtmf-relay?
Sincerely,
Archie
11:03:31.296 pjsua_app.c Call 0: incoming INFO:
Signal=1
Duration=100
11:03:31.656 pjsua_core.c RX 531 bytes Request msg INFO/cseq=205
(rdata010E7
08C) from UDP 95.154.218.4:5060:
INFO sip:xxxxx at 10.10.10.5:5060 SIP/2.0
Via: SIP/2.0/UDP
95.154.218.4:5060;branch=z9hG4bK-16719ac70d9f41dc94959133d77e99
09-205
From: <sip:nnnnnnnnnn at 95.154.218.4;user=phone>;tag=7220000000
To: "anon" <sip:170018 at 95.154.218.4>;tag=cbc8a3ac21f9493d811a5cdc57ad8359
Call-ID: 16719ac70d9f41dc94959133d77e9909
CSeq: 205 INFO
Contact: <sip: nnnnnnnnnn at yy.yyy.yyy.yy:5060>
Allow: ACK, BYE, CANCEL, INFO, INVITE, REGISTER
Server: DUAL Softswitch
Content-Type: application/dtmf-relay
Content-Length: 24
Signal=3
Duration=100
--end msg-
There is no "Incoming DTMF on call." message from the on_dtmf_digit
callacked displayed as would be expected in the debugger.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100310/d73cbc45/attachment.html>
More information about the pjsip
mailing list