[OpenSIPS-Users] Fwd: unsubscribe sent on diffrent port the subscribe

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Dec 10 11:05:57 CET 2009


Hi Nir,

check your "server_address" param in presence module:
http://www.opensips.org/html/docs/modules/devel/presence.html#id228328

maybe you have a typo there and put 30100 instead of 30101

Regards,
Bogdan

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


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list