Message handling must be explicitly enabled.
git-svn-id: http://voip.null.ro/svn/yate@4447 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
d53ab41f26
commit
6222a0032b
|
@ -7,7 +7,7 @@
|
|||
postanm_dtmf.php=
|
||||
|
||||
Parameters handled in call.answered:
|
||||
postanm_dtmf: boolean: Handle the message. Defaults to true
|
||||
postanm_dtmf: boolean: Handle the message. Defaults to false
|
||||
postanm_dtmf_text: string: Tones to send. The message will be ignored if text is empty
|
||||
postanm_dtmf_outbound: boolean: Send DTMFs to called (true) or caller (false). Defaults to false
|
||||
postanm_dtmf_delay: integer: Interval to delay the tones in seconds. Defaults to 0
|
||||
|
@ -140,7 +140,7 @@ for (;;) {
|
|||
case "answer":
|
||||
if ($ev->name == "call.answered") {
|
||||
$text = "";
|
||||
if (getBoolValue($ev->getValue($param),true))
|
||||
if (getBoolValue($ev->getValue($param),false))
|
||||
$text = $ev->getValue($param . "_text");
|
||||
if (!empty($text))
|
||||
callAnswered($ev,$text);
|
||||
|
|
Loading…
Reference in New Issue