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