[asterisk-users] TDM400 and analog phone - can't dial

Kovar Petr petoshasterisk at centrum.cz
Fri Dec 8 10:01:45 MST 2006


Hi Jerry, THANKS A LOT.
I viewed configuration files so many times, but I had to be blind so I
didn't noticed that mistake. I was solving this problem for almost two days
with no success... thanks a lot again. :)

It can sound weird, but I cannot wait for Monday when I go to work... :D

Petosh


----- Original Message ----- 
From: "Jerry" <jerry at voiptower.com>
To: "Petr Kovar" <petoshasterisk at centrum.cz>
Sent: Friday, December 08, 2006 4:44 PM
Subject: Re: [asterisk-users] TDM400 and analog phone - can't dial


> Hi Petosh,
>
>> Hi all,
>> I have a problem with dialing digits from my analog phone connected to
>> TDM400 with one FXS card. I can call the phone from SIP, but when I try
>> [...]
>> I'm newbie to Asterisk so, please, can someone check my configuration
>> and tell me I have everything alright (I think its ok, I did it the same
>> way as in asterisk TFOT book) and I can focus to grab theory for DTFM
>> problem through weekend?
>
> It's not DTMF.
>
>> my configuration files:
>>
>> *extensions.conf:*
>>
>> [internal]
>> exten => 101,1,Dial(SIP/petosh,20)
>> exten => 101,2,Playback(my/notavailable)
>> exten => 101,3,Hangup( )
>>
>> exten => 200,1,Dial(Zap/1,20)
>> exten => 200,2,Playback(my/notavailable)
>> exten => 200,3,Hangup( )
> [plus stuff omitted ... important later]
>
>> *zapata.conf:
>> *[trunkgroups]
>>
>> [channels]
>> usercallerid=yes
>> hidecallerid=no
>> callwaiting=no
>> threewaycalling=yes
>> transfer=yes
>> echocancel=yes
>> echotraining=yes
>>
>> ; *** Added by me - note the next line (which is in your original)
>> context=incoming
>> signalling=fxo_ks
>> channel => 1
>
> BANG! and there it is.
>
> Either you are missing a context of "incoming" in your extensions.conf, or
> you didn't list it.
>
> Whatever the case, Asterisk is trying to dial based on this "incoming"
> context. You can change it to "internal", but realize how it works ... it
> is the part of the dialplan where the digits you are dialing are searched
> for. If you just cut and pasted from the FOT, it could be they were using
> an FXO (connected to a phone line), and thus the "incoming" context was
> for answering the phone.
>
> Hope that makes sense.
>
> Thanks,
>
> J.
>



More information about the asterisk-users mailing list