[SR-Users] rtpengine offer does not replace o and c line addresses

jh at tutpro.com jh at tutpro.com
Mon Dec 15 07:39:29 CET 2014


while doing some webrtc tests, i noticed that for some reason
rtpengine_offer replace-session-connection replace-origin flags don't have
any effect on the ip address (0.0.0.0) at o and c lines of the sdp.  the
debug is below.

what is it that i'm missing?

-- juha

Dec 15 08:26:29 rautu /usr/bin/sip-proxy[12597]: INFO: =====
rtpengine_offer(ICE=force replace-session-connection replace-origin
via-branch=1)
Dec 15 08:26:29 rautu rtpengine[10473]: Got valid command from
127.0.0.1:38653: offer - { "sdp": "v=0#015#012o=Mozilla-SIPUA-34.0 24971 0
IN IP4 0.0.0.0#015#012s=SIP Call#015#012t=0
0#015#012a=ice-ufrag:fb2938b0#015#012a=ice-pwd:eb43995297ab91228db0dec8949497ed#015#012a=fingerprint:sha-256
D9:DD:0F:CE:C2:D5:6A:D3:9A:C7:24:00:76:24:EA:66:ED:97:9F:E3:2D:25:23:60:67:7C:54:CF:04:8A:DB:F7#015#012m=audio
9 RTP/SAVPF 109 9 0 8 101#015#012c=IN IP4 0.0.0.0#015#012a=rtpmap:109
opus/48000/2#015#012a=ptime:20#015#012a=rtpmap:9
G722/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:8
PCMA/8000#015#012a=rtpmap:101 telephone-event/8 ...
Dec 15 08:26:29 rautu rtpengine[10473]: ... 000#015#012a=fmtp:101
0-15#015#012a=sendonly#015#012a=extmap:1
urn:ietf:params:rtp-hdrext:ssrc-audio-level#015#012a=setup:actpass#015#012a=rtcp-mux#015#012a=candidate:0
1 UDP 2122187007 192.98.102.30 58681 typ host#015#012a=candidate:2 1 UDP
2122252543 192.168.1.194 42724 typ host#015#012a=candidate:0 2 UDP
2122187006 192.98.102.30 53515 typ host#015#012a=candidate:2 2 UDP
2122252542 192.168.1.194 34867 typ host#015#012", "ICE": "force",
"replace": [ "session-connection", "origin" ], "call-id":
"dgp00b8p8q45f0vba38o", "via-branch": "z9hG4bK8492226", "rec ...
Dec 15 08:26:29 rautu rtpengine[10473]: ... eived-from": [ "IP4",
"192.98.102.30" ], "from-tag": "a4dr7vb4on", "command": "offer" }
Dec 15 08:26:29 rautu rtpengine[10473]: [dgp00b8p8q45f0vba38o] Creating
new call
Dec 15 08:26:29 rautu rtpengine[10473]: [dgp00b8p8q45f0vba38o] Opened
ports 50110..50111 for media relay
Dec 15 08:26:29 rautu rtpengine[10473]: [dgp00b8p8q45f0vba38o] Opened
ports 50118..50119 for media relay
Dec 15 08:26:29 rautu rtpengine[10473]: [dgp00b8p8q45f0vba38o] Returning
to SIP proxy: d3:sdp717:v=0#015#012o=Mozilla-SIPUA-34.0 24971 0 IN IP4
0.0.0.0#015#012s=SIP Call#015#012t=0 0#015#012a=ice-lite#015#012m=audio
50110 RTP/SAVPF 109 9 0 8 101#015#012c=IN IP4 0.0.0.0#015#012a=rtpmap:109
opus/48000/2#015#012a=ptime:20#015#012a=rtpmap:9
G722/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:8
PCMA/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101
0-15#015#012a=sendonly#015#012a=rtcp:50111#015#012a=rtcp-mux#015#012a=crypto:1
AES_CM_128_HMAC_SHA1_80
inline:vSMhw6pr2O+DWrL+7O1chSiCrSZ5YJW4esLlgNv/#015#012a=setup:actpass#015#012a=fingerprint:sha-1
42:C4:38:DC: ...
Dec 15 08:26:29 rautu rtpengine[10473]: [dgp00b8p8q45f0vba38o] ...
A6:4A:A6:70:49:6A:96:81:BE:9A:17:7D:FE:02:00:2C#015#012a=ice-ufrag:GL0QSUR3#015#012a=ice-pwd:X1irWG0YUiMpcTLgHo9OHgNl1NbT#015#012a=candidate:Wz1BLNSFenkyID4v
1 UDP 2130706431 0.0.0.0 50110 typ
host#015#012a=candidate:Wz1BLNSFenkyID4v 2 UDP 2130706430 0.0.0.0 50111
typ host#015#0126:result2:oke




More information about the sr-users mailing list