<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 9pt;
font-family:新細明體
}
--></style>
</head>
<body class='hmmessage'>
<BR>
But when I changed configs to your suggestions<BR>
<BR>
I can't call anyone on the same server , before changed it I can call<BR>
<BR>
<BR>
<BR> <BR>
> Date: Thu, 14 Oct 2010 21:22:19 -0700<BR>> From: curriegrad2004@gmail.com<BR>> To: freeswitch-users@lists.freeswitch.org<BR>> Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite<BR>> <BR>> I would just say forget about the IP ACL stuff and go with the<BR>> username combination instead. Makes things easier for me, as I would<BR>> comment on.<BR>> <BR>> 2010/10/14 江 Chiang 至中 Chih-Chung Wybie <tear152@hotmail.com>:<BR>> > Well I can't login pastebin.freeswitch.org<BR>> > and that's my configs below<BR>> ><BR>> > IP address: 60.248.175.37<BR>> > Mask :255.255.255.240<BR>> > GateWay : 60.248.175.33<BR>> > DNS :168.95.1.1<BR>> ><BR>> > (autoload_configs/act.conf.xml)<BR>> > <list name="domains" default="deny"><BR>> > <node type="allow" cidr="60.248.175.32/28"/><BR>> > <!-- <node type="allow" domain="$${domain}"/>--><BR>> > </list><BR>> ><BR>> > (dialplan/default.xml)<BR>> > <extension name="Dial to 38"><BR>> > <condition field="destination_number"<BR>> > expression="^([0-4]0[01][0-9])$"><BR>> > <action application="bridge"<BR>> > data="sofia/internal/$1@60.248.175.38"/><BR>> > </condition><BR>> > </extension><BR>> ><BR>> > (dialplan/public.xml)<BR>> ><BR>> > <extension name="Calls from 38"><BR>> > <condition field="destination_number"<BR>> > expression="^([0-4]0[01][0-9])$"><BR>> > <action application="transfer" data="$1 XML default"/><BR>> > </condition><BR>> > </extension><BR>> ><BR>> ><BR>> ><BR>> ><BR>> > IP address: 60.248.175.38<BR>> > Mask :255.255.255.240<BR>> > GateWay : 60.248.175.33<BR>> > DNS :168.95.1.1<BR>> ><BR>> ><BR>> > (autoload_configs/act.conf.xml)<BR>> > <list name="domains" default="deny"><BR>> > <node type="allow" cidr="60.248.175.32/28"/><BR>> > <!-- <node type="allow" domain="$${domain}"/>--><BR>> > </list><BR>> ><BR>> > (dialplan/default.xml)<BR>> ><BR>> > <extension name="Dial to 37"><BR>> > <condition field="destination_number"<BR>> > expression="^([0-4]0[01][0-9])$"><BR>> > <action application="bridge"<BR>> > data="sofia/internal/$1@60.248.175.37"/><BR>> > </condition><BR>> > </extension><BR>> ><BR>> > (dialplan/public.xml)<BR>> ><BR>> > <extension name="Calls from 37"><BR>> > <condition field="destination_number"<BR>> > expression="^([0-4]0[01][0-9])$"><BR>> > <action application="transfer" data="$1 XML default"/><BR>> > </condition><BR>> > </extension><BR>> ><BR>> > Thank you for your attension<BR>> ><BR>> > Best Regards<BR>> ><BR>> > Gary<BR>> ><BR>> ><BR>> ><BR>> > ________________________________<BR>> > Date: Thu, 14 Oct 2010 20:02:16 -0700<BR>> > From: msc@freeswitch.org<BR>> > To: freeswitch-users@lists.freeswitch.org<BR>> > Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite<BR>> ><BR>> > Did you try using ACLs or with putting a user/gateway on each side?<BR>> > Put your configs on pastebin.freeswitch.org.<BR>> ><BR>> > This is actually a simple exercise once you know what to do. Start by<BR>> > deciding if you want to do authentication by digest or IP address.<BR>> ><BR>> > -MC<BR>> ><BR>> > 2010/10/14 江 Chiang 至中 Chih-Chung Wybie <tear152@hotmail.com><BR>> ><BR>> > But my question is<BR>> ><BR>> > I set two fs<BR>> ><BR>> > and I want to connect them<BR>> ><BR>> > I refer to http://wiki.freeswitch.org/wiki/Connect_Two_FreeSWITCH_Boxes<BR>> ><BR>> > it 's not working<BR>> ><BR>> > so I give my configuration already<BR>> ><BR>> > should I change some setting?<BR>> ><BR>> > Thank you for your attension<BR>> ><BR>> > Best Regards<BR>> ><BR>> > Gary<BR>> ><BR>> > ________________________________<BR>> > Date: Thu, 14 Oct 2010 17:56:43 -0700<BR>> > From: msc@freeswitch.org<BR>> > To: freeswitch-users@lists.freeswitch.org<BR>> > Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite<BR>> ><BR>> > Yes! You don't need a gateway for this. If the users are all on the same<BR>> > server then you just need to create the necessary files in<BR>> > conf/directory/default/<BR>> > You already have 1000.xml, 1001.xml, ... 1019.xml<BR>> > You just need to add 2010.xml, 4001.xml, 3009.xml, etc.<BR>> > Check out this article:<BR>> > http://bit.ly/EpVrv<BR>> ><BR>> > It's a bit older, but the section on adding a new extension is very<BR>> > accurate. In that example it shows how to add extension 1500 to your<BR>> > directory and your dialplan. You can copy that example for all of your new<BR>> > extension numbers.<BR>> ><BR>> > -MC<BR>> ><BR>> > 2010/10/14 江 Chiang 至中 Chih-Chung Wybie <tear152@hotmail.com><BR>> ><BR>> > Hello<BR>> ><BR>> > but I can call to each other on the same server<BR>> ><BR>> > for example<BR>> ><BR>> > I can use 1007@37 call 1013@37 , 4001@37 , 2010@37 , 3009@37<BR>> ><BR>> ><BR>> > Thank you for your attension<BR>> > Best Regards<BR>> > Gary<BR>> ><BR>> ><BR>> ><BR>> > ________________________________<BR>> > Date: Thu, 14 Oct 2010 11:27:31 -0700<BR>> > From: msc@freeswitch.org<BR>> > To: freeswitch-users@lists.freeswitch.org<BR>> > Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite<BR>> ><BR>> > FYI, we have several resources to help<BR>> > http://wiki.freeswitch.org/wiki/Regular_Expression<BR>> > http://bit.ly/aijtAC<BR>> ><BR>> > :)<BR>> ><BR>> > -MC<BR>> ><BR>> > On Thu, Oct 14, 2010 at 11:18 AM, Jeffrey Leung <curriegrad2004@gmail.com><BR>> > wrote:<BR>> ><BR>> > Dialplan's regex doesn't look right to me. You'll need to fix that<BR>> > before you do anything else.<BR>> ><BR>> > I'd suggest this regex instead of the one you provided:<BR>> > ^[0-4]0(10[1-9][0-9])$<BR>> ><BR>> > instead of this one<BR>> > ^([0-4]0[01][0-9])$<BR>> ><BR>> > If you can't get the grasp of regular expressions, I'd highly suggest<BR>> > you to pick up a book and read up on it. Knowing regular expressions<BR>> > is a great skill to have ;)<BR>> ><BR>> > 2010/10/14 江 Chiang 至中 Chih-Chung Wybie <tear152@hotmail.com>:<BR>> >> I tried use 1013@38 calls to 1019@37<BR>> >><BR>> >> show log below<BR>> >><BR>> >> 2010-10-14 17:50:41.249876 [NOTICE] switch_channel.c:675 New Channel<BR>> >> sofia/internal/1013@60.248.175.38 [875fdeef-b94e-41fb-a621-ea005bbaedbd]<BR>> >> 2010-10-14 17:50:41.263809 [INFO] mod_dialplan_xml.c:331 Processing<BR>> >> 1013->1019 in context public<BR>> >> 2010-10-14 17:50:41.263809 [NOTICE] switch_ivr.c:1450 Transfer<BR>> >> sofia/internal/1013@60.248.175.38 to XML[1019@default]<BR>> >> 2010-10-14 17:50:41.263809 [INFO] mod_dialplan_xml.c:331 Processing<BR>> >> 1013->1019 in context default<BR>> >> 2010-10-14 17:50:41.283904 [INFO] switch_core_session.c:1764 Sending early<BR>> >> media<BR>> >> 2010-10-14 17:50:41.285023 [NOTICE] mod_sofia.c:1994 Pre-Answer<BR>> >> sofia/internal/1013@60.248.175.38!<BR>> >><BR>> >> seems not work<BR>> >><BR>> >> Thank you for you attension<BR>> >> Best Regards<BR>> >><BR>> >> Gary<BR>> >><BR>> >><BR>> >><BR>> >> ________________________________<BR>> >> From: david.ponzone@ipeva.fr<BR>> >> To: freeswitch-users@lists.freeswitch.org<BR>> >> Date: Thu, 14 Oct 2010 10:16:28 +0200<BR>> >> Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite<BR>> >><BR>> >> I think we would need a complete log from the target FS, in order to<BR>> >> provide<BR>> >> you with any efficient help.<BR>> >> Thank<BR>> >> David Ponzone Direction Technique<BR>> >> email: david.ponzone@ipeva.fr<BR>> >> tel: 01 74 03 18 97<BR>> >> gsm: 06 66 98 76 34<BR>> >> Service Client IPeva<BR>> >> tel: 0811 46 26 26<BR>> >> www.ipeva.fr - www.ipeva-studio.com<BR>> >> Ce message et toutes les pièces jointes sont confidentiels et établis à<BR>> >> l'intention exclusive de ses destinataires. Toute utilisation ou diffusion<BR>> >> non autorisée est interdite. Tout message électronique est susceptible<BR>> >> d'altération. IPeva décline toute responsabilité au titre de ce message<BR>> >> s'il<BR>> >> a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce<BR>> >> message, merci de le détruire immédiatement et d'avertir l'expéditeur.<BR>> >><BR>> >><BR>> >><BR>> >> Le 14/10/2010 à 09:55, 江 Chiang 至中 Chih-Chung Wybie a écrit :<BR>> >><BR>> >> I tried Connect Two FreeSWITCH<BR>> >> Boxes http://wiki.freeswitch.org/wiki/Connect_Two_FreeSWITCH_Boxes<BR>> >> and my configuration :<BR>> >><BR>> >> 60.248.175.37<BR>> >><BR>> >> (autoload_configs/act.conf.xml)<BR>> >> <list name="domains" default="deny"><BR>> >> <node type="allow" cidr="60.248.175.38/28"/><BR>> >> <!-- <node type="allow" domain="$${domain}"/>--><BR>> >> </list><BR>> >><BR>> >> (dialplan/default.xml)<BR>> >><BR>> >> <extension name="Dial to 38"><BR>> >> <condition field="destination_number"<BR>> >> expression="^([0-4]0[01][0-9])$"><BR>> >> <action application="bridge"<BR>> >> data="sofia/internal/$1@60.248.175.38"/><BR>> >> </condition><BR>> >> </extension><BR>> >><BR>> >> (dialplan/public.xml)<BR>> >><BR>> >> <extension name="Calls from 38"><BR>> >> <condition field="destination_number"<BR>> >> expression="^([0-4]0[01][0-9])$"><BR>> >> <action application="transfer" data="$1 XML default"/><BR>> >> </condition><BR>> >> </extension><BR>> >><BR>> >><BR>> >><BR>> >> 60.248.175.38<BR>> >><BR>> >> (autoload_configs/act.conf.xml)<BR>> >> <list name="domains" default="deny"><BR>> >> <node type="allow" cidr="60.248.175.37/28"/><BR>> >> <!-- <node type="allow" domain="$${domain}"/>--><BR>> >> </list><BR>> >><BR>> >> (dialplan/default.xml)<BR>> >><BR>> >> <extension name="Dial to 37"><BR>> >> <condition field="destination_number"<BR>> >> expression="^([0-4]0[01][0-9])$"><BR>> >> <action application="bridge"<BR>> >> data="sofia/internal/$1@60.248.175.37"/><BR>> >> </condition><BR>> >> </extension><BR>> >><BR>> >> (dialplan/public.xml)<BR>> >><BR>> >> <extension name="Calls from 37"><BR>> >> <condition field="destination_number"<BR>> >> expression="^([0-4]0[01][0-9])$"><BR>> >> <action application="transfer" data="$1 XML default"/><BR>> >> </condition><BR>> >> </extension><BR>> >><BR>> >> when I use 1007@38 calls to 1007@37<BR>> >> it won't show errors but still not work<BR>> >><BR>> >> how should I change something ?<BR>> >><BR>> >> Thank you for your attension<BR>> >><BR>> >> Best Regards<BR>> >> Gary<BR>> >><BR>> >><BR>> >><BR>> >><BR>> >><BR>> >>> Date: Wed, 13 Oct 2010 22:17:13 -0700<BR>> >>> From: curriegrad2004@gmail.com<BR>> >>> To: freeswitch-users@lists.freeswitch.org<BR>> >>> Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite<BR>> >>><BR>> >>> You can create a SIP trunk between the two servers so calls can be<BR>> >>> routed back and forth from the servers you've specified.<BR>> >>><BR>> >>> 2010/10/13 江 Chiang 至中 Chih-Chung Wybie <tear152@hotmail.com>:<BR>> >>> > I tried it<BR>> >>> > but not working<BR>> >>> > and show errors below<BR>> >>> > 2010-10-14 11:03:05.336206 [ERR] switch_ivr_originate.c:2493 Cannot<BR>> >>> > create<BR>> >>> > outgoing channel of type [error] cause: [USER_NOT_REGISTERED]<BR>> >>> > 2010-10-14 11:03:05.338283 [ERR] switch_ivr_originate.c:2493 Cannot<BR>> >>> > create<BR>> >>> > outgoing channel of type [user] cause: [USER_NOT_REGISTERED]<BR>> >>> > 2010-10-14 11:03:05.338283 [INFO] mod_dptools.c:2356 Originate Failed.<BR>> >>> > Cause: USER_NOT_REGISTERED<BR>> >>> ><BR>> >>> > and for example<BR>> >>> > I use SIP server 60.248.175.38 user id=1007<BR>> >>> > and I call to 1007@60.248.175.37 that will show these errors<BR>> >>> ><BR>> >>> > how should set more?<BR>> >>> ><BR>> >>> > thank you for your attension<BR>> >>> ><BR>> >>> > Best Regards<BR>> >>> > Gary<BR>> >>> ><BR>> >>> > ________________________________<BR>> >>> > Date: Thu, 14 Oct 2010 10:55:49 +0800<BR>> >>> > From: xyangni@gmail.com<BR>> >>> > To: freeswitch-users@lists.freeswitch.org<BR>> >>> > Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite<BR>> >>> ><BR>> >>> > I think you can reg at server A and than call B as a normal SIP call to<BR>> >>> > external domain.<BR>> >>> ><BR>> >>> > 2010/10/14 江 Chiang 至中 Chih-Chung Wybie <tear152@hotmail.com><BR>> >>> ><BR>> >>> ><BR>> >>> ><BR>> >>> > Hello<BR>> >>> ><BR>> >>> > I set two SIP servers 60.248.175.37 & 60.248.175.38 and use X-Lite to<BR>> >>> > call<BR>> >>> ><BR>> >>> > my question is how can I call between these servers?<BR>> >>> ><BR>> >>> > if I can , how shoould I set in *.xml? or X-Lite?<BR>> >>> ><BR>> >>> > thank you for your attension<BR>> >>> ><BR>> >>> ><BR>> >>> > Best Regards<BR>> >>> > Gary<BR>> >>> ><BR>> >>> > _______________________________________________<BR>> >>> > FreeSWITCH-users mailing list<BR>> >>> > FreeSWITCH-users@lists.freeswitch.org<BR>> >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> >>> ><BR>> >>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> >>> > http://www.freeswitch.org<BR>> >>> ><BR>> >>> ><BR>> >>> ><BR>> >>> > _______________________________________________ FreeSWITCH-users<BR>> >>> > mailing<BR>> >>> > list FreeSWITCH-users@lists.freeswitch.org<BR>> >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> >>> ><BR>> >>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> >>> > http://www.freeswitch.org<BR>> >>> > _______________________________________________<BR>> >>> > FreeSWITCH-users mailing list<BR>> >>> > FreeSWITCH-users@lists.freeswitch.org<BR>> >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> >>> ><BR>> >>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> >>> > http://www.freeswitch.org<BR>> >>> ><BR>> >>> ><BR>> >>><BR>> >>> _______________________________________________<BR>> >>> FreeSWITCH-users mailing list<BR>> >>> FreeSWITCH-users@lists.freeswitch.org<BR>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> >>> http://www.freeswitch.org<BR>> >> _______________________________________________<BR>> >> FreeSWITCH-users mailing list<BR>> >> FreeSWITCH-users@lists.freeswitch.org<BR>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> >> http://www.freeswitch.org<BR>> >><BR>> >><BR>> >> _______________________________________________ FreeSWITCH-users mailing<BR>> >> list FreeSWITCH-users@lists.freeswitch.org<BR>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> >> http://www.freeswitch.org<BR>> >> _______________________________________________<BR>> >> FreeSWITCH-users mailing list<BR>> >> FreeSWITCH-users@lists.freeswitch.org<BR>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> >> http://www.freeswitch.org<BR>> >><BR>> >><BR>> ><BR>> > _______________________________________________<BR>> > FreeSWITCH-users mailing list<BR>> > FreeSWITCH-users@lists.freeswitch.org<BR>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> > http://www.freeswitch.org<BR>> ><BR>> ><BR>> > _______________________________________________ FreeSWITCH-users mailing<BR>> > list FreeSWITCH-users@lists.freeswitch.org<BR>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> > http://www.freeswitch.org<BR>> > _______________________________________________<BR>> > FreeSWITCH-users mailing list<BR>> > FreeSWITCH-users@lists.freeswitch.org<BR>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> > http://www.freeswitch.org<BR>> ><BR>> ><BR>> ><BR>> > _______________________________________________ FreeSWITCH-users mailing<BR>> > list FreeSWITCH-users@lists.freeswitch.org<BR>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> > http://www.freeswitch.org<BR>> > _______________________________________________<BR>> > FreeSWITCH-users mailing list<BR>> > FreeSWITCH-users@lists.freeswitch.org<BR>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> > http://www.freeswitch.org<BR>> ><BR>> ><BR>> ><BR>> > _______________________________________________ FreeSWITCH-users mailing<BR>> > list FreeSWITCH-users@lists.freeswitch.org<BR>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> > http://www.freeswitch.org<BR>> > _______________________________________________<BR>> > FreeSWITCH-users mailing list<BR>> > FreeSWITCH-users@lists.freeswitch.org<BR>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> > http://www.freeswitch.org<BR>> ><BR>> ><BR>> <BR>> _______________________________________________<BR>> FreeSWITCH-users mailing list<BR>> FreeSWITCH-users@lists.freeswitch.org<BR>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> http://www.freeswitch.org<BR>                                            </body>
</html>