Hi all,
SER could not forward an INVITE message originating from a SIP UA to our PSTN gateway with URL: sip:12354@ourDomain.com, but does with the URL: sip:12345@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
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@ourDomain.com, but does with the URL: sip:12345@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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers