[asterisk-users] [UK SPECIFIC] DAHDI and a OpenVox Card
--[ UxBoD ]--
uxbod at splatnix.net
Sun May 3 03:18:56 CDT 2009
----- "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,
--
SplatNIX IT Services :: Innovation through collaboration
More information about the asterisk-users
mailing list