<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Slava,<br>
<br>
1) NOTIFY'es<br>
<br>
The presence NOTIFY requests are in dialog requests (part of the
SUBSCRIBE dialog). And a sequential request is sent to a RR or
Contact URI (from SUBSCRIBE) which typically hold IP addresses -
so how do you get the @domain.com URI when sending the NOTIFY ? Do
you have a SIP capture showing the SUBSCRIBE + 200 OK and the
NOTIFY errors ?<br>
<br>
2) BLF parsing errors - these are 3.0 specific, right ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
<div class="moz-cite-prefix">On 02/12/2019 05:13 AM, Slava Bendersky
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1770967090.170.1549941217924.JavaMail.bendersky@nlws01.networklab.lan">
<style type="text/css">p { margin: 0; }</style>
<div style="font-family: courier
new,courier,monaco,monospace,sans-serif; font-size: 12pt; color:
#000000"><br>
<font face="courier new, courier, monaco, monospace, sans-serif"><span
style="font-size: 12pt;">Hello Everyone,</span></font>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;">I manage fix route DNS issue for presence NOTIFY</div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;">But I can't route presence NOTIFY with TLS transport on
public leg</div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;">Text in bold missing ;tranposrt=tls</div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;">Do I need add local route and catch NOTIFY and add
transport=tls ?</div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;"><br>
</div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
<a class="moz-txt-link-freetext" href="INFO:presence:update_subscription">INFO:presence:update_subscription</a>: notify</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
<a class="moz-txt-link-freetext" href="INFO:presence:send_notify_request">INFO:presence:send_notify_request</a>: NOTIFY
<a class="moz-txt-link-freetext" href="sip:106@domain.com.tld">sip:106@domain.com.tld</a> via <b><a class="moz-txt-link-freetext" href="sip:106@public_ip:18156;nat=yes">sip:106@public_ip:18156;nat=yes</a></b>;ob
on behalf of <a class="moz-txt-link-freetext" href="sip:105@">sip:105@</a></font><span style="font-family:
"courier new", courier, monaco, monospace,
sans-serif;">domain.com.tld</span><font face="courier new,
courier, monaco, monospace, sans-serif"> for event presence,
to_tag=656a154e9c9480ea0e92b7b8c389691c-5e5c, cseq=2</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
<a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd buffer of 416 kb</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
<a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP keepalive enabled on
socket 88</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
ERROR:proto_tls:tls_conn_init: no TLS client domain found</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
ERROR:core:tcpconn_new: failed to do proto 3 specific init
for conn 0x7f2be9aece58</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
ERROR:core:tcp_conn_new: tcpconn_new failed</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
ERROR:proto_tls:tls_sync_connect: tcp_conn_create failed,
closing the socket</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
ERROR:proto_tls:proto_tls_send: connect failed</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
ERROR:tm:msg_send: send() to public_ip:5081 for proto tls/3
failed</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
ERROR:tm:t_forward_nonack: sending request failed</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
ERROR:tm:w_t_relay: t_forward_nonack failed</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1280]:
<a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd buffer of 416 kb</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1280]:
<a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP keepalive enabled on
socket 109</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1277]:
ERROR:proto_tls:tls_accept: New TLS connection from
public_ip:49523 failed to accept</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1277]:
ERROR:proto_tls:tls_read_req: failed to do pre-tls reading</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Feb 11 22:03:17 vprx00 /usr/sbin/opensips[1276]:
WARNING:presence:p_tm_callback: completed with status [500]
and to_tag [656a154e9c9480ea0e92b7b8c389691c-5e5c], cseq
[CSeq: 2]</font></div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;"> </div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;">volga629<br>
<hr id="zwchr">
<div
style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From:
</b>"Slava Bendersky" <a class="moz-txt-link-rfc2396E" href="mailto:volga629@networklab.ca"><volga629@networklab.ca></a><br>
<b>To: </b>"OpenSIPS users mailling list"
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a><br>
<b>Sent: </b>Wednesday, February 6, 2019 10:58:38 AM<br>
<b>Subject: </b>[OpenSIPS-Users] presence and dns<br>
<br>
<style>p { margin: 0; }</style>
<div style="font-family: courier
new,courier,monaco,monospace,sans-serif; font-size: 12pt;
color: #000000"><font face="courier new, courier, monaco,
monospace, sans-serif"><span style="font-size: 12pt;">Hello
Everyone,</span></font>
<div style="color: rgb(0, 0, 0); font-family:
"courier new", courier, monaco, monospace,
sans-serif; font-size: 12pt;">How to avoid dns look up
while NOTIFY is trying to reach end point for presence
subscriber.</div>
<div style="color: rgb(0, 0, 0); font-family:
"courier new", courier, monaco, monospace,
sans-serif; font-size: 12pt;"><br>
</div>
<div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Feb 5 15:15:42 vprx00
/usr/sbin/opensips[3889]:
<a class="moz-txt-link-freetext" href="INFO:presence:update_subscription">INFO:presence:update_subscription</a>: notify</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Feb 5 15:15:42 vprx00
/usr/sbin/opensips[3889]:
<a class="moz-txt-link-freetext" href="INFO:presence:send_notify_request">INFO:presence:send_notify_request</a>: NOTIFY
<a class="moz-txt-link-freetext" href="sip:106@domain.com">sip:106@domain.com</a> via
<a class="moz-txt-link-freetext" href="sip:106@158.69.151.88:58924;nat=yes;ob">sip:106@158.69.151.88:58924;nat=yes;ob</a> on behalf of
<a class="moz-txt-link-freetext" href="sip:105@">sip:105@</a></font><span style="font-family:
"courier new", courier, monaco, monospace,
sans-serif;">domain.com</span><font face="courier
new, courier, monaco, monospace, sans-serif"> for
event presence,
to_tag=656a154e9c9480ea0e92b7b8c389691c-0448, cseq=1</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Feb 5 15:15:42 vprx00
/usr/sbin/opensips[3889]: CRITICAL:core:mk_proxy:
could not resolve hostname: "</font><span
style="font-family: "courier new",
courier, monaco, monospace, sans-serif;">domain.com</span><font
face="courier new, courier, monaco, monospace,
sans-serif">"</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Feb 5 15:15:42 vprx00
/usr/sbin/opensips[3889]: ERROR:tm:uri2proxy: bad
host name in URI <<a class="moz-txt-link-freetext" href="sip:105@">sip:105@</a></font><span
style="font-family: "courier new",
courier, monaco, monospace, sans-serif;">domain.com</span><font
face="courier new, courier, monaco, monospace,
sans-serif">></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Feb 5 15:15:42 vprx00
/usr/sbin/opensips[3889]: ERROR:tm:t_forward_nonack:
failure to add branches</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Feb 5 15:15:42 vprx00
/usr/sbin/opensips[3889]: ERROR:tm:w_t_relay:
t_forward_nonack failed</font></div>
</div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Also Pua Dialog Info producing the error
of extra parameters</font></div>
<div><br>
</div>
<div>
<div>Feb 5 15:42:21 vprx00 /usr/sbin/opensips[4137]:
ERROR:pua_dialoginfo:pack_cb_params: Failed to parse
peer nameaddr [<a class="moz-txt-link-freetext" href="sip:105@10.30.100.41:5060#015#012">sip:105@10.30.100.41:5060#015#012</a>]</div>
<div>Feb 5 15:42:21 vprx00 /usr/sbin/opensips[4137]:
ERROR:pua_dialoginfo:dialoginfo_set: Failed to
allocate parameters</div>
<div><br>
</div>
<div>Feb 5 18:27:20 vprx00 /usr/sbin/opensips[5451]:
ERROR:pua_dialoginfo:pack_cb_params: Failed to parse
peer nameaddr
[<a class="moz-txt-link-freetext" href="sip:033003535812@eficart.colpbx.com#015#012">sip:033003535812@eficart.colpbx.com#015#012</a>]</div>
<div>Feb 5 18:27:20 vprx00 /usr/sbin/opensips[5451]:
ERROR:pua_dialoginfo:dialoginfo_set: Failed to
allocate parameters</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>volga629</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>