[asterisk-users] [UK SPECIFIC] DAHDI and a OpenVox Card

Steven J. Douglas stevend at moij.biz
Mon May 4 04:34:39 CDT 2009


--[ UxBoD ]-- wrote:
> ----- "Steven J. Douglas" <stevend at moij.biz> wrote: 
>   
>> --[ UxBoD ]-- wrote: 
>>     
>>> ----- "Gordon Henderson" <gordon+asterisk at drogon.net> wrote: 
>>>
>>>       
>>>> On Fri, 1 May 2009, --[ UxBoD ]-- wrote: 
>>>>
>>>>
>>>>         
>>>>> Okay, getting somewhere now ! I am now getting the following :- 
>>>>>
>>>>> == Starting post polarity CID detection on channel 1 
>>>>> -- Starting simple switch on 'DAHDI/1-1' 
>>>>> [May 1 12:03:10] NOTICE[4360]: chan_dahdi.c:7669 ss_thread: MWI: Channel 1 message waiting! 
>>>>> -- Executing [s at inbound-dahdi:1] Answer("DAHDI/1-1", "") in new stack 
>>>>> -- Executing [s at inbound-dahdi:2] Ringing("DAHDI/1-1", "") in new stack 
>>>>> -- Executing [s at inbound-dahdi:3] Wait("DAHDI/1-1", "1") in new stack 
>>>>> -- Executing [s at inbound-dahdi:4] Playback("DAHDI/1-1", "home-message") in new stack 
>>>>> -- <DAHDI/1-1> Playing 'home-message.gsm' (language 'en') 
>>>>> -- Executing [s at inbound-dahdi:5] Hangup("DAHDI/1-1", "") in new stack 
>>>>> == Spawn extension (inbound-dahdi, s, 5) exited non-zero on 'DAHDI/1-1' 
>>>>> -- Hungup 'DAHDI/1-1' 
>>>>>
>>>>> The problem is that I never actually here the message playback. On the dialling phone I just hear it keep ringing. My test dialplan is as follows :- 
>>>>>
>>>>> [inbound-dahdi] 
>>>>> exten => s,1,Answer() 
>>>>> exten => s,n,Ringing() 
>>>>> exten => s,n,Wait(1) 
>>>>> exten => s,n,Playback(home-message) 
>>>>> exten => s,n,Hangup() 
>>>>>
>>>>>           
>>>> I put that in mine and get: 
>>>>
>>>> == Starting post polarity CID detection on channel 4 
>>>> -- Starting simple switch on 'Zap/4-1' 
>>>> -- Executing Answer("Zap/4-1", "") in new stack 
>>>> -- Executing Ringing("Zap/4-1", "") in new stack 
>>>> -- Executing Wait("Zap/4-1", "1") in new stack 
>>>> -- Executing Playback("Zap/4-1", "tt-ferrets") in new stack 
>>>> -- Playing 'tt-ferrets' (language 'en') 
>>>> -- Executing Hangup("Zap/4-1", "") in new stack 
>>>> == Spawn extension (incoming-zap-ddi, s, 5) exited non-zero on 'Zap/4-1' 
>>>> -- Hungup 'Zap/4-1' 
>>>>
>>>> Personally I'd not put in the Ringing(), but it's doing no harm here... 
>>>>
>>>> Looks like it's almost there - barring bugs in the dahdi code, but there 
>>>> must be 1000's of people out there using it with TDM400 cards or clones... 
>>>> The differences between UK and US lines are minimal give or take a line 
>>>> reversal, but who knows... 
>>>>
>>>> Gordon 
>>>>
>>>> _______________________________________________ 
>>>>
>>>>
>>>>         
>>> Yes, I agree with you Gordon, I really do think it is a bug in the DADHI code as it never plays back the message at all. I even tried removing the Ringing code and that makes no difference at all. With such a simple dialplan and configuration I can only think it is how BT signals the line. Though the fact that the dialplan does get executed suggests that it has noticed the inbound call; it just does not pick up the line :( 
>>>
>>> Best Regards, 
>>>
>>>
>>>       
>> Are you using a 2-pin BT to RJ-11 phone cable? If your cable is a 4-pin 
>> BT to RJ-11 version, then its a modem cable and it won't work. The 
>> symptoms will be similar to what you have described. 
>>
>> Regards, 
>> Steve 
>>
>>
>>     
> Hi Steve,
>
> Thank you for the reply.  I have a RJ11 plugged into the TDM400 which has a standard BT connector on the end.  This is then connected to a standard telephone extension cable and plugged into the BT socket.
>
> Should I be using something different ?
>
> Best Regards,
>
>   
Hi,

Your BT connector should have only 2 pins. If there are 4 pins on the BT 
connector, then it is a modem cable, which is wrong.

Regards,
Steve.




More information about the asterisk-users mailing list