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@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@voice-system.ro] Sent: Tuesday, February 14, 2006 1:44 AM To: Raymond Chen Cc: Users@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@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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users