Displaying 1 result from an estimated 1 matches for "application_num".
Did you mean:
application_name
2009 Jun 23
1
[extensions.conf] Any idea why not working as it should?
...ension 4, both User1
and User2 get the e-mail, while I expect only User1 to get one:
===== /usr/local/etc/asterisk/extensions.conf
//Caller can choose extensions 1, 2, 3, 4 or 9
//Look up software name from extension
exten => _[1-49],1,AGI(convert_app.phpcli|${EXTEN})
exten => _[1-49],n,Set(APPLICATION_NUM="${EXTEN}")
//Send e-mail to who is in charge of the application
exten =>
_[1-49],n,AGI(send_call_notification.phpcli|${CALLERID(name)}|${CALLERID(num)}|${APPLICATION_NUM})
exten => _[1-49],n,Hangup()
===== /usr/local/share/asterisk/agi-bin/send_call_notification.phpcli
switch($a...