Microsoft
Software
Hardware
Network
Question : Asterisk DialPlan issue
Hello Experts,
In my Asterisk dialplan, I have:
exten => h,1,Gotoif(${TYPE}=FAX?fax
tomail:hng
)
exten => h,n(faxtomail),System(/usr
/local/bin
/sendEmail
........
exten => h,n(hng),Hangup
When any call being hung with TYPE=PHONE, I am getting this in the CLI and the faxtomail system script is being executed:
-- Executing [h@menu:1] GotoIf("DAHDI/8-1", "PHONE=FAX?faxtomail:hng")
in new stack
-- Goto (menu,h,2)
-- Executing [h@menu:2] System("DAHDI/8-1", "/usr/local/bin/sendEmai
Can you tell me why it's going to label (faxtomail) instead of (hng) ?
Answer : Asterisk DialPlan issue
Try to replace:
exten => h,1,Gotoif(${TYPE}=FAX?fax
tomail:hng
)
By:
exten => h,1,Gotoif($["${TYPE}" = "FAX"]?faxtomail:hng)
Works ?
Random Solutions
How to make IN operator to accept CSV which are varchar in SQL Server 2008
Need HP DMI Utility
How to enable/license terminal server
compareTo() - JavaScript example needed
Access 2003 -> Word 2003 - have a question on code that works to save doc as pdf file...
system idle 99% however the cpu usage runs at between 25 & 45 %
SPSS - Modify Output of Crosstabs
Why Not able to read excel file in the Web application running on Windows7/Office2010?
What does it mean if I am receiving output errors on all of my Cisco Aironet 1130AG?
Mac Mail only shows 90 days of deleted items