[OpenSIPS-Users] Request Timeout (for PUBLISH and SUBSCRIBE) in IMS+opensips Presence Server

Suresh Tupakula suresh.tupakula at sasken.com
Mon Sep 17 12:05:50 CEST 2012



abid khan <abidkhan135 at ...> writes:

> 
> Hi!     I configured the IMS core and opensip presence server
>  on it, but when i am trying to configure the Client(UCT) with presence 
> enabled it gives me following error: Request Timeout (for PUBLISH) Request 
Timeout (for SUBSCRIBE)if any one knows that kindly let me know i am stuck in 
this since last week.Flow of packets and opensips.cfg file is follows:
> 
> Packet From IMS Client(5061) to P-CSCF server(4060)-----SUBSCRIBE sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org SIP/2.0Via: SIP/2.0/UDP 
192.168.0.213:5061;rport;branch=z9hG4bK3246144Route: <sip:orig <at> scscf.open-
ims.test:6060;lr>
> 
> From: <sip:alice at open-ims.test>;tag=2049380917To: 
<sip:alice <at> open-ims.test>Call-ID: 269819684CSeq: 20 SUBSCRIBEContact: 
<sip:alice at 192.168.0.213:5061>
> 
> Max-Forwards: 70User-Agent: UCT IMS ClientExpires: 3600Event: 
presence.winfoContent-Length: 0Packet From (4060) to I-CSCF server(5060)--------
------------------------ SUBSCRIBE sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org SIP/2.0
> 
> Record-Route: <sip:mo-
LCNV1XiHku1bHuwWzmkcW72wBycG1O0l at public.gmane.org:4060;lr>Via: SIP/2.0/UDP 
127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0Via: SIP/2.0/UDP 
192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4
bK3246144
> 
> Route: <sip:orig-
b2aIQJB0831bHuwWzmkcW72wBycG1O0l at public.gmane.org:6060;lr>From: <sip:alice <at> 
open-ims.test>;tag=2049380917To: <sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org>Call-ID: 269819684CSeq: 20 
SUBSCRIBEContact: <sip:alice at 192.168.0.213:5061>
> 
> Max-Forwards: 16User-Agent: UCT IMS ClientExpires: 3600Event: 
presence.winfoContent-Length: 0P-Asserted-Identity: <sip:alice <at> open-
ims.test>P-Charging-Vector: icid-value="P-CSCFabcd4d6500d800000004";icid-
generated-at=127.0.0.1;orig-ioi="open-ims.test"Packet From IMS (5060) to S-CSCF 
server(6060)-------------------------------------------------SUBSCRIBE sip:alice 
<at> open-ims.test SIP/2.0Record-Route: <sip:mo-
LCNV1XiHku1bHuwWzmkcW72wBycG1O0l at public.gmane.org:4060;lr>
> 
> Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.c85e0a12.0Via: SIP/2.0/UDP 
127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0Via: SIP/2.0/UDP 
192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4
bK3246144
> 
> Route: <sip:orig-
b2aIQJB0831bHuwWzmkcW72wBycG1O0l at public.gmane.org:6060;lr>From: <sip:alice <at> 
open-ims.test>;tag=2049380917To: <sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org>Call-ID: 269819684CSeq: 20 
SUBSCRIBEContact: <sip:alice at 192.168.0.213:5061>
> 
> Max-Forwards: 15User-Agent: UCT IMS ClientExpires: 3600Event: 
presence.winfoContent-Length: 0P-Asserted-Identity: <sip:alice <at> open-
ims.test>P-Charging-Vector: icid-value="P-CSCFabcd4d6500d800000004";icid-
generated-at=127.0.0.1;orig-ioi="open-ims.test"
> 
> P-hint: I-CSCF rr-enforced-------------------------------------------------
Packet From  (6060) to Application server(opensip)(5065)SUBSCRIBE sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org SIP/2.0Record-Route: <sip:mo-
b2aIQJB0831bHuwWzmkcW72wBycG1O0l at public.gmane.org:6060;lr>
> 
> Route: <sip:127.0.0.1:5065;lr>, <sip:iscmark-
b2aIQJB0831bHuwWzmkcW72wBycG1O0l at public.gmane.org:6060;lr;s=1;h=0;d=0;a=7369703a
616c696365406f70656e2d696d732e74657374>Record-Route: <sip:mo-
LCNV1XiHku1bHuwWzmkcW72wBycG1O0l at public.gmane.org:4060;lr>Via: SIP/2.0/UDP 
127.0.0.1:6060;branch=z9hG4bKff21.f8017552.0
> 
> Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.c85e0a12.0Via: SIP/2.0/UDP 
127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0Via: SIP/2.0/UDP 
192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4
bK3246144
> 
> From: <sip:alice at open-ims.test>;tag=2049380917To: 
<sip:alice <at> open-ims.test>Call-ID: 269819684CSeq: 20 SUBSCRIBEContact: 
<sip:alice at 192.168.0.213:5061>
> 
> Max-Forwards: 14User-Agent: UCT IMS ClientExpires: 3600Event: 
presence.winfoContent-Length: 0P-Asserted-Identity: <sip:alice <at> open-
ims.test>P-Charging-Vector: icid-value="P-CSCFabcd4d6500d800000004";icid-
generated-at=127.0.0.1;orig-ioi="open-ims.test"
> 
> P-hint: I-CSCF rr-enforced--------------------------------------------------
Packet From (6060) to  server(5065)SUBSCRIBE sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org SIP/2.0Record-Route: 
<sip:127.0.0.1:5065;lr=on>
> 
> Record-Route: <sip:mo-
b2aIQJB0831bHuwWzmkcW72wBycG1O0l at public.gmane.org:6060;lr>Route: 
<sip:127.0.0.1:5065;lr>, <sip:iscmark-
b2aIQJB0831bHuwWzmkcW72wBycG1O0l at public.gmane.org:6060;lr;s=1;h=0;d=0;a=7369703a
616c696365406f70656e2d696d732e74657374>Record-Route: <sip:mo-
LCNV1XiHku1bHuwWzmkcW72wBycG1O0l at public.gmane.org:4060;lr>
> 
> Via: SIP/2.0/UDP 127.0.0.1:5065;branch=z9hG4bKff21.c9bdf697.0Via: SIP/2.0/UDP 
127.0.0.1:6060;branch=z9hG4bKff21.f8017552.0Via: SIP/2.0/UDP 
127.0.0.1;branch=z9hG4bKff21.c85e0a12.0Via: SIP/2.0/UDP 
127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0
> 
> Via: SIP/2.0/UDP 
192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4
bK3246144From: <sip:alice-
Xc2p2s4HhkmhkIy7zCq1kA at public.gmane.orgt>;tag=2049380917To: <sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org>Call-ID: 269819684
> 
> CSeq: 20 SUBSCRIBEContact: <sip:alice-
Q0ErXNX1RuYNT5YDVBH2qg at public.gmane.org:5061>Max-Forwards: 13User-Agent: UCT IMS 
ClientExpires: 3600Event: presence.winfo
> Content-Length: 0
> P-Asserted-Identity: <sip:alice at open-ims.test>P-
Charging-Vector: icid-value="P-CSCFabcd4d6500d800000004";icid-generated-
at=127.0.0.1;orig-ioi="open-ims.test"P-hint: I-CSCF rr-enforced
> 
> P-hint: outbound---------------------------------------------------5060 to 
5065---------------------------------------------------SUBSCRIBE sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org SIP/2.0Record-Route: 
<sip:127.0.0.1:5065;lr=on>
> 
> Record-Route: <sip:mo-
b2aIQJB0831bHuwWzmkcW72wBycG1O0l at public.gmane.org:6060;lr>Route: 
<sip:127.0.0.1:5065;lr>, <sip:iscmark-
b2aIQJB0831bHuwWzmkcW72wBycG1O0l at public.gmane.org:6060;lr;s=1;h=0;d=0;a=7369703a
616c696365406f70656e2d696d732e74657374>Record-Route: <sip:mo-
LCNV1XiHku1bHuwWzmkcW72wBycG1O0l at public.gmane.org:4060;lr>
> 
> Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.d85e0a12.0Via: SIP/2.0/UDP 
127.0.0.1:5065;branch=z9hG4bKff21.c9bdf697.0Via: SIP/2.0/UDP 
127.0.0.1:6060;branch=z9hG4bKff21.f8017552.0Via: SIP/2.0/UDP 
127.0.0.1;branch=z9hG4bKff21.c85e0a12.0
> 
> Via: SIP/2.0/UDP 127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0Via: SIP/2.0/UDP 
192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4
bK3246144From: <sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org>;tag=2049380917
> 
> To: <sip:alice at open-ims.test>Call-ID: 269819684CSeq: 
20 SUBSCRIBEContact: <sip:alice-
Q0ErXNX1RuYNT5YDVBH2qg at public.gmane.org:5061>Max-Forwards: 12User-Agent: UCT IMS 
Client
> 
> Expires: 3600Event: presence.winfoContent-Length: 0P-Asserted-Identity: 
<sip:alice at open-ims.test>P-Charging-Vector: icid-
value="P-CSCFabcd4d6500d800000004";icid-generated-at=127.0.0.1;orig-ioi="open-
ims.test"
> 
> P-hint: I-CSCF rr-enforcedP-hint: outboundP-hint: I-CSCF rr-enforced----------
-------------------------------------5065 to 5060-------------------------------
-------------------SUBSCRIBE sip:alice at open-ims.test 
SIP/2.0
> 
> Record-Route: <sip:127.0.0.1:5065;lr=on>Record-Route: 
<sip:127.0.0.1:5065;lr=on>Record-Route: <sip:127.0.0.1:5065;lr=on>Record-Route: 
<sip:mo at scscf.open-ims.test:6060;lr>Route: 
<sip:127.0.0.1:5065;lr>, <sip:iscmark-
b2aIQJB0831bHuwWzmkcW72wBycG1O0l at public.gmane.org:6060;lr;s=1;h=0;d=0;a=7369703a
616c696365406f70656e2d696d732e74657374>
> 
> Record-Route: <sip:mo-
LCNV1XiHku1bHuwWzmkcW72wBycG1O0l at public.gmane.org:4060;lr>Via: SIP/2.0/UDP 
127.0.0.1:5065;branch=z9hG4bKff21.e9bdf697.0Via: SIP/2.0/UDP 
127.0.0.1;branch=z9hG4bKff21.e85e0a12.0Via: SIP/2.0/UDP 
127.0.0.1:5065;branch=z9hG4bKff21.d9bdf697.0
> 
> Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.d85e0a12.0Via: SIP/2.0/UDP 
127.0.0.1:5065;branch=z9hG4bKff21.c9bdf697.0Via: SIP/2.0/UDP 
127.0.0.1:6060;branch=z9hG4bKff21.f8017552.0Via: SIP/2.0/UDP 
127.0.0.1;branch=z9hG4bKff21.c85e0a12.0
> 
> Via: SIP/2.0/UDP 127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0Via: SIP/2.0/UDP 
192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4
bK3246144From: <sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org>;tag=2049380917
> 
> To: <sip:alice at open-ims.test>Call-ID: 269819684CSeq: 
20 SUBSCRIBEContact: <sip:alice-
Q0ErXNX1RuYNT5YDVBH2qg at public.gmane.org:5061>Max-Forwards:  9User-Agent: UCT IMS 
Client
> 
> Expires: 3600Event: presence.winfoContent-Length: 0P-Asserted-Identity: 
<sip:alice at open-ims.test>P-Charging-Vector: icid-
value="P-CSCFabcd4d6500d800000004";icid-generated-at=127.0.0.1;orig-ioi="open-
ims.test"
> 
> P-hint: I-CSCF rr-enforcedP-hint: outboundP-hint: I-CSCF rr-enforcedP-hint: 
outboundP-hint: I-CSCF rr-enforcedP-hint: outbound
> -- Abid khanNUST-SEECS BSIT
> 


Hi Abid, 

   I am facing the similar issue. Like to know if you are able to solve this 
issue. If so, please let me know how to solve the issue. 


Regards
Suresh 




More information about the Users mailing list