[Users] next_gw(): No ruri_user AVP

Raymond Chen rchen at broadz.com
Tue Feb 14 12:43:48 CET 2006


Dear all,

We have setup a noanswer call forwarding,  below is our configuration much
like the example from onsip.org

	if (t_check_status("(480)|(408)")) {
		if (avp_pushto("$ruri", "s:fwdnoanswer")) {
			avp_delete("s:fwdnoanswer");
			route(6);
			break;
		};
	};


        if (!load_gws()) {
                sl_send_reply("500", "Server Internal Error - Cannot load
gateways");
                return;
        };

         ...........

        if (!next_gw()) {               
                rewriteuri("sip:userbusy at 211.102.91.134:443");
                t_relay();              
                return;                         
        };   

	...........



We are not able to get result from next_gw() , debug as follow:

1(2604) load_gws(): DEBUG: Added gw_uri_avp <sip:@xxx.xxx.xxx.xxx:5060>
 1(2604) load_gws(): DEBUG: Added gw_uri_avp <sip:@xxx.xxx.xxx.xxx:5060>
 1(2604) does_uri_exit(): User in request uri does not exist
 1(2604) is_user_in(): User is in group 'local'
 1(2604) db_flags=3, flags=12
 1(2604) DEBUG:avpops:load_avps: loaded avps = 1
 1(2604) parse_headers: flags=ffffffffffffffff
 1(2604) DEBUG:avpops:pushto_avps: 1 avps were processed
 1(2604) next_gw(): No ruri_user AVP
 1(2604) ERROR:tm:t_forward_nonack: no branch for forwarding
 1(2604) ERROR: w_t_relay_to: t_relay_to failed


Any idea?

Thanks

Ray






More information about the Users mailing list