<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">After some tests, I figured out, that
      it's the enterprise originate which prevents signalling of missed
      calls. As soon as I use "," instead of ":_:", the signalling of
      missed calls is fine on the phones.<br>
      <br>
      Question: Is there any reason for this behaviour, or should we
      consider this as a defect and open a Jira?<br>
      <br>
      Best regards<br>
      Peter<br>
      <br>
      <br>
      On 12/19/17 14:23, Peter Steinbach wrote:<br>
    </div>
    <blockquote cite="mid:5A3912DC.10903@telefaks.de" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hello.<br>
        <br>
        I did some further testiumng and figured out, that as soon I use
        enterprise originate with :_: , I do not see any missed calls.
        If I use a comma instead, missed calls are shown on the phone.
        But then as a drawback only one phone rings, if I have more than
        physical phone registered to one user extension.<br>
        <br>
        Anybody has an idea how to overcome this?<br>
        <br>
        Best rgeards<br>
        Peter<br>
        <br>
        On 12/11/17 17:30, Peter Steinbach wrote:<br>
      </div>
      <blockquote cite="mid:5A2EB2B5.9030907@telefaks.de" type="cite">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        Hello,<br>
        <br>
        we have some Problems with the right signalling of missed calls
        when calling multiple phones in parallel<br>
        <br>
        Here's the scenario:<br>
        Phone no 49 is calling a group with 2170 and 3275 with the
        following dialstring<br>
        <br>
        <tt><action application="bridge"
          data="{default_language=de,ignore_early_media=true,global_to_originate_</tt><tt>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,<a
            moz-do-not-send="true" class="moz-txt-link-abbreviated"
            href="mailto:customer_id=261%7Duser/2170@flex.mydomain.de:_">customer_id=261}user/2170@flex.mydomain.de:_</a>:{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,<a
            moz-do-not-send="true" class="moz -txt-link -abbreviated"
            href="mailto:customer_id=261%7Duser/3275@flex.mydomain.de">customer_id=261}user/3275@flex.mydomain.de</a>"
          /></tt><br>
        <br>
        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.<br>
        <br>
        We checked 3 versions of Freeswitch for this<br>
        <ul>
          <li>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)</li>
          <li>VersionĀ  Aug 2017 never shows missed call, see logs and
            hangup message below<br>
          </li>
          <li>VersionĀ  10/Dec 2017(yesterday) never shows missed call,
            as above<br>
          </li>
        </ul>
        So for the 2 never Freeswitch Versions, here are the logs at
        hangup<br>
        <tt>2017-12-11 17:07:46.022450 [DEBUG] sofia.c:7283 Channel <a
            moz-do-not-send="true" class="moz-txt-link-abbreviated"
            href="mailto:sofia/internal/49@flex.mydomain.de:5060">sofia/internal/49@flex.mydomain.de:5060</a>
          entering state [terminated][487]</tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.022450 [NOTICE] sofia.c:8474 Hangup
          sofia/internal/<b>49</b>@flex.mydomain.de:5060 [CS_EXECUTE] <b>[ORIGINATOR_CANCEL]</b></tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [NOTICE]
          switch_ivr_originate.c:3627 Hangup sofia/internal/<b>2170</b>@94.xx.xxx.xx:42170


          [CS_CONSUME_MEDIA] <b>[LOSE_RACE]</b></tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [DEBUG]
          switch_ivr_originate.c:3852 Originate Cancelled by originator
          termination Cause: 487 [ORIGINATOR_CANCEL]</tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [NOTICE]
          switch_ivr_originate.c:2866 Cannot create outgoing channel of
          type [user] cause: [LOSE_RACE]</tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [DEBUG]
          switch_ivr_originate.c:3863 Originate Resulted in Error Cause:
          502 [LOSE_RACE]</tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [DEBUG]
          switch_core_state_machine.c:584 (<a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:sofia/internal/2170@94.xx.xxx.xx:42170">sofia/internal/2170@94.xx.xxx.xx:42170</a>)
          Running State Change CS_HANGUP (Cur 3 Tot 22)</tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [DEBUG]
          switch_core_state_machine.c:850 (<a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:sofia/internal/2170@94.xx.xxx.xx:42170">sofia/internal/2170@94.xx.xxx.xx:42170</a>)
          Callstate Change RINGING -> HANGUP</tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [DEBUG]
          switch_core_state_machine.c:852 (<a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:sofia/internal/2170@94.xx.xxx.xx:42170">sofia/internal/2170@94.xx.xxx.xx:42170</a>)
          State HANGUP</tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [DEBUG] mod_sofia.c:449
          Channel <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:sofia/internal/2170@94.xx.xxx.xx:42170">sofia/internal/2170@94.xx.xxx.xx:42170</a>
          hanging up, cause: LOSE_RACE</tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [NOTICE]
          switch_ivr_originate.c:3627 Hangup sofia/internal/<b>3275</b>@94.xx.xxx.xx:43275


          [CS_CONSUME_MEDIA] [<b>LOSE_RACE</b>]</tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [DEBUG]
          switch_ivr_originate.c:3852 Originate Cancelled by originator
          termination Cause: 487 [ORIGINATOR_CANCEL]</tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [NOTICE]
          switch_ivr_originate.c:2866 Cannot create outgoing channel of
          type [user] cause: [LOSE_RACE]</tt><tt><br>
        </tt><tt>2017-12-11 17:07:46.042331 [DEBUG]
          switch_ivr_originate.c:3863 Originate Resulted in Error Cause:
          502 [LOSE_RACE]</tt><tt><br>
        </tt><br>
        Here is the Cancel message for one of the called phones:<br>
        <tt>U 2017/12/11 17:07:46.045120 144.xx.xxx.xx:5060 ->
          94.xx.xxx.xx:42170</tt><tt><br>
        </tt><tt><b>CANCEL sip:2170</b>@94.xx.xxx.xx:42170 SIP/2.0.</tt><tt><br>
        </tt><tt>Via: SIP/2.0/UDP
          144.xx.xxx.xx;rport;branch=z9hG4bK07r3ce94cvjpp.</tt><tt><br>
        </tt><tt>Max-Forwards: 70.</tt><tt><br>
        </tt><tt>From: "Test" <a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="mailto:sip:49@flex.mydomain.de"><sip:49@flex.mydomain.de></a>;tag=mQS1eFDpp1peS.</tt><tt><br>
        </tt><tt>To: <a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="mailto:sip:2170@94.xx.xxx.xx:42170"><sip:2170@94.xx.xxx.xx:42170></a>.</tt><tt><br>
        </tt><tt>Call-ID: 4238b5a7-5930-1236-b2ab-00505600a1a5.</tt><tt><br>
        </tt><tt>CSeq: 116168167 CANCEL.</tt><tt><br>
        </tt><tt><b>Reason: SIP;cause=200;text="Call completed
            elsewhere"</b>.</tt><tt><br>
        </tt><tt>Content-Length: 0.</tt><tt><br>
          <br>
        </tt>Any hints why this happens, or anyone has this scenario
        working?<br>
        <br>
        <pre class="moz-signature" cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>

</pre>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
      </blockquote>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>

</pre>
  </body>
</html>