Hi ,
i have Playback part on my SBC (3.4.11 Opensips from The Debian Repo) rtpengine
is 13.4.0.0
ua_session_server_init($var(key_ini), "t$var(time)arhb");
rtpengine_offer("in-iface=$var(interface) out-iface=$var(interface)
",$var(rtp_con),$var(sdp_data));
ua_session_reply($var(key_ini), "INVITE", 200, "OK", $var(sdp_data));
rtpengine_play_media("file=/net/audio/sound.wav from-tag=$ft
",$var(time),$var(rtp_con));
it works BUT when the other RTP Engine has a Strict Source active it is not
working anymore.
Opensips sends in the "200 OK" of the SDP part from the Port from The UA-Agent
instead off the port from the Caller
But the Sound is send from port of the Caller
How can I Change this behavior ?
Here look in my Log“s
<logs from RTP Engine>
Jun 03 14:06:06 rtp-test-bln rtpengine[786225]: INFO:
[[email protected]]: [core] Final packet stats:
Jun 03 14:06:06 rtp-test-bln rtpengine[786225]: INFO:
[[email protected]]: [core] --- Tag 'xx.xx.xx.xx',
created 0:46 ago for branch ''
Jun 03 14:06:06 rtp-test-bln rtpengine[786225]: INFO:
[[email protected]]: [core] ------ Media #1 (audio
over RTP/AVP) using unknown codec
Jun 03 14:06:06 rtp-test-bln rtpengine[786225]: INFO:
[[email protected]]: [core] --------- Port
10.250.56.103:65436 <> 10.249.152.95:28892
Jun 03 14:06:06 rtp-test-bln rtpengine[786225]: INFO:
[[email protected]]: [core] --------- Port
10.250.56.103:65437 <> 10.249.152.95:28893
Jun 03 14:06:06 rtp-test-bln rtpengine[786225]: INFO:
[[email protected]]: [core] --- Tag '', created 0:46
ago for branch ''
Jun 03 14:06:06 rtp-test-bln rtpengine[786225]: INFO:
[[email protected]]: [core] ------ Media #1 (audio
over RTP/AVP) using G722/8000
Jun 03 14:06:06 rtp-test-bln rtpengine[786225]: INFO:
[[email protected]]: [core] --------- Port
10.250.56.103:36098 <> :0
Jun 03 14:06:06 rtp-test-bln rtpengine[786225]: INFO:
[[email protected]]: [core] --------- Port
10.250.56.103:36099 <> :0
Jun 03 14:06:16 rtp-test-bln rtpengine[786225]: INFO:
[[email protected]]: [core] Final packet stats:
</logs from RTP Engine>
<SDP from the 200 OK>
v=0
o=- 23915705085026 23915705085026 IN IP4 10.249.152.95
s=-
t=0 0
m=audio 36098 RTP/AVP 9 8 0 101
c=IN IP4 10.250.56.103
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=msi:[email protected]
a=sendrecv
a=rtcp:36099
a=ptime:20
a=maxptime:60
</SDP from the 200 OK>
<logs from RTP Engine Other side>
Jun 03 14:05:20 rtp-out-hh3 rtpengine[1159]: INFO:
[[email protected]/xx.xx.xx.xx port 37868]: [core]
Kernelizing media stream: yy.yy.yy.yy:65198 -> zz.zz.zz.zz:37868 |
10.249.152.95:28892 -> 10.250.56.103:36098
Jun 03 14:05:20 rtp-out-hh3 rtpengine[1159]: INFO:
[[email protected]/xx.xx.xx.xx port 37868]: [core]
Kernelizing media stream: yy.yy.yy.yy:65198 -> zz.zz.zz.zz:37868 |
10.249.152.95:28893 -> 10.250.56.103:36099
Jun 03 14:05:20 rtp-out-hh3 rtpengine[1159]: INFO:
[[email protected] port 28892]: [core] Drop due to
strict-source attribute; got 10.250.56.103:65436, expected 10.250.56.103:36098
Jun 03 14:05:20 rtp-out-hh3 rtpengine[1159]: INFO:
[[email protected] port 28893]: [core] Drop due to
strict-source attribute; got 10.250.56.103:65437, expected 10.250.56.103:36099
</logs from RTP Engine Other side>
BR
Manuel
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users