<b>Hi!<br></b> 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:<br><b><span style="color: rgb(255, 0, 0);"> Request Timeout (for PUBLISH)</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"> Request Timeout (for SUBSCRIBE)</span></b><br>if any one knows that kindly let me know i am stuck in this since last week.<br>Flow of packets and opensips.cfg file is follows:<br><b><br>
Packet From IMS Client(5061) to P-CSCF server(4060)</b><br>-----<br>SUBSCRIBE sip:alice@open-ims.test SIP/2.0<br>Via: SIP/2.0/UDP 192.168.0.213:5061;rport;<div id=":369">branch=z9hG4bK3246144<br>Route: <sip:orig@scscf.open-ims.test:6060;lr><br>
From: <sip:alice@open-ims.test>;tag=2049380917<br>To: <sip:alice@open-ims.test><br>Call-ID: 269819684<br>CSeq: 20 SUBSCRIBE<br>Contact: <<a href="http://sip:alice@192.168.0.213:5061/" target="_blank">sip:alice@192.168.0.213:5061</a>><br>
Max-Forwards: 70<br>User-Agent: UCT IMS Client<br>Expires: 3600<br>Event: presence.winfo<br>Content-Length: 0<br><br><br><b>Packet From (4060) to I-CSCF server(5060)</b><br>--------------------------------<br> SUBSCRIBE sip:alice@open-ims.test SIP/2.0<br>
Record-Route: <sip:mo@pcscf.open-ims.test:4060;lr><br>Via: SIP/2.0/UDP 127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0<br>Via: SIP/2.0/UDP 192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4bK3246144<br>
Route: <sip:orig@scscf.open-ims.test:6060;lr><br>From: <sip:alice@open-ims.test>;tag=2049380917<br>To: <sip:alice@open-ims.test><br>Call-ID: 269819684<br>CSeq: 20 SUBSCRIBE<br>Contact: <<a href="http://sip:alice@192.168.0.213:5061/" target="_blank">sip:alice@192.168.0.213:5061</a>><br>
Max-Forwards: 16<br>User-Agent: UCT IMS Client<br>Expires: 3600<br>Event: presence.winfo<br>Content-Length: 0<br>P-Asserted-Identity: <sip:alice@open-ims.test><br>P-Charging-Vector: icid-value="P-CSCFabcd4d6500d800000004";icid-generated-at=127.0.0.1;orig-ioi="open-ims.test"<br>
<br><br><b>Packet From IMS (5060) to S-CSCF server(6060)</b><br>-------------------------------------------------<br><br>SUBSCRIBE sip:alice@open-ims.test SIP/2.0<br>Record-Route: <sip:mo@pcscf.open-ims.test:4060;lr><br>
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.c85e0a12.0<br>Via: SIP/2.0/UDP 127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0<br>Via: SIP/2.0/UDP 192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4bK3246144<br>
Route: <sip:orig@scscf.open-ims.test:6060;lr><br>From: <sip:alice@open-ims.test>;tag=2049380917<br>To: <sip:alice@open-ims.test><br>Call-ID: 269819684<br>CSeq: 20 SUBSCRIBE<br>Contact: <<a href="http://sip:alice@192.168.0.213:5061/" target="_blank">sip:alice@192.168.0.213:5061</a>><br>
Max-Forwards: 15<br>User-Agent: UCT IMS Client<br>Expires: 3600<br>Event: presence.winfo<br>Content-Length: 0<br>P-Asserted-Identity: <sip:alice@open-ims.test><br>P-Charging-Vector: icid-value="P-CSCFabcd4d6500d800000004";icid-generated-at=127.0.0.1;orig-ioi="open-ims.test"<br>
P-hint: I-CSCF rr-enforced<br><br><br>-------------------------------------------------<br><b>Packet From (6060) to Application server(opensip)(5065)</b><br><br>SUBSCRIBE sip:alice@open-ims.test SIP/2.0<br>Record-Route: <sip:mo@scscf.open-ims.test:6060;lr><br>
Route: <sip:127.0.0.1:5065;lr>, <sip:iscmark@scscf.open-ims.test:6060;lr;s=1;h=0;d=0;a=7369703a616c696365406f70656e2d696d732e74657374><br>Record-Route: <sip:mo@pcscf.open-ims.test:4060;lr><br>Via: SIP/2.0/UDP 127.0.0.1:6060;branch=z9hG4bKff21.f8017552.0<br>
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.c85e0a12.0<br>Via: SIP/2.0/UDP 127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0<br>Via: SIP/2.0/UDP 192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4bK3246144<br>
From: <sip:alice@open-ims.test>;tag=2049380917<br>To: <sip:alice@open-ims.test><br>Call-ID: 269819684<br>CSeq: 20 SUBSCRIBE<br>Contact: <<a href="http://sip:alice@192.168.0.213:5061/" target="_blank">sip:alice@192.168.0.213:5061</a>><br>
Max-Forwards: 14<br>User-Agent: UCT IMS Client<br>Expires: 3600<br>Event: presence.winfo<br>Content-Length: 0<br>P-Asserted-Identity: <sip:alice@open-ims.test><br>P-Charging-Vector: icid-value="P-CSCFabcd4d6500d800000004";icid-generated-at=127.0.0.1;orig-ioi="open-ims.test"<br>
P-hint: I-CSCF rr-enforced<br><br><br>--------------------------------------------------<br><b>Packet From (6060) to server(5065)</b><br><br>SUBSCRIBE sip:alice@open-ims.test SIP/2.0<br>Record-Route: <sip:127.0.0.1:5065;lr=on><br>
Record-Route: <sip:mo@scscf.open-ims.test:6060;lr><br>Route: <sip:127.0.0.1:5065;lr>, <sip:iscmark@scscf.open-ims.test:6060;lr;s=1;h=0;d=0;a=7369703a616c696365406f70656e2d696d732e74657374><br>Record-Route: <sip:mo@pcscf.open-ims.test:4060;lr><br>
Via: SIP/2.0/UDP 127.0.0.1:5065;branch=z9hG4bKff21.c9bdf697.0<br>Via: SIP/2.0/UDP 127.0.0.1:6060;branch=z9hG4bKff21.f8017552.0<br>Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.c85e0a12.0<br>Via: SIP/2.0/UDP 127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0<br>
Via: SIP/2.0/UDP 192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4bK3246144<br>From: <sip:alice@open-ims.test>;tag=2049380917<br>To: <sip:alice@open-ims.test><br>Call-ID: 269819684<br>
CSeq: 20 SUBSCRIBE<br>Contact: <<a href="http://sip:alice@192.168.0.213:5061/" target="_blank">sip:alice@192.168.0.213:5061</a>><br>Max-Forwards: 13<br>User-Agent: UCT IMS Client<br>Expires: 3600<br>Event: presence.winfo<br>
Content-Length: 0<br>
P-Asserted-Identity: <sip:alice@open-ims.test><br>P-Charging-Vector: icid-value="P-CSCFabcd4d6500d800000004";icid-generated-at=127.0.0.1;orig-ioi="open-ims.test"<br>P-hint: I-CSCF rr-enforced<br>
P-hint: outbound<br>---------------------------------------------------<br><b>5060 to 5065</b><br>---------------------------------------------------<br>SUBSCRIBE sip:alice@open-ims.test SIP/2.0<br>Record-Route: <sip:127.0.0.1:5065;lr=on><br>
Record-Route: <sip:mo@scscf.open-ims.test:6060;lr><br>Route: <sip:127.0.0.1:5065;lr>, <sip:iscmark@scscf.open-ims.test:6060;lr;s=1;h=0;d=0;a=7369703a616c696365406f70656e2d696d732e74657374><br>Record-Route: <sip:mo@pcscf.open-ims.test:4060;lr><br>
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.d85e0a12.0<br>Via: SIP/2.0/UDP 127.0.0.1:5065;branch=z9hG4bKff21.c9bdf697.0<br>Via: SIP/2.0/UDP 127.0.0.1:6060;branch=z9hG4bKff21.f8017552.0<br>Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.c85e0a12.0<br>
Via: SIP/2.0/UDP 127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0<br>Via: SIP/2.0/UDP 192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4bK3246144<br>From: <sip:alice@open-ims.test>;tag=2049380917<br>
To: <sip:alice@open-ims.test><br>Call-ID: 269819684<br>CSeq: 20 SUBSCRIBE<br>Contact: <<a href="http://sip:alice@192.168.0.213:5061/" target="_blank">sip:alice@192.168.0.213:5061</a>><br>Max-Forwards: 12<br>User-Agent: UCT IMS Client<br>
Expires: 3600<br>Event: presence.winfo<br>Content-Length: 0<br>P-Asserted-Identity: <sip:alice@open-ims.test><br>P-Charging-Vector: icid-value="P-CSCFabcd4d6500d800000004";icid-generated-at=127.0.0.1;orig-ioi="open-ims.test"<br>
P-hint: I-CSCF rr-enforced<br>P-hint: outbound<br>P-hint: I-CSCF rr-enforced<br><br><b>-----------------------------------------------<br>5065 to 5060</b><br>--------------------------------------------------<br>SUBSCRIBE sip:alice@open-ims.test SIP/2.0<br>
Record-Route: <sip:127.0.0.1:5065;lr=on><br>Record-Route: <sip:127.0.0.1:5065;lr=on><br>Record-Route: <sip:127.0.0.1:5065;lr=on><br>Record-Route: <sip:mo@scscf.open-ims.test:6060;lr><br>Route: <sip:127.0.0.1:5065;lr>, <sip:iscmark@scscf.open-ims.test:6060;lr;s=1;h=0;d=0;a=7369703a616c696365406f70656e2d696d732e74657374><br>
Record-Route: <sip:mo@pcscf.open-ims.test:4060;lr><br>Via: SIP/2.0/UDP 127.0.0.1:5065;branch=z9hG4bKff21.e9bdf697.0<br>Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.e85e0a12.0<br>Via: SIP/2.0/UDP 127.0.0.1:5065;branch=z9hG4bKff21.d9bdf697.0<br>
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.d85e0a12.0<br>Via: SIP/2.0/UDP 127.0.0.1:5065;branch=z9hG4bKff21.c9bdf697.0<br>Via: SIP/2.0/UDP 127.0.0.1:6060;branch=z9hG4bKff21.f8017552.0<br>Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKff21.c85e0a12.0<br>
Via: SIP/2.0/UDP 127.0.0.1:4060;branch=z9hG4bKff21.b073da03.0<br>Via: SIP/2.0/UDP 192.168.0.213:5061;received=127.0.0.1;received=127.0.0.1;rport=5061;branch=z9hG4bK3246144<br>From: <sip:alice@open-ims.test>;tag=2049380917<br>
To: <sip:alice@open-ims.test><br>Call-ID: 269819684<br>CSeq: 20 SUBSCRIBE<br>Contact: <<a href="http://sip:alice@192.168.0.213:5061/" target="_blank">sip:alice@192.168.0.213:5061</a>><br>Max-Forwards: 9<br>User-Agent: UCT IMS Client<br>
Expires: 3600<br>Event: presence.winfo<br>Content-Length: 0<br>P-Asserted-Identity: <sip:alice@open-ims.test><br>P-Charging-Vector: icid-value="P-CSCFabcd4d6500d800000004";icid-generated-at=127.0.0.1;orig-ioi="open-ims.test"<br>
P-hint: I-CSCF rr-enforced<br>P-hint: outbound<br>P-hint: I-CSCF rr-enforced<br>P-hint: outbound<br>P-hint: I-CSCF rr-enforced<br>P-hint: outbound</div><br clear="all"><br>-- <br><b>Abid khan<br>NUST-SEECS BSIT</b><br><br>