[Freeswitch-users] Lose Race instead of missed call when calling multiple phones parallel

sr at flexmind.de sr at flexmind.de
Sun Nov 4 16:47:12 UTC 2018


Hello,

we have some Problems with the right signalling of missed calls when calling multiple phones in parallel

Here's the scenario:
Phone no 49 is calling a group with 2170 and 3275 with the following dialstring

<action application="bridge" data="{default_language=de,ignore_early_media=true,global_to_originate_1=true,caller_cc=49,callee_cc=49,routing_flags=INT-ONSYSTEM-RELIA0-QUAL0-T38NOLAST-CALLG-CALLG5003-UUID,call_timeout=60,originate_timeout=60,origination_caller_id_number=49,effective_caller_id_number=49,caller_uuid=7f49c581-cf47-429d-85a0-365d00ff031c,origination_uuid=59eee5e0-c0bc-0135-7dc9-00505600a1a5,sip_invite_domain=flex.mydomain.de,customer_id=261}user/2170 at flex.mydomain.de:_:{default_language=de,ignore_early_media=true,global_to_originate_1=true,caller_cc=49,callee_cc=49,routing_flags=INT-ONSYSTEM-RELIA0-QUAL0-T38NOLAST-CALLG-CALLG5003-UUID,call_timeout=60,originate_timeout=60,origination_caller_id_number=49,effective_caller_id_number=49,caller_uuid=7f49c581-cf47-429d-85a0-365d00ff031c,origination_uuid=59f07af0-c0bc-0135-7dca-00505600a1a5,sip_invite_domain=flex.mydomain.de,customer_id=261}user/3275 at flex.mydomain.de" />

Destination dialstrings are seperated by ":_:" ("Enterprise Origination"). We use curly brackets instead of "<" as we sometimes have to insert asserted identy tags into the dialstring.

We checked 3 versions of Freeswitch for this

    Version  Feb 2016 shows missed calls on both phones. Even if one phone answers, the other phone one still shows a missed call (reason for upgrading to newer Freeswitch)
    Version  Aug 2017 never shows missed call, see logs and hangup message below
    Version  10/Dec 2017(yesterday) never shows missed call, as above

So for the 2 never Freeswitch Versions, here are the logs at hangup
2017-12-11 17:07:46.022450 [DEBUG] sofia.c:7283 Channel sofia/internal/49 at flex.mydomain.de:5060 entering state [terminated][487]
2017-12-11 17:07:46.022450 [NOTICE] sofia.c:8474 Hangup sofia/internal/49 at flex.mydomain.de:5060 [CS_EXECUTE] [ORIGINATOR_CANCEL]
2017-12-11 17:07:46.042331 [NOTICE] switch_ivr_originate.c:3627 Hangup sofia/internal/2170 at 94.xx.xxx.xx:42170 [CS_CONSUME_MEDIA] [LOSE_RACE]
2017-12-11 17:07:46.042331 [DEBUG] switch_ivr_originate.c:3852 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
2017-12-11 17:07:46.042331 [NOTICE] switch_ivr_originate.c:2866 Cannot create outgoing channel of type [user] cause: [LOSE_RACE]
2017-12-11 17:07:46.042331 [DEBUG] switch_ivr_originate.c:3863 Originate Resulted in Error Cause: 502 [LOSE_RACE]
2017-12-11 17:07:46.042331 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2170 at 94.xx.xxx.xx:42170) Running State Change CS_HANGUP (Cur 3 Tot 22)
2017-12-11 17:07:46.042331 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/2170 at 94.xx.xxx.xx:42170) Callstate Change RINGING -> HANGUP
2017-12-11 17:07:46.042331 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/2170 at 94.xx.xxx.xx:42170) State HANGUP
2017-12-11 17:07:46.042331 [DEBUG] mod_sofia.c:449 Channel sofia/internal/2170 at 94.xx.xxx.xx:42170 hanging up, cause: LOSE_RACE
2017-12-11 17:07:46.042331 [NOTICE] switch_ivr_originate.c:3627 Hangup sofia/internal/3275 at 94.xx.xxx.xx:43275 [CS_CONSUME_MEDIA] [LOSE_RACE]
2017-12-11 17:07:46.042331 [DEBUG] switch_ivr_originate.c:3852 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
2017-12-11 17:07:46.042331 [NOTICE] switch_ivr_originate.c:2866 Cannot create outgoing channel of type [user] cause: [LOSE_RACE]
2017-12-11 17:07:46.042331 [DEBUG] switch_ivr_originate.c:3863 Originate Resulted in Error Cause: 502 [LOSE_RACE]

Here is the Cancel message for one of the called phones:
U 2017/12/11 17:07:46.045120 144.xx.xxx.xx:5060 -> 94.xx.xxx.xx:42170
CANCEL sip:2170 at 94.xx.xxx.xx:42170 SIP/2.0.
Via: SIP/2.0/UDP 144.xx.xxx.xx;rport;branch=z9hG4bK07r3ce94cvjpp.
Max-Forwards: 70.
From: "Test" <sip:49 at flex.mydomain.de>;tag=mQS1eFDpp1peS.
To: <sip:2170 at 94.xx.xxx.xx:42170>.
Call-ID: 4238b5a7-5930-1236-b2ab-00505600a1a5.
CSeq: 116168167 CANCEL.
Reason: SIP;cause=200;text="Call completed elsewhere".
Content-Length: 0.

Any hints why this happens, or anyone has this scenario working?

Best Regard


Stephan Reich
Leiter Technik



foncloud GmbH & Co KG
Hahlweg 2a
36093 Künzell

Tel: +49 661 968990 20 / 
Fax: +49 661 968990-99

 

Email: stephan.reich at foncloud.net
 Web: www.foncloud.net
 Registergericht: Amtsgericht Fulda, Persönlich haftende Gesellschafterin der foncloud GmbH&Co.KG: Global Brain Network GmbH
Geschäftsführer der Global Brain Network GmbH: Peter Krug Sitz der Gesellschaft: Künzell.

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181104/f8c5abc8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0eb5f48c.e33a6fec.jpg
Type: image/jpeg
Size: 56822 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181104/f8c5abc8/attachment-0001.jpg>


More information about the FreeSWITCH-users mailing list