Re: [Asterisk-Users] Busy message on ISDN cards?

2005-01-01 Thread Nils Segerdahl
Hi,

I had the same problem when i tried i4l, and as far as I remember the
solution was to set
the outgoing msn to the msn of the isdn-line.

From my old modem.conf:

 incomingmsn=*
 outgoingmsn=123456,123457
 device => /dev/ttyI0
 device => /dev/ttyI1

best regards,
Nils


On Sat, 1 Jan 2005, Eduardo López Martínez wrote:

> Hi all,
>
> I'm experiencing some problems with i4l and i can't find a solution. I'm
> using
>
>   Eicon Diva 1 BRI
>   Eicon Diva Server 4 Bri
>   A ISDN PBX where I connect the first ISDN card (exten 204 in the
> ISDN PBX) and a ISDN phone (exten 210 in the ISDN PBX)
>   Suse 8.1 with ISDN4Linux
>   Asterisk 1.0
>
> I'm trying to make phone calls from a softphone (Windows Messenger 4.6) to
> the ISDN phone but I get this:
>
> Asterisk Ready.
> *CLI> -- Executing Dial("SIP/edu-ee6e", "Modem/g1/204:210") in new stack
> Urgent handler
> Jan  1 18:51:19 WARNING[29364]: chan_modem_i4l.c:601 i4l_dial: Outgoing MSN
> edu not allowed (see outgoingmsn=,*, in modem.conf)
> -- Called g1/204:210
> Urgent handler
> -- Modem[i4l]/ttyI0 is busy
> Urgent handler
> -- Hungup 'Modem[i4l]/ttyI0'
> Urgent handler
> Urgent handler
>   == Everyone is busy/congested at this time
>   == Auto fallthrough, channel 'SIP/edu-ee6e' status is 'CHANUNAVAIL'
> Urgent handler
>
>
> I see how the modem activates using imon (ISDN monitor) and tries to
> connect.
> When I add "outgoingmsn=edu" in modem.conf the modem does not respond, and I
> get the following:
>
> Asterisk Ready.
> *CLI> -- Executing Dial("SIP/edu-c490", "Modem/g1/204:210") in new stack
> Urgent handler
> Urgent handler
> -- Called g1/204:210
>   (...long time passed...)
> Urgent handler
> -- Hungup 'Modem[i4l]/ttyI0'
> Urgent handler
> Urgent handler
> Jan  1 18:58:55 WARNING[29394]: chan_sip.c:694 retrans_pkt: Maximum retries
> exceeded on call [EMAIL PROTECTED] for seqno 1
> (Critical Response)
>
>
>
> Calls from the ISDN phone to a softphone WORK.
>
> Can anyone help me??? Thanks in advance ;)
> Eduardo.
>
> 
>
> My configuration is the following:
>
> **
> modem.conf
> **
> [interfaces]
> context=INCOMING_ISDN
> driver=i4l
> language=en
> type=autodetect
> dtmfmode=i4l
> dialtype=tone
>
> mode=immediate
>
> group=1
> msn=204
> incomingmsn=*,0,210
> outgoingmsn=*
> device=>/dev/ttyI0
> ;device=>/dev/ttyI1
> ;device=>/dev/ttyI2
> ;device=>/dev/ttyI3
> ;device=>/dev/ttyI4
> ;device=>/dev/ttyI5
> ;device=>/dev/ttyI6
> ;device=>/dev/ttyI7
>
>
> ***
> extensions.conf
> ***
> [INCOMING-SIP]
> exten=>6000,1,Dial,SIP/edu
> exten=>7000,1,Dial,SIP/edu2
> exten=>4000,1,Dial,Modem/g1/204:210
> [INCOMING_ISDN]
> exten=>s,1,Wait(1)
> exten=>s,2,Answer
> exten=>s,3,Dial,SIP/edu
>
>
>
> *
> sip.conf
> *
> [edu]
> type=friend
> username=edu
> host=dynamic
> diallow=all
> allow=gsm
> ;allow=ulaw
> allow=alaw
>
>
>
>
> ___
> 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
>


Nils Segerdahl
---
Upsala Systemkonsult, UPSYS AB Telefon:(+46) (0)18 56 80 41
Glunten, 751 83 UppsalaMobil: (+46) (0)703 55 65 03
http://www.upsys.seFax: (+46) (0)18 56 80 49
---
Jan  1  Anniversary of the Triumph of the Revolution in Cuba
Jan  1  Castro expels Cuban President Batista, 1959
Jan  1  Churchill delivers his "Iron Curtain" speech, 1947
Jan  1  First Rose Bowl; Michigan 49 - Stanford 0, 1902
Jan  1  AT&T officially divests its local Bell companies, 1984
Jan  1  The Epoch (Time 0 for UNIX systems, Midnight GMT, 1970)
---

___
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] Busy message on ISDN cards?

2005-01-01 Thread Eduardo López Martínez
Hi all,

I'm experiencing some problems with i4l and i can't find a solution. I'm
using

Eicon Diva 1 BRI
Eicon Diva Server 4 Bri
A ISDN PBX where I connect the first ISDN card (exten 204 in the
ISDN PBX) and a ISDN phone (exten 210 in the ISDN PBX)
Suse 8.1 with ISDN4Linux
Asterisk 1.0

I'm trying to make phone calls from a softphone (Windows Messenger 4.6) to
the ISDN phone but I get this:

Asterisk Ready.
*CLI> -- Executing Dial("SIP/edu-ee6e", "Modem/g1/204:210") in new stack
Urgent handler
Jan  1 18:51:19 WARNING[29364]: chan_modem_i4l.c:601 i4l_dial: Outgoing MSN
edu not allowed (see outgoingmsn=,*, in modem.conf)
-- Called g1/204:210
Urgent handler
-- Modem[i4l]/ttyI0 is busy
Urgent handler
-- Hungup 'Modem[i4l]/ttyI0'
Urgent handler
Urgent handler
  == Everyone is busy/congested at this time
  == Auto fallthrough, channel 'SIP/edu-ee6e' status is 'CHANUNAVAIL'
Urgent handler


I see how the modem activates using imon (ISDN monitor) and tries to
connect.
When I add "outgoingmsn=edu" in modem.conf the modem does not respond, and I
get the following:

Asterisk Ready.
*CLI> -- Executing Dial("SIP/edu-c490", "Modem/g1/204:210") in new stack
Urgent handler
Urgent handler
-- Called g1/204:210
(...long time passed...)
Urgent handler
-- Hungup 'Modem[i4l]/ttyI0'
Urgent handler
Urgent handler
Jan  1 18:58:55 WARNING[29394]: chan_sip.c:694 retrans_pkt: Maximum retries
exceeded on call [EMAIL PROTECTED] for seqno 1
(Critical Response)



Calls from the ISDN phone to a softphone WORK.

Can anyone help me??? Thanks in advance ;)
Eduardo.



My configuration is the following:

**
modem.conf
**
[interfaces]
context=INCOMING_ISDN
driver=i4l
language=en
type=autodetect
dtmfmode=i4l
dialtype=tone

mode=immediate

group=1
msn=204
incomingmsn=*,0,210
outgoingmsn=*
device=>/dev/ttyI0
;device=>/dev/ttyI1
;device=>/dev/ttyI2
;device=>/dev/ttyI3
;device=>/dev/ttyI4
;device=>/dev/ttyI5
;device=>/dev/ttyI6
;device=>/dev/ttyI7


***
extensions.conf
***
[INCOMING-SIP]
exten=>6000,1,Dial,SIP/edu
exten=>7000,1,Dial,SIP/edu2
exten=>4000,1,Dial,Modem/g1/204:210
[INCOMING_ISDN]
exten=>s,1,Wait(1)
exten=>s,2,Answer
exten=>s,3,Dial,SIP/edu



*
sip.conf
*
[edu]
type=friend
username=edu
host=dynamic
diallow=all
allow=gsm
;allow=ulaw
allow=alaw




___
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


RE: [Asterisk-Users] Busy message on ISDN cards?

2004-12-20 Thread Eduardo López Martínez
Hello,

You can fix it adding in your "modem.conf":

outgoingmsn=*

I'm not sure is you have to write a "*" or a "0" or simply "andrew".


Then, if you make it work, tell me if your outgoing ISDN calls are working.
I'm having problems whit them.

B.R.
Eduardo.



-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Hatzis,
Michael
Enviado el: martes, 14 de diciembre de 2004 23:21
Para: Andrew Furey; Asterisk Users Mailing List - Non-Commercial Discussion
Asunto: RE: [Asterisk-Users] Busy message on ISDN cards?

I had the same problem even though it was with capi, this may help. Have
you set your msn as Andrew or your line number??

Try this

exten => 2468,1,Dial(${TRUNK}/91234567:0412345678:1)

Regards

 

Michael Hatzis

 0421 476 211


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Furey
Sent: Tuesday, 14 December 2004 4:43 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Busy message on ISDN cards?

Hi all,

I'm new to asterisk and not too knowledgeable on ISDN, so please be
gentle :)

I have a dual-channel Eicon Diehl Diva card in a Debian Woody box with
kernel 2.4.27, connecting to a Telstra (Australia) Onramp Home Highway
ISDN line. I'm pretty certain the card and line both work since
they've been used in this machine for PPP before this (but with an
older kernel with DoV patches, which are no longer to be used).


If I do

# modprobe hisax type=11,11 protocol=2,2 id="HiSax"

it responds (in the syslog) with:

kernel: ISDN subsystem Rev:
1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1 loaded
kernel: HiSax: Linux Driver for passive ISDN cards
kernel: HiSax: Version 3.5 (module)
kernel: HiSax: Layer1 Revision 1.1.4.1
kernel: HiSax: Layer2 Revision 1.1.4.1
kernel: HiSax: TeiMgr Revision 1.1.4.1
kernel: HiSax: Layer3 Revision 1.1.4.1
kernel: HiSax: LinkLayer Revision 1.1.4.1
kernel: HiSax: Total 2 cards defined
kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
kernel: HiSax: Eicon.Diehl Diva driver Rev. 1.1.4.2
kernel: PCI: Found IRQ 9 for device 00:09.0
kernel: PCI: Sharing IRQ 9 with 00:04.2
kernel: Diva: IPAC PCI card configured at 0xd0862000 IRQ 9
kernel: Diva: IPAC PCI space at 0xd086
kernel: Diva: IPAC version 1
kernel: Eicon.Diehl Diva: IRQ 9 count 1697
kernel: Eicon.Diehl Diva: IRQ 9 count 1705
kernel: HiSax: DSS1 Rev. 1.1.4.1
kernel: HiSax: 2 channels added
kernel: HiSax: MAX_WAITING_CALLS added

so it appears to be detected. I'm using the following modem.conf:

[interfaces]
context=remote
driver=i4l
language=en
type=autodetect
dialtype=tone
mode=immediate

group=1
msn=91234567
incomingmsn=*
device => /dev/ttyI0


Starting asterisk with -c returns:

 == Parsing '/etc/asterisk/modules.conf': Found
[chan_modem.so] => (Generic Voice Modem Driver)
 == Parsing '/etc/asterisk/modem.conf': Found
 == Loading modem driver chan_modem_i4l.so => (ISDN4Linux Emulated Modem
Driver)


But if I define a test extension such as:

TRUNK=Modem/g1
exten => 2468,1,Dial(${TRUNK}/91234567:0412345678)

and try to dial it, the console says:

Dec 14 13:29:17 WARNING[15375]: chan_modem_i4l.c:608 i4l_dial:
Outgoing MSN andrew not allowed (see outgoingmsn=,, in modem.conf)
-- Called g1/91234567:0412345678
-- Modem[i4l]/ttyI0 is busy
-- Hungup 'Modem[i4l]/ttyI0'

I gather than "busy" is used for pretty much everything except for no
connection, but are there any suggestions of where to look?

Thanks in advance,

Andrew

-- 
Linux supports the notion of a command line or a shell for the same
reason that only children read books with only pictures in them.
Language, be it English or something else, is the only tool flexible
enough to accomplish a sufficiently broad range of tasks.
  -- Bill Garrett
___
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


___
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


RE: [Asterisk-Users] Busy message on ISDN cards?

2004-12-14 Thread Hatzis, Michael
I had the same problem even though it was with capi, this may help. Have
you set your msn as Andrew or your line number??

Try this

exten => 2468,1,Dial(${TRUNK}/91234567:0412345678:1)

Regards

 

Michael Hatzis

 0421 476 211


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Furey
Sent: Tuesday, 14 December 2004 4:43 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] Busy message on ISDN cards?

Hi all,

I'm new to asterisk and not too knowledgeable on ISDN, so please be
gentle :)

I have a dual-channel Eicon Diehl Diva card in a Debian Woody box with
kernel 2.4.27, connecting to a Telstra (Australia) Onramp Home Highway
ISDN line. I'm pretty certain the card and line both work since
they've been used in this machine for PPP before this (but with an
older kernel with DoV patches, which are no longer to be used).


If I do

# modprobe hisax type=11,11 protocol=2,2 id="HiSax"

it responds (in the syslog) with:

kernel: ISDN subsystem Rev:
1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1 loaded
kernel: HiSax: Linux Driver for passive ISDN cards
kernel: HiSax: Version 3.5 (module)
kernel: HiSax: Layer1 Revision 1.1.4.1
kernel: HiSax: Layer2 Revision 1.1.4.1
kernel: HiSax: TeiMgr Revision 1.1.4.1
kernel: HiSax: Layer3 Revision 1.1.4.1
kernel: HiSax: LinkLayer Revision 1.1.4.1
kernel: HiSax: Total 2 cards defined
kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
kernel: HiSax: Eicon.Diehl Diva driver Rev. 1.1.4.2
kernel: PCI: Found IRQ 9 for device 00:09.0
kernel: PCI: Sharing IRQ 9 with 00:04.2
kernel: Diva: IPAC PCI card configured at 0xd0862000 IRQ 9
kernel: Diva: IPAC PCI space at 0xd086
kernel: Diva: IPAC version 1
kernel: Eicon.Diehl Diva: IRQ 9 count 1697
kernel: Eicon.Diehl Diva: IRQ 9 count 1705
kernel: HiSax: DSS1 Rev. 1.1.4.1
kernel: HiSax: 2 channels added
kernel: HiSax: MAX_WAITING_CALLS added

so it appears to be detected. I'm using the following modem.conf:

[interfaces]
context=remote
driver=i4l
language=en
type=autodetect
dialtype=tone
mode=immediate

group=1
msn=91234567
incomingmsn=*
device => /dev/ttyI0


Starting asterisk with -c returns:

 == Parsing '/etc/asterisk/modules.conf': Found
[chan_modem.so] => (Generic Voice Modem Driver)
 == Parsing '/etc/asterisk/modem.conf': Found
 == Loading modem driver chan_modem_i4l.so => (ISDN4Linux Emulated Modem
Driver)


But if I define a test extension such as:

TRUNK=Modem/g1
exten => 2468,1,Dial(${TRUNK}/91234567:0412345678)

and try to dial it, the console says:

Dec 14 13:29:17 WARNING[15375]: chan_modem_i4l.c:608 i4l_dial:
Outgoing MSN andrew not allowed (see outgoingmsn=,, in modem.conf)
-- Called g1/91234567:0412345678
-- Modem[i4l]/ttyI0 is busy
-- Hungup 'Modem[i4l]/ttyI0'

I gather than "busy" is used for pretty much everything except for no
connection, but are there any suggestions of where to look?

Thanks in advance,

Andrew

-- 
Linux supports the notion of a command line or a shell for the same
reason that only children read books with only pictures in them.
Language, be it English or something else, is the only tool flexible
enough to accomplish a sufficiently broad range of tasks.
  -- Bill Garrett
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Busy message on ISDN cards?

2004-12-13 Thread Andrew Furey
Hi all,

I'm new to asterisk and not too knowledgeable on ISDN, so please be gentle :)

I have a dual-channel Eicon Diehl Diva card in a Debian Woody box with
kernel 2.4.27, connecting to a Telstra (Australia) Onramp Home Highway
ISDN line. I'm pretty certain the card and line both work since
they've been used in this machine for PPP before this (but with an
older kernel with DoV patches, which are no longer to be used).


If I do

# modprobe hisax type=11,11 protocol=2,2 id="HiSax"

it responds (in the syslog) with:

kernel: ISDN subsystem Rev:
1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1 loaded
kernel: HiSax: Linux Driver for passive ISDN cards
kernel: HiSax: Version 3.5 (module)
kernel: HiSax: Layer1 Revision 1.1.4.1
kernel: HiSax: Layer2 Revision 1.1.4.1
kernel: HiSax: TeiMgr Revision 1.1.4.1
kernel: HiSax: Layer3 Revision 1.1.4.1
kernel: HiSax: LinkLayer Revision 1.1.4.1
kernel: HiSax: Total 2 cards defined
kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
kernel: HiSax: Eicon.Diehl Diva driver Rev. 1.1.4.2
kernel: PCI: Found IRQ 9 for device 00:09.0
kernel: PCI: Sharing IRQ 9 with 00:04.2
kernel: Diva: IPAC PCI card configured at 0xd0862000 IRQ 9
kernel: Diva: IPAC PCI space at 0xd086
kernel: Diva: IPAC version 1
kernel: Eicon.Diehl Diva: IRQ 9 count 1697
kernel: Eicon.Diehl Diva: IRQ 9 count 1705
kernel: HiSax: DSS1 Rev. 1.1.4.1
kernel: HiSax: 2 channels added
kernel: HiSax: MAX_WAITING_CALLS added

so it appears to be detected. I'm using the following modem.conf:

[interfaces]
context=remote
driver=i4l
language=en
type=autodetect
dialtype=tone
mode=immediate

group=1
msn=91234567
incomingmsn=*
device => /dev/ttyI0


Starting asterisk with -c returns:

 == Parsing '/etc/asterisk/modules.conf': Found
[chan_modem.so] => (Generic Voice Modem Driver)
 == Parsing '/etc/asterisk/modem.conf': Found
 == Loading modem driver chan_modem_i4l.so => (ISDN4Linux Emulated Modem Driver)


But if I define a test extension such as:

TRUNK=Modem/g1
exten => 2468,1,Dial(${TRUNK}/91234567:0412345678)

and try to dial it, the console says:

Dec 14 13:29:17 WARNING[15375]: chan_modem_i4l.c:608 i4l_dial:
Outgoing MSN andrew not allowed (see outgoingmsn=,, in modem.conf)
-- Called g1/91234567:0412345678
-- Modem[i4l]/ttyI0 is busy
-- Hungup 'Modem[i4l]/ttyI0'

I gather than "busy" is used for pretty much everything except for no
connection, but are there any suggestions of where to look?

Thanks in advance,

Andrew

-- 
Linux supports the notion of a command line or a shell for the same
reason that only children read books with only pictures in them.
Language, be it English or something else, is the only tool flexible
enough to accomplish a sufficiently broad range of tasks.
  -- Bill Garrett
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users