<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>                        body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;}                </STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19328"><BASE target=_blank>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>

<STYLE>                        body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;}                </STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19328"><BASE 
target=_blank></HEAD>
<BODY 
style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" 
marginheight="0" marginwidth="0">
<DIV><FONT size=2 face=Verdana><FONT face=Times>Hi Develop team,</FONT></DIV>
<DIV>
<DIV><FONT face=Times></FONT>&nbsp;</DIV>
<DIV><FONT face=Times>Just update the title. It will be much 
better.</FONT></DIV>
<DIV><FONT face=Times></FONT>&nbsp;</DIV>
<DIV><FONT face=Times>After set the following parameters in the 
dialplan</FONT></DIV>
<DIV><FONT face=Times></FONT>&nbsp;</DIV>
<DIV>&lt;action application="set" data="effective_callee_id_name= 
${user_data(${dialed_extension}@${domain_name} var effective_caller_id_number)}" 
/&gt;<BR></DIV>
<DIV>The Callee Name is showed in the field of "<FONT face=Times>Remote-Part-ID: 
</FONT>" in 183 SIP message.</DIV>
<DIV>&nbsp;</DIV>
<DIV>But it still NOT appear in the "to" field in SIP message. Aslo NOT in the 
200 "<FONT face=Times>Remote-Part-ID: </FONT>".</DIV>
<DIV>&nbsp;</DIV>
<DIV>For "200" SIP message, it should be update the following line code in <FONT 
face=Times>switch_ivr_originate.c</FONT>.</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new_profile-&gt;callee_id_name = 
switch_core_strdup(new_profile-&gt;pool, "Outbound Call");</DIV>
<DIV>&nbsp;</DIV>
<DIV>It should be something like </DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV style="TEXT-INDENT: 2em">&nbsp; new_profile-&gt;callee_id_number = 
switch_sanitize_number(switch_core_strdup(new_profile-&gt;pool, 
new_profile-&gt;destination_number));</DIV>
<DIV style="TEXT-INDENT: 2em">&nbsp;</DIV>
<DIV>But I could NOT find the correct parameter.</DIV>
<DIV>&nbsp;</DIV>
<DIV>For the "to" field, where should be the correct location to update 
it?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks!</DIV>
<DIV>&nbsp;</DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-12-05</FONT></DIV>
<DIV align=left><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" id=SignNameHR align=left SIZE=2>
</FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana><SPAN 
id=_FlashSignName>sparklezou</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<HR>
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG>Bing LI</FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>发送时间:</STRONG>2012-12-04&nbsp;20:12</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>Re: [Freeswitch-dev] 
[Freeswitch-users] About the display problem during calling</FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>收件人:</STRONG>"freeswitch-dev"&lt;freeswitch-dev@lists.freeswitch.org&gt;</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Verdana><A 
href="http://wiki.freeswitch.org/wiki/Variable_effective_caller_id_name">http://wiki.freeswitch.org/wiki/Variable_effective_caller_id_name</A> 

<DIV><A 
href="http://wiki.freeswitch.org/wiki/Variable_effective_caller_id_number">http://wiki.freeswitch.org/wiki/Variable_effective_caller_id_number</A></DIV>
<DIV><A 
href="http://wiki.freeswitch.org/wiki/Clarification:gateways#Caller_ID">http://wiki.freeswitch.org/wiki/Clarification:gateways#Caller_ID</A></DIV>
<DIV><BR>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>On Tue, Dec 4, 2012 at 1:43 AM, sparklezou <SPAN 
dir=ltr>&lt;<A href="mailto:sparklezou@163.com" 
target=_blank>sparklezou@163.com</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE 
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
class=gmail_quote><U></U>
  <DIV 
  style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" 
  marginheight="0" marginwidth="0">
  <DIV><FONT color=#000000 size=3 face=Times>Hi Mike &amp; Brian,</FONT></DIV>
  <DIV><FONT face=Times></FONT>&nbsp;</DIV>
  <DIV><FONT face=Times>I&nbsp; find the way to correct the final 200 SDP 
  response message.</FONT></DIV>
  <DIV><FONT face=Times></FONT>&nbsp;</DIV>
  <DIV>
  <DIV class=im>
  <DIV><FONT size=3 face=Times>The "Outbound Call" is in the 200 SDP message. 
  the called is set to</FONT></DIV>
  <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
  <DIV><FONT size=3 face=Times>""Remote-Part-ID: "Outbound Call" &lt;sip: 
  1234@a.b.c.d&gt;; ....... "</FONT></DIV>
  <DIV><FONT face=Times></FONT>&nbsp;</DIV></DIV>
  <DIV><FONT face=Times>In the switch_ivr_originate.c file,&nbsp; in the 
  following code.</FONT></DIV></DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new_profile-&gt;callee_id_name = 
  switch_core_strdup(new_profile-&gt;pool, "Outbound Call");</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Before this sentence, there should be one function to find the display 
  name from the number. Then replace the default "Outbound Call".</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Is there any function to find the name from the user xml files?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>In this way, just correct the final dispaly issue.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>And during the call, I still NOT find the corret location to add the 
  dispaly name in to the sip "to" field.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>But I believe it should NOT add in the sofia sip stack side. It should 
  add at the uplay application invote function side.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I think, it should be in switch_channel.c switch_ivr_originate.c 
  switch_event.c files.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Please check and consider it.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Thanks!</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV align=left><FONT color=#c0c0c0 face=Verdana>2012-12-04</FONT></DIV>
  <DIV class=im>
  <DIV align=left><FONT face=Verdana>
  <HR style="MIN-HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
  </FONT></DIV>
  <DIV align=left><FONT color=#c0c0c0 
  face=Verdana><SPAN>sparklezou</SPAN></FONT></DIV>
  <DIV><FONT face=Verdana>
  <HR>
  </FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>发件人:</STRONG>sparklezou</FONT></DIV></DIV>
  <DIV><FONT face=Verdana><STRONG>发送时间:</STRONG><A href="tel:2012-12-03%C2%A023" 
  target=_blank value="+12012120323">2012-12-03&nbsp;23</A>:40</FONT></DIV>
  <DIV class=im>
  <DIV><FONT face=Verdana><STRONG>主题:</STRONG>Re: Re: [Freeswitch-dev] 
  [Freeswitch-users] About the display problem during calling</FONT></DIV></DIV>
  <DIV><FONT face=Verdana><STRONG>收件人:</STRONG>"freeswitch-dev"&lt;<A 
  href="mailto:freeswitch-dev@lists.freeswitch.org" 
  target=_blank>freeswitch-dev@lists.freeswitch.org</A>&gt;</FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
  <DIV>
  <DIV class=h5>
  <DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
  <DIV><FONT face=Verdana>
  <DIV><FONT color=#000000 size=3 face=Times>Hi Mike,</FONT></DIV>
  <DIV><FONT face=Times></FONT>&nbsp;</DIV>
  <DIV><FONT face=Times>Thank!</FONT></DIV>
  <DIV><FONT face=Times></FONT>&nbsp;</DIV>
  <DIV><FONT face=Times>In which functin should be the right place to add the 
  Name for the "to" field? </FONT></DIV>
  <DIV><FONT face=Times></FONT>&nbsp;</DIV>
  <DIV><FONT face=Times>How about your idea?</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV align=left><FONT color=#c0c0c0 face=Verdana>2012-12-03</FONT></DIV>
  <DIV align=left><FONT face=Verdana>
  <HR style="MIN-HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
  </FONT></DIV>
  <DIV align=left><FONT color=#c0c0c0 
  face=Verdana><SPAN>sparklezou</SPAN></FONT></DIV>
  <DIV><FONT face=Verdana>
  <HR>
  </FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>发件人:</STRONG>Michael Jerris</FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>发送时间:</STRONG><A href="tel:2012-12-03%C2%A023" 
  target=_blank value="+12012120323">2012-12-03&nbsp;23</A>:20</FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>主题:</STRONG>Re: [Freeswitch-dev] 
  [Freeswitch-users] About the display problem during calling</FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>收件人:</STRONG>"freeswitch-dev"&lt;<A 
  href="mailto:freeswitch-dev@lists.freeswitch.org" 
  target=_blank>freeswitch-dev@lists.freeswitch.org</A>&gt;</FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
  <DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
  <DIV><FONT face=Verdana>All of this is handled in mod_sofia, look for a 
  function with i_invite in the name. 
  <DIV><BR></DIV>
  <DIV>Mike</DIV>
  <DIV><BR>
  <DIV>
  <DIV>On Dec 3, 2012, at 4:30 AM, sparklezou &lt;<A 
  href="mailto:sparklezou@163.com" target=_blank>sparklezou@163.com</A>&gt; 
  wrote:</DIV><BR>
  <BLOCKQUOTE type="cite">
    <DIV 
    style="BORDER-RIGHT-WIDTH: 0px; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; MARGIN: 12px; FONT: 12.1pt/1.3 宋体,serif; WHITE-SPACE: normal; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; LETTER-SPACING: normal; COLOR: rgb(0,0,17); BORDER-LEFT-WIDTH: 0px; WORD-SPACING: 0px" 
    marginheight="0" marginwidth="0">
    <DIV><FONT size=3 face=Times>
    <DIV><FONT size=3 face=Times>Hi Brian,</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>I'm trying to find where the session 
    start.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Just found it start from switch_channel.c:951, 
    the new channel. There is NO more debug info.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV>My idea, when get the INVITE SIP message from the sofia stack. check 
    the called number detail info in FS. add the dispaly name in the "to" field 
    of the following SIP message.</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>It should finish before the new channel.</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>where could add such code?</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>Thanks!</DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>2012-12-02 16:15:36.917452 [NOTICE] 
    switch_channel.c:951 New Channel<SPAN>&nbsp;</SPAN><A 
    href="mailto:sofia/internal/1001@172.0.0.10" 
    target=_blank>sofia/internal/1001@172.0.0.10</A><SPAN>&nbsp;</SPAN>[b51ac8ed-69d4-409a-95ba-58b420c77bfc]<BR>2012-12-02 
    16:15:36.917452 [DEBUG] switch_core_session.c:905 Send 
    signal<SPAN>&nbsp;</SPAN><A href="mailto:sofia/internal/1001@172.0.0.10" 
    target=_blank>sofia/internal/1001@172.0.0.10</A><SPAN>&nbsp;</SPAN>[BREAK]<BR>2012-12-02 
    16:15:36.917452 [DEBUG] switch_core_state_machine.c:415 (<A 
    href="mailto:sofia/internal/1001@172.0.0.10" 
    target=_blank>sofia/internal/1001@172.0.0.10</A>) Running State Change 
    CS_NEW<BR>2012-12-02 16:15:36.917452 [DEBUG] switch_core_state_machine.c:433 
    (<A href="mailto:sofia/internal/1001@172.0.0.10" 
    target=_blank>sofia/internal/1001@172.0.0.10</A>) State NEW<BR>2012-12-02 
    16:15:36.917452 [DEBUG] switch_core_session.c:905 Send 
    signal<SPAN>&nbsp;</SPAN><A href="mailto:sofia/internal/1001@172.0.0.10" 
    target=_blank>sofia/internal/1001@172.0.0.10</A><SPAN>&nbsp;</SPAN>[BREAK]<BR>2012-12-02 
    16:15:36.937457 [DEBUG] sofia.c:8435 IP 172.0.0.129 Rejected by acl 
    "domains". Falling back to Digest auth.<BR>2012-12-02 16:15:36.937457 
    [DEBUG] switch_core_session.c:905 Send signal<SPAN>&nbsp;</SPAN><A 
    href="mailto:sofia/internal/1001@172.0.0.10" 
    target=_blank>sofia/internal/1001@172.0.0.10</A><SPAN>&nbsp;</SPAN>[BREAK]<BR>2012-12-02 
    16:15:36.937457 [DEBUG] sofia.c:1733 detaching session 
    b51ac8ed-69d4-409a-95ba-58b420c77bfc<BR>2012-12-02 16:15:37.077884 [DEBUG] 
    sofia.c:1825 Re-attaching to session 
    b51ac8ed-69d4-409a-95ba-58b420c77bfc<BR>2012-12-02 16:15:37.077884 [DEBUG] 
    switch_core_session.c:905 Send signal<SPAN>&nbsp;</SPAN><A 
    href="mailto:sofia/internal/1001@172.0.0.10" 
    target=_blank>sofia/internal/1001@172.0.0.10</A><SPAN>&nbsp;</SPAN>[BREAK]<BR>2012-12-02 
    16:15:37.077884 [DEBUG] switch_core_session.c:905 Send 
    signal<SPAN>&nbsp;</SPAN><A href="mailto:sofia/internal/1001@172.0.0.10" 
    target=_blank>sofia/internal/1001@172.0.0.10</A><SPAN>&nbsp;</SPAN>[BREAK]<BR>2012-12-02 
    16:15:37.077884 [DEBUG] sofia.c:8435 IP 172.0.0.129 Rejected by acl 
    "domains". Falling back to Digest auth.<BR>2012-12-02 16:15:37.077884 
    [DEBUG] sofia.c:6306 Channel<SPAN>&nbsp;</SPAN><A 
    href="mailto:sofia/internal/1001@172.0.0.10" 
    target=_blank>sofia/internal/1001@172.0.0.10</A><SPAN>&nbsp;</SPAN>entering 
    state [received][100]<BR>2012-12-02 16:15:37.077884 [DEBUG] sofia.c:6317 
    Remote SDP:</FONT></DIV>
    <DIV>&nbsp;</DIV></FONT></DIV>
    <DIV align=left><FONT color=#c0c0c0 face=Verdana>2012-12-03</FONT></DIV>
    <DIV align=left><FONT face=Verdana>
    <HR style="MIN-HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
    </FONT></DIV>
    <DIV align=left><FONT color=#c0c0c0 face=Verdana>sparklezou</FONT></DIV>
    <DIV><FONT face=Verdana>
    <HR>
    </FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>发件人:</STRONG>sparklezou</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>发送时间:</STRONG><A 
    href="tel:2012-12-03%C2%A009" target=_blank 
    value="+12012120309">2012-12-03&nbsp;09</A>:53</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>主题:</STRONG>Re: Re: [Freeswitch-dev] 
    [Freeswitch-users] About the display problem during calling</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>收件人:</STRONG>"brian"&lt;<A 
    href="mailto:brian@freeswitch.org" 
    target=_blank>brian@freeswitch.org</A>&gt;</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>抄送:</STRONG>"freeswitch-dev"&lt;<A 
    href="mailto:freeswitch-dev@lists.freeswitch.org" 
    target=_blank>freeswitch-dev@lists.freeswitch.org</A>&gt;</FONT></DIV>
    <DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
    <DIV><FONT face=Verdana>
    <DIV><FONT size=3 face=Times>Hi Brian,</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>It's the default Dialplan.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>I have tried the fresh last version also. The 
    same result. It should NOT be configuration problem.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>You could review the wireshark 
log.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Thanks!</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV align=left><FONT color=#c0c0c0 face=Verdana>2012-12-03</FONT></DIV>
    <DIV align=left><FONT face=Verdana>
    <HR style="MIN-HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
    </FONT></DIV>
    <DIV align=left><FONT color=#c0c0c0 
    face=Verdana><SPAN>sparklezou</SPAN></FONT></DIV>
    <DIV><FONT face=Verdana>
    <HR>
    </FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>发件人:</STRONG>sparklezou</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>发送时间:</STRONG><A 
    href="tel:2012-12-02%C2%A017" target=_blank 
    value="+12012120217">2012-12-02&nbsp;17</A>:03</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>主题:</STRONG>Re: [Freeswitch-dev] 
    [Freeswitch-users] About the display problem during calling</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>收件人:</STRONG>"freeswitch-dev"&lt;<A 
    href="mailto:freeswitch-dev@lists.freeswitch.org" 
    target=_blank>freeswitch-dev@lists.freeswitch.org</A>&gt;</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
    <DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
    <DIV><FONT face=Verdana>
    <DIV><FONT size=3 face="Times New Roman">Hi Develop team,</FONT></DIV>
    <DIV><FONT size=3 face="Times New Roman"></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face="Times New Roman">In these days, I reviewed the 
    "DEBUG" info, and the sip info log. summarize as following:</FONT></DIV>
    <DIV><FONT size=3 face="Times New Roman"></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face="Times New Roman">Caller&nbsp; &lt;---&gt; FS, 
    in&nbsp;the "from" with dispaly neam. The display is set from the Caller 
    Phone. in the "to" without the display name. As the caller only dial the 
    number.</FONT></DIV>
    <DIV><FONT face="Times New Roman"></FONT>&nbsp;</DIV>
    <DIV><FONT face="Times New Roman"></FONT>&nbsp;</DIV>
    <DIV><FONT face="Times New Roman"><FONT size=3>FS&nbsp;-----&gt; Called, in 
    the "from" with&nbsp;display&nbsp;name.It's transfer from "Caller&nbsp; 
    &lt;---&gt; FS". in the "to"</FONT>&nbsp;without the display neme. As the 
    caller only dial the number.</FONT></DIV>
    <DIV><FONT face="Times New Roman"></FONT>&nbsp;</DIV>
    <DIV><FONT face="Times New Roman">Called&nbsp; -----&gt; FS. in the "to" 
    with display name. Here the Called Phone add the Display name into the SIP 
    message.</FONT></DIV>
    <DIV><FONT face="Times New Roman"></FONT>&nbsp;</DIV>
    <DIV><FONT face="Times New Roman">Here conside the "Caller &lt;----&gt; 
    FS"&nbsp; and "FS&lt;----&gt;Called" are two sessions. I think the best way, 
    is check the Display Name&nbsp;of Called in FS system when get the INVITE 
    message. Add the Display Name for the called in the whole 
    process.</FONT></DIV>
    <DIV><FONT face="Times New Roman"></FONT>&nbsp;</DIV>
    <DIV><FONT face="Times New Roman">Then in the following whole process, there 
    will be display name both for "from" &amp; "to".</FONT></DIV>
    <DIV><FONT face="Times New Roman"></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>How about your idea?</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Thanks in advance!</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV align=left><FONT color=#c0c0c0 face=Verdana>2012-12-02</FONT></DIV>
    <DIV align=left><FONT face=Verdana>
    <HR style="MIN-HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
    </FONT></DIV>
    <DIV align=left><FONT color=#c0c0c0 
    face=Verdana><SPAN>sparklezou</SPAN></FONT></DIV>
    <DIV><FONT face=Verdana>
    <HR>
    </FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>发件人:</STRONG>sparklezou</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>发送时间:</STRONG><A 
    href="tel:2012-11-30%C2%A021" target=_blank 
    value="+12012113021">2012-11-30&nbsp;21</A>:13</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>主题:</STRONG>Re: Re: [Freeswitch-users] About 
    the display problem during calling</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>收件人:</STRONG>"freeswitch-dev"&lt;<A 
    href="mailto:freeswitch-dev@lists.freeswitch.org" 
    target=_blank>freeswitch-dev@lists.freeswitch.org</A>&gt;</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
    <DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
    <DIV><FONT face=Verdana>
    <DIV><FONT size=3 face=Times>Hi Develop team,</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Just simlify this question.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>In the message 100, 180,183, 200 response to 
    the caller side from Freeswitch side, the called part Name should be include 
    in the sip address of "To" &amp; SDP part. It should 
    be&nbsp;&nbsp;"ABC"&lt;sip: 1234@a.b.c.d&gt;, NOT only &lt;sip: 
    1234@a.b.c.d&gt;.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Currently, at the called part, the caller info 
    is correct with Name. So the display at called side is OK.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV>Could you please let me know where is the source code for such process? 
    I also would like to review it.</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>Thanks!</DIV>
    <DIV>&nbsp;</DIV>
    <DIV align=left><FONT color=#c0c0c0 face=Verdana>2012-11-30</FONT></DIV>
    <DIV align=left><FONT face=Verdana>
    <HR style="MIN-HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
    </FONT></DIV>
    <DIV align=left><FONT color=#c0c0c0 
    face=Verdana><SPAN>sparklezou</SPAN></FONT></DIV>
    <DIV><FONT face=Verdana>
    <HR>
    </FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>发件人:</STRONG>sparklezou</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>发送时间:</STRONG><A 
    href="tel:2012-11-30%C2%A015" target=_blank 
    value="+12012113015">2012-11-30&nbsp;15</A>:55</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>主题:</STRONG>Re: [Freeswitch-users] About the 
    display problem during calling</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>收件人:</STRONG>"freeswitch-dev"&lt;<A 
    href="mailto:freeswitch-dev@lists.freeswitch.org" 
    target=_blank>freeswitch-dev@lists.freeswitch.org</A>&gt;</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>抄送:</STRONG>"freeswitch-users"&lt;<A 
    href="mailto:freeswitch-users@lists.freeswitch.org" 
    target=_blank>freeswitch-users@lists.freeswitch.org</A>&gt;</FONT></DIV>
    <DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
    <DIV><FONT face=Verdana>
    <DIV><FONT size=3 face=Times>Hi All,</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Before, I saved the user name in the phone. So 
    it will show the name when ringing.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>From the FreeSwitch side, there is NO 
    difference.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>@ Develop Team,</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>For Internal call, or any sip call from 
    gateway, it should be better show the Name during ring.&nbsp; And also keep 
    show the name in the call, in stead of "Outbound Call".</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Usually the phone will update the display name 
    from the sip response message.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>So in the 100, 180, 183, 
    200&nbsp;sip/sdp&nbsp;message. Respons with the called name, like 
    "ABC"&lt;sip: 1234@a.b.c.d&gt;.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Currently in the inital 100,180,183 message, 
    only&nbsp;&lt;sip: 1234@a.b.c.d&gt;. In the 200 
    message<SPAN>&nbsp;</SPAN><FONT size=3 face=Times>"Remote-Part-ID: "Outbound 
    Call" &lt;sip: 1234@a.b.c.d&gt;; ....... "</FONT></FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>If it could be updated, then the called name 
    could be displayed on the caller phone.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Thanks!</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV align=left><FONT color=#c0c0c0 face=Verdana>2012-11-30</FONT></DIV>
    <DIV align=left><FONT face=Verdana>
    <HR style="MIN-HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
    </FONT></DIV>
    <DIV align=left><FONT color=#c0c0c0 
    face=Verdana><SPAN>sparklezou</SPAN></FONT></DIV>
    <DIV><FONT face=Verdana>
    <HR>
    </FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>发件人:</STRONG>sparklezou</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>发送时间:</STRONG><A 
    href="tel:2012-11-30%C2%A011" target=_blank 
    value="+12012113011">2012-11-30&nbsp;11</A>:19</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>主题:</STRONG>[Freeswitch-users] About the 
    display problem during calling</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>收件人:</STRONG>"freeswitch-users"&lt;<A 
    href="mailto:freeswitch-users@lists.freeswitch.org" 
    target=_blank>freeswitch-users@lists.freeswitch.org</A>&gt;,"freeswitch-dev"&lt;<A 
    href="mailto:freeswitch-dev@lists.freeswitch.org" 
    target=_blank>freeswitch-dev@lists.freeswitch.org</A>&gt;</FONT></DIV>
    <DIV><FONT face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
    <DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
    <DIV><FONT face=Verdana><U></U>
    <DIV><FONT size=3 face=Times>Hi All,</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>I facing a strange problem.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Before, when calling Internal number, the name 
    and number will both&nbsp;be displayed on the caller phone. When connected, 
    only the name will display on the phone. At called phone, display the name 
    and number. Seems fine.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>But&nbsp;yesterday afternoon,&nbsp;when calling 
    Internal number, only the number is displayed on the caller phone. When 
    connected, display "Outbound Call" on the caller phone. At the called phone, 
    everthing is the same. Display both the name and number.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>I think, mabybe something configured wrong. So 
    I try to restore back the configuration. seems the same. I have to 
    re-install the last release stable 1.2.5.1 version on another server. total 
    fresh setting. But found the same problem.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>I checked the sip info.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>The "Outbound Call" is in the 200 SDP message. 
    the called is set to</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>""Remote-Part-ID: "Outbound Call" &lt;sip: 
    1234@a.b.c.d&gt;; ....... "</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Not the correct called name.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Is there anything wrong?</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Please help me.</FONT></DIV>
    <DIV><FONT size=3 face=Times></FONT>&nbsp;</DIV>
    <DIV><FONT size=3 face=Times>Thanks!</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&nbsp;</DIV>
    <DIV align=left><FONT color=#c0c0c0 
    face=Verdana>2012-11-30</FONT></DIV><FONT face=Verdana>
    <HR style="MIN-HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
    </FONT>
    <DIV><FONT color=#c0c0c0 
    face=Verdana><SPAN>sparklezou</SPAN></FONT></DIV><U></U></FONT></DIV></FONT></DIV></FONT></DIV></FONT></DIV></FONT></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>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-dev mailing 
    list<BR><A href="mailto:FreeSWITCH-dev@lists.freeswitch.org" 
    target=_blank>FreeSWITCH-dev@lists.freeswitch.org</A><BR><A 
    href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" 
    target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</A><BR>UNSUBSCRIBE:<A 
    href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" 
    target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-dev</A><BR><A 
    href="http://www.freeswitch.org" 
    target=_blank>http://www.freeswitch.org</A></DIV></BLOCKQUOTE></DIV><BR></DIV></FONT></DIV></FONT></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>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-dev mailing 
  list<BR><A 
  href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</A><BR><A 
  href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" 
  target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</A><BR>UNSUBSCRIBE:<A 
  href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" 
  target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-dev</A><BR><A 
  href="http://www.freeswitch.org" 
  target=_blank>http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></FONT></DIV></FONT></DIV></BODY></HTML>