[Freeswitch-users] some questions of freeswitch & X-Lite

Michael Collins msc at freeswitch.org
Thu Oct 14 11:27:31 PDT 2010


FYI, we have several resources to help
http://wiki.freeswitch.org/wiki/Regular_Expression
http://bit.ly/aijtAC

:)

-MC

On Thu, Oct 14, 2010 at 11:18 AM, Jeffrey Leung <curriegrad2004 at gmail.com>wrote:

> Dialplan's regex doesn't look right to me. You'll need to fix that
> before you do anything else.
>
> I'd suggest this regex instead of the one you provided:
> ^[0-4]0(10[1-9][0-9])$
>
> instead of this one
> ^([0-4]0[01][0-9])$
>
> If you can't get the grasp of regular expressions, I'd highly suggest
> you to pick up a book and read up on it. Knowing regular expressions
> is a great skill to have ;)
>
> 2010/10/14 江 Chiang 至中 Chih-Chung   Wybie <tear152 at hotmail.com>:
> > I tried use 1013 at 38 calls to 1019 at 37
> >
> > show log below
> >
> > 2010-10-14 17:50:41.249876 [NOTICE] switch_channel.c:675 New Channel
> > sofia/internal/1013 at 60.248.175.38 [875fdeef-b94e-41fb-a621-ea005bbaedbd]
> > 2010-10-14 17:50:41.263809 [INFO] mod_dialplan_xml.c:331 Processing
> > 1013->1019 in context public
> > 2010-10-14 17:50:41.263809 [NOTICE] switch_ivr.c:1450 Transfer
> > sofia/internal/1013 at 60.248.175.38 to XML[1019 at default]
> > 2010-10-14 17:50:41.263809 [INFO] mod_dialplan_xml.c:331 Processing
> > 1013->1019 in context default
> > 2010-10-14 17:50:41.283904 [INFO] switch_core_session.c:1764 Sending
> early
> > media
> > 2010-10-14 17:50:41.285023 [NOTICE] mod_sofia.c:1994 Pre-Answer
> > sofia/internal/1013 at 60.248.175.38!
> >
> > seems not work
> >
> > Thank you for you attension
> > Best Regards
> >
> > Gary
> >
> >
> >
> > ________________________________
> > From: david.ponzone at ipeva.fr
> > To: freeswitch-users at lists.freeswitch.org
> > Date: Thu, 14 Oct 2010 10:16:28 +0200
> > Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite
> >
> > I think we would need a complete log from the target FS, in order to
> provide
> > you with any efficient help.
> > Thank
> > David Ponzone  Direction Technique
> > email: david.ponzone at ipeva.fr
> > tel:      01 74 03 18 97
> > gsm:   06 66 98 76 34
> > Service Client IPeva
> > tel:      0811 46 26 26
> > www.ipeva.fr  -   www.ipeva-studio.com
> > Ce message et toutes les pièces jointes sont confidentiels et établis à
> > l'intention exclusive de ses destinataires. Toute utilisation ou
> diffusion
> > non autorisée est interdite. Tout message électronique est susceptible
> > d'altération. IPeva décline toute responsabilité au titre de ce message
> s'il
> > a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce
> > message, merci de le détruire immédiatement et d'avertir l'expéditeur.
> >
> >
> >
> > Le 14/10/2010 à 09:55, 江 Chiang 至中 Chih-Chung Wybie a écrit :
> >
> > I tried Connect Two FreeSWITCH
> > Boxes  http://wiki.freeswitch.org/wiki/Connect_Two_FreeSWITCH_Boxes
> > and my configuration :
> >
> > 60.248.175.37
> >
> > (autoload_configs/act.conf.xml)
> > <list name="domains" default="deny">
> >       <node type="allow" cidr="60.248.175.38/28"/>
> >      <!-- <node type="allow" domain="$${domain}"/>-->
> > </list>
> >
> > (dialplan/default.xml)
> >
> > <extension name="Dial to 38">
> >       <condition field="destination_number"
> > expression="^([0-4]0[01][0-9])$">
> >         <action application="bridge"
> > data="sofia/internal/$1 at 60.248.175.38"/>
> >       </condition>
> >  </extension>
> >
> > (dialplan/public.xml)
> >
> > <extension name="Calls from 38">
> >       <condition field="destination_number"
> > expression="^([0-4]0[01][0-9])$">
> >         <action application="transfer" data="$1 XML default"/>
> >       </condition>
> >  </extension>
> >
> >
> >
> > 60.248.175.38
> >
> > (autoload_configs/act.conf.xml)
> > <list name="domains" default="deny">
> >       <node type="allow" cidr="60.248.175.37/28"/>
> >      <!-- <node type="allow" domain="$${domain}"/>-->
> > </list>
> >
> > (dialplan/default.xml)
> >
> > <extension name="Dial to 37">
> >       <condition field="destination_number"
> > expression="^([0-4]0[01][0-9])$">
> >         <action application="bridge"
> > data="sofia/internal/$1 at 60.248.175.37"/>
> >       </condition>
> >  </extension>
> >
> > (dialplan/public.xml)
> >
> > <extension name="Calls from 37">
> >       <condition field="destination_number"
> > expression="^([0-4]0[01][0-9])$">
> >         <action application="transfer" data="$1 XML default"/>
> >       </condition>
> >  </extension>
> >
> > when I use 1007 at 38 calls to 1007 at 37
> > it won't show errors but still not work
> >
> > how should I change something ?
> >
> > Thank you for your attension
> >
> > Best Regards
> > Gary
> >
> >
> >
> >
> >
> >> Date: Wed, 13 Oct 2010 22:17:13 -0700
> >> From: curriegrad2004 at gmail.com
> >> To: freeswitch-users at lists.freeswitch.org
> >> Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite
> >>
> >> You can create a SIP trunk between the two servers so calls can be
> >> routed back and forth from the servers you've specified.
> >>
> >> 2010/10/13 江 Chiang 至中 Chih-Chung Wybie <tear152 at hotmail.com>:
> >> > I tried it
> >> > but not working
> >> > and show errors below
> >> > 2010-10-14 11:03:05.336206 [ERR] switch_ivr_originate.c:2493 Cannot
> >> > create
> >> > outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
> >> > 2010-10-14 11:03:05.338283 [ERR] switch_ivr_originate.c:2493 Cannot
> >> > create
> >> > outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
> >> > 2010-10-14 11:03:05.338283 [INFO] mod_dptools.c:2356 Originate Failed.
> >> > Cause: USER_NOT_REGISTERED
> >> >
> >> > and for example
> >> >  I use SIP server 60.248.175.38  user id=1007
> >> > and I call to 1007 at 60.248.175.37    that will show these errors
> >> >
> >> > how should set more?
> >> >
> >> > thank you for your attension
> >> >
> >> > Best Regards
> >> > Gary
> >> >
> >> > ________________________________
> >> > Date: Thu, 14 Oct 2010 10:55:49 +0800
> >> > From: xyangni at gmail.com
> >> > To: freeswitch-users at lists.freeswitch.org
> >> > Subject: Re: [Freeswitch-users] some questions of freeswitch & X-Lite
> >> >
> >> > I think you can reg at server A and than call B as a normal SIP call
> to
> >> > external domain.
> >> >
> >> > 2010/10/14 江 Chiang 至中 Chih-Chung Wybie <tear152 at hotmail.com>
> >> >
> >> >
> >> >
> >> > Hello
> >> >
> >> > I set two SIP servers  60.248.175.37 & 60.248.175.38 and use X-Lite to
> >> > call
> >> >
> >> > my question is how can I call between these servers?
> >> >
> >> > if I can , how shoould I set in *.xml? or X-Lite?
> >> >
> >> > thank you for your attension
> >> >
> >> >
> >> > Best Regards
> >> > Gary
> >> >
> >> > _______________________________________________
> >> > FreeSWITCH-users mailing list
> >> > FreeSWITCH-users at lists.freeswitch.org
> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> > UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> > http://www.freeswitch.org
> >> >
> >> >
> >> >
> >> > _______________________________________________ FreeSWITCH-users
> mailing
> >> > list FreeSWITCH-users at lists.freeswitch.org
> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> > UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> > http://www.freeswitch.org
> >> > _______________________________________________
> >> > FreeSWITCH-users mailing list
> >> > FreeSWITCH-users at lists.freeswitch.org
> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> > UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> > http://www.freeswitch.org
> >> >
> >> >
> >>
> >> _______________________________________________
> >> FreeSWITCH-users mailing list
> >> FreeSWITCH-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
> > _______________________________________________ FreeSWITCH-users mailing
> > list FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101014/5e98866c/attachment-0001.html 


More information about the FreeSWITCH-users mailing list