[Serusers] routing question
Sean Watkins
sean at northrock.bm
Wed Jun 18 01:49:21 CEST 2003
Hi All,
I have a similar problem. However, I have no route(4).
Usually, what does one setup the config to look assuming there are a couple
of phones, and a gateway?
Sean
----- Original Message -----
From: "Jiri Kuthan" <jiri at iptel.org>
To: "Steve Blair" <blairs at isc.upenn.edu>; <serusers at lists.iptel.org>
Sent: Tuesday, June 17, 2003 4:02 PM
Subject: Re: [Serusers] routing question
> Steve,
>
> The fragment alone looks ok. It is hard to tell what script error
> you have from such a small script fragment and without seeing the
> messages. We would need both to judge what the problem is.
>
> -Jiri
>
> At 07:54 PM 6/17/2003, Steve Blair wrote:
>
> >Hello:
> >
> > I have some Cisco phones registered to SER running on
> >FreeBSD 4.7. Users of these phones want to dial a telephone
> >number and have the call correctly routed out to the PSTN
> >via a Cisco gateway on the network. The users of course
> >only key-in a telephone number. No domain name or
> >IP address. I thought the following code would correctly
> >append the IP address and port of the gateway to their
> >telephone number so the call could get routed correctly. This
> >is not working. Instead either the IP address of the calling
> >phone or the domain name for my domain is appended. Any
> >thought on how to correct this would be appreciated.
> >
> > # check if it's about PSTN destinations through our gateway;
> > if (uri=~"sip:9{10}")
> > {
> > route(4);
> > break;
> > };
> >
> > route[4]
> > .....
> > some account statements followed by
> > .....
> > rewritehostport("ip-address-of-pstn-gateway:5060");
> >
> >
> >Thanks,Steve
> >
> >_______________________________________________
> >Serusers mailing list
> >serusers at lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
>
> --
> Jiri Kuthan http://iptel.org/~jiri/
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
More information about the sr-users
mailing list