VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
dsc3507 at yahoo.com Guest
|
Posted: Sun Nov 17, 2013 2:04 am Post subject: [asterisk-users] Bulk forwarding to another Asterisk |
|
|
I want to be able to pass any number (variable length) to a context and then forward that to another asterisk server for processing by that servers dial plan. I have the two talking IAX2 so that part is done. I can also dial a number from the sending to the server asterisk. The problem is I don't want to have to create (duplicate) dial plans at originating Asterisk to equal those at the server. I want to send the raw extension that enters a context and then send it to the other Asterisk in entirety for processing. Is there a way to do this?
What I want to do is like "early dial" on a SIP phone but between two Asterisk systems. As soon as a match is made the call is processed.
This works for a three digit extension but I want to send an any length extension that hits this context in entirety. If I use a _x! it just stops at the first character. Extensions I want to send to the far end are a combination of 2,3,4 and 10 digit numbers.
[pbx_server]
exten => _xxx,1,Answer
exten => _xxx,n,Dial(IAX2/pbx/${EXTEN})
exten => _xxx,n,Playback(vm-nobodyavail)
exten => _xxx,n,Hangup
Doug
[url=http://www.crompton.com/][/url] |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Sun Nov 17, 2013 2:19 am Post subject: [asterisk-users] Bulk forwarding to another Asterisk |
|
|
On Sat, 16 Nov 2013, Doug wrote:
Quote: | I want to be able to pass any number (variable length) to a context and
then forward that to another asterisk server for processing by that
servers dial plan.
If I use a _x! it just stops at the first character.
|
How about '_x.' or '_!.'
Note that '!' will match any alphanumeric -- including T, h, i, s, t, etc.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
mitul at enterux.in Guest
|
Posted: Sun Nov 17, 2013 2:44 am Post subject: [asterisk-users] Bulk forwarding to another Asterisk |
|
|
If using IAX then I would recommend setting up DUNDi or Switch statement in dialplan.
Mitul On Nov 17, 2013 12:50 PM, "Steve Edwards" <asterisk.org@sedwards.com (asterisk.org@sedwards.com)> wrote: Quote: | On Sat, 16 Nov 2013, Doug wrote:
Quote: | I want to be able to pass any number (variable length) to a context and then forward that to another asterisk server for processing by that servers dial plan.
If I use a _x! it just stops at the first character.
|
How about '_x.' or '_!.'
Note that '!' will match any alphanumeric -- including T, h, i, s, t, etc.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards    sedwards@sedwards.com (sedwards@sedwards.com)    Voice: [url=tel:%2B1-760-468-3867]+1-760-468-3867[/url] PST
Newline                        Fax: [url=tel:%2B1-760-731-3000]+1-760-731-3000[/url]
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
dsc3507 at yahoo.com Guest
|
Posted: Sun Nov 17, 2013 3:23 am Post subject: [asterisk-users] Bulk forwarding to another Asterisk |
|
|
OK, Tried switch.... I think this is correct....
[pbx_server]
switch => IAX2/user:pw@192.168.0.2/default (of course with the correct user/pass)
and at the receiving end I get -
slate*CLI>
-- Accepted AUTHENTICATED TBD call from 192.168.0.124
but it does not complete the call. I am calling this from an app that captures DTMF over the radio and send to a context. The extension does get there as confirmed when using the xxx for a three digit extension.
Is the above "switch" statement all that is needed in the context? My dialplan at the server end is entirely in the default context.
Doug[/url]
On Sunday, November 17, 2013 2:44 AM, Mitul Limbani <mitul@enterux.in> wrote:
Quote: | If using IAX then I would recommend setting up DUNDi or Switch statement in dialplan.
Mitul
On Nov 17, 2013 12:50 PM, "Steve Edwards" <asterisk.org@sedwards.com (asterisk.org@sedwards.com)> wrote: Quote: | On Sat, 16 Nov 2013, Doug wrote: Quote: | I want to be able to pass any number (variable length) to a context and then forward that to another asterisk server for processing by that servers dial plan. If I use a _x! it just stops at the first character. | How about '_x.' or '_!.' Note that '!' will match any alphanumeric -- including T, h, i, s, t, etc. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards@sedwards.com (sedwards@sedwards.com) Voice: [url]+1-760-468-3867 PST Newline Fax: [url]+1-760-731-3000[/url]-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users |
-- _____________________________________________________________________-- Bandwidth and Colocation Provided by http://www.api-digital.com--New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/helloasterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|