[asterisk-users] Get last dialed number in a context?

2014-06-03 Thread Stefan Gofferje
Hi, I would like to implement an auto-redial function in a context. The idea is about like this: Dial a number Hear busy Hangup Pick up again Dial a code like *123 = jumps into a context which redials until callresult is not busy Maybe like this: [autoredial] exten =

Re: [asterisk-users] Get last dialed number in a context?

2014-06-03 Thread Israel Gottlieb
you could save the info in astdb for the last call per extension and then pull it from there On Tue, Jun 3, 2014 at 12:31 PM, Stefan Gofferje li...@home.gofferje.net wrote: Hi, I would like to implement an auto-redial function in a context. The idea is about like this: Dial a number Hear

Re: [asterisk-users] Get last dialed number in a context?

2014-06-03 Thread Patrick Laimbock
On 03-06-14 11:31, Stefan Gofferje wrote: Hi, I would like to implement an auto-redial function in a context. The idea is about like this: Dial a number Hear busy Hangup Pick up again Dial a code like *123 = jumps into a context which redials until callresult is not busy Maybe like this:

Re: [asterisk-users] Get last dialed number in a context?

2014-06-03 Thread jg
This is a typical phone feature, but it should be easy to implement this at the pbx level using originate and call files. Actually, I have a robust wakeup call module for hotels that could be used for this. If you need a fast solution you could contact me. jg --

Re: [asterisk-users] Get last dialed number in a context?

2014-06-03 Thread jg
Wouldn't the various call completion methods require support from the telco? It might be technology dependent and even for the same technology, e.g. ISDN, telcos might not support or enable it. jg -- _ -- Bandwidth and

Re: [asterisk-users] Get last dialed number in a context?

2014-06-03 Thread Eric Wieling
, June 03, 2014 7:49 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Get last dialed number in a context? This is a typical phone feature, but it should be easy to implement this at the pbx level using originate and call files. Actually, I have a robust

Re: [asterisk-users] Get last dialed number in a context?

2014-06-03 Thread jg
Have you tried RetryDial()? This way the receiver will be off-hook all the time, which might be inconvenient. jg -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a

Re: [asterisk-users] Get last dialed number in a context?

2014-06-03 Thread Stefan Gofferje
On 06/03/2014 01:53 PM, Patrick Laimbock wrote: Have you looked at Call Completion Supplementary Services (CCSS)? https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=5243096 PSTN doesn't support that here. -- (o_ Stefan Gofferje| SCLT, MCP, CCSA //\ Reg'd Linux User

Re: [asterisk-users] Get last dialed number in a context?

2014-06-03 Thread Stefan Gofferje
On 06/03/2014 06:06 PM, Eric Wieling wrote: Have you tried RetryDial()? I want it to be a conscious decision and not just automatically in every call. For the vast majority of my call I can just try some time later but some people I need to get a hold of ASAP sometimes. -S -- (o_ Stefan

Re: [asterisk-users] Get last dialed number in a context?

2014-06-03 Thread Stefan Gofferje
On 06/03/2014 12:44 PM, Israel Gottlieb wrote: you could save the info in astdb for the last call per extension and then pull it from there I guess I'll have to do this then :). -S -- (o_ Stefan Gofferje| SCLT, MCP, CCSA //\ Reg'd Linux User #247167 | VCP #2263 V_/_

Re: [asterisk-users] Get last dialed number in a context?

2014-06-03 Thread Carlos Chavez
On 6/3/14, 11:43 AM, Stefan Gofferje wrote: On 06/03/2014 06:06 PM, Eric Wieling wrote: Have you tried RetryDial()? I want it to be a conscious decision and not just automatically in every call. For the vast majority of my call I can just try some time later but some people I need to get a

Re: [asterisk-users] Get last dialed number in a context?

2014-06-03 Thread Stefan Gofferje
On 06/03/2014 08:10 PM, Carlos Chavez wrote: Why is the redial function on the phone not suitable for this? Why dial *123 when you can just hit redial on your phone? None of my phones (and none that I know) has any redial until you actually get somebody-function. It's only press the button