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:[email protected]>

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:[email protected]}

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

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

]

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:[email protected]: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:[email protected]}

Attempt to route with preloaded Route's 
[sip:[email protected]/sip:[email protected]/sip:[email protected]/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 <[email protected]>

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

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

Message-ID:

            <[email protected]>

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

 

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

> 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

<[email protected]>

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

Reply via email to