[OpenSIPS-Users] Regarding opensips integration with openIMS-->403 Preload route denied

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Feb 8 19:24:49 CET 2013


Hi ,

Your OpenSIPs presence server does not recognize the 
"scscf.open-ims.test:6060" advertised in the Route hdrs as belonging to 
itself .

To fix this, add in yout cfg:

alias = "scscf.open-ims.test:6060"

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 02/08/2013 05:55 AM, garima sharma wrote:
> Hi
>
> 501 was being sent by IMS server only. Messages were not passing over 
> to opensips.
> Thus, I changed the config file. Now after changing the config file 
> opensips and openIMS are starting individually.
> My users: alice at open-ims.test and bob at open-ims.test are able to 
> register through xlite/linphone and myMonster, but when i try to 
> change the status through myMonster '403 Preload route denied' comes 
> from opensips. I am taking this trace through ngrep on port 5060.
>
> I tried adding alias=scscf.open-ims.test:6060 in the config file but 
> again error 403-preload route denied error comes.
> Kindly find my config file attached.
> Also, find the ngrep trace below:
>
> *root at jaytirth-desktop:/etc/opensips# ngrep -W byline -d eth0 port 5060
> interface: eth0 (192.168.0.0/255.255.0.0 <http://192.168.0.0/255.255.0.0>)
> filter: (ip or ip6) and ( port 5060 )
> #
> U 192.168.1.100:4060 <http://192.168.1.100:4060> -> 192.168.1.50:5060 
> <http://192.168.1.50:5060>
>
> .
> #
> U 192.168.1.50:5060 <http://192.168.1.50:5060> -> 192.168.1.100:4060 
> <http://192.168.1.100:4060>
> PUBLISH sip:alice at open-ims.test SIP/2.0.
> Call-ID: d8beb11d7472fbbb35f639cd3155ac43 at 192.168.1.50 
> <mailto:d8beb11d7472fbbb35f639cd3155ac43 at 192.168.1.50>.
> CSeq: 1 PUBLISH.
> From: <sip:alice at open-ims.test>;tag=1004.
> To: <sip:alice at open-ims.test>.
> Via: SIP/2.0/UDP 
> 192.168.1.50:5060;branch=z9hG4bKf87115d70bedecfaa71e064e979efcee393437.
> Max-Forwards: 20.
> Route: <sip:orig at scscf.open-ims.test:6060;lr>.
> Event: presence.
> Accept: application/pidf+xml.
> Expires: 3600.
> Content-Type: application/pidf+xml.
> User-Agent: monster Version: 0.9.25.
> Content-Length: 607.
> .
> <?xml version='1.0' encoding='utf-8' ?><presence 
> entity="sip:alice&#64;open-ims.test" 
> xmlns="urn:ietf:params:xml:ns:pidf" 
> xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" 
> xmlns:rpidf="urn:ietf:params:xml:ns:pidf:rpid" 
> xmlns:op="urn:oma:xml:prs:pidf:oma-pres" 
> xmlns:opd="urn:oma:xml:pde:pidf:ext"><tuple 
> id="com1"><status><basic>open</basic></status><op:willingness><opd:basic>open</opd:basic></op:willingness></tuple><dm:person 
> id="per123"><rpidf:activities id="act1"><rpidf:away 
> /></rpidf:activities><op:overriding-willingness><opd:basic>open</opd:basic></op:overriding-willingness></dm:person></presence>
> #
> U 192.168.1.100:4060 <http://192.168.1.100:4060> -> 192.168.1.50:5060 
> <http://192.168.1.50:5060>
> SIP/2.0 403 Preload Route denied.
> Call-ID: d8beb11d7472fbbb35f639cd3155ac43 at 192.168.1.50 
> <mailto:d8beb11d7472fbbb35f639cd3155ac43 at 192.168.1.50>.
> CSeq: 1 PUBLISH.
> From: <sip:alice at open-ims.test>;tag=1004.
> To: <sip:alice at open-ims.test>;tag=88edf4f3f0a2949424b8dd565628593e.ba90.
> Via: SIP/2.0/UDP 
> 192.168.1.50:5060;rport=5060;branch=z9hG4bKf87115d70bedecfaa71e064e979efcee393437.
> Server: OpenSIPS (1.7.0-beta-notls (i386/linux)).
> Content-Length: 0.
> .
>
> #
> U 192.168.1.100:4060 <http://192.168.1.100:4060> -> 192.168.1.50:5060 
> <http://192.168.1.50:5060>*
>
>
> Kindly help and show the way forward.
>
>
> On Wed, Feb 6, 2013 at 11:35 PM, Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     Do you see any traffic reaching OpenSIPS presence ? it is opensips
>     sending the 501 ?
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>
>     On 02/06/2013 07:38 PM, garima sharma wrote:
>>     Hi
>>     I was trying to run opensips presence modile in standalone mode
>>     over port 5065.
>>     I want to make it act as an application server running with open
>>     IMS core.
>>     I tried the same by using the config file given in test directory.
>>     Now my opensips is starting without error. Similary, openIMS
>>     starts without error, but presence is not working.It gives 501
>>     error in SIP trace at wireshark.
>>     I thought i might be missing out some step. Thus, I wanted to
>>     know what is the correct procedure such that opensips presence
>>     modules workes as presence server with openIMS core.
>>     Regards
>>     Garima
>>
>>     On Wed, Feb 6, 2013 at 9:48 PM, Bogdan-Andrei Iancu
>>     <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>>
>>         Hi Garima,
>>
>>         What do you mean by "integrate opensips presence module with
>>         openIMS" ??
>>
>>         Regards,
>>
>>         Bogdan-Andrei Iancu
>>         OpenSIPS Founder and Developer
>>         http://www.opensips-solutions.com
>>
>>
>>         On 02/06/2013 07:00 AM, garima sharma wrote:
>>>
>>>         Hello
>>>
>>>         I am able to run openIMS server and opensips as presence
>>>         server individually.
>>>         Now as next step, I want to integrate opensips presence
>>>         module with openIMS.
>>>         I tried changing opensips.cfg file as per the link given below:
>>>
>>>         http://uctimsclient.berlios.de/presence_server_howto.html
>>>
>>>         But was unsuccessful. I have read many articles regarding
>>>         the same and now I am confused
>>>         how to start as some articles say we should configure
>>>         presence server in standalone mode without register module.
>>>         Others use register module. I have tried both the
>>>         configuration files but i am unsuccessful.
>>>
>>>         Kindly help me in integration by telling me how to start. My
>>>         opensips version is 1.7.0-1.
>>>
>>>         -- 
>>>         Thanks and Regards
>>>         Garima Sharma
>>>
>>>
>>>         _______________________________________________
>>>         Users mailing list
>>>         Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>>     -- 
>>     Thanks and Regards
>>     Garima Sharma 
>
>
>
>
> -- 
> Thanks and Regards
> Garima Sharma
>
>
>
> -- 
> Thanks and Regards
> Garima Sharma
>
>
> _______________________________________________
> 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/20130208/62072159/attachment-0001.htm>


More information about the Users mailing list