[Asterisk-Users] Can I tell if it hung up due to busydetect or
disconnect supervision?
C F
shmaltz at gmail.com
Wed Dec 29 15:45:31 MST 2004
I would play around with the DIALSTATUS variable:
http://www.voip-info.org/wiki-Asterisk+variable+DIALSTATUS
use noop(${DIALSTATUS}) and see what happens.
Shalom Ubracha Vhatzlacha
On Thu, 30 Dec 2004 00:30:42 +0200, Warren Burstein <warren at softov.co.il> wrote:
> The FXO lines on my TDM400 are connected to PSTN lines in Israel. As far as
> I know, the lines around here have disconnect supervision (I've seen some
> other Israelis on this list, anyone know for sure?), because it's worked on
> Dialogic cards, which reported hangup, not busy detect (while when I connect
> a Dialogic card to a PBX, I have to measure the busy signal's
> frequency/cadence or it doesn't disconnect). I couldn't tell for sure - I
> don't have a phone with a light, and the only voltmeters I have are digital,
> no way to see if there is a drop to zero between the several volts when the
> line is offhook to the 47 volts when it is onhook.
>
> But * would only recognize hangup if I unplugged the PSTN line. Otherwise
> it would play my voicemail menu over and over if I hung up without choosing
> an extension, good thing I put in a counter and did Hangup after a few
> tries.
>
> So, I turned on busydetect, and now disconnect works (I was surprised that
> it worked right away, I didn't even need to find out where the busy signal
> is defined, maybe the busy here is the same or close enough to the US tone),
> but I was wondering, is there any way I can get the console to let me know
> whether it disconnected due to voltage drop or busy detection?
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list