[Serusers] Problem using PSTN.

gc garych at unidial.com
Tue Jun 8 16:48:15 CEST 2004


Sorry for the misspell. I did have "^SIP:" in there. I tried forward(),
t_relay_to_udp() , t_relay_to(). None of them work. I also used ngrep to
display the sip messages. it seems the message never get forward to PSTN
gateway. Although I can directly connect to PSTN gateway with my sip phone
and make phone call. How can I debug this thing?

gary
----- Original Message ----- 
From: "Jan Janak" <jan at iptel.org>
To: "gc" <garych at unidial.com>
Cc: <serusers at lists.iptel.org>
Sent: Tuesday, June 08, 2004 5:42 AM
Subject: Re: [Serusers] Problem using PSTN.


> The reqular expression is not correct, it should be something like this:
>
> if (uri =~ "^sip:1.*")
>
>   Jan.
>
> On 07-06 09:15, gc wrote:
> > I am having problem using PSTN(AS5300). I have a VOCAL setup on the same
machine and PSTN works fine with VOCAL. Now I want to test SER on the same
machine. I shut down VOCAL and start SER. I can make SIP to SIP calls but
can not make SIP to PSTN call. In my ser.cfg, I redirect all the calls
starting with 1 to the PSTN like this:
> > if (uri=~"^1.*"){
> > log(1,"Forwarding to PSTN\n");
> > record_reoute();
> > rewritehostport("PSTN IP:PORT");
> > };
> >
> > Do I need any specific module for PSTN to work? How can I debug this?
> >
> > Gary
> >
>
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
>




More information about the sr-users mailing list