I determined experimentally that if SOATAG_AUDIO_AUX("telephone-event") is set
using nua_set_hparams() prior to calling nua_invite(), or it is added to the
nua_invite() tags, the re-INVITE generated by Sofia-SIP during Session Refresh
now retains the 'telephone-event' that was included in the local SDP string
passed to SOATAG_USER_SDP_STR(). The result is that the ITSP continues sending
RFC 2833 RTP Events after Session Refresh and does not revert to in-band DTMF
audio.
----- Original Message ----
From: Jim Thomas <[email protected]>
To: [email protected]
Sent: Fri, January 8, 2010 4:17:20 PM
Subject: [Sofia-sip-devel] Outbound re-INVITE missing telephone-event in SDP
Hello,
Using Sofia-SIP 1.12.10, I send and INVITE that includes 'telephone-event' to
enable RFC 2833 RTP Events. Tcpdump confirms it is present on the wire:
v=0
o=- 8101859643205583490 1396692759725295989 IN IP4 192.168.0.21
s=-
c=IN IP4 192.168.0.24
t=0 0
m=audio 30062 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
For the first ~15 minutes, RFC 2833 RTP Events work properly.
After ~15 minutes, Sofia-SIP Session Refresh automatically sends a re-INVITE,
which is accepted, and the call stays up. But the 'telephone-event' is not
included in the re-INVITE generated by Sofia-SIP:
v=0
o=- 8101859643205583490 1396692759725295989 IN IP4 192.168.0.21
s=-
c=IN IP4 192.168.0.24
t=0 0
m=audio 30062 RTP/AVP 18
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:20
The consequence is that the ITSP falls back to in-band DTMF instead of the
previous RFC 2833 RTP Events.
I figured out how to use SOATAG_AUDIO_AUX("telephone-event") in nua_respond()
to preserve telephone-event in SDP when responding to an INVITE from the ITSP,
but in this case, Sofia-SIP is automatically sending the re-INVITE and I don't
see any obvious place to add a similar tag.
Any suggestions?
Thanks.
Jim
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel