Re: [Asterisk-Users] Asterisk + ISDN4linux connectivity

2004-03-29 Thread Martin Mielke
Steven Critchfield wrote:

[ snip ]

You should have a "/" instead of a ":" in the dial. 
 

It doesn't help...

See error message:
---
Mar 29 20:34:06 WARNING[393232]: chan_modem.c:181 modem_call: 
Destination g1/y requres a real destination (device:destination)
---

btw, __TRIM__ the unnecessary parts.

 

Don't get upset just because of that... I'm not the only one who doesn't 
cut off unnecessary parts... :-P
Furthermore, it's just ASCII, it can be compressed and I don't know how 
many people do follow this thread... :-/

Martin

___
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


Re: [Asterisk-Users] Asterisk + ISDN4linux connectivity

2004-03-29 Thread Steven Critchfield
On Mon, 2004-03-29 at 11:26, Martin Mielke wrote:
> Hello again,
> 
> I guess I solved part of my problems...
> Now I can call an internal extension which matches a cell-phone using 
> the ISDN-card... but Asterisk refuses to call:
> 
> ---
> -- Executing Dial("SIP/mmielke-b282", "Modem/g1:") in new stack
> -- Called g1:

You should have a "/" instead of a ":" in the dial. 

btw, __TRIM__ the unnecessary parts.

-- 
Steven Critchfield  <[EMAIL PROTECTED]>

___
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


Re: [Asterisk-Users] Asterisk + ISDN4linux connectivity

2004-03-29 Thread Martin Mielke
Hello again,

I guess I solved part of my problems...
Now I can call an internal extension which matches a cell-phone using 
the ISDN-card... but Asterisk refuses to call:

---
   -- Executing Dial("SIP/mmielke-b282", "Modem/g1:") in new stack
   -- Called g1:
Mar 29 19:20:34 WARNING[655376]: chan_modem_i4l.c:355 i4l_read: Device 
'/dev/ttyI1' lacking dialtone
   -- Hungup 'Modem[i4l]/ttyI1'
 == No one is available to answer at this time

---

which is false. I mean: my cell-phone is available and the ISDN-card 
should be "listening" to a dialtone, as I checked it with an 
ISDN-(hard)phone...

...rch!... I need more tea! ;)

As always, ideas/suggestions/hints are much appreciated.

Regards,
Martin
Martin Mielke wrote:

Hi all,

I configured Asterisk as shown in 
http://www.voip-info.org/wiki-Asterisk+ISDN4Linux

The box running Asterisk under SuSE 9.0 Pro has a "Eicon Diva Server 
BRI 2M" ISDN card attached and it seems to be recognized by the system.

I added the following lines to:

* modem.conf
driver=i4l
...
group=1
msn=+34x
device => /dev/ttyI0
device => /dev/ttyI1
---

* extensions.conf
TRUNK=Modem/g1
...
exten => mmielke,1,Dial(${TRUNK}:0) ; is cell-phone 
number...
...

---

With all this, I get the following error messages when starting Asterisk:
---
...
 == 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)
Mar 29 16:36:33 WARNING[16384]: chan_modem_i4l.c:151 i4l_init: Unable 
to set MSN to +34y
Mar 29 16:36:33 WARNING[16384]: chan_modem.c:396 modem_setup: Modem 
Initialization Failed on '/dev/ttyI0', driver i4l.
Mar 29 16:36:33 WARNING[16384]: chan_modem.c:736 mkif: Unable to 
configure modem '/dev/ttyI0'
Mar 29 16:36:33 ERROR[16384]: chan_modem.c:930 load_module: Unable to 
register channel '/dev/ttyI0'
 == Unregistered channel type 'Modem'
Mar 29 16:36:33 WARNING[16384]: loader.c:312 ast_load_resource: 
chan_modem.so: load_module failed, returning -1
 == Unregistered channel type 'Modem'
Mar 29 16:36:33 WARNING[16384]: loader.c:358 load_modules: Loading 
module chan_modem.so failed!
---

Then, because ISDN devices are "seen" as /dev/ipppN, I modified 
modems.conf to have these two lines instead:
---
device => /dev/ippp0
device => /dev/ippp1
---

But when I launch Asterisk, it never goes beyond this point:
---
[chan_modem.so] => (Generic Voice Modem Driver)
 == Parsing '/etc/asterisk/modem.conf': Found
 == Loading modem driver chan_modem_i4l.so => (ISDN4Linux Emulated 
Modem Driver)
---

This is a CPU-grinder, as it reaches a 99.9% usage and the only way to 
stop this is hitting ctrl-c...

On the messages file I see:
---
Mar 29 16:35:22 pbx kernel: ippp, open, slot: 2, minor: 0, state: 
Mar 29 16:35:22 pbx kernel: ippp_ccp: allocated reset data structure 
c548
Mar 29 16:35:50 pbx kernel: ippp_ccp: freeing reset data structure 
c548
---

Am I overseeing anything obvious?

Every hint on this issue will be much appreciated.

TIA and regards,
Martin
___
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


Re: [Asterisk-Users] Asterisk + ISDN4linux connectivity

2004-03-29 Thread Martin List-Petersen
On Mon, 2004-03-29 at 15:44, Martin Mielke wrote:
> Hi all,
> 
> I configured Asterisk as shown in 
> http://www.voip-info.org/wiki-Asterisk+ISDN4Linux
> 
> The box running Asterisk under SuSE 9.0 Pro has a "Eicon Diva Server BRI 
> 2M" ISDN card attached and it seems to be recognized by the system.
> 
> I added the following lines to:
> 
> * modem.conf
> driver=i4l
> ...
> group=1
> msn=+34x
> device => /dev/ttyI0
> device => /dev/ttyI1

MSN is definatly wrong. Normally you should only specify your local
subscriber no., so in Denmark this would be:

Full no: +45 12345678
Subscriber no: 12345678

Germany:
Full no: +49 69 123456
Subscriber no: 123456

+34 should definatly not be part of it.

Another thing is, that the Eicon card is a active CAPI supported card,
if i'm not wrong.

Shouldn't you use chan_capi instead of chan_modem_i4l ? That would give
you a lot better results.

/Martin


___
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