Touch Tone After Call Established
-
-
With a little bit of coding/hacking it can be done. Edit FOP2Callbacks.pm and add the following inside the flashcommand if else block:
} elsif($command eq "playdtmf") { $contexto = $parameters[2]; my $mychannel = main::get_btn_config( "$contexto", $parameters[0], 'MAINCHANNEL'); my $myactive = main::get_active_link($mychannel); $return = "Action: PlayDTMF\r\n"; $return .= "Channel: $myactive\r\n"; $return .= "Digit: ".$parameters[1]."\r\n"; $return .= "\r\n"; push @allreturn, $return; return @allreturn; }That will receive dtmf entered via the dialbox dialpad and inject them to the linked channel. I will probably add this to the main event handling on the next release.
Best regards,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login