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
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers