No subject
Tue Sep 5 14:32:44 MST 2006
the sip phone and the analog phone with no problem.=20
Below is the console output from Asterisk when I tried to call the same
extension using both the sip phone and the analog phone.=20
Also my configuration files are attached: zapata.conf, zaptel.conf,
extensions.conf.=20
Thanks for your help.
Lisa
~~~~~~~Console output from Asterisk~~~~~~~
*CLI>=20
-- Executing Dial("SIP/2001-2445", "Zap/g1/5555222") in new stack
-- Called g1/5555222
-- Zap/1-1 answered SIP/2001-2445
-- Hungup 'Zap/1-1'
=3D=3D Spawn extension (internal, 95555222, 1) exited non-zero on
'SIP/2001-2445'
-- Starting simple switch on 'Zap/26-1'
-- Executing Dial("Zap/26-1", "Zap/g1/5555222") in new stack
-- Called g1/5555222
-- Zap/1-1 answered Zap/26-1
-- Attempting native bridge of Zap/26-1 and Zap/1-1
-- Hungup 'Zap/1-1'
=3D=3D Spawn extension (internal, 95555222, 1) exited non-zero on
'Zap/26-1'
-- Hungup 'Zap/26-1'
~~~~~~~My configuration files are here~~~~~~~
---Zaptel.conf---
#add t100 card=20
span=3D1,0,0,esf,b8zs
e&m=3D1-24
loadzone =3D us
defaultzone=3Dus
#add tdm20b card
fxoks=3D25-26
---Zapata.conf----
;add for t100 card
signalling=3Dem_w
context=3Dincoming
group=3D1
immediate=3Dyes
channel =3D> 1-24
;add for tdm20b card
signalling=3Dfxo_ks
context=3Dinternal
channel=3D>25-26
---Extensions.conf---
[incoming]
exten =3D> _XXX2001.,1,Dial(SIP/2001,20)
exten =3D> _XXX2101.,1,Dial,Zap/26
include =3D> internal
[internal]
exten =3D> s,1,Playback(demo-congrats)
exten =3D> 2001,1,Dial(SIP/2001,20)
exten =3D> 2100,1,Dial,Zap/25
exten =3D> 2101,1,Dial,Zap/26
;outbound calls
exten =3D>_9.,1,Dial(Zap/g1/${EXTEN:1})
-----Original Message-----
From: Lisa Xie=20
Sent: Wednesday, April 28, 2004 5:51 PM
To: 'asterisk-users at lists.digium.com'
Subject: RE: [Asterisk-Users] Extra digit needed for outbound call
Here is part of the files: "extensions.conf" for both of the servers
Asterisk server 1
[incoming]
include =3D> internal
[internal]
exten =3D> s,1,Playback(demo-congrats)
exten =3D> 2000,1,Dial(SIP/2000,20)
exten =3D> 2100,1,Dial,Zap/25
;outbound calls
ignorepat =3D> 9
exten =3D>_9.,1,Dial(Zap/g1/${EXTEN:1})
Asterisk server 2
[incoming]
include =3D> internal
[internal]
exten =3D> s,1,Playback(demo-congrats)
exten =3D> 2000,1,Dial(SIP/2000,20)
;outbound calls
ignorepat =3D> 9
exten =3D>_9.,1,Dial(Zap/g1/${EXTEN:1})
Thanks!
Lisa
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Steven
Critchfield
Sent: Wednesday, April 28, 2004 4:39 PM
To: asterisk-users at 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,
>=20
> 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.=20
>=20
> 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".=20
>=20
> Also internal calls are normal.=20
>=20
> 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.
--=20
Steven Critchfield <critch at basesys.com>
_______________________________________________
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