VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
lists at telefaks.de Guest
|
Posted: Mon Nov 07, 2022 11:37 am Post subject: [Freeswitch-users] Force hangup cause LOSE_RACE |
|
|
Dear community,
we have a call scenario where we have several call groups running one after another. Normally, when a phone picks up the call, all other calls receive a LOSE_RACE. If nobody picks up, all phones get a NORMAL_CLEARING.
In my cause, when one call group is following another call group I want to have the following behaviour
- CallGroup 1, nobody answers, all phones shall get a LOSE_RACE
- CallGroup 2, nobody answers, all phones get a NORMAL_CLEARING (normal behaviour)
Is there chance to do this without interfering via ESL? How can I force freeswitch in CallGroup 1 e.g. via dialplan to send LOSE_RACE to all phones, when nobody picks up?
Quote: | --
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
|
|
Back to top |
|
|
gregor at infomedia.si Guest
|
Posted: Mon Nov 07, 2022 11:44 am Post subject: [Freeswitch-users] Force hangup cause LOSE_RACE |
|
|
This scenario would be really useful.
On Mon, 7 Nov 2022 at 17:05, Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Dear community,
we have a call scenario where we have several call groups running one after another. Normally, when a phone picks up the call, all other calls receive a LOSE_RACE. If nobody picks up, all phones get a NORMAL_CLEARING.
In my cause, when one call group is following another call group I want to have the following behaviour
- CallGroup 1, nobody answers, all phones shall get a LOSE_RACE
- CallGroup 2, nobody answers, all phones get a NORMAL_CLEARING (normal behaviour)
Is there chance to do this without interfering via ESL? How can I force freeswitch in CallGroup 1 e.g. via dialplan to send LOSE_RACE to all phones, when nobody picks up?
Quote: | --
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com |
|
|
Back to top |
|
|
brian at freeswitch.com Guest
|
Posted: Mon Nov 07, 2022 12:17 pm Post subject: [Freeswitch-users] Force hangup cause LOSE_RACE |
|
|
lose_race should have a Reason header of call-completed-elsewhere. So that phones in the group don't show missed calls when one of them did answer it, Normal clearing would have the endpoint registering a missed call if nobody answered it.
/b
On Mon, Nov 7, 2022 at 10:37 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Dear community,
we have a call scenario where we have several call groups running one after another. Normally, when a phone picks up the call, all other calls receive a LOSE_RACE. If nobody picks up, all phones get a NORMAL_CLEARING.
In my cause, when one call group is following another call group I want to have the following behaviour
- CallGroup 1, nobody answers, all phones shall get a LOSE_RACE
- CallGroup 2, nobody answers, all phones get a NORMAL_CLEARING (normal behaviour)
Is there chance to do this without interfering via ESL? How can I force freeswitch in CallGroup 1 e.g. via dialplan to send LOSE_RACE to all phones, when nobody picks up?
Quote: | --
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch] |
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Tue Nov 08, 2022 6:34 am Post subject: [Freeswitch-users] Force hangup cause LOSE_RACE |
|
|
Thanks for your comment
is there a way to achieve that?
/Peter
Am 07.11.22 um 17:43 schrieb Brian West:
Quote: | lose_race should have a Reason header of call-completed-elsewhere. So that phones in the group don't show missed calls when one of them did answer it, Normal clearing would have the endpoint registering a missed call if nobody answered it.
/b
On Mon, Nov 7, 2022 at 10:37 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Dear community,
we have a call scenario where we have several call groups running one after another. Normally, when a phone picks up the call, all other calls receive a LOSE_RACE. If nobody picks up, all phones get a NORMAL_CLEARING.
In my cause, when one call group is following another call group I want to have the following behaviour
- CallGroup 1, nobody answers, all phones shall get a LOSE_RACE
- CallGroup 2, nobody answers, all phones get a NORMAL_CLEARING (normal behaviour)
Is there chance to do this without interfering via ESL? How can I force freeswitch in CallGroup 1 e.g. via dialplan to send LOSE_RACE to all phones, when nobody picks up?
Quote: | --
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
|
|
|
Back to top |
|
|
lists at telefaks.de Guest
|
Posted: Tue Nov 08, 2022 7:04 am Post subject: [Freeswitch-users] Force hangup cause LOSE_RACE |
|
|
Thanks for your comment
is there a way to achieve that?
/Peter
Am 07.11.22 um 17:43 schrieb Brian West:
Quote: | lose_race should have a Reason header of call-completed-elsewhere. So that phones in the group don't show missed calls when one of them did answer it, Normal clearing would have the endpoint registering a missed call if nobody answered it.
/b
On Mon, Nov 7, 2022 at 10:37 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Dear community,
we have a call scenario where we have several call groups running one after another. Normally, when a phone picks up the call, all other calls receive a LOSE_RACE. If nobody picks up, all phones get a NORMAL_CLEARING.
In my cause, when one call group is following another call group I want to have the following behaviour
- CallGroup 1, nobody answers, all phones shall get a LOSE_RACE
- CallGroup 2, nobody answers, all phones get a NORMAL_CLEARING (normal behaviour)
Is there chance to do this without interfering via ESL? How can I force freeswitch in CallGroup 1 e.g. via dialplan to send LOSE_RACE to all phones, when nobody picks up?
Quote: | --
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
|
|
Back to top |
|
|
brian at freeswitch.com Guest
|
Posted: Tue Nov 08, 2022 7:40 am Post subject: [Freeswitch-users] Force hangup cause LOSE_RACE |
|
|
Turn on the sip trace, it should behave that way by default.
On Tue, Nov 8, 2022 at 6:01 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Thanks for your comment
is there a way to achieve that?
/Peter
Am 07.11.22 um 17:43 schrieb Brian West:
Quote: | lose_race should have a Reason header of call-completed-elsewhere. So that phones in the group don't show missed calls when one of them did answer it, Normal clearing would have the endpoint registering a missed call if nobody answered it.
/b
On Mon, Nov 7, 2022 at 10:37 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Dear community,
we have a call scenario where we have several call groups running one after another. Normally, when a phone picks up the call, all other calls receive a LOSE_RACE. If nobody picks up, all phones get a NORMAL_CLEARING.
In my cause, when one call group is following another call group I want to have the following behaviour
- CallGroup 1, nobody answers, all phones shall get a LOSE_RACE
- CallGroup 2, nobody answers, all phones get a NORMAL_CLEARING (normal behaviour)
Is there chance to do this without interfering via ESL? How can I force freeswitch in CallGroup 1 e.g. via dialplan to send LOSE_RACE to all phones, when nobody picks up?
Quote: | --
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch] |
|
Back to top |
|
|
lists at telefaks.de Guest
|
Posted: Tue Nov 08, 2022 9:08 pm Post subject: [Freeswitch-users] Force hangup cause LOSE_RACE |
|
|
It does not.
As I described, I have 2 Callgroups
- 1st call group rings, nobody picks up, all phones get normal hangup (call is shown as missed call on the phone)
- 2nd subsequent call group rings, one phone picks up, all remaining phones get "call completed elsewhere"
I would need a way to force a "call completed elsewhere" on hangup in the 1st callgroup, as I know that the subsequent 2nd callgroup will most probably be answered.
/Peter
Am 08.11.22 um 13:21 schrieb Brian West:
Quote: | Turn on the sip trace, it should behave that way by default.
On Tue, Nov 8, 2022 at 6:01 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Thanks for your comment
is there a way to achieve that?
/Peter
Am 07.11.22 um 17:43 schrieb Brian West:
Quote: | lose_race should have a Reason header of call-completed-elsewhere. So that phones in the group don't show missed calls when one of them did answer it, Normal clearing would have the endpoint registering a missed call if nobody answered it.
/b
On Mon, Nov 7, 2022 at 10:37 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Dear community,
we have a call scenario where we have several call groups running one after another. Normally, when a phone picks up the call, all other calls receive a LOSE_RACE. If nobody picks up, all phones get a NORMAL_CLEARING.
In my cause, when one call group is following another call group I want to have the following behaviour
- CallGroup 1, nobody answers, all phones shall get a LOSE_RACE
- CallGroup 2, nobody answers, all phones get a NORMAL_CLEARING (normal behaviour)
Is there chance to do this without interfering via ESL? How can I force freeswitch in CallGroup 1 e.g. via dialplan to send LOSE_RACE to all phones, when nobody picks up?
Quote: | --
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
|
|
Back to top |
|
|
krice at freeswitch.org Guest
|
Posted: Wed Nov 09, 2022 3:05 am Post subject: [Freeswitch-users] Force hangup cause LOSE_RACE |
|
|
how specifically are you ringing each group?
the thing is if no one answers the first group there is not really a lost race as no one won they all timed out.
i suppose of you really need a flag you could set a chanvar on the b legs from the bridge string to lost race (or what ever) and set an execute on answer to clear that chan var or set it to “won race” or whatever suits you.
but at the end of the day the normal clearing will be the hangup status recorded in the cdr on the timed out first group.
Sent from my iPhone
Quote: | On Nov 8, 2022, at 19:49, Peter Steinbach <lists@telefaks.de> wrote:
It does not.
As I described, I have 2 Callgroups
- 1st call group rings, nobody picks up, all phones get normal hangup (call is shown as missed call on the phone)
- 2nd subsequent call group rings, one phone picks up, all remaining phones get "call completed elsewhere"
I would need a way to force a "call completed elsewhere" on hangup in the 1st callgroup, as I know that the subsequent 2nd callgroup will most probably be answered.
/Peter
Am 08.11.22 um 13:21 schrieb Brian West:
Quote: | Turn on the sip trace, it should behave that way by default.
On Tue, Nov 8, 2022 at 6:01 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Thanks for your comment
is there a way to achieve that?
/Peter
Am 07.11.22 um 17:43 schrieb Brian West:
Quote: | lose_race should have a Reason header of call-completed-elsewhere. So that phones in the group don't show missed calls when one of them did answer it, Normal clearing would have the endpoint registering a missed call if nobody answered it.
/b
On Mon, Nov 7, 2022 at 10:37 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Dear community,
we have a call scenario where we have several call groups running one after another. Normally, when a phone picks up the call, all other calls receive a LOSE_RACE. If nobody picks up, all phones get a NORMAL_CLEARING.
In my cause, when one call group is following another call group I want to have the following behaviour
- CallGroup 1, nobody answers, all phones shall get a LOSE_RACE
- CallGroup 2, nobody answers, all phones get a NORMAL_CLEARING (normal behaviour)
Is there chance to do this without interfering via ESL? How can I force freeswitch in CallGroup 1 e.g. via dialplan to send LOSE_RACE to all phones, when nobody picks up?
Quote: | --
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
| _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
|
|
|
Back to top |
|
|
gregor at infomedia.si Guest
|
Posted: Wed Nov 09, 2022 4:39 am Post subject: [Freeswitch-users] Force hangup cause LOSE_RACE |
|
|
Is there a way to set some variable on hangup hook to modify Reason header and force to:call-completed-elsewhere, although it was norma clearing?
On Wed, 9 Nov 2022 at 08:56, Ken Rice <krice@freeswitch.org (krice@freeswitch.org)> wrote:
Quote: | how specifically are you ringing each group?
the thing is if no one answers the first group there is not really a lost race as no one won they all timed out.
i suppose of you really need a flag you could set a chanvar on the b legs from the bridge string to lost race (or what ever) and set an execute on answer to clear that chan var or set it to “won race” or whatever suits you.
but at the end of the day the normal clearing will be the hangup status recorded in the cdr on the timed out first group.
Sent from my iPhone
Quote: | On Nov 8, 2022, at 19:49, Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
It does not.
As I described, I have 2 Callgroups
- 1st call group rings, nobody picks up, all phones get normal hangup (call is shown as missed call on the phone)
- 2nd subsequent call group rings, one phone picks up, all remaining phones get "call completed elsewhere"
I would need a way to force a "call completed elsewhere" on hangup in the 1st callgroup, as I know that the subsequent 2nd callgroup will most probably be answered.
/Peter
Am 08.11.22 um 13:21 schrieb Brian West:
Quote: | Turn on the sip trace, it should behave that way by default.
On Tue, Nov 8, 2022 at 6:01 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Thanks for your comment
is there a way to achieve that?
/Peter
Am 07.11.22 um 17:43 schrieb Brian West:
Quote: | lose_race should have a Reason header of call-completed-elsewhere. So that phones in the group don't show missed calls when one of them did answer it, Normal clearing would have the endpoint registering a missed call if nobody answered it.
/b
On Mon, Nov 7, 2022 at 10:37 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Dear community,
we have a call scenario where we have several call groups running one after another. Normally, when a phone picks up the call, all other calls receive a LOSE_RACE. If nobody picks up, all phones get a NORMAL_CLEARING.
In my cause, when one call group is following another call group I want to have the following behaviour
- CallGroup 1, nobody answers, all phones shall get a LOSE_RACE
- CallGroup 2, nobody answers, all phones get a NORMAL_CLEARING (normal behaviour)
Is there chance to do this without interfering via ESL? How can I force freeswitch in CallGroup 1 e.g. via dialplan to send LOSE_RACE to all phones, when nobody picks up?
Quote: | --
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
| _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com |
|
|
Back to top |
|
|
lists at telefaks.de Guest
|
Posted: Wed Nov 09, 2022 6:44 am Post subject: [Freeswitch-users] Force hangup cause LOSE_RACE |
|
|
Quote: | Is there a way to set some variable on hangup hook to modify Reason header and force to:call-completed-elsewhere, although it was norma clearing?
|
That's exactly where I am looking for.
Firstly I was thinking about setting "proto_specific_hangup_cause", but this did not solve the issue.
/Peter
Am 09.11.22 um 10:14 schrieb Gregor Nanger:
Quote: | Is there a way to set some variable on hangup hook to modify Reason header and force to:call-completed-elsewhere, although it was norma clearing?
On Wed, 9 Nov 2022 at 08:56, Ken Rice <krice@freeswitch.org (krice@freeswitch.org)> wrote:
Quote: | how specifically are you ringing each group?
the thing is if no one answers the first group there is not really a lost race as no one won they all timed out.
i suppose of you really need a flag you could set a chanvar on the b legs from the bridge string to lost race (or what ever) and set an execute on answer to clear that chan var or set it to “won race” or whatever suits you.
but at the end of the day the normal clearing will be the hangup status recorded in the cdr on the timed out first group.
Sent from my iPhone
Quote: | On Nov 8, 2022, at 19:49, Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
It does not.
As I described, I have 2 Callgroups
- 1st call group rings, nobody picks up, all phones get normal hangup (call is shown as missed call on the phone)
- 2nd subsequent call group rings, one phone picks up, all remaining phones get "call completed elsewhere"
I would need a way to force a "call completed elsewhere" on hangup in the 1st callgroup, as I know that the subsequent 2nd callgroup will most probably be answered.
/Peter
Am 08.11.22 um 13:21 schrieb Brian West:
Quote: | Turn on the sip trace, it should behave that way by default.
On Tue, Nov 8, 2022 at 6:01 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Thanks for your comment
is there a way to achieve that?
/Peter
Am 07.11.22 um 17:43 schrieb Brian West:
Quote: | lose_race should have a Reason header of call-completed-elsewhere. So that phones in the group don't show missed calls when one of them did answer it, Normal clearing would have the endpoint registering a missed call if nobody answered it.
/b
On Mon, Nov 7, 2022 at 10:37 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:
Quote: |
Dear community,
we have a call scenario where we have several call groups running one after another. Normally, when a phone picks up the call, all other calls receive a LOSE_RACE. If nobody picks up, all phones get a NORMAL_CLEARING.
In my cause, when one call group is following another call group I want to have the following behaviour
- CallGroup 1, nobody answers, all phones shall get a LOSE_RACE
- CallGroup 2, nobody answers, all phones get a NORMAL_CLEARING (normal behaviour)
Is there chance to do this without interfering via ESL? How can I force freeswitch in CallGroup 1 e.g. via dialplan to send LOSE_RACE to all phones, when nobody picks up?
Quote: | --
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
| _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com |
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|