[OpenSIPS-Users] ws and hold problem

Mikhail forfx at yandex.ru
Fri May 24 20:35:33 EDT 2019


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



More information about the Users mailing list