P USA: +1 347 562 2308
> From: benny+use...@amorsen.dk
> To: hose+aster...@bluemaggottowel.com
> Date: Mon, 13 Sep 2010 20:18:08 +0200
> CC: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] A way to check against a list of numbers?
>
> Hose writ
Hose writes:
> The most straightforward way would be to just define explicit patterns.
> Obviously that works, but doesn't seem scalable in terms of maintenance.
I don't think that maintaining the list in the dial plan is all that
bad, actually. Dump it in its own context and file...
If that is
Hi,
An intelligent way is to maintain numbers list in any Database (could be
SQlite if you don't want to use proper DB engine) then use ODBC-Function
if the number is there and decide routing.
2nd option is to use Perl AGI with DBI::CSV and manage numbers list in a
CSV file.
Regards,
Fai
2010/9/10 Hose
>
> Does anyone have a suggestion on how to handle this? For example, if I
> have a list of numbers that I want to go out a certain sip channel and
> another that I want to go out the dahdi device, is there a way to do
> this? None of the numbers will fit into a pattern, so just
On Fri, 10 Sep 2010, Jose P. Espinal wrote:
> b. If you can do this using C, Perl or Python; it would not (possibly)
> represent a considerable performance hit to your system.
Any reasonably modern processor should be able to handle XXX AGIs written
in C per second.
--
Thanks in advance,
On Fri, 10 Sep 2010, Hose wrote:
> Does anyone have a suggestion on how to handle this? For example, if I
> have a list of numbers that I want to go out a certain sip channel and
> another that I want to go out the dahdi device, is there a way to do
> this? None of the numbers will fit into a pa
On Fri, Sep 10, 2010 at 03:51:01PM -0500, Hose wrote:
>Does anyone have any suggestions as to
>how to approach that, or if they have a entirely different way in mind?
AGI script that can look directly at your master list of numbers/routes?
R
--
__
Hi,
If you have those numbers identified (no matter what the number pattern
would be, but you know which will go to DAHDI, and which to SIP) and
grouped somewhere, you could insert that information into a database and
use AGI in order to set the proper technology to use in each case.
e.g
Havi
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Hose
Subject: [asterisk-users] A way to check against a list of numbers?
>Does anyone have a suggestion on how to handle this? For example, if I
have a list
Does anyone have a suggestion on how to handle this? For example, if I
have a list of numbers that I want to go out a certain sip channel and
another that I want to go out the dahdi device, is there a way to do
this? None of the numbers will fit into a pattern, so just plain
pattern matching won
10 matches
Mail list logo