[Serusers] Ser forwarding calls to cisco pstn

Alan Crosswell alan at columbia.edu
Wed Jan 7 17:39:38 CET 2004


Try this:

/* ********** Dial out to PSTN logic ************* */


                 # 5 Digit dialing, interior calls
                 if (uri=~"^sip:[1347][0-9]{4}@columbia\.edu") {
                         rewritehostport("128.59.59.242:5060");
                         log(1,"5 digit expression match");
                         route(2);
                         break;
                 };


		# 10 Digit dialing with outlide line
		if (uri=~"^sip:931[0-9]{10}@columbia\.edu") {
	        	if(!(src_ip=="128.59.59.242")
			& !(proxy_authorize("columbia.edu","subscriber"))) {
			proxy_challenge("columbia.edu", "1");
			break;

		} else {
                         rewritehostport("128.59.59.242:5060");
                         log(1," 93 Outside line with 10 digit expression match");
                         route(2);
                         break;
		};



Fábio Silvestri wrote:
> Hello!
> 
> I'm trying to setup SER to forward calls to a cisco pstn (AS53xx), and 
> have some dificults.
> 
> Well, I'm get confused about Ser configs to do this, so maibe somebody 
> can help-me!
> 
> I have some clients, using Cisco ATA-186 trying to logging on my Ser 
> server, and
> I want to forward the calls to our PSTN, across dial plan.
> 
> Now I have a Ser working and registering clients (I think), but I can't 
> do Ser to interact with Cisco,
> 
> How can I do configure the ser.cfg, maibe someone ser.cfg with samples 
> will be helpful.
> 
> Regards.
> 




More information about the sr-users mailing list