[OpenSIPS-Users] ERROR topology_hiding_match() and WSS
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Apr 26 07:03:44 EDT 2017
Thank you Dragomir,
So, there is an existing connection to your browser.
Please redo the list_tcp_conns and send me the capture of the BYE
request received by OpenSIPS.
Best regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Summit May 2017 Amsterdam
http://www.opensips.org/events/Summit-2017Amsterdam.html
On 04/25/2017 04:35 PM, Dragomir Haralambiev wrote:
> Here is connection list before send BYE
>
> [root at dev opensips]# opensipsctl fifo list_tcp_conns
> Connection:: ID=1 Type=wss State=0 Source=<IP:SIP.JS>0:59562
> Destination=<IP:Opensips>:10062 Lifetime=2017-04-25 16:31:14
>
>
> 2017-04-25 11:37 GMT+03:00 Bogdan-Andrei Iancu <bogdan at opensips.org
> <mailto:bogdan at opensips.org>>:
>
> Hi Dragomir,
>
> So, the problem is about the BYE. Just before sending BYE from
> Zoiper, please run on your opensips:
> opensipsctl fifo list_tcp_conns
>
> Lets see if your SIP.JS still has a connection to OpenSIPS at that
> point.
>
> Best regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>
> OpenSIPS Summit May 2017 Amsterdam
> http://www.opensips.org/events/Summit-2017Amsterdam.html
> <http://www.opensips.org/events/Summit-2017Amsterdam.html>
>
> On 04/25/2017 12:14 AM, Dragomir Haralambiev wrote:
>> Hi Bogdan,
>> Thanks for the detailed and comprehensive answer.
>> Zoiper talking (connection is established) with SIP.JS
>> Zoiper ---(over UDP)--> Opensips --(over WSS)---> SIP.JS
>> Why not possible Opensips send BYE to SIP.JS over established
>> connection?
>> Why all is OK when SIP.JS send BYE?
>> I need help to setup Opensips to solve this problem.
>> Best regards,
>> Dragomir
>> 2017-04-24 17:47 GMT+03:00 Bogdan-Andrei Iancu
>> <bogdan at opensips.org <mailto:bogdan at opensips.org>>:
>>
>> Hi, Same question, same answer - see
>> http://lists.opensips.org/pipermail/users/2017-April/036925.html
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>> <http://www.opensips-solutions.com>
>>
>> OpenSIPS Summit May 2017 Amsterdam
>> http://www.opensips.org/events/Summit-2017Amsterdam.html
>> <http://www.opensips.org/events/Summit-2017Amsterdam.html>
>>
>> On 04/21/2017 07:24 PM, Dragomir Haralambiev wrote:
>>> Hello,
>>> I have problem with "topology_hiding_match()" and WSS.
>>> Zoiper ---(send BYE)--> Opensips --(can not relay to)--->
>>> SIP.JS
>>> Here part ot script:
>>> if (has_totag()) {
>>> if (topology_hiding_match()) {
>>> t_relay();
>>> exit;
>>> }
>>> ...
>>> Opensips receive BYE. When execute "t_relay()" give follow
>>> ERRORS:
>>> INFO:core:probe_max_sock_buff: using snd buffer of 416 kb
>>> INFO:core:init_sock_keepalive: TCP keepalive enabled on
>>> socket 23
>>> ERROR:core:tcp_connect_blocking: timeout 99195 ms elapsed
>>> from 100000 s
>>> ERROR:proto_ws:ws_sync_connect: tcp_blocking_connect failed
>>> ERROR:proto_ws:ws_connect: connect failed
>>> ERROR:proto_ws:proto_ws_send: connect failed
>>> ERROR:tm:msg_send: send() for proto 5 failed
>>> ERROR:tm:t_forward_nonack: sending request failedscheduled
>>> Where is problem?
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170426/257a1793/attachment.html>
More information about the Users
mailing list