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:5...@x.x.x.x>;tag=FvXPpDVVwMCyt33t5-0.NRo30DNOYFas To: sip:1...@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.elka...@gmail.com <mailto:nir.elka...@gmail.com>> > Date: Wed, Dec 2, 2009 at 1:49 AM > Subject: unsubscribe sent on diffrent port the subscribe > To: pjsip list <pj...@lists.pjsip.org <mailto:pj...@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.elka...@gmail.com <mailto:nir.elka...@gmail.com> > > > > > -- > ניר אלקיים > טל: 050-3930056 > nir.elka...@gmail.com <mailto:nir.elka...@gmail.com> > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users