[Serusers] Problem strip and t_relay
Jiri Kuthan
jiri at iptel.org
Thu Oct 2 22:01:48 CEST 2003
Also, sending the complete config file would help -- the fragment you
are refering to may or may not be one which causes the problem.
-jiri
At 01:25 PM 10/1/2003, Jan Janak wrote:
>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
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
More information about the sr-users
mailing list