[Freeswitch-users] ICE SDP Params
Rob Moore
Rob.Moore at aeriandi.com
Mon Mar 2 21:01:56 MSK 2015
Hi All,
After a recent upgrade of Freeswitch I've been seeing some unusual behaviour in codec choice being made by our clients hardware during late negotiation calls.
No other changes have taken place that could have caused this unusual behaviour so we assume that it must be something the newer version of freeswitch is doing in this situation.
Comparing traces before and after the upgrade, the SDP in the final 200 OK's from our freeswitch now contains more parameters relating to ICE and other source specific attributes. I expect these additional params are what is upsetting our clients hardware.
I've since attempted to disable all forms of NAT management in Freeswitch in an attempt to get rid of these extra SDP attributes but none of them seem to have had any effect:
Setting the following in the sip Profile to disable stun / NAT.
http://wiki.freeswitch.org/wiki/Sofia.conf.xml#stun-auto-disable
http://wiki.freeswitch.org/wiki/Sofia.conf.xml#stun-enabled
ensuring the following are set to the local ip of the server
<X-PRE-PROCESS cmd="set" data="external_sip_ip=localIP "/>
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=localIP "/>
Does anyone have any suggestions on how I can remove these additional SDP params?
I've included an example good and bad 200 ok in case I've missed anything else that's obvious.
Many thanks
Rob
Bad 200 ok:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.18.4.78;branch=z9hG4bK0ba4.7a1f3a47e3eb3a2a4e8e13fd7dda8ab8.0
Via: SIP/2.0/UDP 10.9.138.26:5060;rport=5060;branch=z9hG4bK9ivhm3hvpf5c7vrsu2gh7ou4o2
Record-Route: <sip: 172.18.4.78;r2=on;lr=on;rtpi=1;nat=yes>
Record-Route: <sip:10.16.0.3;r2=on;lr=on;rtpi=1;nat=yes>
From: <sip:8448224432 at 10.150.35.124>;tag=130e56d9-dcc0-4483-9c8e-edf93ab1fb9a-33986537
To: <sip:00353876721075 at 10.9.138.9>;tag=r3ZZc86S529mD
Call-ID: b87ef500-4f012e3b-1f738-7c23960a at 10.150.35.124
CSeq: 101 INVITE
Contact: <sip:mod_sofia at 172.18.4.251:5060>
User-Agent: Aeriandi Tel Server
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 841
x-nt-location: -1
v=0
o=FreeSWITCH 1425007009 1425007010 IN IP4 172.18.4.251
s=FreeSWITCH
c=IN IP4 172.18.4.251
t=0 0
a=msid-semantic: WMS hGYoorbKxEnXtlapBPoffcf3QQg7ijgq
m=audio 19630 RTP/SAVPF 18 0 8 101
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fingerprint:sha-256 18:6A:21:5F:BF:02:8B:52:29:96:85:6B:05:99:B2:9D:C7:B3:26:DB:F9:32:5A:90:51:62:E8:21:3E:C2:23:C3
a=rtcp-mux
a=rtcp:19630 IN IP4 172.18.4.251
a=ssrc:3641993291 cname:Q4E4mGFKbSxu4yJv
a=ssrc:3641993291 msid:hGYoorbKxEnXtlapBPoffcf3QQg7ijgq a0
a=ssrc:3641993291 mslabel:hGYoorbKxEnXtlapBPoffcf3QQg7ijgq
a=ssrc:3641993291 label:hGYoorbKxEnXtlapBPoffcf3QQg7ijgqa0
a=ice-ufrag:eYAj0GcHniFvsLL8
a=ice-pwd:Gg3SMysNgP8bdIwhwXqnttUH
a=candidate:1204810811 1 udp 659136 172.18.4.251 19630 typ host generation 0
a=ptime:20
good 200 ok:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.18.4.78;branch=z9hG4bKef6a.6cc24c86d42011b141c967c04c23e077.0
Via: SIP/2.0/UDP 10.9.138.26:5060;rport=5060;branch=z9hG4bKa2v9mvku4854npk24c4tn51vv2
Record-Route: <sip:172.18.4.78;r2=on;lr=on;rtpi=1;nat=yes>
Record-Route: <sip:10.16.0.3;r2=on;lr=on;rtpi=1;nat=yes>
From: <sip:8448224432 at 10.151.35.123>;tag=130e56d9-dcc0-4483-9c8e-edf93ab1fb9a-33990014
To: <sip:07940845322 at 10.9.138.9>;tag=Fy3a1Zv7Kt6Xm
Call-ID: f59cb480-4f014116-1f782-7b23970a at 10.151.35.123
CSeq: 101 INVITE
Contact: <sip:mod_sofia at 172.18.4.254:5060>
User-Agent: Aeriandi Tel Server
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: precondition, path, replaces
Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 224
x-nt-location: -1
v=0
o=FreeSWITCH 1425014601 1425014602 IN IP4 172.18.4.254
s=FreeSWITCH
c=IN IP4 172.18.4.254
t=0 0
m=audio 16858 RTP/AVP 18 0 8 101
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150302/06bb5d53/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list