Re: [asterisk-users] Exit Dial Application

2009-04-15 Thread Danny Nicholas
esday, April 15, 2009 4:00 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Exit Dial Application On Wed, Apr 15, 2009 at 09:24:54AM -0500, Danny Nicholas wrote: > This is what you "Really" want; It should work with SIP or Zap > > exten => _X.,1,Dial(${D

Re: [asterisk-users] Exit Dial Application

2009-04-15 Thread Tzafrir Cohen
On Wed, Apr 15, 2009 at 09:24:54AM -0500, Danny Nicholas wrote: > This is what you "Really" want; It should work with SIP or Zap > > exten => _X.,1,Dial(${DIALNUM},${ARG2},tT) > exten => _X.-NOANSWER,1,background(press5tocallback) > exten => -X.-NOANSWER,2,waitexten(5) Anything after a '.' in a p

Re: [asterisk-users] Exit Dial Application

2009-04-15 Thread Danny Nicholas
: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Exit Dial Application -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Danny, Thanks for your replay. Jep, that would be a possibility. But then the user has to wait until my dialtime is over. If he/she is that

Re: [asterisk-users] Exit Dial Application

2009-04-15 Thread Christoph Fürstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Atis, Atis Lezdins schrieb: > I think the limitation could be by analogous Zap phones, as they > probably don't support sending DTMF on unanswered channel. You could > try it opposite way - Dial from SIP phone to Zap. Noop, it's not a Zap problem.

Re: [asterisk-users] Exit Dial Application

2009-04-15 Thread Christoph Fürstaller
ten(5) > exten => 5,1,goto(callback,s,1) > > -Original Message- > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Atis Lezdins > Sent: Wednesday, April 15, 2009 9:03 AM > To: Asterisk Users Mailing List -

Re: [asterisk-users] Exit Dial Application

2009-04-15 Thread Danny Nicholas
m: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Atis Lezdins Sent: Wednesday, April 15, 2009 9:03 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Exit Dial Application On Wed, Apr 15, 2009 at 4:47 PM, Christ

Re: [asterisk-users] Exit Dial Application

2009-04-15 Thread Atis Lezdins
On Wed, Apr 15, 2009 at 4:47 PM, Christoph Fuerstaller wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Danny, > > Danny Nicholas schrieb: >> Here's how core show application dial says you should do it: >> Change your dial to >> exten => _X.,n,Dial(${DIALNUM},${ARG2},dtT,callback) >

Re: [asterisk-users] Exit Dial Application

2009-04-15 Thread Christoph Fuerstaller
> > -Original Message- > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Christoph > Fürstaller > Sent: Tuesday, April 14, 2009 11:50 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re

Re: [asterisk-users] Exit Dial Application

2009-04-15 Thread Danny Nicholas
ers-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Christoph Fürstaller Sent: Tuesday, April 14, 2009 11:50 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Exit Dial Application -BEGIN PGP SIGNED MESSAGE- Hash:

Re: [asterisk-users] Exit Dial Application

2009-04-14 Thread Christoph Fürstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Atis Lezdins schrieb: > > Ok, at first glance the app_macro looks suspicious, can You try > calling dial without Macro? Tried it without macro -> same behavior. > > If unsuccessful, You could enable debug level 2, it will tell way much > more of

Re: [asterisk-users] Exit Dial Application

2009-04-14 Thread Atis Lezdins
On Tue, Apr 14, 2009 at 11:11 PM, Christoph Fürstaller wrote: > Thanks for the hint. I've looked aht the full log. I've attached a snipplet > from the file. But I can't see anythin which can help me. Very interesting, > but not helpful for me : / Is it possible to deactivate the 'd' option? Or

Re: [asterisk-users] Exit Dial Application

2009-04-14 Thread Christoph Fürstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Atis Lezdins schrieb: > That's CLI interface output, log should have timestamps and much more > detail in it. > > Check /var/log/asterisk/full (assuming default install location). > You'll need to enable "full" line in logger.conf, restart Asteri

Re: [asterisk-users] Exit Dial Application

2009-04-14 Thread Atis Lezdins
On Tue, Apr 14, 2009 at 9:14 PM, Christoph Fürstaller wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Atis, > > No problem : ) I tried it again, here is the log output: >    -- Executing [...@from-pbx:1] Set("Zap/31-1", "EXITCONTEXT=callback") in > new stack >    -- Executing [...

Re: [asterisk-users] Exit Dial Application

2009-04-14 Thread Christoph Fürstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Atis, No problem : ) I tried it again, here is the log output: -- Executing [...@from-pbx:1] Set("Zap/31-1", "EXITCONTEXT=callback") in new stack -- Executing [...@from-pbx:2] Dial("Zap/31-1", "SIP/236||d") in new stack -- Called 236

Re: [asterisk-users] Exit Dial Application

2009-04-14 Thread Atis Lezdins
> > Thanks for your replay. But in my 1st post, I mentioned my dial statement: > exten => _X.,n,Dial(${DIALNUM},${ARG2},dtT) > > As you can see, there is a d to exit the dial application. And one priority > earlier, I set the EXITCONTEXT variable. So everything _should_ work, but it > doesn't : /

Re: [asterisk-users] Exit Dial Application

2009-04-14 Thread Christoph Fürstaller
;>> >>>> This will play a message, wait 5 seconds for user to press 5, then hangup >>>> if >>>> they don't. >>>> >>>> -Original Message- >>>> From: asterisk-users-boun...@lists.digium.com >>>> [mailto:aste

Re: [asterisk-users] Exit Dial Application

2009-04-14 Thread Atis Lezdins
> From: asterisk-users-boun...@lists.digium.com >> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Christoph >> Fuerstaller >> Sent: Tuesday, April 14, 2009 5:04 AM >> To: Asterisk Users Mailing List >> Subject: [asterisk-users] Exit Dial Application >&

Re: [asterisk-users] Exit Dial Application

2009-04-14 Thread Christoph Fürstaller
t 5 seconds for user to press 5, then hangup if > they don't. > > -Original Message- > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Christoph > Fuerstaller > Sent: Tuesday, April 14, 2009 5:04 A

Re: [asterisk-users] Exit Dial Application

2009-04-14 Thread Danny Nicholas
riginal Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Christoph Fuerstaller Sent: Tuesday, April 14, 2009 5:04 AM To: Asterisk Users Mailing List Subject: [asterisk-users] Exit Dial Application -BEGIN PGP SIGNED MESSAGE- H

[asterisk-users] Exit Dial Application

2009-04-14 Thread Christoph Fuerstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I' try to implement an automatic callback mechanism, just for local SIP calls.. Callback on busy and on no answer. If the other party doen't answer, it should be possible to press 5 to place an callback. Here is my dial: exten => _X.,1,Set(EXIT