<div>I only change freeSWITCH\conf\dialplan\default.xml</div>
<div> </div>
<div><extension name="Local_Extension"><br> <condition field="destination_number" expression="^(9773\d{4} | 10[01][0-9])$"></div>
<div> </div>
<div>and add user xml from 97730000~97739999 in freeSWITCH\conf\directory\default<br></div>
<div><include><br> <user id="97730000"><br> <params><br> <param name="password" value="$${default_password}"/><br> <param name="vm-password" value="97730000"/><br>
</params><br> <variables><br> <variable name="toll_allow" value="domestic,international,local"/><br> <variable name="accountcode" value="97730000"/><br>
<variable name="user_context" value="default"/><br> <variable name="effective_caller_id_name" value="Extension 97730000"/><br> <variable name="effective_caller_id_number" value="97730000"/><br>
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/><br> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/><br>
<variable name="callgroup" value="techsupport"/><br> </variables><br> </user><br></include></div>
<div> </div>
<div class="gmail_quote">2009/6/3 Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></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 "console loglevel 7") 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"><<a href="mailto:brad.tuan@gmail.com" target="_blank">brad.tuan@gmail.com</a>></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've update my FS by SVN..........</div>
<div> </div>
<div>but the User-Agent became to FreeSWITCH-mod_sofia/1.0.trunk-"UNKNOWN"</div>
<div> </div>
<div>Is that right??</div>
<div> </div>
<div>And the displayname is still "97730002".......</div>
<div> </div>
<div>What i confused is why "97730002" ??</div>
<div> </div>
<div>( I have users from 97730000~97739999,but when I call them from 97710006 , the display name is always "97730002"(it should be "97710006".....) )</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: <sip:163.28.32.51:5070;lr=on;ftag=124393762732run00><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 <<a href="http://sip:97719006@61.61.162.130:5060/" target="_blank">sip:97719006@61.61.162.130:5060</a>>;tag=124393762732run00<br> To: <<a href="http://sip:97730009@163.28.32.51:5070/" target="_blank">sip:97730009@163.28.32.51:5070</a>><br>
Contact: <<a href="http://sip:97719006@61.61.162.130:5060/" target="_blank">sip:97719006@61.61.162.130:5060</a>><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: <sip:163.28.32.51:5070;lr=on;ftag=124393762732run00><br> From: 97719006 <<a href="http://sip:97719006@61.61.162.130:5060/" target="_blank">sip:97719006@61.61.162.130:5060</a>>;tag=124393762732run00<br>
To: <<a href="http://sip:97730009@163.28.32.51:5070/" target="_blank">sip:97730009@163.28.32.51:5070</a>><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->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: "Extension 97730002" <<a href="mailto:sip%3A97730002@203.64.215.209" target="_blank">sip:97730002@203.64.215.209</a>>;tag=F9rteQHjgS52m<br> To: <sip:97730009@210.68.184.192:62807;rinstance=89358e5ea9aaa80e><br>
Call-ID: 7aede8c6-ca99-122c-3f82-7d6e23531ace<br> CSeq: 115883243 INVITE<br> Contact: <<a href="http://sip:mod_sofia@203.64.215.209:5060/" target="_blank">sip:mod_sofia@203.64.215.209:5060</a>><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: "Extension 97730002" <<a href="mailto:sip%3A97730002@203.64.215.209" target="_blank">sip:97730002@203.64.215.209</a>>;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"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></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"><<a href="mailto:brad.tuan@gmail.com" target="_blank">brad.tuan@gmail.com</a>></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's an issue. Hopefully you'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'll need to go back and enable and build any modules you need that aren'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'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>