<div dir="ltr"><div>Ahh, okay, I see now.</div><div><br></div><div>I&#39;ll try down the ESL route. We are sending messages via ESL anyway, but just been executing commands or executing applications.</div><div><br></div><div><br></div><div class="gmail_extra"><div class="gmail_quote">On 22 May 2015 at 17:02, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">the command only supports sending name, it will use the destination_number from caller profile.  If you use esl or another way to generate the session message you can send both name and number.<div><br></div><div>check out the code in mod_sofia.c at 1636 if you want to follow the logic how it decides what to send.  Also, we could take a patch to send_display to let you specify both if you can figure out a backwards compatible way to specify it.  See uuid_send_message for an example of how to set multiple args in that message.</div><div><div class="h5"><div><br></div><div><br><div><blockquote type="cite"><div>On May 22, 2015, at 4:10 AM, Joshua Gigg &lt;<a href="mailto:giggsey@gmail.com" target="_blank">giggsey@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr"><div>In mod_commands.c, it appears to split the argv by spaces, and pass that to the switch. mod_sofia will take the second argument as the phone number.</div><div><br></div><div>When I try it from the API (uuid_display <i>callid</i> Name 1234), it sends the sip as:</div><div><br></div><div><br></div><div>From: &quot;Name 1234&quot; <i>ThisCallToAddress</i></div><div><i><br></i></div><div>Instead of splitting it up.</div><div><br></div><div>My snom does then display Name 1234 on the screen, but as a text name, instead of updating the number.</div><div><br></div><div>This can work, but I&#39;d rather be able to update the number too.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 21 May 2015 at 15:26, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">from mod_dptools:<div><br></div><div><div style="margin:0px;font-size:13px;font-family:Monaco;color:rgb(191,191,191);background-color:rgb(0,0,0)">    SWITCH_ADD_APP(app_interface, <span style="color:#af5f00">&quot;send_display&quot;</span>, <span style="color:#af5f00">&quot;Send session a new display&quot;</span>, <span style="color:#af5f00">&quot;Send session a new display.&quot;</span>, display_function, <span style="color:#af5f00">&quot;&lt;text&gt;&quot;</span>,                      </div><div style="margin:0px;font-size:13px;font-family:Monaco;color:rgb(191,191,191);background-color:rgb(0,0,0)">                   SAF_SUPPORT_NOMEDIA);                                                                                                                        </div><div><br></div><div><br></div><div>there is a similar api command in mod_commands.  I think if you have ignore_dispaly_updates it may not work, try it out to be sure.</div><span><div><br></div><div><blockquote type="cite"><div>On May 21, 2015, at 4:05 AM, Joshua Gigg &lt;<a href="mailto:giggsey@gmail.com" target="_blank">giggsey@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr">I do have ignore_dispaly_updates=true, but that&#39;s on outbound phones, my displays were updating with the number being bridged out to.<div><br></div><div>Also, I want to trigger it manually rather than just automatically when a transfer takes place.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 May 2015 at 17:26, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">this should happen by default unless you have ignore_dispaly_updates=true.<span><div><br></div><div><br><div><blockquote type="cite"><div>On May 20, 2015, at 12:18 PM, Joshua Gigg &lt;<a href="mailto:giggsey@gmail.com" target="_blank">giggsey@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Digging up an old thread, but I&#39;ve been looking into this a bit more.<div><br></div><div>What I want to do is described in RFC 4916. What I want to try to use an application / api command to generate a SIP INFO/UPDATE packet that would update the Caller ID.</div></div><div class="gmail_extra" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><div class="gmail_quote">On 29 January 2015 at 20:06, Joshua Gigg<span> </span><span dir="ltr">&lt;<a href="mailto:giggsey@gmail.com" target="_blank">giggsey@gmail.com</a>&gt;</span><span> </span>wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">When a transfer completes, FreeSWITCH will send an UPDATE message to the SIP server updating the caller id.<div><br></div><div>Is there a way of making FreeSWITCH send this message via a dialplan/command?</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On 29 January 2015 at 17:58, Michael Collins<span> </span><span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span><span> </span>wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Could you expound upon this question a bit? What does &quot;update the CLI&quot; mean?<br>Thanks,<br>MC<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Jan 29, 2015 at 1:20 AM, Joshua Gigg<span> </span><span dir="ltr">&lt;<a href="mailto:giggsey@gmail.com" target="_blank">giggsey@gmail.com</a>&gt;</span><span> </span>wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>Is it possible to update the CLI at will once a Freeswitch originated call has been answered?</div><div><br></div><div>I know it can update during a transfer, but I want to be able to control it directly myself.<span><font color="#888888"><br clear="all"><div><br></div></font></span></div></div></div></div></blockquote></div></div></blockquote></div></div></div></div></blockquote></div></div></div></blockquote></div><br></div></span></div></blockquote></div></div></div></blockquote></div><br></span></div></div><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><br clear="all"><div><br></div>-- <br><div>Joshua Gigg</div>
</div>
_________________________________________________________________________<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></div></blockquote></div><br></div></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Joshua Gigg</div>
</div></div>