<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>&quot;Use Actual Ephemeral Port in Contact with TCP/TLS&quot; ( <span id="result_box" class="" lang="en"><span class=""><a 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 href="mailto:9999@g-voip.stb.ua">9999@g-voip.stb.ua</a><br>                Contact:: sip:9999@10.222.1.253:5060;transport=tls Q=<br>                        Expires:: 247<br>
                        Callid:: 311684349-5060-1@BA.CCC.B.CFD<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 href="http://10.222.0.17:5061">10.222.0.17:5061</a><br>                        Methods:: 6015<br>        AOR:: <a href="mailto:2083@g-voip.stb.ua">2083@g-voip.stb.ua</a><br>
                Contact:: sip:2083@10.222.1.221:45266;transport=tls Q=<br>                        Expires:: 88<br>                        Callid:: 991321032-5060-1@BA.CCC.B.CCB<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 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">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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 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>
&gt; Hello<br>
&gt; I have Grandstream phone with setup BLF button.<br>
&gt; Opensips  use for REGISTER|Presence|BLF<br>
&gt; When set Grandstream options  to &quot;Use Actual Ephemeral Port in Contact<br>
&gt; with TCP/TLS&quot; phone add to Contact header port to which it is<br>
&gt; connected BLF work fine.<br>
&gt; But if phone set port to standard 5060 Opensips cant send NOTIFY<br>
&gt;<br>
&gt; Phone - &gt; SUBSCRIBE -&gt; Opensips<br>
&gt; Opensips -&gt; Ok - &gt; Phone<br>
&gt; Opensips -&gt; NOTIFY -&gt; tcp_send failed<br>
&gt;<br>
&gt; On phone log i don&#39;t see problem. He send SUBSCRIBE received OK. About<br>
&gt;  NOTIFY nothing.<br>
&gt;<br>
&gt;<br>
&gt; DBG:presence:send_notify_request: built notify_body 0x10d16f0<br>
&gt; DBG:presence:send_notify_request: headers:#012Event:<br>
&gt; dialog#015#012Contact:<br>
&gt; &lt;sip:sa@10.222.0.17:5061;transport=tls&gt;#015#012Subscription-State:<br>
&gt; active;expires=180#015#012Content-Type:<br>
&gt; application/dialog-info+xml#015#012<br>
&gt; DBG:presence:build_dlg_t: CONTACT = sip:9999@10.222.1.253:5060;transport=tls<br>
&gt; DBG:presence_dialoginfo:dlginfo_body_setversion: set version<br>
&gt; DBG:presence_dialoginfo:dlginfo_body_setversion: replace version with &quot;0&quot;<br>
&gt; DBG:tm:t_uac: next_hop=&lt;sip:9999@10.222.1.253:5060;transport=tls&gt;<br>
&gt; DBG:core:mk_proxy: doing DNS lookup...<br>
&gt; DBG:tm:dlg2hash: 650<br>
&gt; DBG:tm:print_request_uri: sip:9999@10.222.1.253:5060;transport=tls<br>
&gt; ERROR:tm:msg_send: tcp_send failed<br>
&gt; ERROR:tm:t_uac: attempt to send to<br>
&gt; &#39;sip:9999@10.222.1.253:5060;transport=tls&#39; failed<br>
&gt; DBG:tm:set_timer: relative timeout is 5<br>
&gt; DBG:tm:insert_timer_unsafe: [0]: 0x7f9a7d7b0fe0 (34)<br>
&gt; INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3A9999@g-voip.stb.ua">sip:9999@g-voip.stb.ua</a> via<br>
&gt; sip:9999@10.222.1.253:5060;transport=tls on behalf of<br>
&gt; <a href="mailto:sip%3A1818@g-voip.stb.ua">sip:1818@g-voip.stb.ua</a> for event dialog,<br>
&gt; to_tag=6b081e8cb2be0cc593bdd08e52ae2811-c7c2, cseq=1<br>
&gt; DBG:tm:t_unref: UNREF_UNSAFE: [0x7f9a7d7a5cc0] after is 0<br>
&gt; DBG:core:destroy_avp_list: destroying list (nil)<br>
&gt; DBG:core:receive_msg: cleaning up<br>
&gt;<br>
&gt;<br>
&gt; Thanks in advance<br>
&gt; Sorry for my English<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
</blockquote></div><br></div>