[OpenSIPS-Users] ws and hold problem

Alexander Jankowsky E75A4669 at exemail.com.au
Sat May 25 02:28:27 EDT 2019


Hello Mikhail,

What exactly have you got there. It looks like a closed test setup.
Is it just Three routers in an upstream loop and Three computers.

Are you just trying to make some basic voip audio only phone calls.
Is there a more specific project you are trying to have help develop. 

I am not familiar with these other technologies
but it somehow seems you have not provided enough information.

Alex

-----Original Message-----
From: Users [mailto:users-bounces at lists.opensips.org] On Behalf Of Mikhail
Sent: Saturday, 25 May 2019 10:06 AM
To: users at lists.opensips.org
Subject: [OpenSIPS-Users] ws and hold problem

Hi

opensips 2.4 and rtpengine.
webrtc SIP clients based on jsSIP 3.3.6
to accounts jssip1 and jssip2

jssip1 calls jssip2 or jssip2 calls jssip1 - call established
jssip1 place call on hold and then unhold - no problem now if jssip2 place call on hold it receives SIP/2.0 476 Unresolvable destination (476/TM) from opensips and call brakes.
also in opensips.log there are a messages like this:
May 25 02:42:41 opensips-01 /usr/sbin/opensips[19704]: 
CRITICAL:core:mk_proxy: could not resolve hostname: "djgppiddv7t0.invalid"
May 25 02:42:41 opensips-01 /usr/sbin/opensips[19704]: 
ERROR:tm:uri2proxy: bad host name in URI <sip:lp7tmvt6 at djgppiddv7t0.invalid;transport=ws;ob>
May 25 02:42:41 opensips-01 /usr/sbin/opensips[19704]: 
ERROR:tm:t_forward_nonack: failure to add branches

what i found:

While call setup jsip1 sends initial invite:
INVITE sip:jsip2 at 192.168.18.78 SIP/2.0
Contact: <sip:lp7tmvt6 at djgppiddv7t0.invalid;transport=ws;ob>

server resends  to jsip2 invite and replaces Contact with the real ip of
jsip1:
INVITE sip:60s8k9ep at 192.168.21.117:49882;transport=ws SIP/2.0
Contact: <sip:lp7tmvt6 at 10.20.32.10:46099;transport=ws;ob>


When jssip1 place call on hold or unhold, it sends invite to server with
INVITE sip:60s8k9ep at 192.168.21.117:51630;transport=ws SIP/2.0
Contact: <sip:lp7tmvt6 at djgppiddv7t0.invalid;transport=ws;ob>

server resends  to jsip2 invite and do not changes Contact:
INVITE sip:60s8k9ep at 192.168.21.117:51630;transport=ws SIP/2.0
Contact: <sip:lp7tmvt6 at djgppiddv7t0.invalid;transport=ws;ob>

Next, when jssip2 places call on hold, it sends invite:
INVITE sip:lp7tmvt6 at djgppiddv7t0.invalid;transport=ws;ob SIP/2.0
and server can't resolve djgppiddv7t0.invalid, it expects real address here


does anybody have an idea, who is responsible for the problem - jssip, 
opensips or rtpengine ?


Laba Mikhail

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list