[Serusers] gateway config help!
Jan Janak
jan at iptel.org
Tue May 13 11:30:53 CEST 2003
On 13-05 11:27, Jan Janak wrote:
> Hello,
>
> first, write a proper regular expression. The expression should match
> hostname AND IP address of your server in the domain. Also don't forget
> to put backslashes before dots because dots are substitution characters
> in regular expressions. You can use for example something like this:
>
> if (uri=~"sip:[0-9]+@(your\.domain|10\.1\.1\.22)") {
> t_relay_udp("10.1.1.240", "5060");
Sorry, I made a mistake, the function name should be t_relay_to_udp
Jan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20030513/3d70b312/attachment.pgp>
More information about the sr-users
mailing list