[Freeswitch-users] No ringtone to caller when third party call control (3PCC) is enabled

Brian West brian at freeswitch.com
Wed Sep 12 13:37:19 UTC 2018


Yes please submit a JIRA.

On Wed, Sep 12, 2018 at 2:38 AM, Jaan Kaja <Jaan.Kaja at enghouse.com> wrote:

> Hi,
>
>
>
> I have configured "enable-3pcc=proxy" in the SIP profile, and have an
> external application that controls answer-call, make-call, etc. The
> configuration means that incoming calls w/o SDP are accepted, which works
> fine.
>
> The problem is that when I make an outgoing call, ringtone is not played
> to the caller, although the “ringback” variable is set for the caller's leg.
>
>
>
> I have checked the code in mod_sofia, and in sofia.c, there is a piece of
> code:
>
>                                                           if
> (sofia_test_flag(tech_pvt, TFLAG_SKIP_EARLY)) {
>
>
> sofia_clear_flag_locked(tech_pvt, TFLAG_SKIP_EARLY);
>
>                                                                                        goto
> done;
>
>                                                           }
>
> which disables reaching the ring-ready state. TFLAG_SKIP_EARLY is set when
> TFLAG_3PCC is true. If I comment out the goto statement, the A-party gets
> ringtone. N.B.: This is just a minimal quick fix, not a proposed solution,
> which works because I’m not doing an enterprise originate.
>
>
>
> Question: Is there a reason for this behavior? Documentation shows that
> early media must be disabled when an enterprise originate is done, but why
> is playing ringtone disabled in this case? Should I submit a bug report to
> Jira?
>
>
>
> Best regards,
>
> Jaan
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
>



-- 

Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>

[image: https://www.facebook.com/signalwireinc?src=email]
<https://www.facebook.com/freeswitch> [image:
https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180912/29f72797/attachment.html>


More information about the FreeSWITCH-users mailing list