[Freeswitch-users] FS not relaying 180/183 in proxy_media

Grant Bagdasarian gb at cm.nl
Tue Jun 28 19:09:22 MSD 2016


I've enabled inbound-late-negotiation in the sip_profile and here is my dialplan config:

    <param name="inbound-bypass-media" value="false"/>
    <param name="inbound-proxy-media" value="true"/>
<param name="inbound-late-negotiation" value="true"/>

For now I've set the ring_ready, else no ring back tone is generated.

Anything wrong here?

<include>
    <context name="local">
    <extension name="route_to_public">
      <condition field="destination_number" expression="(\d+)$" require-nested="false">
        <action application="set" data="bridge_early_media=true" />
        <action application="set" data="hangup_after_bridge=true"/>
        <action application="set" data="continue_on_fail=false"/>
                               <action application="set" data="ignore_early_media=false"/>
        <action application="set" data="sip_copy_custom_headers=false" />
                               <action application="set" data="sip_ignore_reinvites=false"/>

                               <action application="ring_ready" />

                               <action application="set" data="effective_caller_id_number=${translate(${caller_id_number} To_International)}" />
        <action application="set" data="effective_caller_id_name=${translate(${caller_id_number} To_International)}" />
                               <action application="set" data="destination_number_translated=${translate(${destination_number} To_International)}"/>
        <action application="bridge" data="sofia/gateway/${distributor(public_gws ${sofia(profile pubilc_eth1 gwlist down)})}/${destination_number_translated}" />
      </condition>
    </extension>
  </context>
</include>


From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice
Sent: Tuesday, June 28, 2016 4:34 PM
To: 'FreeSWITCH Users Help' <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] FS not relaying 180/183 in proxy_media

FS auto-relays those in any mode... however proxy media itself has no real advantage over just setting late negotiation which reduces or eliminates transcoding. Transcoding is where most of the load is there... as far as the 180/183 as long as its 1:1 call in to call out from the FS perspective those are passed across the bridge automatically... if you are doing something like get a call in then originate another call and trying to manually bridge them after the b leg is answered, this will not work and is recommended against generally.



From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Grant Bagdasarian
Sent: Tuesday, June 28, 2016 6:40 AM
To: FreeSWITCH Users Help (freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>) <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Subject: [Freeswitch-users] FS not relaying 180/183 in proxy_media

Hello,

Is it possible to make freeswitch relay the 180 or 183 replies, including the ringback tone, in proxy_media mode to the next hop?

Regards,

Grant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160628/6be3dea0/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list