<div dir="ltr">From what you've posted there they're two separate unconnected calls. So there's no reason one would hear the other. You need to bridge them together, and in time for them to hear the early media.</div><div class="gmail_extra"><br><div class="gmail_quote">On 12 November 2014 12:20, kthofer <span dir="ltr"><<a href="mailto:karl-theo_hofer@inteli-sim.com" target="_blank">karl-theo_hofer@inteli-sim.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi Guys<br>
<br>
thanks for your answers <br>
but I had done this already <br>
<br>
Thats the originate for the first leg<br>
<br>
$bridge = $con->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
&park()");<br>
<br>
<br>
And here for the second leg<br>
$con->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
&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 cols="72">With best regards
Karl Theo Hofer
</pre>
lakshmanan ganapathy skrev 2014-11-11 05:20:<br>
</div><div><div class="h5">
<blockquote type="cite">
<pre>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 href="mailto:karl-theo_hofer@inteli-sim.com" target="_blank"><karl-theo_hofer@inteli-sim.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre>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 href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
<br>
<fieldset></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"><<a href="mailto:karl-theo_hofer@inteli-sim.com" target="_blank">karl-theo_hofer@inteli-sim.com</a>></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>
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 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 href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
</blockquote>
</blockquote>
<br>
</div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>