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

Jan Janak jan at iptel.org
Sun Mar 28 19:35:37 CEST 2004


In the default configuration SER does usrloc lookup for URIs that match
uri==myself (which is probably the case of ourDomain.com).

  Jan.

On 11-03 09:44, Adel Al-Hezmi wrote:
> 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
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list