Posted: Wed May 27, 2009 7:01 am Post subject: [asterisk-users] Silly (??) question about chan_dahdi
Hi Martin,
thanks for your suggestions, but ....
>You define context= for the channels in dahdi.conf
>and then in extensions.conf you define those numbers in that
>particular context name
>
>eg:
>
>dahdi.conf
>
>context=incoming
>channel => 1-15,17-31
>
in /etc/asterisk there is a chan_dahdi.conf and a dahdi-channels.conf
which were automatically created (and a little bit modified by me):
Asterisk still doesn't pick up calls for these two numbers.
I'm a little bit irritated by the fact, that in the cli asterisk
mentions "ISDN PRI signalling" while we are using BRI . BTW, the warning
is currently correct, the is an isdn cable only in port 3.
== Parsing '/etc/asterisk/chan_dahdi.conf': == Found
== Parsing '/etc/asterisk/users.conf': == Found
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 1: Red Alarm
-- Registered channel 1, ISDN PRI signalling
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 2: Red Alarm
-- Registered channel 2, ISDN PRI signalling
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 4: Red Alarm
-- Registered channel 4, ISDN PRI signalling
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 5: Red Alarm
-- Registered channel 5, ISDN PRI signalling
-- Registered channel 7, ISDN PRI signalling
-- Registered channel 8, ISDN PRI signalling
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 10: Red Alarm
-- Registered channel 10, ISDN PRI signalling
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 11: Red Alarm
-- Registered channel 11, ISDN PRI signalling
-- Automatically generated pseudo channel
== Registered channel type 'DAHDI' (DAHDI Telephony Driver)
The two numbers above are correct, when I use an ISDN phone it rings for
both numbers.
Posted: Wed May 27, 2009 7:15 am Post subject: [asterisk-users] Silly (??) question about chan_dahdi
On Wed, May 27, 2009 at 09:55:13AM +0200, Stefan-Michael Guenther wrote:
Quote:
Hi Martin,
thanks for your suggestions, but ....
>You define context= for the channels in dahdi.conf
>and then in extensions.conf you define those numbers in that
>particular context name
>
>eg:
>
>dahdi.conf
>
>context=incoming
>channel => 1-15,17-31
>
in /etc/asterisk there is a chan_dahdi.conf and a dahdi-channels.conf
which were automatically created (and a little bit modified by me):
chan_dadhi.conf:
----------------
[trunkgroups]
[channels]
language=de
context=incoming
switchtype=euroisdn
group = 1
channel => 1,2,4,5,7,8,10,11
You have no #include of that (which is probably a good thing, as it
overlaps with channels you already set in chan_dahdi.conf itself). Hence
the value of that file is mostly informative: this is what dahdi_genconf
generated :-)
Posted: Wed May 27, 2009 3:24 pm Post subject: [asterisk-users] Silly (??) question about chan_dahdi
Hi,
I have set "context=default" both in /etc/asterisk/dahdi-channels.conf
and /etc/asterisk/chan_dahdi.conf, and created the necessary context
with extens for both numbers
I have replaced the ISDN cable, the LED on the card is green, but still
asterisk doesn't react to call to 8304478 and 8304479, while the ISDN
phone does, No, they are not both connected at the same time.
Stefan
David Backeberg schrieb:
Quote:
On Wed, May 27, 2009 at 3:55 AM, Stefan-Michael Guenther
<asterisk02@in-put.de> wrote:
> extensions.conf:
> -----------------
> [incoming]
> exten => 8304479,1,ANSWER()
> exten => 8304479,2,WAIT(10)
> exten => 8304479,3,HANGUP()
>
> exten => 8304478,1,ANSWER()
> exten => 8304478,2,WAIT(10)
> exten => 8304478,3,HANGUP()
>
> Asterisk still doesn't pick up calls for these two numbers.
Is that your entire extensions.conf?
If so, this is part of your problem. If you do the
square-bracket [] style contexts, you need to have jumps to them from
the default context.
Posted: Wed May 27, 2009 3:26 pm Post subject: [asterisk-users] Silly (??) question about chan_dahdi
On Wed, May 27, 2009 at 12:19 PM, Stefan-Michael Guenther
<asterisk02@in-put.de> wrote:
Quote:
I have replaced the ISDN cable, the LED on the card is green, but still
asterisk doesn't react to call to 8304478 and 8304479, while the ISDN phone
does, No, they are not both connected at the same time.
Please paste in your entire extensions.conf
I'm not sure you understood what I told you on my last reply.
Please also paste in the output of:
cli> dialplan show
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Posted: Wed May 27, 2009 3:32 pm Post subject: [asterisk-users] Silly (??) question about chan_dahdi
You should also do "core set verbose 10" so you can see how the dialplan
executes on these calls.
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of David
Backeberg
Sent: Wednesday, May 27, 2009 11:23 AM
To: asterisk02@in-put.de; Asterisk Users Mailing List - Non-Commercial
Discussion
Subject: Re: [asterisk-users] Silly (??) question about chan_dahdi
On Wed, May 27, 2009 at 12:19 PM, Stefan-Michael Guenther
<asterisk02@in-put.de> wrote:
Quote:
I have replaced the ISDN cable, the LED on the card is green, but still
asterisk doesn't react to call to 8304478 and 8304479, while the ISDN
phone
Quote:
does, No, they are not both connected at the same time.
Please paste in your entire extensions.conf
I'm not sure you understood what I told you on my last reply.
Please also paste in the output of:
cli> dialplan show
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Your extensions look good. At this point I'm guessing there's
something silly going on with your physical lines. Do you have an
ordinary telephone for your country that you can plug in and confirm
the lines work properly there. I think at this point you need help
from somebody who knows line signaling for your country. Either your
phone company or Digium tech support if you have a digium card.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Posted: Wed May 27, 2009 7:12 pm Post subject: [asterisk-users] Silly (??) question about chan_dahdi
Maybe this is an "american" thing, but why are your "working" lines 8 digits
and your non-working 7 digits? Pardon if this was addressed earlier in the
thread.
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of David
Backeberg
Sent: Wednesday, May 27, 2009 2:53 PM
To: asterisk02@in-put.de; Asterisk Users Mailing List - Non-Commercial
Discussion
Subject: Re: [asterisk-users] Silly (??) question about chan_dahdi
On Wed, May 27, 2009 at 2:23 PM, Stefan-Michael Guenther
<asterisk02@in-put.de> wrote:
Your extensions look good. At this point I'm guessing there's
something silly going on with your physical lines. Do you have an
ordinary telephone for your country that you can plug in and confirm
the lines work properly there. I think at this point you need help
from somebody who knows line signaling for your country. Either your
phone company or Digium tech support if you have a digium card.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Posted: Wed May 27, 2009 7:30 pm Post subject: [asterisk-users] Silly (??) question about chan_dahdi
asterisk -rvvv
CLI> pri debug span 3
place a call and catch the stuff off the screen
you can also try "pri intense debug span 3" if there's nothing
showing up
it's possible your number comes with 0 or so ... so you might want to do
exten => _X.,1,BLAH
instead of specifying the exact numberes
Martin
On Wed, May 27, 2009 at 11:19 AM, Stefan-Michael Guenther
<asterisk02@in-put.de> wrote:
Quote:
Hi,
I have set "context=default" both in /etc/asterisk/dahdi-channels.conf
and /etc/asterisk/chan_dahdi.conf, and created the necessary context
with extens for both numbers
I have replaced the ISDN cable, the LED on the card is green, but still
asterisk doesn't react to call to 8304478 and 8304479, while the ISDN
phone does, No, they are not both connected at the same time.
Stefan
David Backeberg schrieb:
> On Wed, May 27, 2009 at 3:55 AM, Stefan-Michael Guenther
> <asterisk02@in-put.de> wrote:
>> extensions.conf:
>> -----------------
>> [incoming]
>> exten => 8304479,1,ANSWER()
>> exten => 8304479,2,WAIT(10)
>> exten => 8304479,3,HANGUP()
>>
>> exten => 8304478,1,ANSWER()
>> exten => 8304478,2,WAIT(10)
>> exten => 8304478,3,HANGUP()
>>
>> Asterisk still doesn't pick up calls for these two numbers.
>
> Is that your entire extensions.conf?
>
> If so, this is part of your problem. If you do the
> square-bracket [] style contexts, you need to have jumps to them from
> the default context.
>
> So your plan should say
>
> extensions.conf
> [default]
> exten => 8304479,1,ANSWER()
> exten => 8304479,2,WAIT(10)
> exten => 8304479,3,HANGUP()
>
> exten => 8304478,1,ANSWER()
> exten => 8304478,2,WAIT(10)
> exten => 8304478,3,HANGUP()
>
> And you will need to
> cli> dialplan reload
>
> to reload extensions.conf
>
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