Re: [asterisk-users] Dialplan question: Variables in GoTo() ?

2016-03-10 Thread Steve Edwards
On Thu, 10 Mar 2016, A J Stiles wrote: Can you use variables in the target of a GoTo() statement? Yes. Here are a few examples from one of my dialplans: ; invalid template [i](!) exten = i,1,verbose(1,[${EXTEN}@${CONTEXT}]) exten = i,n,

Re: [asterisk-users] Dialplan question: Variables in GoTo() ?

2016-03-10 Thread Joshua Colp
A J Stiles wrote: I can't seem to find a definitive answer on this, and I really don't want to risk breaking a production server to find out; so I am going to try asking this here, and maybe anyone else in the same situation searching the archives sometime in future will find the answer I get.

Re: [asterisk-users] Dialplan question when using a round-robin

2010-07-11 Thread Paul Belanger
On Sun, Jul 11, 2010 at 8:00 AM, unsero...@aol.com wrote: But how can i determine on which physical server user B is registered? Or is there an other, better way to achieve this? Maybe in replicating the registrations between all 3 servers? DUNDi is an options, same with DNS SRV records. --

Re: [asterisk-users] Dialplan question when using a round-robin

2010-07-11 Thread unserossi
But how can i determine on which physical server user B is registered? Or is there an other, better way to achieve this? Maybe in replicating the registrations between all 3 servers? DUNDi is an options, same with DNS SRV records. -- Could you please give me some more info? Or is

Re: [asterisk-users] Dialplan question when using a round-robin

2010-07-11 Thread Nasir Iqbal
as a quick option you can use Dial(IAX2/server1/${EXTEN}IAX2/server2/${EXTEN}IAX2/server3/${EXTEN}) call will connect to whichever is available answer, others simply ignored! On Sun, Jul 11, 2010 at 8:09 PM, unsero...@aol.com wrote: But how can i determine on which physical server user B

Re: [asterisk-users] Dialplan question when using a round-robin

2010-07-11 Thread unserossi
On Sun, Jul 11, 2010 at 8:09 PM, unsero...@aol.com wrote: But how can i determine on which physical server user B is registered? Or is there an other, better way to achieve this? Maybe in replicating the registrations between all 3 servers? DUNDi is an options, same

Re: [asterisk-users] dialplan question

2010-05-10 Thread Vardan
Hello. Look, in Your sip.conf [601] deny=0.0.0.0/0.0.0.0 - you deny all, but some lines down you allow from all context=office type=friend secret=601 qualify=yes ;port=5060 permit=0.0.0.0/0.0.0.0 nat=no mailbox=...@device host=dynamic dtmfmode=rfc2833 dial=SIP/601

Re: [asterisk-users] dialplan question

2010-04-27 Thread Jim Dickenson
In your sip.conf your permit line does not have an ip address to allow the register from so the call is coming in as a guest and that is likely using context default. Set the permit line to either the ip address of the phone or the network the phone is on. permit=192.168.1.0/255.255.255.0

Re: [asterisk-users] dialplan question

2010-04-27 Thread Vasiliy G Tolstov
В Втр, 27/04/2010 в 06:11 -0700, Jim Dickenson пишет: In your sip.conf your permit line does not have an ip address to allow the register from so the call is coming in as a guest and that is likely using context default. Set the permit line to either the ip address of the phone or the

Re: [asterisk-users] dialplan question

2010-04-27 Thread Jim Dickenson
I am not sure what you are asking here. -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Apr 27, 2010, at 6:16 AM, Vasiliy G Tolstov wrote: В Втр, 27/04/2010 в 06:11 -0700, Jim Dickenson пишет: In your sip.conf your permit line does not have an ip address to allow

Re: [Asterisk-Users] dialplan question

2005-01-29 Thread Eric Wieling aka ManxPower
Matthew Simpson wrote: Hello, I have a dial plan that tries to place a call over several different outbound gateways, like this: exten = _1X.,1,Dial(SIP/[EMAIL PROTECTED]) exten = _1X.,2,Dial(SIP/[EMAIL PROTECTED]) exten = _1X.,3,Dial(SIP/[EMAIL PROTECTED]) exten = _1X.,4,Dial(SIP/[EMAIL

Re: [Asterisk-Users] dialplan question

2005-01-28 Thread Kevin P. Fleming
Matthew Simpson wrote: What is the best way to handle this? Inserting +101 extensions with the Hangup command ? Will that still properly signal 486 busy here back? Should I be using Congestion instead of Hang up ? What's the best way to handle it? Use my patch (unpublished) that stops Dial()

Re: [Asterisk-Users] dialplan question - how to dial an * extension to get an outbound dialtone?

2005-01-04 Thread Peter Svensson
On Tue, 4 Jan 2005, Justin Richards wrote: I currently have a dialplan set up to let me dial a specific extension, authenticate the user, then have * dial a hard coded/programmed overseas number. What I would like to do is set up my dialplan to have an extension that offers up an outbound

Re: [Asterisk-Users] dialplan question - how to dial an * extension to get an outbound dialtone?

2005-01-04 Thread Justin Richards
Nice! that is exactly what I want!! much cleaner than the callthrough plan (that I found two minutes after i posted my question) I was trying to use that is posted on voip-info.org Thanks!! On Tue, 4 Jan 2005 17:24:36 +0100 (CET), Peter Svensson [EMAIL PROTECTED] wrote: On Tue, 4 Jan 2005,

RE: [Asterisk-Users] Dialplan question

2004-09-26 Thread Robert Jackson
-Original Message- From: Danny Zak [mailto:[EMAIL PROTECTED] Sent: Sunday, September 26, 2004 5:29 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [Asterisk-Users] Dialplan question Hello Asterisk, is it possible to make an extensions that

RE: [Asterisk-Users] Dialplan question

2004-09-26 Thread Robert Jackson
I forgot to add a link to the system command: http://www.voip-info.org/wiki-Asterisk+cmd+System -Original Message- From: Robert Jackson Sent: Sunday, September 26, 2004 5:57 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] Dialplan

Re: [Asterisk-Users] Dialplan question

2004-08-06 Thread Holger Schurig
Can anyone shed some light on this ??? Or is this not the right sort of question to ask? It simply doesn't work with the current software. You need to code this at the C source level. ___ Asterisk-Users mailing list [EMAIL PROTECTED]

Re: [Asterisk-Users] Dialplan question

2004-08-06 Thread steve
Can anyone shed some light on this ??? Or is this not the right sort of question to ask? It simply doesn't work with the current software. You need to code this at the C source level. /me daydreams about being able to fork in the dialplan. Actually you sort of can - wonder what

RE: [Asterisk-Users] Dialplan question

2004-08-06 Thread Florian Overkamp
Hi, -Original Message- /me daydreams about being able to fork in the dialplan. Actually you sort of can - wonder what something like: Dial(Zap/1LOCAL/[EMAIL PROTECTED]LOCAL/[EMAIL PROTECTED]) would do? That works. I use it on a daily basis. Does not make your CDR any more

RE: [Asterisk-Users] Dialplan question

2004-08-05 Thread Simon Brown
Can anyone shed some light on this ??? Or is this not the right sort of question to ask? Simon Brown -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Brown Sent: Wednesday, 4 August 2004 11:44 To: [EMAIL PROTECTED] Subject: [Asterisk-Users]

RE: [Asterisk-Users] Dialplan question

2003-09-07 Thread Michiel Betel
Title: Message Fredrik, Your dialplan looks correct, however you disallow 112, the emergency number! Does it fail for local or interlocal calls? I use: [dutchdial];;emergency (112) and other 11x numbers;exten = _1XX,1,Dial(${ISDN}:${EXTEN})exten = _1XX,2,Congestionexten =