[OpenSIPS-Users] BAD URI After $ru and avp
    Ali Jawad 
    ali.jawad at splendor.net
       
    Thu Sep 25 14:42:13 CEST 2008
    
    
  
Hi
I am trying to change the Ruri as stated below 
 
DB usr_preferences
 
Domain=
Value=callfwd
Attribute=33179974674
 
if(avp_db_load("$ruri/username","$avp(s:callfwd)")){
                   xlog("L_INFO","X0XOXOXOXOXOXOXXOXOXOXXOXOXOXOXOX");
                   $ru = $avp(s:callfwd);
                   route(8);
                   exit;
};
 
It enters allright and it changes the rURI however It throws the errors
below:
 
Sep 25 13:31:23 [24879] DBG:avpops:db_close_query: close avp query
Sep 25 13:31:23 [24879] DBG:core:db_free_rows: freeing 1 rows
Sep 25 13:31:23 [24879] DBG:core:db_free_rows: row[0]=0x8187160
 
Sep 25 13:31:23 [24879] ERROR:core:do_action: bad uri <33179974674>,
dropping packet
 
Sep 25 13:31:23 [24879] DBG:core:parse_to: display={"9611375554"},
ruri={sip:9611375554 at xyz.com}
Sep 25 13:31:23 [24879] ERROR:core:parse_uri: bad uri,  state 0 parsed:
<3317> (4) / <33179974674> (25)
Sep 25 13:31:23 [24879] ERROR:core:parse_sip_msg_uri: bad uri
<33179974674 at 33.33.33.33>
Sep 25 13:31:23 [24879] DBG:core:set_err_info: ec: 1, el: 3, ei: 'error
parsing r-uri'
Sep 25 13:31:23 [24879] ERROR:tm:new_t: uri invalid
 
 
With Regards
 
Ali Jawad
System Administrator
Splendor Telecom (www.splendor.net)
Beirut, Lebanon
Phone: +961 1 373725
Fax: + 961 1 375554
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20080925/e357c050/attachment.htm 
    
    
More information about the Users
mailing list