<div style="font-size: x-small; font: x-small Arial !important; font-face: Arial;"><span style="font-size: x-small;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: x-small;"><span style="font-size: x-small;"><span style="font-size: x-small;"><span style="font-size: x-small;"><span style="font-size: x-small;"><span style="font-size: xx-small;"><span style=
"font-size: x-small;">Hello,</span></span></span></span></span></span></span><br />
This is something I came across on Freeswitch 1.0.4<br />
First let me explain what I'm trying to do.<br />
I want Free-Switch to behave as a proxy so in the settings section of Sofia.conf.xml I use<br />
<param name="media-option" value="bypass-media-after-att-xfer"/><br />
and<br />
<param name="inbound-bypass-media" value="true"/><br />
As fare as I am able to follow the RTP stream it is passing by Freeswitch making it a proxy.<br />
So far so good. Now I want to serv music on hold if a call is put on hold.<br />
The only way I am able to find for Freeswitch to serv music on hold (MOH) is for it to be in media.<br />
Ok we've got a command for this situation namely<br />
<param name="media-option" value="resume-media-on-hold"/><br />
Ok if I put the last parram command into the Sofia.conf.xml Freeswitch is starting to behave funny.</span></span><br />
<span style="font-size: x-small;"><span style="font-family: arial,helvetica,sans-serif;">Let me try to explain this by an example. Let suppose Alice is calling Bob without the last command, the “resume media on hold”.<br />
If Bob puts Alice on hold al is silent on Bob's and Alice's phone.<br />
If Bob takes Alice of hold there's two way audio.<br />
Ok no I put the command in sofia.onf.xml, the “resume media on hold”.<br />
Now Alice is calling Bob again and Bob is putting her on hold again.<br />
You are expecting MOH on this moment but it isn't, all there is are the sounds of silence.<br />
Ok mistake made checking local streams, and they are there?. Yes it is.<br />
Ok other mistake, didn't put the “hold-music”command in sofia.conf.xml. Noop it's in there so there must be MOH. Codecs then?.<br />
Noop there in vars.xml. Ok for me it is time to throw in the towel, I'll find it out later.<br /></span></span><span style="font-size: x-small;"><span style="font-family: arial,helvetica,sans-serif;">Ok Bob is now taking Alice of hold and surprise surprise there is only one way audio, between Alice and Bob.<br />
I didn't have the time to look with Wireshark where al the steams go so sorry for that.<br /></span></span><span style="font-size: x-small;"><span style="font-family: arial,helvetica,sans-serif;">Did anyone came across the same problem with Freeswitch 1.0.4. I've a 1.0.2 running and that is doing everything a ok.</span></span><span style=
"font-size: x-small;"><br />
<br />
Kind regards,</span>
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal;">
<span style="font-size: x-small;">Durk</span>
</p></div>