<div dir="ltr">Hello,<div><br></div><div>this is untested but should work. Try to set the originator and bridge command set the RPIDs.</div><div><br></div><div>Like this<br><br>originate {sip_cid_type=rpid,origination_caller_id_name=400,origination_caller_id_number=400}sofia/example/<a href="mailto:300@foo.com">300@foo.com</a> &bridge({sip_cid_type=rpid,origination_caller_id_name=300,origination_caller_id_number=300}sofia/example/<a href="mailto:400@bar.com">400@bar.com</a>)<br>
<br><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type">http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type</a><br><br>Maybe <span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,Courier;font-size:13px;line-height:1.3em"><action application="set" data="sip_cid_in_1xx=true"/></span></div>
<div><span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,Courier;font-size:13px;line-height:1.3em">as {param} in the originate command did the same without </span>origination_caller_id_name and soone.</div>
<div><span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,Courier;font-size:13px;line-height:1.3em"><br></span></div><div><span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,Courier;font-size:13px;line-height:1.3em">Play around. Find it. Document it in the wiki :)</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/10 Hristo Trendev <span dir="ltr"><<a href="mailto:dist.lists@gmail.com" target="_blank">dist.lists@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>I am trying to bridge two remote endpoints via originate as described at <a href="http://wiki.freeswitch.org/wiki/Mod_commands#originate" target="_blank">http://wiki.freeswitch.org/wiki/Mod_commands#originate</a></div>
<div><br></div><div>originate sofia/example/<a href="mailto:300@foo.com" target="_blank">300@foo.com</a> &bridge(sofia/example/<a href="mailto:400@bar.com" target="_blank">400@bar.com</a>)<br></div><div><br></div><div>
All goes well, with the exception of display name updates. The problem is that any updates from the second call leg (<a href="mailto:400@bar.com" target="_blank">400@bar.com</a>) are not sent to the <a href="mailto:300@foo.com" target="_blank">300@foo.com</a> call leg. As soon as <a href="mailto:400@bar.com" target="_blank">400@bar.com</a> sends an update I can see a message in the log that says (just an example):</div>
<div><br></div><div>Update Callee ID to "Name" <123123123><br></div><div><br></div><div>However, nothing is being sent out to the first call leg (<a href="mailto:300@foo.com" target="_blank">300@foo.com</a>) and the endpoint doesn't update the displayed party name.</div>
<div><br></div><div>Technically we have 2 *outbound* call legs in this case:</div><div>leg 1: from FS to <a href="mailto:300@foo.com" target="_blank">300@foo.com</a></div><div>leg 2: from FS to <a href="mailto:400@foo.com" target="_blank">400@foo.com</a></div>
<div><br></div><div>so a *callee* ID update from leg 2 should translate into *caller* ID update on leg 1. I am not sure how to accomplish this. Is it possible at all?</div><div><br></div><div>BTW, I tried setting <param name="send-display-update" value="true"/> in the sip profile, but it makes no difference. I also thought about updating the ID on call leg 1 via an api call (for example api_on_answer or similar), but I couldn't find any api/application that will allow me to actively change the ID of the call leg if it was already answered. I am trying this on v1.2.14.</div>
<div><br></div><div>Regards,</div><div>Hristo</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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Mit freundlichen Grüßen<br>*Karsten Horsmann*<br>
</div>