[Asterisk-Users] SIP exten to PSTN calls
Yair Hakak
yhakak at gmail.com
Tue Aug 16 04:39:34 MST 2005
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 <appan at softswitches.net> 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" <yhakak at gmail.com>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> <asterisk-users at lists.digium.com>
> 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 <appan at softswitches.net> 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
> > Asterisk-Users at lists.digium.com
> > 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
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
More information about the asterisk-users
mailing list