[Serusers] Forwarding problem INVITE messages to PSTN through a Gateway

Adel Al-Hezmi adel.al-hezmi at dai-labor.de
Thu Mar 11 09:44:04 CET 2004


Hi all,

SER could not forward an INVITE message originating from a SIP UA to our
PSTN gateway with URL: sip:12354 at ourDomain.com, but does with the URL:
sip:12345 at GatewayIP. The following if statement has been added into the
SER config file: 
		
if(uri=~"sip:[0-9]*@.*" &&(!(src_ip==130.149.159.196))){

	rewritehostport("130.149.159.196:4000");
	
	if (!t_relay()) {
		sl_reply_error();
	};				
	break;
};

In this case, SER sends the message "404 Not Found" to the SIP UA. What
could the problem be? Does anyone know?

Thanks,

Adel Al-Hezmi




More information about the sr-users mailing list