I am confused. what do you expect to happen when you call the PSTN? let's say you call "023459823" (assuming you are in a country where dialing codes begin with 0)
first of all, why do you have 2 lines that match the same extension and tell asterisk to do different things? I am referring to these 2: exten=>_0.,1,Dial(Zap/1/SIP/197,20,tT) exten=>_0.,1,Dial(Zap/1/SIP/198,20,tT) Let's say the second one is operative. I dont understand how this is supposed to dial out on the zap channel. take a look here: http://www.voip-info.org/tiki-index.php?page=Asterisk+config+extensions.conf this should help you sort things out. Personally, i would define an incoming context and an outgoing context separately, but that's just a preference. -yair On 8/16/05, Appan KH <[EMAIL PROTECTED]> wrote: > The Dial plan is given below > > [incoming] > > exten => 197,1,Dial(SIP/197,20,tr) > exten => 197,2,Hangup > exten => 198,1,Dial(SIP/198,20,tr) > exten => 198,2,Hangup > > > exten=>_0.,1,Dial(Zap/1/SIP/197,20,tT) > exten=>_0.,1,Dial(Zap/1/SIP/198,20,tT) > > > appan kh > > ----- Original Message ----- > From: "Yair Hakak" <[EMAIL PROTECTED]> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > <[email protected]> > Sent: Tuesday, August 16, 2005 11:45 AM > Subject: Re: [Asterisk-Users] SIP exten to PSTN calls > > > post your dialplan, it's pretty safe to say that's where the problem is. > without it, there's no way to help you. > > -yair > > On 8/16/05, Appan KH <[EMAIL PROTECTED]> wrote: > > Hi, > > I had configured Asterisk with the following > > 1). X100P - Card > > 2). Two -Greadstream100 SIP Phones. > > I am able to make calls from SIP Ext to SIP Ext and PSTN calls from > > outside > > to SIP Extn. > > But I am not able to make calls from SIP Extn to PSTN out going calls-it > > gives BT error message- The number you had dialled not recognised. > > The SIP extn is not sending the correct number. > > I will be thank full if some solutions is suggested. > > > > appan kh > > > > > > _______________________________________________ > > Asterisk-Users mailing list > > [email protected] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
