[Serusers] forward to PSTN

Andrzej Radke radan at nasty.gda.pl
Wed May 7 14:12:29 CEST 2003


Hello again ;)

I'd like forward all numerical URI to my PSTN gateway

if (uri=~"^sip:[0-9]*@gda.pl") {
	forward(10.10.10.1, 5060);
};

But if I haven't numerical user in my contact i.e 
<sip:2411 at 10.10.10.1>;q=1.00;expires=1073143945
it doesn't works.

This statement ( if (uri......) is unnecesary :(
when I will add new permament contact for numerical URI.

Do I all my numbers write statically to contact ????
What can I do when I have their  a hundreds ??
Maybe should I add some config peer for my PSTN Gateway (C2600) ??

Greetings
Andrzej Radke




More information about the sr-users mailing list