[OpenSIPS-Users] Problem: Registration Proxy with WebRTC

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jul 5 04:30:39 EDT 2017


Hi Dragomir,

Do you have any idea if the "Via sent-by" reported by SIP.JS is actually 
about the "received" parameter returned in VIA by OpenSIPS ?

Best regards,

Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

OpenSIPS Bootcamp 2017, Houston, US
   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html

On 07/02/2017 10:20 PM, Dragomir Haralambiev wrote:
> Hello,
>
> I try to setup Registration proxy (opensips 2.3) like this article:
> https://blog.opensips.org/2016/12/13/how-to-proxy-sip-registrations/
>
> 1. When use Zoiper all is OK
> Zoiper <----> Opensips REGISTRATION Proxy <-----> SBC
>
> 2. I have problem when use WebRTC.
> (*Via sent-by in the response does not match UA Via host value. 
> Dropping the response*):
>
> SIP.JS <----->Opensips REGISTRATION Proxy <-----> SBC
>
> Here is WebSocket text messages:
>
> REGISTER sip:<IP:Opensips> SIP/2.0
> Via: SIP/2.0/WSS 192.0.2.148;branch=z9hG4bK8881457
> Max-Forwards: 70
> To: "Tester" <sip:555999@<IP:Opensips>>
> From: "Tester" <sip:555999@<IP:Opensips>>;tag=u6aro6a8mj
> Call-ID: k5uhq12e1bb93rg9igvpvv
> CSeq: 83 REGISTER
> Contact: <sip:r0f6p7so at 192.0.2.148 
> <mailto:sip%3Ar0f6p7so at 192.0.2.148>;transport=wss>;reg-id=1;+sip.instance="<urn:uuid:ed6914c3-65ee-4e9a-b6e8-3fcd74cb66ac>";expires=60
> Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
> Supported: path, gruu, outbound
> User-Agent: SIP.js/0.7.8
> Content-Length: 0
>
>
>
> sip-0.7.8.js:2900 Sun Jul 02 2017 18:41:19 GMT+0300 (FLE Daylight 
> Time) | sip.transport | received WebSocket text message:
>
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/WSS 
> 192.0.2.148:5060;rport=53162;received=<Sip.js_IP>;branch=z9hG4bK8881457
> From: "Tester" <sip:555999@<IP:Opensips>>;tag=u6aro6a8mj
> To: "Tester" <sip:555999@<IP:Opensips>>
> Call-ID: k5uhq12e1bb93rg9igvpvv
> CSeq: 83 REGISTER
> Contact: 
> <sip:r0f6p7so@<Sip.js_IP>:53162;transport=wss>;reg-id=1;+sip.instance="<urn:uuid:ed6914c3-65ee-4e9a-b6e8-3fcd74cb66ac>";expires=60
> WWW-Authenticate: Digest realm="sbc.com <http://sbc.com>", 
> nonce="ee228f001f1459108000000c2916c1ef at sbc.com 
> <mailto:ee228f001f1459108000000c2916c1ef at sbc.com>"
> Content-Length: 0
>
>
>
> sip-0.7.8.js:2900 Sun Jul 02 2017 18:41:19 GMT+0300 (FLE Daylight 
> Time) | sip.sanitycheck | *Via sent-by in the response does not match 
> UA Via host value. Dropping the response*
>
>
> Best regards,
> Drgagomir
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170705/7ffc9107/attachment.html>


More information about the Users mailing list