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

garima sharma garima.sharma16 at gmail.com
Fri Feb 8 04:55:59 CET 2013


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)
filter: (ip or ip6) and ( port 5060 )
#
U 192.168.1.100:4060 -> 192.168.1.50:5060

.
#
U 192.168.1.50:5060 -> 192.168.1.100:4060
PUBLISH sip:alice at open-ims.test SIP/2.0.
Call-ID: 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 -> 192.168.1.50:5060
SIP/2.0 403 Preload Route denied.
Call-ID: 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 -> 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>wrote:

> **
> Do you see any traffic reaching OpenSIPS presence ? it is opensips sending
> the 501 ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://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>wrote:
>
>>  Hi Garima,
>>
>> What do you mean by "integrate opensips presence module with openIMS" ??
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developerhttp://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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
> Thanks and Regards
> Garima Sharma
>
>


-- 
Thanks and Regards
Garima Sharma



-- 
Thanks and Regards
Garima Sharma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130208/e43f8e8b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensips.cfg
Type: application/octet-stream
Size: 10683 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20130208/e43f8e8b/attachment-0001.obj>


More information about the Users mailing list