Re: [Freeswitch-users] Accessing Config Info From Database

2009-11-13 Thread Andrew Thompson
On Fri, Nov 13, 2009 at 11:28:55PM +0100, Leon de Rooij wrote:
> Hi,
> 
> You can use mod_xml_curl (generate xml on a webserver):
> 
> http://wiki.freeswitch.org/wiki/Mod_xml_curl
> 
> or mod_xml_odbc (generate xml in freeswitch):
> 
> http://wiki.freeswitch.org/wiki/Mod_xml_odbc
> 
> or LUA together with luasql (generate xml in freeswitch):
> 
> http://wiki.freeswitch.org/wiki/Lua#For_serving_configuration
>

Or, if you're really crazy, the erlang module can do it too (even
dynamically):

http://wiki.freeswitch.org/wiki/Mod_erlang_event#XML_search_bindings

:P

Andrew

___
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


Re: [Freeswitch-users] Freeswitch configure error using --srcdir option

2009-11-13 Thread Michael Jerris
Patches to make this work would be gladly accepted.

Mike

On Nov 13, 2009, at 7:56 PM, Brian West wrote:

> Don't use --srcdir we don't fully support that and the howto guides do not 
> mention it AT ALL.  So doing things that are not in the howto aren't really 
> tested nor supported.
> 
> /b
> 
> On Nov 13, 2009, at 11:26 AM, Robert Hadley wrote:
> 
>> Hello All
>>  
>> On CentOS 5.3, I am trying to build Freeswitch in a different directory and 
>> use the –srcdir= option.  One reason I want to do this to have Debug and 
>> Release build targets from the same source.
>>  
>> It doesn’t work, the configure errors when it gets to the first library 
>> subdirectory lib/srtp and tries to configure in there.
>>  
>> The steps I am doing are:
>> Building as root
>> Unzip freeswitch-1.0.4-tar.gz in /opt
>> cd into /opt/freeswitch-1.0.4
>> mkdir Debug
>> cd Debug
>> ../configure –srcdir=”..” CFLAGS=”-g –ggdb –O2”
>> After several seconds of configuring I get:
>> === configuring in libs/srtp (/opt/freeswitch-1.0.4/Debug/libs/srtp)
>> configure: running /bin/sh ../../../libs/srtp/configure.gnu 
>> --disable-option-checking '--prefix=/usr/local/freeswitch'  'CFLAGS=-g -ggdb 
>> -O2' --cache-file=/dev/null --srcdir=../../../libs/srtp
>> ../../../libs/srtp/configure.gnu: line 2: ./configure: No such file or 
>> directory
>> configure: error: ../../../libs/srtp/configure.gnu failed for libs/srtp
>> [r...@roberth-c53 Debug]#
>>  
>> The file that’s executing is this:
>> [r...@roberth-c53 srtp]# cd libs/srtp; cat ../../../libs/srtp/configure.gnu
>> #! /bin/sh
>> ./configure "$@" --disable-shared --with-pic
>>  
>>  
>> Please tell me if I understood the –srcdir option correctly and if there is 
>> a way to do build in a different directory.
>>  

___
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


Re: [Freeswitch-users] Freeswitch configure error using --srcdir option

2009-11-13 Thread Brian West
Don't use --srcdir we don't fully support that and the howto guides do  
not mention it AT ALL.  So doing things that are not in the howto  
aren't really tested nor supported.


/b

On Nov 13, 2009, at 11:26 AM, Robert Hadley wrote:


Hello All

On CentOS 5.3, I am trying to build Freeswitch in a different  
directory and use the –srcdir= option.  One reason I want to do this  
to have Debug and Release build targets from the same source.


It doesn’t work, the configure errors when it gets to the first  
library subdirectory lib/srtp and tries to configure in there.


The steps I am doing are:
Building as root
Unzip freeswitch-1.0.4-tar.gz in /opt
cd into /opt/freeswitch-1.0.4
mkdir Debug
cd Debug
../configure –srcdir=”..” CFLAGS=”-g –ggdb –O2”
After several seconds of configuring I get:
=== configuring in libs/srtp (/opt/freeswitch-1.0.4/Debug/libs/srtp)
configure: running /bin/sh ../../../libs/srtp/configure.gnu -- 
disable-option-checking '--prefix=/usr/local/freeswitch'  'CFLAGS=-g  
-ggdb -O2' --cache-file=/dev/null --srcdir=../../../libs/srtp
../../../libs/srtp/configure.gnu: line 2: ./configure: No such file  
or directory
configure: error: ../../../libs/srtp/configure.gnu failed for libs/ 
srtp

[r...@roberth-c53 Debug]#

The file that’s executing is this:
[r...@roberth-c53 srtp]# cd libs/srtp; cat ../../../libs/srtp/ 
configure.gnu

#! /bin/sh
./configure "$@" --disable-shared --with-pic


Please tell me if I understood the –srcdir option correctly and if  
there is a way to do build in a different directory.


Thanks,
Robert


___
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


[Freeswitch-users] Freeswitch configure error using --srcdir option

2009-11-13 Thread Robert Hadley
Hello All

 

On CentOS 5.3, I am trying to build Freeswitch in a different directory and
use the -srcdir= option.  One reason I want to do this to have Debug and
Release build targets from the same source.

 

It doesn't work, the configure errors when it gets to the first library
subdirectory lib/srtp and tries to configure in there.

 

The steps I am doing are:

1.  Building as root 
2.  Unzip freeswitch-1.0.4-tar.gz in /opt 
3.  cd into /opt/freeswitch-1.0.4 
4.  mkdir Debug 
5.  cd Debug 
6.  ../configure -srcdir=".." CFLAGS="-g -ggdb -O2" 
7.  After several seconds of configuring I get: 

=== configuring in libs/srtp (/opt/freeswitch-1.0.4/Debug/libs/srtp)

configure: running /bin/sh ../../../libs/srtp/configure.gnu
--disable-option-checking '--prefix=/usr/local/freeswitch'  'CFLAGS=-g -ggdb
-O2' --cache-file=/dev/null --srcdir=../../../libs/srtp

../../../libs/srtp/configure.gnu: line 2: ./configure: No such file or
directory

configure: error: ../../../libs/srtp/configure.gnu failed for libs/srtp

[r...@roberth-c53 Debug]# 

 

The file that's executing is this:

[r...@roberth-c53 srtp]# cd libs/srtp; cat ../../../libs/srtp/configure.gnu 

#! /bin/sh

./configure "$@" --disable-shared --with-pic

 

 

Please tell me if I understood the -srcdir option correctly and if there is
a way to do build in a different directory.

 

Thanks,

Robert

 

___
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


[Freeswitch-users] Using play_and_get_digits (or IVR) without a final delay

2009-11-13 Thread Robert L Mathews
Hi, I'm a new FreeSWITCH convert from asterisk. It's great software; 
thanks for making it.

I'm trying to play a sound file while listening for possible digits 
dialed (although in most cases callers will not be dialing anything).

If callers do start dialing an extension while the sound file is 
playing, I want them to be able to dial it slowly without any problems. 
So the inter-digit timeout should be, say, 2 seconds.

However, if people don't start dialing anything while the sound file is 
playing, I don't want any delay at the end of it.

I've tried play_and_get_digits with a 2000 timeout -- but that causes a 
2 second "dead air" pause at the end of the sound file if callers don't 
dial anything.

I've also tried using a trivial IVR menu to simulate this, but it has 
the same problem. Interestingly, it doesn't *look* like IVRs should have 
the problem, because they allow both "inter-digit-timeout" and "timeout" 
to be specified separately -- but at least in FreeSWITCH 1.0.4, a short 
"timeout" value always interrupts the dialing of digits, even if 
"inter-digit-timeout" is much longer.

Is there any way to play a sound file from the dial plan with a long 
inter-digit delay, but without any final delay if no digits are dialed?

Thanks for your time!

-- 
Robert L Mathews, Tiger Technologies

___
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


Re: [Freeswitch-users] Accessing Config Info From Database

2009-11-13 Thread Leon de Rooij
Hi,

You can use mod_xml_curl (generate xml on a webserver):

http://wiki.freeswitch.org/wiki/Mod_xml_curl

or mod_xml_odbc (generate xml in freeswitch):

http://wiki.freeswitch.org/wiki/Mod_xml_odbc

or LUA together with luasql (generate xml in freeswitch):

http://wiki.freeswitch.org/wiki/Lua#For_serving_configuration

regards,

Leon



On Fri, 2009-11-13 at 13:59 -0800, Jerry Richards wrote:
> Is there a way to access configuration information from a database (e.g.
> SQL) rather than from the XML files?
> 
> Best Regards,
> Jerry
> 
> 
> ___
> 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



___
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


Re: [Freeswitch-users] Accessing Config Info From Database

2009-11-13 Thread Phillip Jones
Take a look at http://wiki.freeswitch.org/wiki/Mod_xml_curl to get started.


On Fri, Nov 13, 2009 at 4:59 PM, Jerry Richards
wrote:

> Is there a way to access configuration information from a database (e.g.
> SQL) rather than from the XML files?
>
> Best Regards,
> Jerry
>
>
> ___
> 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
>
___
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


[Freeswitch-users] Accessing Config Info From Database

2009-11-13 Thread Jerry Richards
Is there a way to access configuration information from a database (e.g.
SQL) rather than from the XML files?

Best Regards,
Jerry


___
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


Re: [Freeswitch-users] suggestions for hardware.

2009-11-13 Thread Eliot Gable
I have built some low-wattage systems before, and from what I have
seen, you want to stay away from the low-wattage processors. On a
price per performance per watt scale, the lowest wattage Core 2 Duo
processors are the best bet. I have a logic-supply ITX system here at
home that has a VIA processor in it and it is dirt slow. It cost about
$350 - $400. It sucks about 5W max, according to my Watt meter but it
takes forever to do anything. Compiling FreeSWITCH on it is an
absolute nightmare (it takes hours). I have an alternate MicroATX
system with a Core 2 Duo and it pulls about 15W all the time. If I
compile FreeSWITCH on that system, it takes a few minutes. The Core 2
Duo system was bought about 6 months after the VIA system. The Core 2
Duo cost about $270 for everything, including 2 GB of RAM. The amount
of money saved by running the VIA system at 5W is nowhere close to the
inconvenience of waiting for it to do anything. Also, I had to go
through about 5-6 different Linux distributions before I found one
that would actually install on the VIA processor. I think Suse Linux
was the one that finally worked on it. Tried CentOS, Slackware,
Ubuntu, Debian, and a couple of others.

Now, I have not tried the Atom processor, so it could be very
different. However, I have read the Tom's Hardware review that also
showed that the Core 2 Duo was several times better on the price per
performance per watt scale than the Atom processor, and again, it was
mainly because the Atom processor took so much longer to do anything.


On Fri, Nov 6, 2009 at 6:21 PM, Orien Love  wrote:
> First of all, Thanks to the help I received on my pfSense installation,
> especially to Michael.  I have a basic test system up and running. I am
> still waiting on some hardware but the base system is working
>
> I am looking on advice on how to set up a simple office PBX, 20 phones
> and 4 outside lines.with 2 or 3 "operator" phones and the rest will be
> extensions.
>
> Here is my plan, please let me know if it does not make sense, or if I
> am going about it
>
> System Hardware
>  4 spa3000's to handle the outside lines.
>  2-3 polycom 601 phones with expansion modules (Operator phones)
>  18 polycom 330 or other phones for desks.
>  2-24 port cisco POE switches
>  1 pfSense server.
>
> System Design.
>
>  Extension Numbers 2xx
>  Outside line access 1xx
>  groups 3xx
>  auto-attendent ???
>
> here are my questions
>    #1 will a 1.6 Ghz Intel Atom 230 single core 533 Mhz FSB and 2 GB of
> memory handle this proposed system? (Here is the MB I am thing of using
> MSI 609-9832-010 http://www.logicsupply.com/products/ms_9832_010)
>    #2 how do I pool my spa 3000 FXO lines so that the outgoing calls
> use the first available line? also how do insure that metro (non long
> distance) calls go to a specific line if available?
>
> I have learned a lot on how to set up Polycom 601 phones, I am planning
> on writing a how to document, is there any specific format?
>
> Thanks Orien
>
>
> ___
> 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
>



-- 
Eliot Gable

"We do not inherit the Earth from our ancestors: we borrow it from our
children." ~David Brower

"I decided the words were too conservative for me. We're not borrowing
from our children, we're stealing from them--and it's not even
considered to be a crime." ~David Brower

"Esse oportet ut vivas, non vivere ut edas." (Thou shouldst eat to
live; not live to eat.) ~Marcus Tullius Cicero

___
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


Re: [Freeswitch-users] Large number of destinations

2009-11-13 Thread Eliot Gable
Performance is not an issue. I clocked 300 calls per second on such a
setup using a Dell R710 with two XEON X5570s and 32 GB RAM as the
FreeSWITCH server and a Dell 2950 4-core system with 8 GB RAM as the
app server. The app server was at 15% - 20% idle at that rate and the
Dell R710 was 65% - 70% idle. The main bottleneck I ran into was using
the limit application with ODBC. A mutex lock around the ODBC calls
meant that I could only pull 160 calls per second, even though the app
server was 55% - 60% idle at that rate, because the ODBC call took
1/160th of a second to complete and all the requests were serialized.

In theory, you should get better performance using mod_xml_curl
because FreeSWITCH will not have to parse a large XML dial plan. One
of the drawbacks of the XML dial plan is that any time it tries to
locate a route element, it must perform an XML linear search until it
finds the correct child (as can be seen in the source code). Thus,
searching the XML dialplan is O(n) operation while mod_xml_curl is
typically constant time, or at worst, O(log n), depending on how you
are storing / querying your data from your database system. Actually,
I suppose you could just be a bad programmer and end up making it
exponential, but I'm assuming you know how to write code and design
your database in a way that avoids that.

I have been considering writing a hash cache for the XML dialplan so
that lookups can become constant time, but I have no idea when or if I
will find the time to do that. :)

On Fri, Nov 13, 2009 at 5:23 AM, Robin Vleij  wrote:
> On 11/13/09 2:49 AM, Eliot Gable wrote:
>
> Hi Eliot,
>
>> Or, of course, there is always mod_xml_curl. Basically, XML dialplan
>> on the fly. Call comes in, FreeSWITCH sends XML request via HTTP to a
>> web application server, web application server responds with XML
>> routing response, FreeSWITCH routes the call.
>
> Yeah, been looking at that one, really cool idea. Then I could build my
> routing database in any way I want. I'm just worried about performance
> and the extra delay it'll introduce. But technically with my complex
> routing demands this would be the right solution, instead of a mix of
> modules (which probably brings the same extra load on the machine).
>
> I'll fiddle a bit. :)
>
> /Robin
>
> ___
> 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
>



-- 
Eliot Gable

"We do not inherit the Earth from our ancestors: we borrow it from our
children." ~David Brower

"I decided the words were too conservative for me. We're not borrowing
from our children, we're stealing from them--and it's not even
considered to be a crime." ~David Brower

"Esse oportet ut vivas, non vivere ut edas." (Thou shouldst eat to
live; not live to eat.) ~Marcus Tullius Cicero

___
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


Re: [Freeswitch-users] How To Disable MD5 Authentication?

2009-11-13 Thread Brian West
Are you still wanting to authenticate users?   auth-calls=false, blind- 
registration=true on the profile.

/b

On Nov 13, 2009, at 11:18 AM, Jerry Richards wrote:

>
> How can I disable MD5 Authentication upon registration?
>
> Best Regards,
> Jerry
>


___
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


[Freeswitch-users] How To Disable MD5 Authentication?

2009-11-13 Thread Jerry Richards

How can I disable MD5 Authentication upon registration?

Best Regards,
Jerry


___
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


Re: [Freeswitch-users] suggestions for hardware.

2009-11-13 Thread Michael Gende
Hey Orien,

I've put FS on a couple of different commodity hardware platforms, from a 1U
(dual CPU, dual core, Gig of memory) server to an old Dell PC (less than a
gig of memory, single CPU, a few years old so its a dog) and found I had
plenty of juice for a small office, say.

On the FS website there is a suggested hardware list if I'm not mistaken.
However, depending upon how hard you plan to hammer the system usage-wise,
any above average PC platform would probably serve well, in my humble - if
not entirely educated - opinion.

Regards,

Mike G.

On Thu, Nov 12, 2009 at 9:04 PM, Frank Carmickle wrote:

> On Thu, Nov 12, Orien Love wrote:
> > Since I have not had any replies about the atom board I am guessing
> > that nobody has used one, Could somebody tell me what is a good CPU
> > speed / Memory / FSB be?
> > I really do not have a large budget and cannot afford to buy
> > something that will not work.
>
> I have not used an Atom board yet but a few are in the plans.  If you do
> any of them the 330 is the only one to go with as of now.  64 bit and dual
> core in 8w is pretty nice but then again I don't have one to test with so I
> can't say for sure.
>
> --FC
>
>
___
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


Re: [Freeswitch-users] SIP trunk without authentication

2009-11-13 Thread Meftah Tayeb
hi
use sofia/internal/$...@your provider ip where $1 is the number
thanks
Sergey Kobzar a écrit :
> Hello.
>
> I'm FS newbie and want connect it to SIP provider which does not
> require authentication - it make authentication using my IP.
>
> I've searched through FS documentation and didn't find clear answer.
>
> Could you help me or maybe give a link to a doc which can help?
>
> Thanks.
>
>
>   



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4539 (20091024) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



___
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


Re: [Freeswitch-users] How to pick up someone's phone remotely.

2009-11-13 Thread Piotr Żurek




Hello again.
My problems evolve, because I didn't know all these functions in FS are
so much dependent on each other. But I'm learning fast...
The scenario I written about before appears to be too much simplified
version of what I need to achieve.
In fact, below scenario and solution works OK only one time - when
someone calls and there's no person on the called extension, and
someone manually answers that phone on other extension. Then any other
person can't intercept this call. Thats is correct and needed behavior.
But if the same person who answered the phone transfers this call -
everything goes back to normal and below solution does not work because
the call has been answered already and execute_on_answer does not
execute ever again during this call/channel. The same happens if
there's IVR on the external extension answering calls and then
forwarding to extensions - everyone can intercept last call even if
it's already answered because IVR answers all call on start (and
execute_on_answer doesn't get executed).

So I think I need similar solution but working everywhere: on calls and
transfers. Is there some variable or some other thing that I could set
to block and unblock intercept when needed to get wanted behavior.

Any hints?

Greetings
Peter


Piotr Zurek pisze:

  
  
Thank You for such an elegant and simple solution that I have not
thought about.
With an exception that I'm using FS 1.0.4 right now and it appears that
something changed in time and following line should use hash instead of
db (when using default 1.0.4 FS config):
.
After a few hours of experimenting everything works as planned.
  
Thank You very much.
Peter
  
Ognjen Seslija pisze:
  Add the following:

 .

after

  

in local extensions default example, or change it globally previously
than this extension. You can join us on IRC if you can any more
questions (sekil).

Regards,
Ognjen



On Tue, Nov 10, 2009 at 4:01 PM, Piotr
Żurek 
wrote:
Hello.
  
Thank You developers for Freeswitch.
I have installed it lately and it's working quite nicely, but I have
one problem:
  
I need to mimic behavior of my current analogue PBX installation using
Freeswitch.
  
This is the scenario:
In the office with a few desks (extensions 1000-1010) and only one
person behind one of desks (whatever extension - in example 1000).
1. There's incoming call on _one_ of extensions 1001-1010
2. The person on extension 1000 wants to answer this call on his phone
so dials #37 and this call is redirected to his phone.
  
That's how it works on my office on analogue PBX system. Anyone can
answer a call from any other phone as long as it hasn't been answered
already.
  
I tried to use the intercept action (with global example in default
config) but it's not what I need because it intercepts the call even if
it's already answered. I need to intercept all but only unanswered
calls. I tried to use Redirect but it does not work on other's
extensions call's (or does it?).
  
Please help.
Peter Żurek
  
___
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
  



  



<>

smime.p7s
Description: S/MIME Cryptographic Signature
___
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


Re: [Freeswitch-users] Large number of destinations

2009-11-13 Thread Robin Vleij
On 11/12/09 11:53 PM, Rupa Schomaker wrote:

Hi,

> lcr is based on prefix, so the boundaries for which the range is
> assigned may not match a prefix.  You may be better off either:

OK, I think I can forget lcr, it's too far off what I want to do to make
it work with some fixes.

> 1) denormalize your ranges and just insert all distinct #s
> 2) Modify mod_easyroute to support ranges

Will look at this. When I come up with something interesting I'll put it
on the wiki. In the meantime I've begun looking at xml_curl also, that
might in the end really be the best one. I can then build a database+php
that responds to stuff in whatever way we want.

> 3) talk to SWK (he is on irc here and there) about his (non free)
> fancier routing options

If I can't get it like I want, I'll look for him. :)

Thanks for all the pointers and help!

/Robin

___
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


Re: [Freeswitch-users] Large number of destinations

2009-11-13 Thread Robin Vleij
On 11/13/09 2:49 AM, Eliot Gable wrote:

Hi Eliot,

> Or, of course, there is always mod_xml_curl. Basically, XML dialplan
> on the fly. Call comes in, FreeSWITCH sends XML request via HTTP to a
> web application server, web application server responds with XML
> routing response, FreeSWITCH routes the call.

Yeah, been looking at that one, really cool idea. Then I could build my
routing database in any way I want. I'm just worried about performance
and the extra delay it'll introduce. But technically with my complex
routing demands this would be the right solution, instead of a mix of
modules (which probably brings the same extra load on the machine).

I'll fiddle a bit. :)

/Robin

___
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