[Serusers] Problem strip and t_relay

Jan Janak jan at iptel.org
Wed Oct 1 13:25:14 CEST 2003


Could you, please, send us message dumps ? I'd like to see the message
ser receives and also the message it sends to the gateway. We use very
similar config file to strip leading characters and it works without any
problems.

You can use ngrep to make the message dumps.

  Jan.

On 30-09 21:20, Tropico Network wrote:
> Dear Ladies and Gentlemen,
> after installing the version 0.8.11 I am facing a strange problem:
> 
> In my dialing plan, all numbers starting with a 0 should go to a
> PSTN-gateway (172.16.0.101). So I have in my ser.cfg the following lines:
> 
> if (uri=~"^sip:0[0-9]*@") then {
>     strip(1);
>     rewritehostport(172.16.0.101:5060);
>     if (!t_relay()) {
>        bla;
> 	 bla;
>     };
> );
> 
> The router is sending the packet right to the GW, but including the leading
> 0, so that the call cannot be completed. With version 0.8.10-2 it was
> already working. What do I have to change, or is there maybe a small glitch
> in the software?
> 
> with kind regards
> 
> Juergen Peters
> Tropico Network
> General Manager
> Tel. ++504 440-1461
> fax. ++504 443-0660
> 
> 
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list