[Users] next_gw(): No ruri_user AVP

Raymond Chen rchen at broadz.com
Wed Feb 15 12:14:30 CET 2006


Hi Bogdan,

Here is the debug

1(2584) load_gws(): DEBUG: Added gw_uri_avp <sip:@xxx.xxx.xxx.138:5060>
 1(2584) load_gws(): DEBUG: Added gw_uri_avp <sip:@xxx.xxx.xxx.139:5060>
 1(2584) DEBUG:avpops:print_avp: p=0xf4f167c8, flags=2
 1(2584) DEBUG:                 id=<1400>
 1(2584) DEBUG:                 val_str=<sip:@xxx.xxx.xxx.139:5060>
 1(2584) DEBUG:avpops:print_avp: p=0xf4f16790, flags=2
 1(2584) DEBUG:                 id=<1400>
 1(2584) DEBUG:                 val_str=<sip:@xxx.xxx.xxx.138:5060>
 1(2584) does_uri_exit(): User in request uri does not exist
 1(2584) is_user_in(): User is in group 'local'
 1(2584) db_flags=3, flags=12
1(2584) DEBUG:avpops:print_avp: p=0xf4f167f8, flags=B
1(2584) DEBUG:                 id=<1400>
 1(2584) DEBUG:                 val_str=<sip:@xxx.xxx.xxx.139:5060>
 1(2584) DEBUG:avpops:print_avp: p=0xf4f16790, flags=2
 1(2584) DEBUG:                 id=<1400>
 1(2584) DEBUG:                 val_str=<sip:@xxx.xxx.xxx.xxx:5060>
 1(2584) next_gw(): No ruri_user AVP



Raymond


-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro] 
Sent: Tuesday, February 14, 2006 10:55 AM
To: Raymond Chen
Cc: daniel at voice-system.ro; Users at openser.org
Subject: Re: [Users] next_gw(): No ruri_user AVP

Hi Ray,

use avp_print() after the load_gw() to see what avps were loaded and 
again just before next_gw() to see the available avp.
this will help to see if it's a problem at the load or search part.

regards,
bogdan

Raymond Chen wrote:

>Hi Daniel,
>
>The problem we have is not about next_gw forward to
>userbusy at xxx.xxx.xxx.xxx.  We have no problem with load_gw, it loads two
>gateways against ruri_user correctly.  but when next_gw called, it saids 
>
>next_gw(): No ruri_user AVP
>
>looks like ruri_user avp is not saved when load_gw was called.  So next_gw
>can't find the ruri_user avp.   
>
>Thanks
>
>Ray
>
>
>-----Original Message-----
>From: Daniel-Constantin Mierla [mailto:daniel at voice-system.ro] 
>Sent: Tuesday, February 14, 2006 1:44 AM
>To: Raymond Chen
>Cc: Users at openser.org
>Subject: Re: [Users] next_gw(): No ruri_user AVP
>
>Hello,
>
>On 02/14/06 13:43, Raymond Chen wrote:
>  
>
>>[...]
>>        if (!next_gw()) {               
>>                rewriteuri("sip:userbusy at 211.102.91.134:443");
>>  
>>    
>>
>here you must call append_branch() so the rewriteuri() has the desired 
>effect.
>
>Cheers,
>Daniel
>
>  
>
>>                t_relay();              
>>                return;                         
>>        };   
>>
>>	...........
>>
>>
>>  
>>    
>>
>
>
>
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>  
>








More information about the Users mailing list