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

江 Chiang 至中 Chih-Chung Wybie tear152 at hotmail.com
Thu Oct 14 00:55:52 PDT 2010


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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101014/833c8aec/attachment-0001.html 


More information about the FreeSWITCH-users mailing list