<div dir="ltr">hi,<br><br>thanks!! it was a very stupid mistake..<br><br>nir<br><br><div class="gmail_quote">On Thu, Dec 10, 2009 at 12:05 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Nir,<br>
<br>
check your &quot;server_address&quot; param in presence module:<br>
<a href="http://www.opensips.org/html/docs/modules/devel/presence.html#id228328" target="_blank">http://www.opensips.org/html/docs/modules/devel/presence.html#id228328</a><br>
<br>
maybe you have a typo there and put 30100 instead of 30101<br>
<div class="im"><br>
Regards,<br>
Bogdan<br>
<br>
nir elkayam wrote:<br>
&gt; hi,<br>
&gt;<br>
</div><div class="im">&gt; no, i have only 30101 configured.<br>
&gt; I can send the opensips.cfg later..<br>
&gt;<br>
&gt; nir<br>
&gt;<br>
&gt; On Thu, Dec 10, 2009 at 10:09 AM, Bogdan-Andrei Iancu<br>
</div><div><div></div><div class="h5">&gt; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi Nir,<br>
&gt;<br>
&gt;     I see that the port 30100 appears for the first time in the 200 OK<br>
&gt;     (from<br>
&gt;     opensips) for a SUBSCRIBE:<br>
&gt;<br>
&gt;     --end msg--<br>
&gt;     01:37:49.579 pjsua_core.c RX 463 bytes Response msg<br>
&gt;     200/SUBSCRIBE/cseq=21095 (rdata0x749254) from UDP X.X.X.X:30101:<br>
&gt;     SIP/2.0 200 OK<br>
&gt;     Via: SIP/2.0/UDP<br>
&gt;     192.168.1.3:5060;rport=1025;branch=z9hG4bKPjNwKjaVSYZPhd8u6XsCM2bwHLW.PXnYhd;received=109.160.224.226<br>
&gt;<br>
&gt;     From: &quot;Nyhtg&quot; &lt;sip:5678@X.X.X.X&gt;;tag=FvXPpDVVwMCyt33t5-0.NRo30DNOYFas<br>
&gt;     To: sip:1111@X.X.X.X;tag=e13b2ee8d7f13ef87fe0edbcef6181f6-233a<br>
&gt;     Call-ID: NK71bRDK4hMSLG62La97m6Qf6xTcOxkP<br>
&gt;     CSeq: 21095 SUBSCRIBE<br>
&gt;     Expires: 180<br>
&gt;     Contact: &lt;sip:X.X.X.X:30100&gt;<br>
&gt;     Server: OpenSIPS (1.5.3-tls (i386/linux))<br>
&gt;     Content-Length: 0<br>
&gt;<br>
&gt;<br>
&gt;     Does opensips listen both on 30100 and 30101 ports on X.X.X.X ? (from<br>
&gt;     your configuration)<br>
&gt;<br>
&gt;     Regards,<br>
&gt;     Bogdan<br>
&gt;<br>
&gt;     nir elkayam wrote:<br>
&gt;     &gt; hi,<br>
&gt;     &gt;<br>
&gt;     &gt; I get back to this again,<br>
&gt;     &gt; you can see in the attached file that the unsubscribe is sent to<br>
&gt;     port<br>
&gt;     &gt; 30100 instade of the 30101 (original port).<br>
&gt;     &gt;<br>
&gt;     &gt; the reason is that on the respones to the original subscribe, the<br>
&gt;     &gt; contact field contains the 30100 port instade of 30101 ?!<br>
&gt;     &gt;<br>
&gt;     &gt; looks like it is a problem in opensips..<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; ---------- Forwarded message ----------<br>
&gt;     &gt; From: *nir elkayam* &lt;<a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a><br>
</div></div><div class="im">&gt;     &lt;mailto:<a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a>&gt; &lt;mailto:<a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a><br>
&gt;     &lt;mailto:<a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a>&gt;&gt;&gt;<br>
&gt;     &gt; Date: Wed, Dec 2, 2009 at 1:49 AM<br>
&gt;     &gt; Subject: unsubscribe sent on diffrent port the subscribe<br>
&gt;     &gt; To: pjsip list &lt;<a href="mailto:pjsip@lists.pjsip.org">pjsip@lists.pjsip.org</a><br>
</div><div class="im">&gt;     &lt;mailto:<a href="mailto:pjsip@lists.pjsip.org">pjsip@lists.pjsip.org</a>&gt; &lt;mailto:<a href="mailto:pjsip@lists.pjsip.org">pjsip@lists.pjsip.org</a><br>
&gt;     &lt;mailto:<a href="mailto:pjsip@lists.pjsip.org">pjsip@lists.pjsip.org</a>&gt;&gt;&gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; hi,<br>
&gt;     &gt;<br>
&gt;     &gt; attached the log file,<br>
&gt;     &gt; u can see that the subscribe is sent to port 30101 but the<br>
&gt;     unsubscribe<br>
&gt;     &gt; is sent to 30100..?!<br>
&gt;     &gt;<br>
&gt;     &gt; nir<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; --<br>
&gt;     &gt; ניר אלקיים<br>
&gt;     &gt; טל: 050-3930056<br>
&gt;     &gt; <a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a> &lt;mailto:<a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a>&gt;<br>
</div>&gt;     &lt;mailto:<a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a> &lt;mailto:<a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a>&gt;&gt;<br>
<div class="im">&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; --<br>
&gt;     &gt; ניר אלקיים<br>
&gt;     &gt; טל: 050-3930056<br>
&gt;     &gt; <a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a> &lt;mailto:<a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a>&gt;<br>
</div>&gt;     &lt;mailto:<a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a> &lt;mailto:<a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a>&gt;&gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; Users mailing list<br>
&gt;     &gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
<div class="im">&gt;     &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;     &gt;<br>
&gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     Bogdan-Andrei Iancu<br>
</div>&gt;     <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a> &lt;<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Users mailing list<br>
&gt;     <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
<div><div></div><div class="h5">&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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; ניר אלקיים<br>
&gt; טל: 050-3930056<br>
&gt; <a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a> &lt;mailto:<a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a>&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&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>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>ניר אלקיים<br>טל: 050-3930056<br><a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a><br><br>
</div>