El Miércoles, 17 de Febrero de 2010, Asterisk User escribió: > Hi Group, > I have one more problem regarding a SIP subscribe packet. > When my phone registers first time, it gets OK for SUBSCRIBE sent from > phone. But after couple of hours it(phone) keeps on sending subsequent > SUBSCRIBE requests but the response from Kamailio is 481 Subscription > does not exist. > > Here are my packets, > > =======================> For first SUBSCRIBE > SUBSCRIBE sip:ABC.com SIP/2.0 > Via: SIP/2.0/UDP 172.18.100.89:5060;branch=z9hG4bK-4082dbb > From: DEF <sip:3...@abc.com>;tag=802bf23e23f4741 > To: DEF <sip:3...@abc.com> > Call-ID: 9f465e4b-2207f...@172.18.100.89 > CSeq: 30004 SUBSCRIBE > Max-Forwards: 70 > Contact: DEF <sip:3...@172.18.100.89:5060> > Accept: application/simple-message-summary > Expires: 2147483647 > Event: message-summary > User-Agent: Linksys/PAP2T-3.1.15(LS) > Content-Length: 0 > > ------------------------------------------------------- > SIP/2.0 202 OK > Via: SIP/2.0/UDP > 172.18.100.89:5060;branch=z9hG4bK-4082dbb;rport=5060;received=220.224.237.5 > 4 From: DEF <sip:3...@abc.com>;tag=802bf23e23f4741 > To: DEF <sip:3...@abc.com>;tag=0cca86077d334bd53b00d2c8eab3d5fb.dfeb > Call-ID: 9f465e4b-2207f...@172.18.100.89 > CSeq: 30004 SUBSCRIBE > Expires: 3600 > Contact: <sip:192.168.94.30:5060> > Server: Kamailio (1.5.0-notls (i386/linux)) > Content-Length: 0 > > > =======================> For subsequent SUBSCRIBEs > > > SUBSCRIBE sip:ABC.com SIP/2.0 > Via: SIP/2.0/UDP 172.18.100.89:5060;branch=z9hG4bK-69712d2e > From: DEF <sip:3...@abc.com>;tag=5d3bd6c2989f0839 > To: DEF <sip:3...@abc.com>;tag=0cca86077d334bd53b00d2c8eab3d5fb.dfeb > Call-ID: 7f6d2c36-97569...@172.18.100.89 > CSeq: 55947 SUBSCRIBE > Max-Forwards: 70 > Contact: DEF <sip:3...@172.18.100.89:5060> > Accept: application/simple-message-summary > Expires: 2147483647 > Event: message-summary > User-Agent: Linksys/PAP2T-3.1.15(LS) > Content-Length: 0 > > ------------------------------------------------------- > > SIP/2.0 481 Subscription does not exist > Via: SIP/2.0/UDP > 172.18.100.89:5060;branch=z9hG4bK-69712d2e;rport=5060;received=220.224.237. > 54 From: DEF <sip:3...@abc.com>;tag=5d3bd6c2989f0839 > To: DEF <sip:3...@abc.com>;tag=0cca86077d334bd53b00d2c8eab3d5fb.dfeb > Call-ID: 7f6d2c36-97569...@172.18.100.89 > CSeq: 55947 SUBSCRIBE > Server: Kamailio (1.5.0-notls (i386/linux)) > Content-Length: 0
Check that the refresh SUBSCRIBE is sent within the expires time (3600 seconds), is it? -- Iñaki Baz Castillo <i...@aliax.net> _______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users