<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Guys<br>
      <br>
      thanks for your answers <br>
      but I had done this already&nbsp; <br>
      <br>
      Thats the originate for the first leg<br>
      <br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $bridge = $con-&gt;bgapi("originate",
      "{GT_calling_address=$FS_A_calling_address,GT_called_address=$FS_A_called_address,sip_codec_negotiation=scrooge,uuid_bridge_continue_on_cancel=true,presence_data='$GT_callid
      $a_legid',GT_callid=$GT_callid,call_leg=A,return_ring_ready=true,ignore_early_media=false,bridge_early_media=true,GT_Start_time=$a_GT_start_time,GT_legid=$a_legid,GT_deskcall=yes,originate_timeout=$FS_A_timeout,origination_caller_id_number=$FS_A_calling_address,origination_caller_id_name=$FS_A_calling_address,effective_caller_id_number=$FS_A_calling_address,effective_caller_id_name=$FS_A_calling_address,fail_on_single_reject=ORIGINATOR_CANCEL,continue_on_fail=^^:GATEWAY_DOWN:INVALID_GATEWAY:NORMAL_TEMPORARY_FAILURE:NO_ROUTE_DESTINATION:UNALLOCATED_NUMBER:NO_USER_RESPONSE:USER_BUSY}$a_local_complete_dialstring
      &amp;park()");<br>
      <br>
      <br>
      And here for the second leg<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $con-&gt;bgapi("originate",
      "{GT_calling_address=$FS_B_calling_address,GT_called_address=$FS_B_called_address,sip_codec_negotiation=scrooge,uuid_bridge_continue_on_cancel=true,originate_timeout=$FS_B_timeout,presence_data='$GT_callid
      $b_legid',instant_ringback=false,GT_callid=$GT_callid,A_uuid=$leg_uuid,call_leg=B,return_ring_ready=yes,bridge_early_media=true,ignore_early_media=false,GT_Start_time=$b_GT_start_time,GT_legid=$b_legid,GT_deskcall=yes,origination_caller_id_number=$FS_B_calling_address,origination_caller_id_name=$FS_B_calling_address,effective_caller_id_name=$FS_B_calling_address,effective_caller_id_number=$FS_B_calling_address,fail_on_single_reject=ORIGINATOR_CANCEL,continue_on_fail=^^:INVALID_GATEWAY:GATEWAY_DOWN:NORMAL_TEMPORARY_FAILURE:NO_ANSWER:NO_ROUTE_DESTINATION:UNALLOCATED_NUMBER:NO_USER_RESPONSE}$b_local_complete_dialstring
      &amp;park()");<br>
      <br>
      <br>
      An how i see this I have set the right parameters but still no RBT<br>
      and on both side I get 183 SDP back from the carrier and it
      includes RBT <br>
      <br>
      I really don't get it why i do not have the RBT from B on the A
      side.<br>
      <br>
      <pre class="moz-signature" cols="72">With best regards

Karl Theo Hofer

</pre>
      lakshmanan ganapathy skrev 2014-11-11 05:20:<br>
    </div>
    <blockquote
cite="mid:CAMx6C7cX2rnH+9b7pUUcOF2V4-fdxn--S=coSdohbY7Erg1Zdg@mail.gmail.com"
      type="cite">
      <pre wrap="">I think you need to set ignore_early_media=false and
bridge_early_media=true, which will pass the ringback tone from B leg to A
leg.



On Tue, Nov 11, 2014 at 3:41 AM, kthofer <a class="moz-txt-link-rfc2396E" href="mailto:karl-theo_hofer@inteli-sim.com">&lt;karl-theo_hofer@inteli-sim.com&gt;</a>
wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Hi there

please be gentle with me but i can not find any help in the wiki to
solve my problem
this is a desperat try to get some answers to the following problem
freeswitch is a configured as call back server
FS originates the A-leg when answered the B-leg is originated.
  after A-leg has answered I like to play a short welcome message
After the welcome mesage is played the international, original
ringbacktone (telco carrier RBT) from the B-leg shall be passed through
and the A-leg user should be able to hear it.
This is important to hear some carrier specific announcements or
coloured/personalized ring back.
Right now we play our own ringbacktone even though the carrier provides
us with a 183 sdp
I did play with  the usual Channel variables
but as far as I understood the passing through of the ringbacktone is
default behaviour.








--
With best regards
kT


_________________________________________________________________________
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>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <div dir="ltr">I think you need to set ignore_early_media=false
          and bridge_early_media=true, which will pass the ringback tone
          from B leg to A leg.<br>
          <br>
          <br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Tue, Nov 11, 2014 at 3:41 AM,
            kthofer <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:karl-theo_hofer@inteli-sim.com"
                target="_blank">karl-theo_hofer@inteli-sim.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there<br>
              <br>
              please be gentle with me but i can not find any help in
              the wiki to<br>
              solve my problem<br>
              this is a desperat try to get some answers to the
              following problem<br>
              freeswitch is a configured as call back server<br>
              FS originates the A-leg when answered the B-leg is
              originated.<br>
              &nbsp; after A-leg has answered I like to play a short welcome
              message<br>
              After the welcome mesage is played the international,
              original<br>
              ringbacktone (telco carrier RBT) from the B-leg shall be
              passed through<br>
              and the A-leg user should be able to hear it.<br>
              This is important to hear some carrier specific
              announcements or<br>
              coloured/personalized ring back.<br>
              Right now we play our own ringbacktone even though the
              carrier provides<br>
              us with a 183 sdp<br>
              I did play with&nbsp; the usual Channel variables<br>
              but as far as I understood the passing through of the
              ringbacktone is<br>
              default behaviour.<br>
              <br>
              <br>
              <br>
              <br>
              <br>
              <br>
              <br>
              <br>
              --<br>
              With best regards<br>
              kT<br>
              <br>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true"
                href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com"
                target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com"
                target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
            </blockquote>
          </div>
          <br>
        </div>
        <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>
    </blockquote>
    <br>
  </body>
</html>