<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 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"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></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>
> 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>
> <sip:sa@10.222.0.17:5061;transport=tls>#015#012Subscription-State:<br>
> active;expires=180#015#012Content-Type:<br>
> application/dialog-info+xml#015#012<br>
> DBG:presence:build_dlg_t: CONTACT = sip:9999@10.222.1.253:5060;transport=tls<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=<sip:9999@10.222.1.253:5060;transport=tls><br>
> DBG:core:mk_proxy: doing DNS lookup...<br>
> DBG:tm:dlg2hash: 650<br>
> DBG:tm:print_request_uri: sip:9999@10.222.1.253:5060;transport=tls<br>
> ERROR:tm:msg_send: tcp_send failed<br>
> ERROR:tm:t_uac: attempt to send to<br>
> 'sip:9999@10.222.1.253:5060;transport=tls' 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 href="mailto:sip%3A9999@g-voip.stb.ua">sip:9999@g-voip.stb.ua</a> via<br>
> sip:9999@10.222.1.253:5060;transport=tls on behalf of<br>
> <a 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 href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a 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>