Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Newbie dialplan: dial 0 for outside line


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue Mar 04, 2008 11:51 pm    Post subject: [asterisk-users] Newbie dialplan: dial 0 for outside line Reply with quote

I just managed to put in a TE410 card in an Asterisk box to work with
OnRamp 20(E1 downunder). I am able to dial in but was not able to dial
out.

Can anyone offer me some advice please?

In my extensions.conf, I just put in:

[default]
...
exten => 0,1,Dial(Zap/g1)

and I get this on the console when I dialled 0.

-- Executing [0 at default:1] Dial("SIP/5166-b76004f8", "Zap/g1") in new
stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1LI>
-- Channel 0/1, span 1 got hangup, cause 100
-- Hungup 'Zap/1-1'
[Mar 5 15:37:01] NOTICE[10479]: cdr.c:434 ast_cdr_free: CDR on channel
'Zap/1-1' not posted
== Everyone is busy/congested at this time (1:0/0/1)
== Auto fallthrough, channel 'SIP/5166-b76004f8' status is 'CHANUNAVAIL'

The following is my set up:
----------------------------------- -----------------
# vi /etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=1-15
bchan=17-21
unused=22-31
dchan=16
loadzone=au
defaultzone=au
----------------------------------- -----------------
[channels]
language=en
context=default

switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=unknown
overlapdial=yes
priindication=outofband

signalling=pri_cpe

rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
restrictcid=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes

echocancel=yes
echocancelwhenbridged=yes
echotraining=yes

rxgain=-3.0
txgain=-6.0

callgroup=1
pickupgroup=1
immediate=no

group=1
channel => 1-15
channel => 17-21
----------------------------------- -----------------
*CLI> pri show spans
PRI span 1/0: Provisioned, Up, Active
----------------------------------- -----------------
*CLI> zap show channels
Chan Extension Context Language MOH Interpret
pseudo default en default
1 default en default
2 default en default
...
14 default en default
15 default en default
17 default en default
...
20 default en default
21 default en default
----------------------------------- -----------------
# cat /proc/zaptel/1
Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" HDB3/CCS/CRC4
Timing slips: 556

1 TE4/0/1/1 Clear (In use)
2 TE4/0/1/2 Clear (In use)
...
15 TE4/0/1/15 Clear (In use)
16 TE4/0/1/16 HDLCFCS (In use)
17 TE4/0/1/17 Clear (In use)
...
21 TE4/0/1/21 Clear (In use)
22 TE4/0/1/22 Clear
...
31 TE4/0/1/31 Clear
Back to top
breeves at txaug.net
Guest





PostPosted: Wed Mar 05, 2008 12:53 am    Post subject: [asterisk-users] Newbie dialplan: dial 0 for outside line Reply with quote

John,

Try changing the entry in extensions.conf to Dial(Zap/g1/0). you need
to specify what the dial command should send on the ZAP channel.

On Tue, Mar 4, 2008 at 10:51 PM, Lee, John (Sydney)
<John.Lee at compuware.com> wrote:
Quote:
I just managed to put in a TE410 card in an Asterisk box to work with
OnRamp 20(E1 downunder). I am able to dial in but was not able to dial
out.

Can anyone offer me some advice please?

In my extensions.conf, I just put in:

[default]
...
exten => 0,1,Dial(Zap/g1)

and I get this on the console when I dialled 0.

-- Executing [0 at default:1] Dial("SIP/5166-b76004f8", "Zap/g1") in new
stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1LI>
-- Channel 0/1, span 1 got hangup, cause 100
-- Hungup 'Zap/1-1'
[Mar 5 15:37:01] NOTICE[10479]: cdr.c:434 ast_cdr_free: CDR on channel
'Zap/1-1' not posted
== Everyone is busy/congested at this time (1:0/0/1)
== Auto fallthrough, channel 'SIP/5166-b76004f8' status is 'CHANUNAVAIL'

The following is my set up:
----------------------------------- -----------------
# vi /etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=1-15
bchan=17-21
unused=22-31
dchan=16
loadzone=au
defaultzone=au
----------------------------------- -----------------
[channels]
language=en
context=default

switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=unknown
overlapdial=yes
priindication=outofband

signalling=pri_cpe

rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
restrictcid=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes

echocancel=yes
echocancelwhenbridged=yes
echotraining=yes

rxgain=-3.0
txgain=-6.0

callgroup=1
pickupgroup=1
immediate=no

group=1
channel => 1-15
channel => 17-21
----------------------------------- -----------------
*CLI> pri show spans
PRI span 1/0: Provisioned, Up, Active
----------------------------------- -----------------
*CLI> zap show channels
Chan Extension Context Language MOH Interpret
pseudo default en default
1 default en default
2 default en default
...
14 default en default
15 default en default
17 default en default
...
20 default en default
21 default en default
----------------------------------- -----------------
# cat /proc/zaptel/1
Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" HDB3/CCS/CRC4
Timing slips: 556

1 TE4/0/1/1 Clear (In use)
2 TE4/0/1/2 Clear (In use)
...
15 TE4/0/1/15 Clear (In use)
16 TE4/0/1/16 HDLCFCS (In use)
17 TE4/0/1/17 Clear (In use)
...
21 TE4/0/1/21 Clear (In use)
22 TE4/0/1/22 Clear
...
31 TE4/0/1/31 Clear

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
Bruce Reeves
Back to top
Guest






PostPosted: Wed Mar 05, 2008 1:09 am    Post subject: [asterisk-users] Newbie dialplan: dial 0 for outside line Reply with quote

Thanks Bruce.

exten => 0,1,Dial(Zap/g1/0) does not work.
exten => 0,1,Dial(Zap/g1/${EXTEN:1)) works.

Quote:
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
bounces at lists.digium.com] On Behalf Of Bruce Reeves
Sent: Wednesday, 5 March 2008 4:54 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Newbie dialplan: dial 0 for outside line

John,

Try changing the entry in extensions.conf to Dial(Zap/g1/0). you need
to specify what the dial command should send on the ZAP channel.

On Tue, Mar 4, 2008 at 10:51 PM, Lee, John (Sydney)
<John.Lee at compuware.com> wrote:
Quote:
I just managed to put in a TE410 card in an Asterisk box to work
with
Quote:
Quote:
OnRamp 20(E1 downunder). I am able to dial in but was not able to
dial
Quote:
Quote:
out.

Can anyone offer me some advice please?

In my extensions.conf, I just put in:

[default]
...
exten => 0,1,Dial(Zap/g1)

and I get this on the console when I dialled 0.

-- Executing [0 at default:1] Dial("SIP/5166-b76004f8", "Zap/g1") in
new
Quote:
Quote:
stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1LI>
-- Channel 0/1, span 1 got hangup, cause 100
-- Hungup 'Zap/1-1'
[Mar 5 15:37:01] NOTICE[10479]: cdr.c:434 ast_cdr_free: CDR on
channel
Quote:
Quote:
'Zap/1-1' not posted
== Everyone is busy/congested at this time (1:0/0/1)
== Auto fallthrough, channel 'SIP/5166-b76004f8' status is
'CHANUNAVAIL'
Quote:

The following is my set up:
----------------------------------- -----------------
# vi /etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=1-15
bchan=17-21
unused=22-31
dchan=16
loadzone=au
defaultzone=au
----------------------------------- -----------------
[channels]
language=en
context=default

switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=unknown
overlapdial=yes
priindication=outofband

signalling=pri_cpe

rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
restrictcid=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes

echocancel=yes
echocancelwhenbridged=yes
echotraining=yes

rxgain=-3.0
txgain=-6.0

callgroup=1
pickupgroup=1
immediate=no

group=1
channel => 1-15
channel => 17-21
----------------------------------- -----------------
*CLI> pri show spans
PRI span 1/0: Provisioned, Up, Active
----------------------------------- -----------------
*CLI> zap show channels
Chan Extension Context Language MOH Interpret
pseudo default en default
1 default en default
2 default en default
...
14 default en default
15 default en default
17 default en default
...
20 default en default
21 default en default
----------------------------------- -----------------
# cat /proc/zaptel/1
Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" HDB3/CCS/CRC4
Timing slips: 556

1 TE4/0/1/1 Clear (In use)
2 TE4/0/1/2 Clear (In use)
...
15 TE4/0/1/15 Clear (In use)
16 TE4/0/1/16 HDLCFCS (In use)
17 TE4/0/1/17 Clear (In use)
...
21 TE4/0/1/21 Clear (In use)
22 TE4/0/1/22 Clear
...
31 TE4/0/1/31 Clear

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com
--
Quote:
Quote:

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
Bruce Reeves

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services