[Users] next_gw(): No ruri_user AVP

Raymond Chen rchen at broadz.com
Wed Feb 15 07:24:48 CET 2006


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;                         
>         };   
>
> 	...........
>
>
>   







More information about the Users mailing list