[Freeswitch-users] patch for sofia_sip_i_invite to support replaces with action

Stanislav Sinyagin ssinyagin at gmail.com
Wed Apr 22 17:22:35 MSD 2015


why don't you pass the call to mod_perl or Lua, and do all the
necessary lookups in the script? This shpouldn;t be a big deal to
implement, and much more safe than patching mod_sofia.



On Wed, Apr 22, 2015 at 12:38 PM, Luis Azedo
<luis.azedo at factorlusitano.com> wrote:
> Hi,
>
> i need a inline custom action passed with an INVITE msg with a replaces header
> or a better to use this scenario.
>
> right now, for calls with replaces header there is support for sla,
> intercept and attendant transfer.
>
> my problem is that intercept requires the bridge_uuid which is not set
> on one leg calls (on hold playing music) so the intercept condition
> won't be hit.
>
> the attendant transfer takes app/data applies and then hangs up the call.
>
> i need a simple answer,intercept:(sip->sip_replaces->rp_call_id)
> instead of bridge_uuid.
>
> i tried to set signal_bond and originate_signal_bound on the channel
> to see if i could bypass this, but with no luck.
>
> i created a small patch that i am attaching here with the hope that
> FreeSWITCH will look and possibly merge it.
>
> Best
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org



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