[Spce-user] OnSip Sip.Js WebRTC Libraries and SipWise
H Yavari
hyavari at rocketmail.com
Tue Jun 23 08:44:32 EDT 2015
Hi,
I'm testing your changes on the 3.8.2.1 and I noticed that calls between webrtc clients (SIPml5 + Chrome) and softphones (eyebeam) didn't established.
RTP Logs :
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] Received command 'offer' from 127.0.0.1:54810
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] Dump for 'offer' from 127.0.0.1:54810: { "sdp": "v=0#015#012o=- 7288947760562095000 2 IN IP4 127.0.0.1#015#012s=Doubango Telecom - chrome#015#012t=0 0#015#012a=group:BUNDLE audio#015#012a=msid-semantic: WMS rY3RHjFwsc4gmpVFTEXvpd3gHn3KDxKLQcUU#015#012m=audio 56891 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126#015#012c=IN IP4 192.168.1.162#015#012a=rtcp:56892 IN IP4 192.168.1.162#015#012a=candidate:2532078963 1 udp 2122260223 192.168.1.162 56891 typ host generation 0#015#012a=candidate:2532078963 2 udp 2122260222 192.168.1.162 56892 typ host generati ...
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] ... on 0#015#012a=candidate:3631188355 1 tcp 1518280447 192.168.1.162 0 typ host tcptype active generation 0#015#012a=candidate:3631188355 2 tcp 1518280446 192.168.1.162 0 typ host tcptype active generation 0#015#012a=ice-ufrag:yO8yY+BBMVJ8HW/Q#015#012a=ice-pwd:FeD7bcTYAcUXyBD3jXb94WHq#015#012a=fingerprint:sha-256 47:A1:FA:B1:EF:AF:8C:46:89:78:5D:60:4F:CD:12:A8:16:FC:8E:F8:AE:18:52:63:66:1F:09:93:92:09:DB:BE#015#012a=setup:actpass#015#012a=mid:audio#015#012a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level#015#012a=extmap:3 http://www.webrtc.org/ex ...
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] ... periments/rtp-hdrext/abs-send-time#015#012a=sendrecv#015#012a=rtcp-mux#015#012a=rtpmap:111 opus/48000/2#015#012a=fmtp:111 minptime=10; useinbandfec=1#015#012a=rtpmap:103 ISAC/16000#015#012a=rtpmap:104 ISAC/32000#015#012a=rtpmap:9 G722/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:106 CN/32000#015#012a=rtpmap:105 CN/16000#015#012a=rtpmap:13 CN/8000#015#012a=rtpmap:126 telephone-event/8000#015#012a=maxptime:60#015#012a=ssrc:153740583 cname:5170O/iDU2IN2gXV#015#012a=ssrc:153740583 msid:rY3RHjFwsc4gmpVFTEXvpd3gHn3KDxKLQcUU c27ad648-2817-47e4-aa49-ec2e13de0e64#015#012a= ...
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] ... ssrc:153740583 mslabel:rY3RHjFwsc4gmpVFTEXvpd3gHn3KDxKLQcUU#015#012a=ssrc:153740583 label:c27ad648-2817-47e4-aa49-ec2e13de0e64#015#012a=direction:active#015#012", "address-family": "IP4", "ICE": "force", "transport-protocol": "transparent", "replace": [ "origin", "session-connection" ], "rtcp-mux": [ "demux" ], "call-id": "f7a8d910-0578-2e14-ed7a-b5a7495d559c", "received-from": [ "IP4", "127.0.0.1" ], "from-tag": "vTBSKL6uKhcfGnDoGCko", "command": "offer" }
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] Creating new call
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] Opened ports 30490..30491 for media relay
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] Opened ports 30508..30509 for media relay
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] Learning new ICE candidate 2532078963:1
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] Created candidate pair rNLjzjqatNLaaoSN:2532078963:1 between 192.168.1.100 and 192.168.1.162:56891, type host
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] Learning new ICE candidate 2532078963:2
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] Sending ICE/STUN request for candidate pair rNLjzjqatNLaaoSN:2532078963:1 from 192.168.1.100 to 192.168.1.162:56891
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] Replying to 'offer' from 127.0.0.1:54810
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] Response dump for 'offer' to 127.0.0.1:54810: { "sdp": "v=0#015#012o=- 7288947760562095000 2 IN IP4 192.168.1.100#015#012s=Doubango Telecom - chrome#015#012t=0 0#015#012a=msid-semantic: WMS rY3RHjFwsc4gmpVFTEXvpd3gHn3KDxKLQcUU#015#012m=audio 30490 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126#015#012c=IN IP4 192.168.1.100#015#012a=rtpmap:111 opus/48000/2#015#012a=fmtp:111 minptime=10; useinbandfec=1#015#012a=rtpmap:103 ISAC/16000#015#012a=rtpmap:104 ISAC/32000#015#012a=rtpmap:9 G722/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:106 CN/32000#015#012 ...
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] ... a=rtpmap:105 CN/16000#015#012a=rtpmap:13 CN/8000#015#012a=rtpmap:126 telephone-event/8000#015#012a=maxptime:60#015#012a=ssrc:153740583 cname:5170O/iDU2IN2gXV#015#012a=ssrc:153740583 msid:rY3RHjFwsc4gmpVFTEXvpd3gHn3KDxKLQcUU c27ad648-2817-47e4-aa49-ec2e13de0e64#015#012a=ssrc:153740583 mslabel:rY3RHjFwsc4gmpVFTEXvpd3gHn3KDxKLQcUU#015#012a=ssrc:153740583 label:c27ad648-2817-47e4-aa49-ec2e13de0e64#015#012a=direction:active#015#012a=sendrecv#015#012a=rtcp:30491#015#012a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:gp5lzPf1FgwKH+iJsQ+sJirdEGHKrp9q9CnqB623#015#012a=setup:actpas ...
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c] ... s#015#012a=fingerprint:sha-1 5E:4E:EA:A1:D2:5A:D9:CB:56:3E:A8:C6:EC:41:9F:0B:C2:20:E0:24#015#012a=ice-ufrag:rxKqjRBZ#015#012a=ice-pwd:4vO3Akdegb89osMbUTdj51Auzk#015#012a=candidate:rNLjzjqatNLaaoSN 1 UDP 2130706431 192.168.1.100 30490 typ host#015#012a=candidate:rNLjzjqatNLaaoSN 2 UDP 2130706430 192.168.1.100 30491 typ host#015#012", "result": "ok" }
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c port 30508] Received ICE/STUN response code 0 for candidate pair rNLjzjqatNLaaoSN:2532078963:1 from 192.168.1.162:56891 to 192.168.1.100
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c port 30508] Setting ICE candidate pair rNLjzjqatNLaaoSN:2532078963:1 as succeeded
Jun 23 14:01:46 spce rtpengine[10503]: [f7a8d910-0578-2e14-ed7a-b5a7495d559c port 30508] Best succeeded ICE pair with all components is rNLjzjqatNLaaoSN:2532078963:1
I checked different values of "transport_protocol" in Domain settings. but the result didn't change.
Are there any idea about this?
Regards.H.Yavari
From: Andrew Pogrebennyk <apogrebennyk at sipwise.com>
Hi,
thanks! I've started a new VM with mr3.8.1 and managed to reproduce this
bug.
We'll release a new hotfix for mr3.8.1, but in the meantime you may
patch your config directly:
vim /etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.tt2
diff --git a/templates/etc/kamailio/proxy/proxy.cfg.tt2
b/templates/etc/kamailio/proxy/proxy.cfg.tt2
index 3f5e3a4..bcf1518 100644
--- a/templates/etc/kamailio/proxy/proxy.cfg.tt2
+++ b/templates/etc/kamailio/proxy/proxy.cfg.tt2
@@ -7877,7 +7877,7 @@ route[ROUTE_BRANCH_ACC_RTP]
{
$var(callee_transport_protocol) = "RTP/AVP";
}
- if($avp(to_pstn) == 1 &&
pv_isset("$xavp(callee_peer_prefs[0]=>transport_protocol)"))
+ if($var(to_pstn) == 1 &&
pv_isset("$xavp(callee_peer_prefs[0]=>transport_protocol)"))
{
$var(callee_transport_protocol) =
$xavp(callee_peer_prefs[0]=>transport_protocol);
}
Thanks for the bugreport again!
BR,
Andrew
On 04/22/2015 08:45 AM, H Yavari wrote:
> Hi,
>
> This system is new. I installed from ISO. I did not change anythings
> from default templates. I'll send the result for you.
>
>
> Regards,
> H.Yavari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20150623/c6289846/attachment.html>
More information about the Spce-user
mailing list