Thursday, May 28, 2009

Hold/mute with FreeSwitch and Asterisk

Now I know how the "hold" and "mute" works on FreeSwitch and Asterisk (in a lure of SIP). X-Lite, Eyabeam and SjPhone were used in test, and with all of them pressing on "hold" softphone button led to: participator hear music-on-hold, hold-initiator hear silence. So, both FreeSwitch and Asterisk are so wise that play music-on-hold for person being held and silence for us. "Mute" is similar.

(at least) For Asterisk it is possible to turn of sound in music-on-hold (if you wish to hear silence being held and being free. To do this add line
musiconhold=none
to the specific peer section or to the 'global' if you want to apply this feature for everyone.


Ad notam:
  1. "hold" itself is simply re-INVITE with SDP attributes
  2. IN:0.0.0.0
    a:sendonly

  3. Mute. Well, with Asterisk you can mute SIP channel using re-INVITE with "a=receiveonly" in media description. Freeswitch (at least in version 1.0.4 and below) doesn't support this.

2 comments:

  1. Would you be interested in joining us in a bounty to get mute by uuid added to the FS core?

    I think we have 2 other people who are ready to put some money on it. If you joined us, we might have enough.

    ReplyDelete
  2. Sorry, I'm no longer intrested in very this field.

    ReplyDelete