Re: Error to subscribe message

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Error to subscribe message

Kiran Kumar-4-3

Hi,

 

I did not completely understand what I should add in the alias.

 

The below is the transcript of the logs that I am seeing on opensips.

 

Jun 24 14:25:07 [7277] DBG:core:parse_msg:  method:  <SUBSCRIBE>

Jun 24 14:25:07 [7277] DBG:core:parse_msg:  uri:     <sip:[hidden email]>

Jun 24 14:25:07 [7277] DBG:core:parse_msg:  version: <SIP/2.0>

Jun 24 14:25:07 [7277] DBG:core:parse_headers: flags=2

Jun 24 14:25:07 [7277] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK0325.f1f6a745.0>; state=16

Jun 24 14:25:07 [7277] DBG:core:parse_via: end of header reached, state=5

Jun 24 14:25:07 [7277] DBG:core:parse_headers: via found, flags=2

Jun 24 14:25:07 [7277] DBG:core:parse_headers: this is the first via

Jun 24 14:25:07 [7277] DBG:core:receive_msg: After parse_msg...

Jun 24 14:25:07 [7277] DBG:core:receive_msg: preparing to run routing scripts...

Jun 24 14:25:07 [7277] DBG:maxfwd:is_maxfwd_present: value = 9

Jun 24 14:25:07 [7277] DBG:core:parse_headers: flags=8

Jun 24 14:25:07 [7277] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK0325.55278e3.0>; state=16

Jun 24 14:25:07 [7277] DBG:core:parse_via: end of header reached, state=5

Jun 24 14:25:07 [7277] DBG:core:parse_headers: via found, flags=8

Jun 24 14:25:07 [7277] DBG:core:parse_headers: parse_headers: this is the second via

Jun 24 14:25:07 [7277] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK0325.d1f6a745.0>; state=16

Jun 24 14:25:07 [7277] DBG:core:parse_via: end of header reached, state=5

Jun 24 14:25:07 [7277] DBG:core:parse_headers: via found, flags=8

Jun 24 14:25:07 [7277] DBG:core:parse_to: end of header reached, state=10

Jun 24 14:25:07 [7277] DBG:core:parse_to: display={}, ruri={sip:[hidden email]}

Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: <To> [31]; uri=[sip:[hidden email]]

Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: to body [<sip:[hidden email]>

]

Jun 24 14:25:07 [7277] DBG:uri:has_totag: no totag

Jun 24 14:25:07 [7277] DBG:core:parse_headers: flags=78

Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: cseq <CSeq>: <2> <SUBSCRIBE>

Jun 24 14:25:07 [7277] DBG:tm:t_lookup_request: start searching: hash=21040, isACK=0

Jun 24 14:25:07 [7277] DBG:tm:matching_3261: RFC3261 transaction matching failed

Jun 24 14:25:07 [7277] DBG:tm:t_lookup_request: no transaction found

Jun 24 14:25:07 [7277] DBG:core:parse_headers: flags=200

Jun 24 14:25:07 [7277] DBG:rr:is_preloaded: is_preloaded: Yes

Jun 24 14:25:07 [7277] DBG:core:grep_sock_info: checking if host==us: 9==9 &&  [127.0.0.1] == [127.0.0.1]

Jun 24 14:25:07 [7277] DBG:core:grep_sock_info: checking if port 7060 matches port 7060

Jun 24 14:25:07 [7277] DBG:rr:after_loose: Topmost route URI: 'sip:127.0.0.1:7060;lr' is me

Jun 24 14:25:07 [7277] DBG:rr:after_loose: URI to be processed: 'sip:[hidden email]:6060;lr;s=1;h=0;d=2;a=7369703a757365725f3140696d732e77696d61786c61622e636f6d'

Jun 24 14:25:07 [7277] DBG:rr:after_loose: Next URI is a loose router

Jun 24 14:25:07 [7277] DBG:core:parse_to_param: tag=ea7a4226

Jun 24 14:25:07 [7277] DBG:core:parse_to: end of header reached, state=29

Jun 24 14:25:07 [7277] DBG:core:parse_to: display={}, ruri={sip:[hidden email]}

Attempt to route with preloaded Route's [sip:[hidden email]/sip:[hidden email]/sip:[hidden email]/ZjdmOGNjOTIwNTNlMTJmOGFjZjQzYzUwOGVjOTMzNzk.]Jun 24 14:25:07 [7277] DBG:core:parse_headers: flags=ffffffffffffffff

Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: content_length=0

Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: found end of header

Jun 24 14:25:07 [7277] DBG:core:check_via_address: params 10.142.139.4, 10.142.139.4, 0

Jun 24 14:25:07 [7277] DBG:core:destroy_avp_list: destroying list (nil)

Jun 24 14:25:07 [7277] DBG:core:receive_msg: cleaning up

 

Message: 2

Date: Wed, 24 Jun 2009 19:47:44 +0200

From: I?aki Baz Castillo <[hidden email]>

Subject: Re: [OpenSIPS-Users] FW: Error to subscribe message

Cc: "[hidden email]" <[hidden email]>

Message-ID:

            <[hidden email]>

Content-Type: text/plain; charset=UTF-8

 

2009/6/24 Kiran Kumar <[hidden email]>:

> Hi,

> 

> I am trying to setup presence server on the new version and I am getting an error "403 Preload Route denied" when a subscribe message is sent.

> 

> Please help me to solve this problem.

 

The SUBSCRIBE contains a Route header and the IP or domain in that

Route header is not local to OpenSIPS.

Make sure you have added that domain with "alias" parameter (or you

can use "domain" module).

 

--

I?aki Baz Castillo

<[hidden email]>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Error to subscribe message

Iñaki Baz Castillo
El Jueves, 25 de Junio de 2009, Kiran Kumar escribió:
> Hi,
>  
> I did not completely understand what I should add in the alias.

Sorry, I don't read mails written in blue. Please use plain text.

--
Iñaki Baz Castillo <[hidden email]>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Error to subscribe message

Bogdan-Andrei Iancu
In reply to this post by Kiran Kumar-4-3
Hi Kiran,

Your SUBSCRIBER contains:
 RURI: ims.wimaxlab.com
 Route: scscf.ims.wimaxlab.com:6060

I gues both ims.xxxxxx  scscf.ims.xxxxxxx point to the same machine,
right ? if so, just add in the begining of your script:
    alias="cscf.ims.wimaxlab.com:6060"

Regards,
Bogdan

Kiran Kumar wrote:

>
> Hi,
>
>  
>
> I did not completely understand what I should add in the alias.
>
>  
>
> The below is the transcript of the logs that I am seeing on opensips.
>
>  
>
> Jun 24 14:25:07 [7277] DBG:core:parse_msg:  method:  <SUBSCRIBE>
>
> Jun 24 14:25:07 [7277] DBG:core:parse_msg:  uri:    
> <sip:[hidden email]>
>
> Jun 24 14:25:07 [7277] DBG:core:parse_msg:  version: <SIP/2.0>
>
> Jun 24 14:25:07 [7277] DBG:core:parse_headers: flags=2
>
> Jun 24 14:25:07 [7277] DBG:core:parse_via_param: found param type 232,
> <branch> = <z9hG4bK0325.f1f6a745.0>; state=16
>
> Jun 24 14:25:07 [7277] DBG:core:parse_via: end of header reached, state=5
>
> Jun 24 14:25:07 [7277] DBG:core:parse_headers: via found, flags=2
>
> Jun 24 14:25:07 [7277] DBG:core:parse_headers: this is the first via
>
> Jun 24 14:25:07 [7277] DBG:core:receive_msg: After parse_msg...
>
> Jun 24 14:25:07 [7277] DBG:core:receive_msg: preparing to run routing
> scripts...
>
> Jun 24 14:25:07 [7277] DBG:maxfwd:is_maxfwd_present: value = 9
>
> Jun 24 14:25:07 [7277] DBG:core:parse_headers: flags=8
>
> Jun 24 14:25:07 [7277] DBG:core:parse_via_param: found param type 232,
> <branch> = <z9hG4bK0325.55278e3.0>; state=16
>
> Jun 24 14:25:07 [7277] DBG:core:parse_via: end of header reached, state=5
>
> Jun 24 14:25:07 [7277] DBG:core:parse_headers: via found, flags=8
>
> Jun 24 14:25:07 [7277] DBG:core:parse_headers: parse_headers: this is
> the second via
>
> Jun 24 14:25:07 [7277] DBG:core:parse_via_param: found param type 232,
> <branch> = <z9hG4bK0325.d1f6a745.0>; state=16
>
> Jun 24 14:25:07 [7277] DBG:core:parse_via: end of header reached, state=5
>
> Jun 24 14:25:07 [7277] DBG:core:parse_headers: via found, flags=8
>
> Jun 24 14:25:07 [7277] DBG:core:parse_to: end of header reached, state=10
>
> Jun 24 14:25:07 [7277] DBG:core:parse_to: display={},
> ruri={sip:[hidden email]}
>
> Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: <To> [31];
> uri=[sip:[hidden email]]
>
> Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: to body
> [<sip:[hidden email]>
>
> ]
>
> Jun 24 14:25:07 [7277] DBG:uri:has_totag: no totag
>
> Jun 24 14:25:07 [7277] DBG:core:parse_headers: flags=78
>
> Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: cseq <CSeq>: <2>
> <SUBSCRIBE>
>
> Jun 24 14:25:07 [7277] DBG:tm:t_lookup_request: start searching:
> hash=21040, isACK=0
>
> Jun 24 14:25:07 [7277] DBG:tm:matching_3261: RFC3261 transaction
> matching failed
>
> Jun 24 14:25:07 [7277] DBG:tm:t_lookup_request: no transaction found
>
> Jun 24 14:25:07 [7277] DBG:core:parse_headers: flags=200
>
> Jun 24 14:25:07 [7277] DBG:rr:is_preloaded: is_preloaded: Yes
>
> Jun 24 14:25:07 [7277] DBG:core:grep_sock_info: checking if host==us:
> 9==9 &&  [127.0.0.1] == [127.0.0.1]
>
> Jun 24 14:25:07 [7277] DBG:core:grep_sock_info: checking if port 7060
> matches port 7060
>
> Jun 24 14:25:07 [7277] DBG:rr:after_loose: Topmost route URI:
> 'sip:127.0.0.1:7060;lr' is me
>
> Jun 24 14:25:07 [7277] DBG:rr:after_loose: URI to be processed:
> 'sip:[hidden email]:6060;lr;s=1;h=0;d=2;a=7369703a757365725f3140696d732e77696d61786c61622e636f6d'
>
> Jun 24 14:25:07 [7277] DBG:rr:after_loose: Next URI is a loose router
>
> Jun 24 14:25:07 [7277] DBG:core:parse_to_param: tag=ea7a4226
>
> Jun 24 14:25:07 [7277] DBG:core:parse_to: end of header reached, state=29
>
> Jun 24 14:25:07 [7277] DBG:core:parse_to: display={},
> ruri={sip:[hidden email]}
>
> Attempt to route with preloaded Route's
> [sip:[hidden email]/sip:[hidden email]/sip:[hidden email]/ZjdmOGNjOTIwNTNlMTJmOGFjZjQzYzUwOGVjOTMzNzk.]Jun
> 24 14:25:07 [7277] DBG:core:parse_headers: flags=ffffffffffffffff
>
> Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: content_length=0
>
> Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: found end of header
>
> Jun 24 14:25:07 [7277] DBG:core:check_via_address: params
> 10.142.139.4, 10.142.139.4, 0
>
> Jun 24 14:25:07 [7277] DBG:core:destroy_avp_list: destroying list (nil)
>
> Jun 24 14:25:07 [7277] DBG:core:receive_msg: cleaning up
>
>  
>
> Message: 2
>
> Date: Wed, 24 Jun 2009 19:47:44 +0200
>
> From: I?aki Baz Castillo <[hidden email]>
>
> Subject: Re: [OpenSIPS-Users] FW: Error to subscribe message
>
> Cc: "[hidden email]" <[hidden email]>
>
> Message-ID:
>
>             <[hidden email]>
>
> Content-Type: text/plain; charset=UTF-8
>
>  
>
> 2009/6/24 Kiran Kumar <[hidden email]>:
>
> > Hi,
>
> >
>
> > I am trying to setup presence server on the new version and I am
> getting an error "403 Preload Route denied" when a subscribe message
> is sent.
>
> >
>
> > Please help me to solve this problem.
>
>  
>
> The SUBSCRIBE contains a Route header and the IP or domain in that
>
> Route header is not local to OpenSIPS.
>
> Make sure you have added that domain with "alias" parameter (or you
>
> can use "domain" module).
>
>  
>
> --
>
> I?aki Baz Castillo
>
> <[hidden email]>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users