<!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>
<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>
<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>
<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>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>
<STYLE>                        BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}                        body{FONT-SIZE:12.1pt; COLOR:#001; 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 color=#000000 size=3 face=Times>
<DIV><FONT color=#000000 size=3 face=Times>Hi
Brian,</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>I'm trying to find where the session
start.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 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> </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> </DIV>
<DIV>It should finish before the new channel.</DIV>
<DIV> </DIV>
<DIV>where could add such code? </DIV>
<DIV> </DIV>
<DIV>Thanks!</DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>2012-12-02 16:15:36.917452 [NOTICE]
switch_channel.c:951 New Channel <A
href="mailto:sofia/internal/1001@172.0.0.10">sofia/internal/1001@172.0.0.10</A>
[b51ac8ed-69d4-409a-95ba-58b420c77bfc]<BR>2012-12-02 16:15:36.917452 [DEBUG]
switch_core_session.c:905 Send signal <A
href="mailto:sofia/internal/1001@172.0.0.10">sofia/internal/1001@172.0.0.10</A>
[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">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">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 <A
href="mailto:sofia/internal/1001@172.0.0.10">sofia/internal/1001@172.0.0.10</A>
[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 <A
href="mailto:sofia/internal/1001@172.0.0.10">sofia/internal/1001@172.0.0.10</A>
[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 <A
href="mailto:sofia/internal/1001@172.0.0.10">sofia/internal/1001@172.0.0.10</A>
[BREAK]<BR>2012-12-02 16:15:37.077884 [DEBUG] switch_core_session.c:905 Send
signal <A
href="mailto:sofia/internal/1001@172.0.0.10">sofia/internal/1001@172.0.0.10</A>
[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 <A
href="mailto:sofia/internal/1001@172.0.0.10">sofia/internal/1001@172.0.0.10</A>
entering state [received][100]<BR>2012-12-02 16:15:37.077884 [DEBUG]
sofia.c:6317 Remote SDP:</FONT></DIV>
<DIV> </DIV></FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-12-03</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>sparklezou</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>发送时间:</STRONG>2012-12-03 09:53</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>Re: Re: [Freeswitch-dev]
[Freeswitch-users] About the display problem during calling</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>收件人:</STRONG>"brian"<brian@freeswitch.org></FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>抄送:</STRONG>"freeswitch-dev"<freeswitch-dev@lists.freeswitch.org></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV><FONT color=#000000 size=3 face=Times>Hi Brian,</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>It's the default
Dialplan.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 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 color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>You could review the wireshark
log.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>Thanks!</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-12-03</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>sparklezou</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>发送时间:</STRONG>2012-12-02 17:03</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"<freeswitch-dev@lists.freeswitch.org></FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV><FONT color=#000000 size=3 face="Times New Roman">Hi Develop
team,</FONT></DIV>
<DIV><FONT color=#000000 size=3 face="Times New Roman"></FONT> </DIV>
<DIV><FONT color=#000000 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 color=#000000 size=3 face="Times New Roman"></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face="Times New Roman">Caller <--->
FS, in 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> </DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman"><FONT color=#000000 size=3>FS ----->
Called, in the "from" with display name.It's transfer from
"Caller <---> FS". in the "to"</FONT> without the display neme.
As the caller only dial the number.</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman">Called -----> 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> </DIV>
<DIV><FONT face="Times New Roman">Here conside the "Caller <---->
FS" and "FS<---->Called" are two sessions. I think the best way, is
check the Display Name 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> </DIV>
<DIV><FONT face="Times New Roman">Then in the following whole process, there
will be display name both for "from" & "to".</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>How about your idea?</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>Thanks in advance!</FONT></DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-12-02</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>sparklezou</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>发送时间:</STRONG>2012-11-30 21:13</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>Re: Re: [Freeswitch-users]
About the display problem during calling</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>收件人:</STRONG>"freeswitch-dev"<freeswitch-dev@lists.freeswitch.org></FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV><FONT color=#000000 size=3 face=Times>Hi Develop team,</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>Just simlify this
question.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 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" & SDP part. It should
be "ABC"<sip: 1234@a.b.c.d>, NOT only <sip:
1234@a.b.c.d>.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 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 color=#000000 size=3 face=Times></FONT> </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> </DIV>
<DIV>Thanks!</DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-11-30</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>sparklezou</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>发送时间:</STRONG>2012-11-30 15:55</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>Re: [Freeswitch-users] About
the display problem during calling</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>收件人:</STRONG>"freeswitch-dev"<freeswitch-dev@lists.freeswitch.org></FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>抄送:</STRONG>"freeswitch-users"<freeswitch-users@lists.freeswitch.org></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV><FONT color=#000000 size=3 face=Times>Hi All,</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 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 color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>From the FreeSwitch side, there is NO
difference.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>@ Develop Team,</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>For Internal call, or any sip call
from gateway, it should be better show the Name during ring. And also keep
show the name in the call, in stead of "Outbound Call".</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>Usually the phone will update the
display name from the sip response message.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>So in the 100, 180, 183,
200 sip/sdp message. Respons with the called name, like "ABC"<sip:
1234@a.b.c.d>.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>Currently in the inital 100,180,183
message, only <sip: 1234@a.b.c.d>. In the 200 message <FONT
color=#000000 size=3 face=Times>"Remote-Part-ID: "Outbound Call" <sip:
1234@a.b.c.d>; ....... "</FONT></FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>If it could be updated, then the
called name could be displayed on the caller phone.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>Thanks!</FONT></DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-11-30</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>sparklezou</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>发送时间:</STRONG>2012-11-30 11:19</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>[Freeswitch-users] About the
display problem during calling</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>收件人:</STRONG>"freeswitch-users"<freeswitch-users@lists.freeswitch.org>,"freeswitch-dev"<freeswitch-dev@lists.freeswitch.org></FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana><STATIONERY>
<DIV><FONT color=#000000 size=3 face=Times>Hi All,</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>I facing a strange
problem.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>Before, when calling Internal number,
the name and number will both 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 color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>But yesterday
afternoon, 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 color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 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 color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>I checked the sip info.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>The "Outbound Call" is in the 200 SDP
message. the called is set to </FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>""Remote-Part-ID: "Outbound Call"
<sip: 1234@a.b.c.d>; ....... "</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>Not the correct called
name.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>Is there anything wrong?</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>Please help me.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=Times></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=Times>Thanks!</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2
face=Verdana>2012-11-30</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" id=SignNameHR align=left SIZE=2>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN
id=_FlashSignName>sparklezou</SPAN></FONT></DIV></STATIONERY></FONT></DIV></FONT></DIV></FONT></DIV></FONT></DIV></FONT></DIV></BODY></HTML>