[OpenSIPS-Users] Error to subscribe message

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jun 29 16:00:38 CEST 2009


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:user_1 at ims.wimaxlab.com>
>
> 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:user_1 at ims.wimaxlab.com}
>
> Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: <To> [31]; 
> uri=[sip:user_1 at ims.wimaxlab.com]
>
> Jun 24 14:25:07 [7277] DBG:core:get_hdr_field: to body 
> [<sip:user_1 at ims.wimaxlab.com>
>
> ]
>
> 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:iscmark at scscf.ims.wimaxlab.com: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:kiran at ims.wimaxlab.com}
>
> Attempt to route with preloaded Route's 
> [sip:kiran at ims.wimaxlab.com/sip:user_1 at ims.wimaxlab.com/sip:user_1 at ims.wimaxlab.com/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 <ibc at aliax.net>
>
> Subject: Re: [OpenSIPS-Users] FW: Error to subscribe message
>
> Cc: "users at lists.opensips.org" <users at lists.opensips.org>
>
> Message-ID:
>
>             <cc1f582e0906241047hbdf8852h4b252cc99468100d at mail.gmail.com>
>
> Content-Type: text/plain; charset=UTF-8
>
>  
>
> 2009/6/24 Kiran Kumar <k.k.balasubramanyam at ftel.co.uk>:
>
> > 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
>
> <ibc at aliax.net>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list