[Serusers] ser to pstn

alireza at panaisp.net alireza at panaisp.net
Sun Apr 11 21:18:51 CEST 2004


I used below configuration and it work great.

if (uri=~"^sip:[0-9]*@192.168.1.2") {
rewritehostport("192.168.1.1:5060");
forward(uri:host, uri:port);
};


Alireza
> What was the problem?
>
> Klaus
>
> james je wrote:
>> Hello all, i configured my ser and can make sip ua-->
>> ua calls now need to make calls to sip gateway.
>> if someone can please provide a sample config how i
>> can send my calls to a cisco gateway
>> for instance 1+ calls to be sent to gateway
>> 192.168.1.1
>> and where in ser.cfg would i put that. i have tried
>> the below w/o luck
>> # main routing logic
>>
>> route{
>>
>> if (uri=~"^sip:[0-9]*@192.168.1.2") {
>> forward( 192.168.1.1, 5060 );
>> };
>> thanks
>> for your help
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>>
>> _______________________________________________
>> 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
>




More information about the sr-users mailing list