Hi, I've been working on starting a lab of end to end asterisk system and now most of pieces seem to be working. The two asterisk servers are connected by T1. Both servers have a couple of SIP phones connected and one of the servers has a FXS card with an analog phone hanging. I can make calls across the T1 link however there is one thing that I don't understand. I need to append one extra digit to get the correct extension number at the other end. For example, when I tried to call extension 2000 at the other end, I need to dial "92000x", where x can be anything between 0-9. Otherwise, if I dial "92000", the console says something like "extension 200 is not found". Also internal calls are normal. This looks very bizarre for me... How can I fix it? Lisa
Steven Critchfield
2004-Apr-28  13:38 UTC
[Asterisk-Users] Extra digit needed for outbound call
On Wed, 2004-04-28 at 14:49, Lisa Xie wrote:> Hi, > > I've been working on starting a lab of end to end asterisk system and > now most of pieces seem to be working. The two asterisk servers are > connected by T1. Both servers have a couple of SIP phones connected and > one of the servers has a FXS card with an analog phone hanging. > > I can make calls across the T1 link however there is one thing that I > don't understand. I need to append one extra digit to get the correct > extension number at the other end. For example, when I tried to call > extension 2000 at the other end, I need to dial "92000x", where x can be > anything between 0-9. Otherwise, if I dial "92000", the console says > something like "extension 200 is not found". > > Also internal calls are normal. > > This looks very bizarre for me... How can I fix it?Examine your dialplan. Post it here and maybe someone will point out what you are doing wrong. -- Steven Critchfield <critch@basesys.com>
Here is part of the files: "extensions.conf" for both of the servers
Asterisk server 1
[incoming]
include => internal
[internal]
exten => s,1,Playback(demo-congrats)
exten => 2000,1,Dial(SIP/2000,20)
exten => 2100,1,Dial,Zap/25
;outbound calls
ignorepat => 9
exten =>_9.,1,Dial(Zap/g1/${EXTEN:1})
Asterisk server 2
[incoming]
include => internal
[internal]
exten => s,1,Playback(demo-congrats)
exten => 2000,1,Dial(SIP/2000,20)
;outbound calls
ignorepat => 9
exten =>_9.,1,Dial(Zap/g1/${EXTEN:1})
Thanks!
Lisa
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Steven
Critchfield
Sent: Wednesday, April 28, 2004 4:39 PM
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Extra digit needed for outbound call
On Wed, 2004-04-28 at 14:49, Lisa Xie wrote:> Hi,
> 
> I've been working on starting a lab of end to end asterisk system and
> now most of pieces seem to be working. The two asterisk servers are
> connected by T1. Both servers have a couple of SIP phones connected
and> one of the servers has a FXS card with an analog phone hanging. 
> 
> I can make calls across the T1 link however there is one thing that I
> don't understand. I need to append one extra digit to get the correct
> extension number at the other end. For example, when I tried to call
> extension 2000 at the other end, I need to dial "92000x", where x
can
be> anything between 0-9. Otherwise, if I dial "92000", the console
says
> something like "extension 200 is not found". 
> 
> Also internal calls are normal. 
> 
> This looks very bizarre for me... How can I fix it?
Examine your dialplan. Post it here and maybe someone will point out
what you are doing wrong.
-- 
Steven Critchfield  <critch@basesys.com>
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@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