SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dghundtOffline



Joined: Oct 16, 2005
Posts: 166

Status: Offline
Posted: Oct 19, 2009 - 12:14 AM Reply with quote Back to top
I am using BUSYDETECT which correctly detects busy signal on an fxo trunk,

DEBUG[4073] dsp.c: ast_dsp_busydetect detected busy, avgtone: 455, avgsilence 500

But the problem is, it just goes to the hangup extension. If I try to catch the dialstatus or hangup cause, I have no useful info.
[2009-10-18 19:15:19] VERBOSE[4073] logger.c: == Spawn extension (context1, s, 16) exited non-zero on 'Zap/1-1'
exten => h,1,NoOp(Hanging up now... DIALSTATUS ${DIALSTATUS} HANGUPCAUSE ${HANGUPCAUSE})

I get:
DIALSTATUS HANGUPCAUSE 0

How can I detect in my dialplan that I am hanging up because I detected busy?
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.