Hi, I have got one X100P telephone card in my Asterisk server and it's working well. I have two phones lines and would like to install a second card so I can use both lines. I have installed the card and tried to set it up, but all to no avail ! Could someone outline the changes that I need to make (and in which .conf files) in order to get the second card going ? Thanks in advance, Paul.
Mark Messmore, Technical Support, University Telcom Inc.
2004-Apr-30 05:47 UTC
[Asterisk-Users] Second X100P Card
OK...so what exactly is happening? Did you do the modprobe and the ztcfg -vv to install and make sure that it's being recognized? Also, please post the appropriate parts of your zaptel and zapata files Mark -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Paul Tyreman Sent: Friday, April 30, 2004 8:41 AM To: Asterisk-Users@lists.digium.com Subject: [Asterisk-Users] Second X100P Card Hi, I have got one X100P telephone card in my Asterisk server and it's working well. I have two phones lines and would like to install a second card so I can use both lines. I have installed the card and tried to set it up, but all to no avail ! Could someone outline the changes that I need to make (and in which .conf files) in order to get the second card going ? Thanks in advance, Paul. _______________________________________________ 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
In zaptel.conf you must put fxsks=1-2 and in your zapata.conf you must have next line channel => 1 and it must be channel => 1-2 Regards -----Mensaje original----- De: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]En nombre de Paul Tyreman Enviado el: viernes, 30 de abril de 2004 14:41 Para: Asterisk-Users@lists.digium.com Asunto: [Asterisk-Users] Second X100P Card Hi, I have got one X100P telephone card in my Asterisk server and it's working well. I have two phones lines and would like to install a second card so I can use both lines. I have installed the card and tried to set it up, but all to no avail ! Could someone outline the changes that I need to make (and in which .conf files) in order to get the second card going ? Thanks in advance, Paul. _______________________________________________ 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
On Fri, 2004-04-30 at 13:41, Paul Tyreman wrote:> I have got one X100P telephone card in my Asterisk server and it's working > well. > > I have two phones lines and would like to install a second card so I can use > both lines. > > I have installed the card and tried to set it up, but all to no avail ! > > Could someone outline the changes that I need to make (and in which .conf > files) in order to get the second card going ?You need to change zaptel.conf and zapata.conf first of all. Check dmesg if both of your X100P/X101P's are detected and the driver for them is loaded. Kind regards, Martin List-Petersen martin at list-petersen dot net -- "I didn't know it was impossible when I did it."
Ok, in my zaptel.conf file, I have added the line:
fxsks=1-2
And in my zapata.conf file, I have changed "channel => 1" to
channel => 1-2
I have also run ztcfg -vv and got the following results:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
2 channels configured.
In my extensions.conf I put this:
exten => _5X.,1,Dial,Zap/1/${EXTEN:1} ; house line
exten => _9X.,1,Dial,Zap/2/${EXTEN:1} ; business line
Thats not really what I want - I want to be able to press 9 and it call out
on the business line, and if it's inuse to use the home line, but for now
I'd be happy to just get that working.
This doesn't work. When I go to the asterisk server, it says:
Timeout but no rule 't' in context
Thanks, Paul.
> I have got one X100P telephone card in my Asterisk server and it's working > well. > > I have two phones lines and would like to install a second card so I can use > both lines. > > I have installed the card and tried to set it up, but all to no avail ! > > Could someone outline the changes that I need to make (and in which .conf > files) in order to get the second card going ?In /etc/zaptel.conf need two channels defined: fxsks=1-2 run ztcfg -vv from the linux command line and you should see something like: Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) Channel 02: FXS Kewlstart (Default) (Slaves: 02) 2 channels configured. In /etc/asterisk/zapata.conf you should have two channels defined: context => yourcontext1 <snip> channel => 1 context => yourcontext2 <snip> channel => 2 And in /etc/asterisk/extension.conf your dialplan should address the two lines with something like: exten => _5X.,1,Dial,Zap/1/${EXTEN:1} ; house line exten => _9X.,1,Dial,Zap/2/${EXTEN:1} ; business line
In your zapata.conf where do your Zap channels 1-2 reside? In your
extensions.conf where do your dial strings reside? Make sure they are the same,
and make sure in zaptel.conf your context declaration comes before your channel
declaration. E.G.
<zapata.conf>
signalling => fxs_ks
context => default
usecallerid => no
hidecallerid => no
cancallforward => no
callwaiting => no
threewaycalling => no
callreturn => no
busycount => 10
busydetect => no
callerid => ""
echocancel => no
echocancelwhenbridged => no
grouptxgain= 1.0
rxgain= 1.0
channel => 1-2
<extenstions.conf>
[default]
exten => _5X.,1,Answer()
exten => _5X.,2,Wait(1)
exten => _5X.,Dial(Zap/1/${EXTEN:1})
exten => _5X.,Congestion
exten => _9X.,1,Answer()
exten => _9X.,2,Wait(1)
exten => _9X.,Dial(Zap/2/${EXTEN:1})
exten => _9X.,Congestion
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Paul Tyreman
Sent: Friday, April 30, 2004 9:50 AM
To: Asterisk-Users@lists.digium.com
Subject: [Asterisk-Users] Re: Second X100P Card
Ok, in my zaptel.conf file, I have added the line:
fxsks=1-2
And in my zapata.conf file, I have changed "channel => 1" to
channel => 1-2
I have also run ztcfg -vv and got the following results:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
2 channels configured.
In my extensions.conf I put this:
exten => _5X.,1,Dial,Zap/1/${EXTEN:1} ; house line
exten => _9X.,1,Dial,Zap/2/${EXTEN:1} ; business line
Thats not really what I want - I want to be able to press 9 and it call out
on the business line, and if it's inuse to use the home line, but for now
I'd be happy to just get that working.
This doesn't work. When I go to the asterisk server, it says:
Timeout but no rule 't' in context
Thanks, Paul.
_______________________________________________
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
Just add the house line in the next priority for _9X extensions
exten => _9X.,1,Dial,Zap/2/${EXTEN:1} ; business line
exten => _9X.,2,Dial,Zap/2/${EXTEN:1} ; house line if busy
Regards,
Victor Perez
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Paul Tyreman
Sent: Friday, April 30, 2004 8:50 AM
To: Asterisk-Users@lists.digium.com
Subject: [Asterisk-Users] Re: Second X100P Card
Ok, in my zaptel.conf file, I have added the line:
fxsks=1-2
And in my zapata.conf file, I have changed "channel => 1" to
channel => 1-2
I have also run ztcfg -vv and got the following results:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
2 channels configured.
In my extensions.conf I put this:
exten => _5X.,1,Dial,Zap/1/${EXTEN:1} ; house line
exten => _9X.,1,Dial,Zap/2/${EXTEN:1} ; business line
Thats not really what I want - I want to be able to press 9 and it call out
on the business line, and if it's inuse to use the home line, but for now
I'd be happy to just get that working.
This doesn't work. When I go to the asterisk server, it says:
Timeout but no rule 't' in context
Thanks, Paul.
_______________________________________________
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
correction, the second priority should point to Zap/1 instead of Zap/2
Regards,
Victor Perez
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Victor Perez
Sent: Friday, April 30, 2004 9:41 AM
To: asterisk-users@lists.digium.com
Subject: RE: [Asterisk-Users] Re: Second X100P Card
Just add the house line in the next priority for _9X extensions
exten => _9X.,1,Dial,Zap/2/${EXTEN:1} ; business line
exten => _9X.,2,Dial,Zap/2/${EXTEN:1} ; house line if busy
Regards,
Victor Perez
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Paul Tyreman
Sent: Friday, April 30, 2004 8:50 AM
To: Asterisk-Users@lists.digium.com
Subject: [Asterisk-Users] Re: Second X100P Card
Ok, in my zaptel.conf file, I have added the line:
fxsks=1-2
And in my zapata.conf file, I have changed "channel => 1" to
channel => 1-2
I have also run ztcfg -vv and got the following results:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
2 channels configured.
In my extensions.conf I put this:
exten => _5X.,1,Dial,Zap/1/${EXTEN:1} ; house line
exten => _9X.,1,Dial,Zap/2/${EXTEN:1} ; business line
Thats not really what I want - I want to be able to press 9 and it call out
on the business line, and if it's inuse to use the home line, but for now
I'd be happy to just get that working.
This doesn't work. When I go to the asterisk server, it says:
Timeout but no rule 't' in context
Thanks, Paul.
_______________________________________________
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
_______________________________________________
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
This is nuts !
I've tried everything you have all suggested, but I can only get one line to
work.
Both cards are resisted, but the second isn't working.
It could be something to do with the contexts, but I only have one
(default).
The exact error on the server is:
app_dial.c:554 dial_exec: unable to create channel of type 'zap'
pbx.x:1836 ast_pbx_run Timeout, but no rule 't' in context
'default'
Does anyone recognise those errors ?
Thanks again, Paul.
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Paul Tyreman
Posted At: 30 April 2004 14:50
Posted To: Asterisk-Users
Conversation: [Asterisk-Users] Re: Second X100P Card
Subject: [Asterisk-Users] Re: Second X100P Card
Ok, in my zaptel.conf file, I have added the line:
fxsks=1-2
And in my zapata.conf file, I have changed "channel => 1" to
channel => 1-2
I have also run ztcfg -vv and got the following results:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
2 channels configured.
In my extensions.conf I put this:
exten => _5X.,1,Dial,Zap/1/${EXTEN:1} ; house line
exten => _9X.,1,Dial,Zap/2/${EXTEN:1} ; business line
Thats not really what I want - I want to be able to press 9 and it call out
on the business line, and if it's inuse to use the home line, but for now
I'd be happy to just get that working.
This doesn't work. When I go to the asterisk server, it says:
Timeout but no rule 't' in context
Thanks, Paul.
I have managed to get the two cards going eventually, I was sure everything
was set up right, so I rebooted and it all started working !!
The only problem I have now is that there is a bad echo on the line for a
while at the start of a call....
Paul.
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Paul Tyreman
Posted At: 30 April 2004 17:23
Posted To: Asterisk-Users
Conversation: [Asterisk-Users] Re: Second X100P Card
Subject: Re:[Asterisk-Users] Re: Second X100P Card
This is nuts !
I've tried everything you have all suggested, but I can only get one line to
work.
Both cards are resisted, but the second isn't working.
It could be something to do with the contexts, but I only have one
(default).
The exact error on the server is:
app_dial.c:554 dial_exec: unable to create channel of type 'zap'
pbx.x:1836 ast_pbx_run Timeout, but no rule 't' in context
'default'
Does anyone recognise those errors ?
Thanks again, Paul.
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Paul Tyreman
Posted At: 30 April 2004 14:50 Posted To: Asterisk-Users
Conversation: [Asterisk-Users] Re: Second X100P Card
Subject: [Asterisk-Users] Re: Second X100P Card
Ok, in my zaptel.conf file, I have added the line:
fxsks=1-2
And in my zapata.conf file, I have changed "channel => 1" to
channel => 1-2
I have also run ztcfg -vv and got the following results:
Channel 01: FXS Kewlstart (Default) (Slaves: 01) Channel 02: FXS Kewlstart
(Default) (Slaves: 02)
2 channels configured.
In my extensions.conf I put this:
exten => _5X.,1,Dial,Zap/1/${EXTEN:1} ; house line exten =>
_9X.,1,Dial,Zap/2/${EXTEN:1} ; business line
Thats not really what I want - I want to be able to press 9 and it call out
on the business line, and if it's inuse to use the home line, but for now
I'd be happy to just get that working.
This doesn't work. When I go to the asterisk server, it says:
Timeout but no rule 't' in context
Thanks, Paul.
_______________________________________________
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