I can not seem to get dial status to work, in sip.conf I have: qualify=yes simple plan: exten => 51,1,Dial(SIP/11,20,r) exten => 51,n,Goto(s-${DIALSTATUS},1) exten => s-Busy,1,Hangup() exten => s-Answer,1,Macro(atb) I'm dialing from exten.11 to exten.11 so I get busy signal and the channel should hangup but it doesn't How to print/display dialstatus? I'm using ATA -- #Joseph
Hi, you can do print the dialstatus to the console e.g.: exten => s,n,NoOp(${DIALSTATUS}) More info: http://www.voip-info.org/wiki/view/Asterisk+cmd+NoOp Bye, Patrick
On Mon, 2 Nov 2009, Patrick Plattes wrote:> you can do print the dialstatus to the console e.g.: > exten => s,n,NoOp(${DIALSTATUS}) > > More info: > http://www.voip-info.org/wiki/view/Asterisk+cmd+NoOpA "better practice" would be to use verbose() -- an application with greater functionality written specifically for this purpose. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000