Re: [Freeswitch-users] Playback on Congestion
Then you need some scripting, like Lua or an external ESL agent. On 10 Oct 2016 18:49, "Richard Gleason" <rgleason@voipnetwork.net> wrote: But it does not allow to specify rejection codes, for example I want to have two different recordings for SIP 404 and SIP 480. On Mon, Oct 10, 2016 at 3:12 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
You can see an example of using continue_on_fail here: http://wiki.sangoma.com/NSC-SIP-Trunking-Load-Balancing-And-Failover
In your case, you play back a message instead of the second bridge.
On Mon, Oct 10, 2016 at 5:15 AM, Richard Gleason <rgleason@voipnetwork.net> wrote:
Hello Guys,
Need some help with a dial plan that I'm working on.
The goal is to play a pre-recorded message to the originator on congestion.
For example, if GW replies back to FreeSWITCH with code SIP 404, I want to trigger a pre-recorded message and play it back to the originator.
Dial plan uses option bridge.
If it is not difuclt can some one provide an example of dial plan for this action.
Thanks.
-- Best Regards, Richard Gleason
____________________________________________________________
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
-- Best Regards, Richard Gleason _________________________________________________________________________ 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
Sounds more complicated then it is, I found solution simply additional extension with playbacks and do transfer on fail based on rejection code. On Mon, Oct 10, 2016 at 4:24 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
Then you need some scripting, like Lua or an external ESL agent.
On 10 Oct 2016 18:49, "Richard Gleason" <rgleason@voipnetwork.net> wrote:
But it does not allow to specify rejection codes, for example I want to have two different recordings for SIP 404 and SIP 480.
On Mon, Oct 10, 2016 at 3:12 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
You can see an example of using continue_on_fail here: http://wiki.sangoma.com/NSC-SIP-Trunking-Load-Balancing-And-Failover
In your case, you play back a message instead of the second bridge.
On Mon, Oct 10, 2016 at 5:15 AM, Richard Gleason <rgleason@voipnetwork.net> wrote:
Hello Guys,
Need some help with a dial plan that I'm working on.
The goal is to play a pre-recorded message to the originator on congestion.
For example, if GW replies back to FreeSWITCH with code SIP 404, I want to trigger a pre-recorded message and play it back to the originator.
Dial plan uses option bridge.
If it is not difuclt can some one provide an example of dial plan for this action.
Thanks.
-- Best Regards, Richard Gleason
____________________________________________________________
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/free switch-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
-- Best Regards, Richard Gleason
_________________________________________________________________________ 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
-- Best Regards, Richard Gleason
participants (2)
-
Richard Gleason
-
Stanislav Sinyagin