<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 9pt;
font-family:新細明體
}
--></style>
</head>
<body class='hmmessage'>
Hello<BR>
<BR>
but I can call to each other on the same server<BR>
<BR>
for example <BR>
<BR>
I can use <A href="mailto:1007@37">1007@37</A> call <A href="mailto:1013@37">1013@37</A> , <A href="mailto:4001@37">4001@37</A> , <A href="mailto:2010@37">2010@37</A> , <A href="mailto:3009@37">3009@37</A> <BR>
<BR>
<BR>
Thank you for your attension<BR>Best Regards<BR> Gary<BR><BR>
<BR> <BR>
<HR id=stopSpelling>
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><A href="http://wiki.freeswitch.org/wiki/Regular_Expression" target=_blank>http://wiki.freeswitch.org/wiki/Regular_Expression</A><BR><A href="http://bit.ly/aijtAC" target=_blank>http://bit.ly/aijtAC</A><BR><BR>:)<BR><BR>-MC<BR><BR>
<DIV class=ecxgmail_quote>On Thu, Oct 14, 2010 at 11:18 AM, Jeffrey Leung <SPAN dir=ltr><<A href="mailto:curriegrad2004@gmail.com">curriegrad2004@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE style="PADDING-LEFT: 1ex" class=ecxgmail_quote>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 <<A href="mailto:tear152@hotmail.com">tear152@hotmail.com</A>>:<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/<A href="mailto:1013@60.248.175.38">1013@60.248.175.38</A> [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/<A href="mailto:1013@60.248.175.38">1013@60.248.175.38</A> 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/<A href="mailto:1013@60.248.175.38">1013@60.248.175.38</A>!<BR>><BR>> seems not work<BR>><BR>> Thank you for you attension<BR>> Best Regards<BR>><BR>> Gary<BR>><BR>><BR>><BR>> ________________________________<BR>> From: <A href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</A><BR>> To: <A href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A><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 provide<BR>> you with any efficient help.<BR>> Thank<BR>> David Ponzone Direction Technique<BR>> email: <A href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</A><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>> <A href="http://www.ipeva.fr/" target=_blank>www.ipeva.fr</A> - <A href="http://www.ipeva-studio.com/" target=_blank>www.ipeva-studio.com</A><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 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 <A href="http://wiki.freeswitch.org/wiki/Connect_Two_FreeSWITCH_Boxes" target=_blank>http://wiki.freeswitch.org/wiki/Connect_Two_FreeSWITCH_Boxes</A><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="<A href="http://60.248.175.38/28" target=_blank>60.248.175.38/28</A>"/><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/$<A href="mailto:1@60.248.175.38">1@60.248.175.38</A>"/><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="<A href="http://60.248.175.37/28" target=_blank>60.248.175.37/28</A>"/><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/$<A href="mailto:1@60.248.175.37">1@60.248.175.37</A>"/><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: <A href="mailto:curriegrad2004@gmail.com">curriegrad2004@gmail.com</A><BR>>> To: <A href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A><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 <<A href="mailto:tear152@hotmail.com">tear152@hotmail.com</A>>:<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 <A href="mailto:1007@60.248.175.37">1007@60.248.175.37</A> 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: <A href="mailto:xyangni@gmail.com">xyangni@gmail.com</A><BR>>> > To: <A href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A><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 <<A href="mailto:tear152@hotmail.com">tear152@hotmail.com</A>><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>>> > <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>>> ><BR>>> ><BR>>> > _______________________________________________ FreeSWITCH-users mailing<BR>>> > list <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>>> > 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>>> ><BR>>><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>> 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>><BR>> _______________________________________________ FreeSWITCH-users mailing<BR>> list <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>> 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>><BR><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></BLOCKQUOTE></DIV><BR><BR>_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org                                            </body>
</html>