[asterisk-users] Silly (??) question about chan_dahdi

Martin asterisklist at callthem.info
Wed May 27 15:24:44 CDT 2009


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 at in-put.de> wrote:
> 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 at 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
>>
>
>
> --
>
>
> ********************************************
> in-put GbR - Das Linux-Systemhaus
> Stefan-Michael Guenther
> Geschaeftsfuehrer
> Moltkestrasse 49     D-76133 Karlsruhe
> Tel./Fax : +49 (0)721 / 83044 - 98/93
> http://www.in-put.de
> ********************************************
>      Schulungen  Installationen
>          Beratung   Support
>       Voice-over-IP-Loesungen
> ********************************************
>
>
> _______________________________________________
> -- 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
>



More information about the asterisk-users mailing list