is_audio_on_hold() will return the hold type:
if(is_audio_on_hold())
{
switch ($rc) {
case 1:
# RFC2543 hold type
# do interesting stuff here
break;
case 2:
# RFC3264 hold type
# do interesting stuff here
break;
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.