Function "is_audio_on_hold()" has support for rfc2543 only, where "hold" is indicated by setting the "c" destination addresses for the media streams to zero (0.0.0.0). Could you please add support for rfc3264 for this function, where "hold" is indicated by a=sendonly/inactive.
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; } ````
Closed #1292.