On Wed, 2004-05-05 at 03:45, Tomica Crnek wrote:> Maybe someone could help me. I have Asterisk in production with TE410P
> connected to PSTN. When I call from internal phones, either voip or
> connected via other PRI trunk, to PSTN and if the called phone is busy
> I don't hear anything!?! I should hear tone indicating that called
> number is busy. I have played with busydetect and callprogress in
> zapata.conf, but I didn't find what is wrong.
PRI's don't do inband signaling:
;
; Outbound 9-225-nxx-xxxx calls
;
exten => _9225NXXXXXX,1,AGI(/etc/asterisk/agi/cidfixup.agi,9857648744)
exten => _9225NXXXXXX,2,Dial(${PSTN}/${EXTEN:1})
exten => _9225NXXXXXX,3,Macro(dial-result)
[macro-dial-result]
exten => s,1,NoOp(HANGUPCAUSE=${HANGUPCAUSE})
exten => s,2,GoToIf($[${HANGUPCAUSE} = 2]?busy,1)
exten => s,3,GoToIf($[${HANGUPCAUSE} = 3]?disconnected,1)
exten => s,4,GoToIf($[${HANGUPCAUSE} = 4]?congestion,1)
exten => s,3,GoToIf($[${HANGUPCAUSE} = 5]?disconnected,1)
exten => s,5,Playback(tt-weasels)
;
exten => busy,1,Busy()
exten => disconnected,1,Macro(disconnected)
exten => congestion,1,Congestion()
[macro-disconnected]
exten => s,1,Zapateller
exten => s,2,Playback(${SOUNDSDIR}/disconnected)
exten => s,3,Wait(1)
exten => s,4,Zapateller
exten => s,5,Playback(${SOUNDSDIR}/disconnected)
exten => s,6,Wait(1)
exten => s,7,Congestion()
--
Eric Wieling * BTEL Consulting * 504-899-1387 x2111
"In a related story, the IRS has recently ruled that the cost of Windows
upgrades can NOT be deducted as a gambling loss."