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

Binan AL Halabi binanalhalabi at yahoo.com
Tue Sep 25 15:22:46 CEST 2012


hej again,

Check the "Expire" header inserted by the client.
Let the S-CSCF use a default 3600 if there is no "Expire" header

//Binan




________________________________
 From: Suresh Tupakula <suresh.tupakula at sasken.com>
To: users at lists.opensips.org 
Sent: Monday, September 24, 2012 7:56 PM
Subject: Re: [OpenSIPS-Users] Request Timeout (for PUBLISH and SUBSCRIBE)	in	IMS+opensips Presence Server
 



Binan AL Halabi <binanalhalabi at ...> writes:

> 
> Hi,If you have this issue http://lists.opensips.org/pipermail/users/2011-
February/016935.htmland the same configuration file for IMS application server 
(port 5065)1- check if the domain is in the database or add it as an alias in 
the config file2- check if opensips execute  handle_subscribe (check $rd if it 
is the domain part of R-URI)
> 
> 
> 
> //Binan
>       From: Suresh Tupakula <suresh.tupakula-
Ut8ZLSGP1ULQT0dZR+AlfA at public.gmane.org>To: users-
ZwoEplunGu0fYbrseoN+Dx2eb7JE58TQ at public.gmane.org Sent: Monday, September 17, 
2012 12:05 PMSubject: Re: [OpenSIPS-Users] Request Timeout (for PUBLISH and 
SUBSCRIBE) in    IMS+opensips Presence Server  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-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org>;tag=2049380917To: <sip:alice <at> open-
ims.test>Call-ID: 269819684CSeq: 20 SUBSCRIBEContact: <sip:alice-
Q0ErXNX1RuYNT5YDVBH2qg at public.gmane.org: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-
XMD5yJDbdMReXY1tMh2IBg at public.gmane.org:6060;lr>From: <sip:alice <at> open-
ims.test>;tag=2049380917To: <sip:alice-Xc2p2s4HhknIckD0SmftEg-
XMD5yJDbdMReXY1tMh2IBg 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-
XMD5yJDbdMReXY1tMh2IBg 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-
XMD5yJDbdMReXY1tMh2IBg at public.gmane.org:6060;lr>From: <sip:alice <at> open-
ims.test>;tag=2049380917To: <sip:alice-Xc2p2s4HhknIckD0SmftEg-
XMD5yJDbdMStu3cLTcvVIw at public.gmane.orge.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-
XMD5yJDbdMReXY1tMh2IBg at public.gmane.org:6060;lr;s=1;h=0;d=0;a=7369703a616c696365
406f70656e2d696d732e74657374>Record-Route: <sip:mo-
LCNV1XiHku1bHuwWzmkcW72wBycG1O0l-
XMD5yJDbdMReXY1tMh2IBg 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-
XMD5yJDbdMReXY1tMh2IBg at public.gmane.org SIP/2.0Record-Route: 
<sip:127.0.0.1:5065;lr=on>> > Record-Route: <sip:mo-
b2aIQJB0831bHuwWzmkcW72wBycG1O0l-
XMD5yJDbdMReXY1tMh2IBg at public.gmane.org:6060;lr>Route: <sip:127.0.0.1:5065;lr>, 
<sip:iscmark-b2aIQJB0831bHuwWzmkcW72wBycG1O0l-
XMD5yJDbdMReXY1tMh2IBg at public.gmane.org:6060;lr;s=1;h=0;d=0;a=7369703a616c696365
406f70656e2d696d732e74657374>Record-Route: <sip:mo-
LCNV1XiHku1bHuwWzmkcW72wBycG1O0l-
XMD5yJDbdMReXY1tMh2IBg 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-
XMD5yJDbdMReXY1tMh2IBl6hYfS7NtTn at public.gmane.org>;tag=2049380917To: <sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org>Call-ID: 
269819684> > CSeq: 20 SUBSCRIBEContact: <sip:alice-Q0ErXNX1RuYNT5YDVBH2qg-
XMD5yJDbdMReXY1tMh2IBg 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-
XMD5yJDbdMStu3cLTcvVIw at public.gmane.orge.org SIP/2.0Record-Route: 
<sip:127.0.0.1:5065;lr=on>> > Record-Route: <sip:mo-
b2aIQJB0831bHuwWzmkcW72wBycG1O0l-
XMD5yJDbdMRG2NFembrH+g at public.gmane.orgorg:6060;lr>Route: 
<sip:127.0.0.1:5065;lr>, <sip:iscmark-b2aIQJB0831bHuwWzmkcW72wBycG1O0l-
XMD5yJDbdMReXY1tMh2IBg at public.gmane.org:6060;lr;s=1;h=0;d=0;a=7369703a616c696365
406f70656e2d696d732e74657374>Record-Route: <sip:mo-
LCNV1XiHku1bHuwWzmkcW72wBycG1O0l-
XMD5yJDbdMReXY1tMh2IBg 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-
XMD5yJDbdMReXY1tMh2IBg at public.gmane.org>;tag=2049380917> > To: <sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org>Call-ID: 269819684CSeq: 20 
SUBSCRIBEContact:
>  <sip:alice-Q0ErXNX1RuYNT5YDVBH2qg-
XMD5yJDbdMReXY1tMh2IBg 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-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org 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-
XMD5yJDbdMReXY1tMh2IBg at public.gmane.org:6060;lr;s=1;h=0;d=0;a=7369703a616c696365
406f70656e2d696d732e74657374>> > Record-Route: <sip:mo-
LCNV1XiHku1bHuwWzmkcW72wBycG1O0l-
XMD5yJDbdMReXY1tMh2IBg 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-
XMD5yJDbdMReXY1tMh2IBg at public.gmane.org>;tag=2049380917> > To: <sip:alice-
Xc2p2s4HhknIckD0SmftEg at public.gmane.org>Call-ID: 269819684CSeq: 20 
SUBSCRIBEContact: <sip:alice-Q0ErXNX1RuYNT5YDVBH2qg-
XMD5yJDbdMReXY1tMh2IBg 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. RegardsSuresh _______________________________________________Users 
mailing listUsers-
ZwoEplunGu0fYbrseoN+Dx2eb7JE58TQ at public.gmane.orghttp://lists.opensips.org/cgi-
bin/mailman/listinfo/users
>    

Hi, Thanks. I am able to resolve this issue. However landed up in different 
issue. After successful registration,I am receiving the follow error on 
initiating a chat through INVITE message

Error :  " 403 Forbidden! Not Registered - You    mustregister first with a 
S_CSCF"


Appreciating any suggestions/help

Regards
Suresh



_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120925/c9f6e240/attachment-0001.htm>


More information about the Users mailing list