Hi,<br> I have been trying to use the variable "no_media" to enable the media flow<br>directly between the registered endpoints. Irrespective of the value of "no_media"<br>variable the media always flows through the freeswitch.
<br><br>Here is my setup<br>Two SIP end points(1001 and 1002) registered to Freeswitch.<br><br>Dial plan:<br><extension name="test"> <br> <condition field="destination_number" expression="^(1002)$">
<br> <action application="set" data="no_media=true"/><br> <action application="bridge" data="sofia/$${domain}/1002%freeswitch_ip"/><br> </condition><br>
</extension><br><br><br>My requirement is to set the media path(direct or through freeswitch) based on the <br>destination and not for all SIP calls.<br><br>(Note: I had a quick look at audio_bridge_function in mod_dptools.c. I do not see
<br>the no_media variable used. Please ignore this note if this is not the right function)<br><br><br>Thanks in advance<br><br>-Sanjeev<br>