<p>I only change freeSWITCH\conf\dialplan\default.xml<br> <br>&lt;extension name=&quot;Local_Extension&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(9773\d{4} | 10[01][0-9])$&quot;&gt;<br>
 <br>and add user xml from 97730000~97739999 in freeSWITCH\conf\directory\default</p>
<p>&lt;include&gt;<br>  &lt;user id=&quot;97730000&quot;&gt;<br>    &lt;params&gt;<br>      &lt;param name=&quot;password&quot; value=&quot;$${default_password}&quot;/&gt;<br>      &lt;param name=&quot;vm-password&quot; value=&quot;97730000&quot;/&gt;<br>
    &lt;/params&gt;<br>    &lt;variables&gt;<br>      &lt;variable name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot;/&gt;<br>      &lt;variable name=&quot;accountcode&quot; value=&quot;97730000&quot;/&gt;<br>
      &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>      &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Extension 97730000&quot;/&gt;<br>      &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;97730000&quot;/&gt;<br>
      &lt;variable name=&quot;outbound_caller_id_name&quot; value=&quot;$${outbound_caller_name}&quot;/&gt;<br>      &lt;variable name=&quot;outbound_caller_id_number&quot; value=&quot;$${outbound_caller_id}&quot;/&gt;<br>
      &lt;variable name=&quot;callgroup&quot; value=&quot;techsupport&quot;/&gt;<br>    &lt;/variables&gt;<br>  &lt;/user&gt;<br>&lt;/include&gt;<br><br></p>
<div class="gmail_quote">2009/6/3 Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">okay, you will need to use pastebin and post your configuration. anything you changed from the default config, especially in the dialplan, but also vars.xml, sip_profiles, etc. Turn on debug level logging (F8 or &quot;console loglevel 7&quot;) and also do the SIP trace. Make a few test calls and capture all the output.<br>
<font color="#888888"><br>-MC</font> 
<div>
<div></div>
<div class="h5"><br><br>
<div class="gmail_quote">On Tue, Jun 2, 2009 at 9:38 PM, Brad Tuan <span dir="ltr">&lt;<a href="mailto:brad.tuan@gmail.com" target="_blank">brad.tuan@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>......I&#39;ve update my FS by SVN..........</div>
<div> </div>
<div>but the User-Agent became to  FreeSWITCH-mod_sofia/1.0.trunk-&quot;UNKNOWN&quot;</div>
<div> </div>
<div>Is that right??</div>
<div> </div>
<div>And the displayname is still &quot;97730002&quot;.......</div>
<div> </div>
<div>What i confused is why &quot;97730002&quot; ??</div>
<div> </div>
<div>( I have users from 97730000~97739999,but when I call them from 97710006 , the display name is always &quot;97730002&quot;(it should be &quot;97710006&quot;.....) )</div>
<div> </div>
<div>recv 883 bytes from udp/[163.28.32.51]:5070 at 04:25:58.812500:<br>   ------------------------------------------------------------------------<br>   INVITE sip:97730009@203.64.215.209:5060;transport=udp SIP/2.0<br>   Record-Route: &lt;sip:163.28.32.51:5070;lr=on;ftag=124393762732run00&gt;<br>
   Via: SIP/2.0/UDP 163.28.32.51:5070;branch=z9hG4bK27d.b8e8b5b.0<br>   Via: SIP/2.0/UDP 61.61.162.130:5060;branch=z9hG4bKrun12440031628377850000<br>   Via: SIP/2.0/UDP 192.168.0.2:5260;branch=z9hG4bKrun124400316283778500<br>
   From: 97719006 &lt;<a href="http://sip:97719006@61.61.162.130:5060/" target="_blank">sip:97719006@61.61.162.130:5060</a>&gt;;tag=124393762732run00<br>   To: &lt;<a href="http://sip:97730009@163.28.32.51:5070/" target="_blank">sip:97730009@163.28.32.51:5070</a>&gt;<br>
   Contact: &lt;<a href="http://sip:97719006@61.61.162.130:5060/" target="_blank">sip:97719006@61.61.162.130:5060</a>&gt;<br>   Call-ID: i99OGJlYTY4MDQ1NWY3YmUwMGUxZjkzZmRjZTRmNWM0ODU.00<br>   CSeq: 8500 INVITE<br>   Max-Forwards: 68<br>
   Content-Type: application/sdp<br>   Content-Length: 237</div>
<div>   v=0<br>   o=169 0 0 IN IP4 61.61.162.130<br>   s=ots<br>   c=IN IP4 61.61.162.130<br>   t=0 0<br>   m=audio 5158 RTP/AVP 18 8 0 101<br>   a=rtpmap:0 PCMU/8000/1<br>   a=rtpmap:8 PCMA/8000/1<br>   a=rtpmap:18 G729/8000/1<br>
   a=rtpmap:101 telephone-event/8000/1<br>   a=fmtp:101 0-15</div>
<div>   ------------------------------------------------------------------------<br>send 560 bytes to udp/[163.28.32.51]:5070 at 04:25:58.859375:<br>   ------------------------------------------------------------------------<br>
   SIP/2.0 100 Trying<br>   Via: SIP/2.0/UDP 163.28.32.51:5070;branch=z9hG4bK27d.b8e8b5b.0<br>   Via: SIP/2.0/UDP 61.61.162.130:5060;branch=z9hG4bKrun12440031628377850000<br>   Via: SIP/2.0/UDP 192.168.0.2:5260;branch=z9hG4bKrun124400316283778500<br>
   Record-Route: &lt;sip:163.28.32.51:5070;lr=on;ftag=124393762732run00&gt;<br>   From: 97719006 &lt;<a href="http://sip:97719006@61.61.162.130:5060/" target="_blank">sip:97719006@61.61.162.130:5060</a>&gt;;tag=124393762732run00<br>
   To: &lt;<a href="http://sip:97730009@163.28.32.51:5070/" target="_blank">sip:97730009@163.28.32.51:5070</a>&gt;<br>   Call-ID: i99OGJlYTY4MDQ1NWY3YmUwMGUxZjkzZmRjZTRmNWM0ODU.00<br>   CSeq: 8500 INVITE<br>   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-UNKNOWN<br>
   Content-Length: 0</div>
<div>   ------------------------------------------------------------------------<br>2009-06-03 12:25:58 [NOTICE] switch_channel.c:602 switch_channel_set_name() New<br>Channel <a href="mailto:sofia/internal/97719006@61.61.162.130:5060" target="_blank">sofia/internal/97719006@61.61.162.130:5060</a> [4caf176f-efdd-2a4d-99c9-cc62<br>
f34cc3da]<br>2009-06-03 12:25:59 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing 977<br>19006-&gt;97730009 in context default<br>2009-06-03 12:25:59 [INFO] switch_ivr_async.c:1770 switch_ivr_bind_dtmf_meta_ses<br>
sion() Bound B-Leg: 1 execute_extension::dx XML features<br>2009-06-03 12:25:59 [INFO] switch_ivr_async.c:1770 switch_ivr_bind_dtmf_meta_ses<br>sion() Bound B-Leg: 2 record_session::C:\SipGo/recordings/97719006.2009-06-03-12<br>
-25-59.wav<br>2009-06-03 12:25:59 [INFO] switch_ivr_async.c:1770 switch_ivr_bind_dtmf_meta_ses<br>sion() Bound B-Leg: 3 execute_extension::cf XML features<br>2009-06-03 12:25:59 [NOTICE] switch_channel.c:602 switch_channel_set_name() New<br>
Channel sofia/internal/sip:97730009@210.68.184.192:62807;rinstance=89358e5ea9aaa<br>80e [86bb74ab-c3c8-c24d-b5c6-0707423f93d1]<br>2009-06-03 12:25:59 [INFO] switch_ivr_originate.c:1664 switch_ivr_originate() Se<br>nding early media<br>
2009-06-03 12:25:59 [INFO] mod_sofia.c:1487 sofia_receive_message() Ring SDP:<br>v=0<br>o=FreeSWITCH 1243986137 1243986138 IN IP4 203.64.215.209<br>s=FreeSWITCH<br>c=IN IP4 203.64.215.209<br>t=0 0<br>m=audio 17022 RTP/AVP 8 101<br>
a=rtpmap:8 PCMA/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br>a=silenceSupp:off - - - -<br>a=ptime:20<br>a=sendrecv</div>
<div>2009-06-03 12:25:59 [NOTICE] mod_sofia.c:1490 sofia_receive_message() Pre-Answer<br> <a href="mailto:sofia/internal/97719006@61.61.162.130:5060" target="_blank">sofia/internal/97719006@61.61.162.130:5060</a>!<br>send 1402 bytes to udp/[210.68.184.192]:62807 at 04:25:59.234375:<br>
   ------------------------------------------------------------------------<br>   INVITE sip:97730009@210.68.184.192:62807;rinstance=89358e5ea9aaa80e SIP/2.0<br>   Via: SIP/2.0/UDP 203.64.215.209;rport;branch=z9hG4bKyX6NyKUygQ9ta<br>
   Max-Forwards: 67<br>   From: &quot;Extension 97730002&quot; &lt;<a href="mailto:sip%3A97730002@203.64.215.209" target="_blank">sip:97730002@203.64.215.209</a>&gt;;tag=F9rteQHjgS52m<br>   To: &lt;sip:97730009@210.68.184.192:62807;rinstance=89358e5ea9aaa80e&gt;<br>
   Call-ID: 7aede8c6-ca99-122c-3f82-7d6e23531ace<br>   CSeq: 115883243 INVITE<br>   Contact: &lt;<a href="http://sip:mod_sofia@203.64.215.209:5060/" target="_blank">sip:mod_sofia@203.64.215.209:5060</a>&gt;<br>   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-UNKNOWN<br>
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,<br>REFER, UPDATE, REGISTER, INFO, PUBLISH<br>   Supported: timer, precondition, path, replaces<br>   Allow-Events: talk, presence, dialog, call-info, sla, include-session-descrip<br>
tion, presence.winfo, message-summary, refer<br>   Content-Type: application/sdp<br>   Content-Disposition: session<br>   Content-Length: 449<br>   Remote-Party-ID: &quot;Extension 97730002&quot; &lt;<a href="mailto:sip%3A97730002@203.64.215.209" target="_blank">sip:97730002@203.64.215.209</a>&gt;;party=cal<br>
ling;screen=yes;privacy=off</div>
<div>   v=0<br>   o=FreeSWITCH 1293924755044965733 4031320830041280168 IN IP4 203.64.215.209<br>   s=FreeSWITCH<br>   c=IN IP4 203.64.215.209<br>   t=0 0<br>   m=audio 21978 RTP/AVP 8 115 107 9 0 3 101 13<br>   a=rtpmap:8 PCMA/8000<br>
   a=rtpmap:115 G7221/32000<br>   a=fmtp:115 bitrate=48000<br>   a=rtpmap:107 G7221/16000<br>   a=fmtp:107 bitrate=32000<br>   a=rtpmap:9 G722/8000<br>   a=rtpmap:0 PCMU/8000<br>   a=rtpmap:3 GSM/8000<br>   a=rtpmap:101 telephone-event/8000<br>
   a=fmtp:101 0-16<br>   a=rtpmap:13 CN/8000<br>   a=ptime:20<br><br></div>
<div class="gmail_quote">2009/6/3 Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div></div>
<div>
<div><br><br>
<div class="gmail_quote">On Tue, Jun 2, 2009 at 6:41 AM, Brad Tuan <span dir="ltr">&lt;<a href="mailto:brad.tuan@gmail.com" target="_blank">brad.tuan@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">How to update <font face="Helvetica">FreeSWITCH-mod_sofia/1.0.3-12163??</font></blockquote>
<div><br></div></div></div>Your best bet is to use SVN trunk. It is the most stable version available, even more stable than the latest 1.0.4pre8 release candidate. Back up your entire freeswitch folder in case there&#39;s an issue. Hopefully you&#39;re running in Linux, so you could do:<br>
 mv /usr/local/freeswitch /usr/local/freeswitch.bak<br><br>Then use the quick and dirty install from the wiki:<br> <a href="http://wiki.freeswitch.org/wiki/Quick_and_Dirty_Install" target="_blank">http://wiki.freeswitch.org/wiki/Quick_and_Dirty_Install</a><br>
<br>When the install is finished you will have a fresh copy of FS and a brand new default configuration. You&#39;ll need to go back and enable and build any modules you need that aren&#39;t done by default. You will also need to re-apply any changes you made to the default configuration from your previous install. Hopefully you didn&#39;t have to edit any of the files or maybe just a few, like vars.xml. In any case, I recommend editing as few of the default config files as possible.<br>
<br>Let us know how it goes...<br><font color="#888888">-MC<br></font><br></div></div>_______________________________________________<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><br></blockquote></div><br><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><br></blockquote></div><br></div></div><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>