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

abid khan abidkhan135 at gmail.com
Wed Feb 23 14:52:41 CET 2011


*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 at open-ims.test SIP/2.0
Via: SIP/2.0/UDP 192.168.0.213:5061;rport;
branch=z9hG4bK3246144
Route: <sip:orig at scscf.open-ims.test:6060;lr>
From: <sip:alice at open-ims.test>;tag=2049380917
To: <sip:alice at open-ims.test>
Call-ID: 269819684
CSeq: 20 SUBSCRIBE
Contact: <sip:alice at 192.168.0.213:5061>
Max-Forwards: 70
User-Agent: UCT IMS Client
Expires: 3600
Event: presence.winfo
Content-Length: 0


*Packet From (4060) to I-CSCF server(5060)*
--------------------------------
 SUBSCRIBE sip:alice at open-ims.test SIP/2.0
Record-Route: <sip:mo at pcscf.open-ims.test:4060;lr>
Via: 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=z9hG4bK3246144
Route: <sip:orig at scscf.open-ims.test:6060;lr>
From: <sip:alice at open-ims.test>;tag=2049380917
To: <sip:alice at open-ims.test>
Call-ID: 269819684
CSeq: 20 SUBSCRIBE
Contact: <sip:alice at 192.168.0.213:5061>
Max-Forwards: 16
User-Agent: UCT IMS Client
Expires: 3600
Event: 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"


*Packet From IMS (5060) to S-CSCF server(6060)*
-------------------------------------------------

SUBSCRIBE sip:alice at open-ims.test SIP/2.0
Record-Route: <sip:mo at pcscf.open-ims.test:4060;lr>
Via: 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.0
Via: SIP/2.0/UDP 192.168.0.213:5061
;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4bK3246144
Route: <sip:orig at scscf.open-ims.test:6060;lr>
From: <sip:alice at open-ims.test>;tag=2049380917
To: <sip:alice at open-ims.test>
Call-ID: 269819684
CSeq: 20 SUBSCRIBE
Contact: <sip:alice at 192.168.0.213:5061>
Max-Forwards: 15
User-Agent: UCT IMS Client
Expires: 3600
Event: 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


-------------------------------------------------
*Packet From  (6060) to Application server(opensip)(5065)*

SUBSCRIBE sip:alice at open-ims.test SIP/2.0
Record-Route: <sip:mo at scscf.open-ims.test:6060;lr>
Route: <sip:127.0.0.1:5065;lr>, <sip:iscmark at scscf.open-ims.test
:6060;lr;s=1;h=0;d=0;a=7369703a616c696365406f70656e2d696d732e74657374>
Record-Route: <sip:mo at pcscf.open-ims.test: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.0
Via: 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=z9hG4bK3246144
From: <sip:alice at open-ims.test>;tag=2049380917
To: <sip:alice at open-ims.test>
Call-ID: 269819684
CSeq: 20 SUBSCRIBE
Contact: <sip:alice at 192.168.0.213:5061>
Max-Forwards: 14
User-Agent: UCT IMS Client
Expires: 3600
Event: 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


--------------------------------------------------
*Packet From (6060) to  server(5065)*

SUBSCRIBE sip:alice at open-ims.test SIP/2.0
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 at scscf.open-ims.test
:6060;lr;s=1;h=0;d=0;a=7369703a616c696365406f70656e2d696d732e74657374>
Record-Route: <sip:mo at pcscf.open-ims.test:4060;lr>
Via: SIP/2.0/UDP 127.0.0.1:5065;branch=z9hG4bKff21.c9bdf697.0
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.0
Via: 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=z9hG4bK3246144
From: <sip:alice at open-ims.test>;tag=2049380917
To: <sip:alice at open-ims.test>
Call-ID: 269819684
CSeq: 20 SUBSCRIBE
Contact: <sip:alice at 192.168.0.213:5061>
Max-Forwards: 13
User-Agent: UCT IMS Client
Expires: 3600
Event: 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 at open-ims.test SIP/2.0
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 at scscf.open-ims.test
:6060;lr;s=1;h=0;d=0;a=7369703a616c696365406f70656e2d696d732e74657374>
Record-Route: <sip:mo at pcscf.open-ims.test:4060;lr>
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.d85e0a12.0
Via: SIP/2.0/UDP 127.0.0.1:5065;branch=z9hG4bKff21.c9bdf697.0
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.0
Via: 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=z9hG4bK3246144
From: <sip:alice at open-ims.test>;tag=2049380917
To: <sip:alice at open-ims.test>
Call-ID: 269819684
CSeq: 20 SUBSCRIBE
Contact: <sip:alice at 192.168.0.213:5061>
Max-Forwards: 12
User-Agent: UCT IMS Client
Expires: 3600
Event: 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
P-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 at scscf.open-ims.test
:6060;lr;s=1;h=0;d=0;a=7369703a616c696365406f70656e2d696d732e74657374>
Record-Route: <sip:mo at pcscf.open-ims.test:4060;lr>
Via: SIP/2.0/UDP 127.0.0.1:5065;branch=z9hG4bKff21.e9bdf697.0
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.e85e0a12.0
Via: 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.0
Via: SIP/2.0/UDP 127.0.0.1:5065;branch=z9hG4bKff21.c9bdf697.0
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.0
Via: 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=z9hG4bK3246144
From: <sip:alice at open-ims.test>;tag=2049380917
To: <sip:alice at open-ims.test>
Call-ID: 269819684
CSeq: 20 SUBSCRIBE
Contact: <sip:alice at 192.168.0.213:5061>
Max-Forwards:  9
User-Agent: UCT IMS Client
Expires: 3600
Event: 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
P-hint: I-CSCF rr-enforced
P-hint: outbound
P-hint: I-CSCF rr-enforced
P-hint: outbound


-- 
*Abid khan
NUST-SEECS BSIT*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110223/f1f11db1/attachment.htm>


More information about the Users mailing list