[Serusers] Configuring SER
Suvendu Sethi
suvenduji at yahoo.co.in
Tue Nov 16 16:47:45 CET 2004
Try this ...on India side
if (method=="INVITE" && uri=~"^sip:5241[0-9]*@") {
rewritehost(US proxy server IP address);
forward(hostip,hostport);
break;
};
If you don't want to the prefixed digits then use
strip(4).
Hope this is useful.
Regards,
Suvendu.
--- Ritesh Jalan <ritesh.j at net4india.net> wrote:
> Hi!
>
> I am from India, we have a SIP server in USA which
> use to register on
> prefixes of 4 digit like if you want to call a no.
> 12127773456 then the sip
> message will look like
> 524112127773456 at 202.66.135.55, where 5241 is the 4
> digit prefix for authentication. Now I want to have
> a SIP proxy server at
> our end it self and it will redirect the uri to the
> destination gateway.
> How to do that? Any body have the configuration file
> for this configuration?
>
> Thanks
>
>
_______________________________________________________________
> Look out from OutLook and escape from Netscape
> Logon to: http://mail4india.com
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
More information about the sr-users
mailing list