Dean @ INKnBITs
2006-Aug-01 06:02 UTC
[asterisk-users] SoftHangup with Polycom_acd_functions release of asterisk
Hi, I trying to get the softhangup option to work. I'm using the Polycom_acd_functions branch of asterisk, so not sure if it works with this, or I'm doing something wrong. Below is what I have in the dial plan, using 444 and a mobile for testing, as I would like to use this for emergency services. The pstn-spa3k2 is a Linksys 3000 ATA. [emergency] exten => 444,1,Macro(emergencyoutbound,${EXTEN},60) [macro-emergencyoutbound] exten => s,1,Dial(SIP/xxxxxx@pstn-spa3k2,60,) xxxx currently mobile number for testing exten => s,2,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Congestion() exten => s-BUSY,1,Busy() exten => s-CONGESTION,1,Congestion() exten => s-CHANUNAVAIL,1,Goto(s,300) exten => s,300,SoftHangup(SIP/pstn-spa3k2) exten => s,301,Dial(SIP/xxxxxxx@pstn-spa3k2,60,) Does this look right? Thanks, Dean.