Slow outbound call service requires a "fake" UK ringtone
Got an application where it can sometimes take several seconds for an outbound call to give any progress. I'd like the A-party to hear UK ringing "to be getting on with" so they don't think there's something wrong and hang up prematurely. How do I do this? Cheers, Alex
This is done with Early Media. On Mon, Aug 17, 2015 at 11:18 AM, Alex Lake <alex@digitalmail.com> wrote:
Got an application where it can sometimes take several seconds for an outbound call to give any progress. I'd like the A-party to hear UK ringing "to be getting on with" so they don't think there's something wrong and hang up prematurely.
How do I do this?
Cheers, Alex
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
<action application="set" data="ringback=${uk-ring}"/> <action application="preanswer"/> then bridge as normal with {ignore_early_media=true} at the start of the dialstring ${uk-ring} is defined in vars.xml of the vanilla example config See https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones#Ringback
Thanks - that sounds good. Although my version of Freeswitch (1.2.22) doesn't have preanswer! Is there a way of doing it with the old version? On 17/08/2015 21:30, Steven Ayre wrote:
<action application="set" data="ringback=${uk-ring}"/> <action application="preanswer"/> then bridge as normal with {ignore_early_media=true} at the start of the dialstring
${uk-ring} is defined in vars.xml of the vanilla example config
See https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones#Ringback
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Sorry, it's <action application="pre_answer"/>. Try it without it first - I can't remember whether bridge would do so for you. On 18 August 2015 at 09:56, Alex Lake <alex@digitalmail.com> wrote:
Thanks - that sounds good. Although my version of Freeswitch (1.2.22) doesn't have preanswer! Is there a way of doing it with the old version?
On 17/08/2015 21:30, Steven Ayre wrote:
<action application="set" data="ringback=${uk-ring}"/> <action application="preanswer"/> then bridge as normal with {ignore_early_media=true} at the start of the dialstring
${uk-ring} is defined in vars.xml of the vanilla example config
See https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones#Ringback
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You'll only get your fake ringing if your provider sends a 18X OR you set instant_ringback=true On Tue, Aug 18, 2015 at 9:07 AM, Steven Ayre <steveayre@gmail.com> wrote:
Sorry, it's <action application="pre_answer"/>.
Try it without it first - I can't remember whether bridge would do so for you.
On 18 August 2015 at 09:56, Alex Lake <alex@digitalmail.com> wrote:
Thanks - that sounds good. Although my version of Freeswitch (1.2.22) doesn't have preanswer! Is there a way of doing it with the old version?
On 17/08/2015 21:30, Steven Ayre wrote:
<action application="set" data="ringback=${uk-ring}"/> <action application="preanswer"/> then bridge as normal with {ignore_early_media=true} at the start of the dialstring
${uk-ring} is defined in vars.xml of the vanilla example config
See https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones#Ringback
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ítalo Rossi
Mmmm.... I now have this: <action application="set" data="instant_ringback=true"/> <action application="set" data="ringback=${uk-ring}"/> <action application="pre_answer"/> <action application="sleep" data="5000"/> The idea is that I would hope to hear a ringtone while the 5s delay is occurring and I still don't.... As it happens, there's less commercial necessity for this than first thought, but it would be cool to get it working. Rgds, Alex On 18/08/2015 13:20, Ítalo Rossi wrote:
You'll only get your fake ringing if your provider sends a 18X OR you set instant_ringback=true
On Tue, Aug 18, 2015 at 9:07 AM, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com>> wrote:
Sorry, it's <action application="pre_answer"/>.
Try it without it first - I can't remember whether bridge would do so for you.
On 18 August 2015 at 09:56, Alex Lake <alex@digitalmail.com <mailto:alex@digitalmail.com>> wrote:
Thanks - that sounds good. Although my version of Freeswitch (1.2.22) doesn't have preanswer! Is there a way of doing it with the old version?
On 17/08/2015 21:30, Steven Ayre wrote:
<action application="set" data="ringback=${uk-ring}"/> <action application="preanswer"/> then bridge as normal with {ignore_early_media=true} at the start of the dialstring
${uk-ring} is defined in vars.xml of the vanilla example config
See https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones#Ringback
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ítalo Rossi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
The issue you'll get (that I've seen before) when the ongoing call fails you could get customers complaining that it cuts off even though it's ringing. On 18 August 2015 at 17:09, Alex Lake <alex@digitalmail.com> wrote:
Mmmm....
I now have this:
<action application="set" data="instant_ringback=true"/> <action application="set" data="ringback=${uk-ring}"/> <action application="pre_answer"/> <action application="sleep" data="5000"/>
The idea is that I would hope to hear a ringtone while the 5s delay is occurring and I still don't....
As it happens, there's less commercial necessity for this than first thought, but it would be cool to get it working.
Rgds, Alex
On 18/08/2015 13:20, Ítalo Rossi wrote:
You'll only get your fake ringing if your provider sends a 18X OR you set instant_ringback=true
On Tue, Aug 18, 2015 at 9:07 AM, Steven Ayre <steveayre@gmail.com> wrote:
Sorry, it's <action application="pre_answer"/>.
Try it without it first - I can't remember whether bridge would do so for you.
On 18 August 2015 at 09:56, Alex Lake <alex@digitalmail.com> wrote:
Thanks - that sounds good. Although my version of Freeswitch (1.2.22) doesn't have preanswer! Is there a way of doing it with the old version?
On 17/08/2015 21:30, Steven Ayre wrote:
<action application="set" data="ringback=${uk-ring}"/> <action application="preanswer"/> then bridge as normal with {ignore_early_media=true} at the start of the dialstring
${uk-ring} is defined in vars.xml of the vanilla example config
See https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones#Ringback
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ítalo Rossi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T <info@cassidywebservices.co.uk> *03300 100 960 *F <info@cassidywebservices.co.uk> *03300 100 961 *E <info@cassidywebservices.co.uk> *andrew@cassidywebservices.co.uk *W <info@cassidywebservices.co.uk> *www.cassidywebservices.co.uk
Yes, but I'm getting complaints at the moment from people saying they can't hear anything at all and hang up. All a bit of a murky compromise... On 18/08/2015 17:27, Andrew Cassidy wrote:
The issue you'll get (that I've seen before) when the ongoing call fails you could get customers complaining that it cuts off even though it's ringing.
On 18 August 2015 at 17:09, Alex Lake <alex@digitalmail.com <mailto:alex@digitalmail.com>> wrote:
Mmmm....
I now have this:
<action application="set" data="instant_ringback=true"/> <action application="set" data="ringback=${uk-ring}"/> <action application="pre_answer"/> <action application="sleep" data="5000"/>
The idea is that I would hope to hear a ringtone while the 5s delay is occurring and I still don't....
As it happens, there's less commercial necessity for this than first thought, but it would be cool to get it working.
Rgds, Alex
On 18/08/2015 13:20, Ítalo Rossi wrote:
You'll only get your fake ringing if your provider sends a 18X OR you set instant_ringback=true
On Tue, Aug 18, 2015 at 9:07 AM, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com>> wrote:
Sorry, it's <action application="pre_answer"/>.
Try it without it first - I can't remember whether bridge would do so for you.
On 18 August 2015 at 09:56, Alex Lake <alex@digitalmail.com <mailto:alex@digitalmail.com>> wrote:
Thanks - that sounds good. Although my version of Freeswitch (1.2.22) doesn't have preanswer! Is there a way of doing it with the old version?
On 17/08/2015 21:30, Steven Ayre wrote:
<action application="set" data="ringback=${uk-ring}"/> <action application="preanswer"/> then bridge as normal with {ignore_early_media=true} at the start of the dialstring
${uk-ring} is defined in vars.xml of the vanilla example config
See https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones#Ringback
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ítalo Rossi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director
*T <mailto:info@cassidywebservices.co.uk> *03300 100 960 *F <mailto:info@cassidywebservices.co.uk> *03300 100 961 *E <mailto:info@cassidywebservices.co.uk> *andrew@cassidywebservices.co.uk <mailto:andrew@cassidywebservices.co.uk> *W <mailto:info@cassidywebservices.co.uk> *www.cassidywebservices.co.uk <http://www.cassidywebservices.co.uk>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
They're variables used by the bridge app, you won't have bettaway generated by sleep. Bridging to the sleep app via the loopback endpoint should give a way to test it. On 18 August 2015 at 17:09, Alex Lake <alex@digitalmail.com> wrote:
Mmmm....
I now have this:
<action application="set" data="instant_ringback=true"/> <action application="set" data="ringback=${uk-ring}"/> <action application="pre_answer"/> <action application="sleep" data="5000"/>
The idea is that I would hope to hear a ringtone while the 5s delay is occurring and I still don't....
As it happens, there's less commercial necessity for this than first thought, but it would be cool to get it working.
Rgds, Alex
On 18/08/2015 13:20, Ítalo Rossi wrote:
You'll only get your fake ringing if your provider sends a 18X OR you set instant_ringback=true
On Tue, Aug 18, 2015 at 9:07 AM, Steven Ayre <steveayre@gmail.com> wrote:
Sorry, it's <action application="pre_answer"/>.
Try it without it first - I can't remember whether bridge would do so for you.
On 18 August 2015 at 09:56, Alex Lake <alex@digitalmail.com> wrote:
Thanks - that sounds good. Although my version of Freeswitch (1.2.22) doesn't have preanswer! Is there a way of doing it with the old version?
On 17/08/2015 21:30, Steven Ayre wrote:
<action application="set" data="ringback=${uk-ring}"/> <action application="preanswer"/> then bridge as normal with {ignore_early_media=true} at the start of the dialstring
${uk-ring} is defined in vars.xml of the vanilla example config
See https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones#Ringback
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ítalo Rossi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Yes!!! Taking out the "sleep" fixed the problem. That's great. Thanks all... On 18/08/2015 21:38, Steven Ayre wrote:
They're variables used by the bridge app, you won't have bettaway generated by sleep.
Bridging to the sleep app via the loopback endpoint should give a way to test it.
On 18 August 2015 at 17:09, Alex Lake <alex@digitalmail.com <mailto:alex@digitalmail.com>> wrote:
Mmmm....
I now have this:
<action application="set" data="instant_ringback=true"/> <action application="set" data="ringback=${uk-ring}"/> <action application="pre_answer"/> <action application="sleep" data="5000"/>
The idea is that I would hope to hear a ringtone while the 5s delay is occurring and I still don't....
As it happens, there's less commercial necessity for this than first thought, but it would be cool to get it working.
Rgds, Alex
On 18/08/2015 13:20, Ítalo Rossi wrote:
You'll only get your fake ringing if your provider sends a 18X OR you set instant_ringback=true
On Tue, Aug 18, 2015 at 9:07 AM, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com>> wrote:
Sorry, it's <action application="pre_answer"/>.
Try it without it first - I can't remember whether bridge would do so for you.
On 18 August 2015 at 09:56, Alex Lake <alex@digitalmail.com <mailto:alex@digitalmail.com>> wrote:
Thanks - that sounds good. Although my version of Freeswitch (1.2.22) doesn't have preanswer! Is there a way of doing it with the old version?
On 17/08/2015 21:30, Steven Ayre wrote:
<action application="set" data="ringback=${uk-ring}"/> <action application="preanswer"/> then bridge as normal with {ignore_early_media=true} at the start of the dialstring
${uk-ring} is defined in vars.xml of the vanilla example config
See https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones#Ringback
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ítalo Rossi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You should migrate to 1.4.x, 1.2.x has been EOL'ed. On Wed, Aug 19, 2015 at 5:02 AM, Alex Lake <alex@digitalmail.com> wrote:
Yes!!! Taking out the "sleep" fixed the problem. That's great. Thanks all...
On 18/08/2015 21:38, Steven Ayre wrote:
They're variables used by the bridge app, you won't have bettaway generated by sleep.
Bridging to the sleep app via the loopback endpoint should give a way to test it.
On 18 August 2015 at 17:09, Alex Lake <alex@digitalmail.com> wrote:
Mmmm....
I now have this:
<action application="set" data="instant_ringback=true"/> <action application="set" data="ringback=${uk-ring}"/> <action application="pre_answer"/> <action application="sleep" data="5000"/>
The idea is that I would hope to hear a ringtone while the 5s delay is occurring and I still don't....
As it happens, there's less commercial necessity for this than first thought, but it would be cool to get it working.
Rgds, Alex
On 18/08/2015 13:20, Ítalo Rossi wrote:
You'll only get your fake ringing if your provider sends a 18X OR you set instant_ringback=true
On Tue, Aug 18, 2015 at 9:07 AM, Steven Ayre <steveayre@gmail.com> wrote:
Sorry, it's <action application="pre_answer"/>.
Try it without it first - I can't remember whether bridge would do so for you.
On 18 August 2015 at 09:56, Alex Lake <alex@digitalmail.com> wrote:
Thanks - that sounds good. Although my version of Freeswitch (1.2.22) doesn't have preanswer! Is there a way of doing it with the old version?
On 17/08/2015 21:30, Steven Ayre wrote:
<action application="set" data="ringback=${uk-ring}"/> <action application="preanswer"/> then bridge as normal with {ignore_early_media=true} at the start of the dialstring
${uk-ring} is defined in vars.xml of the vanilla example config
See https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones#Ringback
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ítalo Rossi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Oops - pre_answer does exist, but it doesn't seem to put ringing on the line. Will investigate more... On 17/08/2015 21:30, Steven Ayre wrote:
<action application="set" data="ringback=${uk-ring}"/> <action application="preanswer"/> then bridge as normal with {ignore_early_media=true} at the start of the dialstring
${uk-ring} is defined in vars.xml of the vanilla example config
See https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones#Ringback
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
<action application="log" data="INFO: ******************************************************************************"/> <action application="set" data="ringback=${uk-ring}"/> <action application="pre_answer"/> <action application="sleep" data="5000"/> <action application="log" data="INFO: ******************************************************************************"/> Results in EXECUTE sofia/internal/02070604380@87.238.73.146 log(INFO: ******************************************************************************) 2015-08-18 09:35:33.274143 [DEBUG] mod_dptools.c:1595 ****************************************************************************** EXECUTE sofia/internal/02070604380@87.238.73.146 set(ringback=%(400,200,400,450);%(400,2000,400,450)) 2015-08-18 09:35:33.274143 [DEBUG] mod_dptools.c:1402 sofia/internal/02070604380@87.238.73.146 SET [ringback]=[%(400,200,400,450);%(400,2000,400,450)] EXECUTE sofia/internal/02070604380@87.238.73.146 pre_answer() 2015-08-18 09:35:33.274143 [INFO] mod_dptools.c:1260 Sending early media 2015-08-18 09:35:33.274143 [DEBUG] sofia_glue.c:3449 AUDIO RTP [sofia/internal/02070604380@87.238.73.146] 176.9.31.72 port 13254 -> 87.238.73.160 port 19206 codec: 8 ms: 20 2015-08-18 09:35:33.274143 [DEBUG] switch_rtp.c:2033 Starting timer [soft] 160 bytes per 20ms 2015-08-18 09:35:33.274143 [DEBUG] sofia_glue.c:3716 Set 2833 dtmf send payload to 101 2015-08-18 09:35:33.274143 [DEBUG] sofia_glue.c:3722 Set 2833 dtmf receive payload to 101 2015-08-18 09:35:33.274143 [DEBUG] sofia_glue.c:3749 sofia/internal/02070604380@87.238.73.146 Set rtp dtmf delay to 40 2015-08-18 09:35:33.274143 [DEBUG] mod_sofia.c:2885 Ring SDP: v=0 o=FreeSWITCH 1439877279 1439877280 IN IP4 176.9.31.72 s=FreeSWITCH c=IN IP4 176.9.31.72 t=0 0 m=audio 13254 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2015-08-18 09:35:33.274143 [NOTICE] mod_sofia.c:2888 Pre-Answer sofia/internal/02070604380@87.238.73.146! 2015-08-18 09:35:33.274143 [DEBUG] switch_channel.c:3367 (sofia/internal/02070604380@87.238.73.146) Callstate Change RINGING -> EARLY 2015-08-18 09:35:33.274143 [DEBUG] switch_core_session.c:871 Send signal sofia/internal/02070604380@87.238.73.146 [BREAK] EXECUTE sofia/internal/02070604380@87.238.73.146 sleep(5000) 2015-08-18 09:35:33.274143 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/02070604380@87.238.73.146 [BREAK] 2015-08-18 09:35:33.274143 [DEBUG] sofia.c:5811 Channel sofia/internal/02070604380@87.238.73.146 entering state [early][183] 2015-08-18 09:35:33.314141 [DEBUG] switch_rtp.c:3749 Correct ip/port confirmed. EXECUTE sofia/internal/02070604380@87.238.73.146 log(INFO: ******************************************************************************) 2015-08-18 09:35:38.274186 [DEBUG] mod_dptools.c:1595 ****************************************************************************** And I hear silence. I'm slightly concerned about who's responsible for all this work - I know that Anthony sometimes says "so which thread do you think is generating the sounds?" and I suspect this may be one of those cases. Trouble is, that dialplan often seems like magic to me!
I think is will help you http://lists.freeswitch.org/pipermail/freeswitch-users/2015-July/114369.html On Mon, Aug 17, 2015 at 8:18 PM, Alex Lake <alex@digitalmail.com> wrote:
Got an application where it can sometimes take several seconds for an outbound call to give any progress. I'd like the A-party to hear UK ringing "to be getting on with" so they don't think there's something wrong and hang up prematurely.
How do I do this?
Cheers, Alex
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks, but I don't want to delay the call even more - which is my understanding of what that would do. I'll take out the sleep, if that's responsible for the ringtone not coming through Alex On 19/08/2015 08:35, Sergey Safarov wrote:
I think is will help you http://lists.freeswitch.org/pipermail/freeswitch-users/2015-July/114369.html
On Mon, Aug 17, 2015 at 8:18 PM, Alex Lake <alex@digitalmail.com <mailto:alex@digitalmail.com>> wrote:
Got an application where it can sometimes take several seconds for an outbound call to give any progress. I'd like the A-party to hear UK ringing "to be getting on with" so they don't think there's something wrong and hang up prematurely.
How do I do this?
Cheers, Alex
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (7)
-
Alex Lake
-
Andrew Cassidy
-
Brian West
-
Chris Tunbridge
-
Sergey Safarov
-
Steven Ayre
-
Ítalo Rossi