<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<tt>The registration info is used only for routing the SUBSCRIBE
(which is ok). For the NOTIFY routing, the info from SUBSCRIBE +
its 200 OK is used - this is why I need the pcap.<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="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 05/22/2013 08:24 PM, Chusov Alexsandr wrote:
<blockquote
cite="mid:CABn9qfri5yHdOcbwaKaBEtcH_rfEnEVnfQS1BnkrgbN-G7FGng@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><span id="result_box" class="" lang="en"><span class="">I
do not have </span></span>pcap <span id="result_box"
class="" lang="en"><span class="">because use TLS. </span></span><span
id="result_box" class="" lang="en"><span class=""><span
id="result_box" class="" lang="en"><span class="">But I
can</span> <span class="">tomorrow</span></span>
create pcap TCP.<br>
</span></span></div>
<span id="result_box" class="" lang="en"><span class="">Two
phone one enable </span></span>"Use Actual Ephemeral Port
in Contact with TCP/TLS" ( <span id="result_box" class=""
lang="en"><span class=""><a moz-do-not-send="true"
href="mailto:2083@g-voip.stb.ua">2083@g-voip.stb.ua</a></span></span>
)<br>
<div><span id="result_box" class="" lang="en"><span class=""><br>
AOR:: <a moz-do-not-send="true"
href="mailto:9999@g-voip.stb.ua">9999@g-voip.stb.ua</a><br>
Contact::
<a class="moz-txt-link-freetext" href="sip:9999@10.222.1.253:5060;transport=tls">sip:9999@10.222.1.253:5060;transport=tls</a> Q=<br>
Expires:: 247<br>
Callid::
<a class="moz-txt-link-abbreviated" href="mailto:311684349-5060-1@BA.CCC.B.CFD">311684349-5060-1@BA.CCC.B.CFD</a><br>
Cseq:: 2053<br>
User-agent:: Grandstream GXP2120
1.0.5.24<br>
State:: CS_SYNC<br>
Flags:: 0<br>
Cflag:: 0<br>
Socket:: tls:<a
moz-do-not-send="true" href="http://10.222.0.17:5061">10.222.0.17:5061</a><br>
Methods:: 6015<br>
AOR:: <a moz-do-not-send="true"
href="mailto:2083@g-voip.stb.ua">2083@g-voip.stb.ua</a><br>
Contact::
<a class="moz-txt-link-freetext" href="sip:2083@10.222.1.221:45266;transport=tls">sip:2083@10.222.1.221:45266;transport=tls</a> Q=<br>
Expires:: 88<br>
Callid::
<a class="moz-txt-link-abbreviated" href="mailto:991321032-5060-1@BA.CCC.B.CCB">991321032-5060-1@BA.CCC.B.CCB</a><br>
Cseq:: 2047<br>
User-agent:: Grandstream GXP1405
1.0.5.15<br>
State:: CS_SYNC<br>
Flags:: 0<br>
Cflag:: 0<br>
Socket:: tls:<a
moz-do-not-send="true" href="http://10.222.0.17:5061">10.222.0.17:5061</a><br>
Methods:: 6015<br>
<br>
</span></span></div>
<div><span id="result_box" class="" lang="en"><span class="">I</span>
<span class="">also</span> <span class="">asked</span> <span
class="">a friend</span> <span class="">to</span> <span
class="">test the</span> <span class="">asterisk. He send
NOTIFY to port </span></span><span id="result_box"
class="" lang="en"><span class=""><span id="result_box"
class="" lang="en"><span class="">is connected</span> <span
class="">to</span></span> not Contact. </span></span></div>
<div><span id="result_box" class="" lang="en"><span class=""><br>
</span></span></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/5/22 Bogdan-Andrei Iancu <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi Chusov,<br>
<br>
The NOTIFY is sent back to the IP:port from the Contact in
received<br>
SUBSCRIBE. Do you have a pcap capture of the SUBSCRIBE +
NOTIFY on the<br>
opensips side ?<br>
<br>
Regards,<br>
<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a moz-do-not-send="true"
href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br>
<div>
<div class="h5"><br>
<br>
On 05/22/2013 06:12 PM, Chusov Alexsandr wrote:<br>
> Hello<br>
> I have Grandstream phone with setup BLF button.<br>
> Opensips use for REGISTER|Presence|BLF<br>
> When set Grandstream options to "Use Actual
Ephemeral Port in Contact<br>
> with TCP/TLS" phone add to Contact header port to
which it is<br>
> connected BLF work fine.<br>
> But if phone set port to standard 5060 Opensips
cant send NOTIFY<br>
><br>
> Phone - > SUBSCRIBE -> Opensips<br>
> Opensips -> Ok - > Phone<br>
> Opensips -> NOTIFY -> tcp_send failed<br>
><br>
> On phone log i don't see problem. He send SUBSCRIBE
received OK. About<br>
> NOTIFY nothing.<br>
><br>
><br>
> DBG:presence:send_notify_request: built notify_body
0x10d16f0<br>
> DBG:presence:send_notify_request:
headers:#012Event:<br>
> dialog#015#012Contact:<br>
>
<a class="moz-txt-link-rfc2396E" href="sip:sa@10.222.0.17:5061;transport=tls"><sip:sa@10.222.0.17:5061;transport=tls></a>#015#012Subscription-State:<br>
> active;expires=180#015#012Content-Type:<br>
> application/dialog-info+xml#015#012<br>
> DBG:presence:build_dlg_t: CONTACT =
<a class="moz-txt-link-freetext" href="sip:9999@10.222.1.253:5060;transport=tls">sip:9999@10.222.1.253:5060;transport=tls</a><br>
> DBG:presence_dialoginfo:dlginfo_body_setversion:
set version<br>
> DBG:presence_dialoginfo:dlginfo_body_setversion:
replace version with "0"<br>
> DBG:tm:t_uac:
next_hop=<a class="moz-txt-link-rfc2396E" href="sip:9999@10.222.1.253:5060;transport=tls"><sip:9999@10.222.1.253:5060;transport=tls></a><br>
> DBG:core:mk_proxy: doing DNS lookup...<br>
> DBG:tm:dlg2hash: 650<br>
> DBG:tm:print_request_uri:
<a class="moz-txt-link-freetext" href="sip:9999@10.222.1.253:5060;transport=tls">sip:9999@10.222.1.253:5060;transport=tls</a><br>
> ERROR:tm:msg_send: tcp_send failed<br>
> ERROR:tm:t_uac: attempt to send to<br>
> '<a class="moz-txt-link-freetext" href="sip:9999@10.222.1.253:5060;transport=tls">sip:9999@10.222.1.253:5060;transport=tls</a>' failed<br>
> DBG:tm:set_timer: relative timeout is 5<br>
> DBG:tm:insert_timer_unsafe: [0]: 0x7f9a7d7b0fe0
(34)<br>
> INFO:presence:send_notify_request: NOTIFY <a
moz-do-not-send="true"
href="mailto:sip%3A9999@g-voip.stb.ua">sip:9999@g-voip.stb.ua</a>
via<br>
> <a class="moz-txt-link-freetext" href="sip:9999@10.222.1.253:5060;transport=tls">sip:9999@10.222.1.253:5060;transport=tls</a> on behalf
of<br>
> <a moz-do-not-send="true"
href="mailto:sip%3A1818@g-voip.stb.ua">sip:1818@g-voip.stb.ua</a>
for event dialog,<br>
> to_tag=6b081e8cb2be0cc593bdd08e52ae2811-c7c2,
cseq=1<br>
> DBG:tm:t_unref: UNREF_UNSAFE: [0x7f9a7d7a5cc0]
after is 0<br>
> DBG:core:destroy_avp_list: destroying list (nil)<br>
> DBG:core:receive_msg: cleaning up<br>
><br>
><br>
> Thanks in advance<br>
> Sorry for my English<br>
><br>
</div>
</div>
> _______________________________________________<br>
> Users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</body>
</html>