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
[EMAIL PROTECTED]  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:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 1:44 AM
To: Raymond Chen
Cc: [email protected]
Subject: Re: [Users] next_gw(): No ruri_user AVP

Hello,

On 02/14/06 13:43, Raymond Chen wrote:
[...]
if (!next_gw()) { rewriteuri("sip:[EMAIL PROTECTED]:443");
here you must call append_branch() so the rewriteuri() has the desired effect.

Cheers,
Daniel

t_relay(); return; };
        ...........






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



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

Reply via email to