VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
isrlgb at gmail.com Guest
|
Posted: Tue Jun 03, 2014 4:44 am Post subject: [asterisk-users] Get last dialed number in a context? |
|
|
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 <lists@home.gofferje.net (lists@home.gofferje.net)> wrote:
Quote: | 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 => s,1,Set(number=${CHANNEL(lastdialed)})
exten => s,2,Dial(SIP/${number}@account,60,g)
exten => s,3,Wait(15)
exten => s,4,GotoIf( [ "${DIALSTATUS}" = "BUSY" ]?2)
exten => s,5,Hangup
For that I'd need to somewhere get the last dialed number from the
channel/line I'm initiating the call from. Is something like this
already implemented?
-S
--
 (o_  Stefan Gofferje       | SCLT, MCP, CCSA
 //\  Reg'd Linux User #247167  | VCP #2263
 V_/_  Heckler & Koch - the original point and click interface
--
_____________________________________________________________________
-- 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 |
|
|
patrick at laimbock.com Guest
|
Posted: Tue Jun 03, 2014 5:53 am Post subject: [asterisk-users] Get last dialed number in a context? |
|
|
On 03-06-14 11:31, Stefan Gofferje wrote:
Quote: | 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 => s,1,Set(number=${CHANNEL(lastdialed)})
exten => s,2,Dial(SIP/${number}@account,60,g)
exten => s,3,Wait(15)
exten => s,4,GotoIf( [ "${DIALSTATUS}" = "BUSY" ]?2)
exten => s,5,Hangup
For that I'd need to somewhere get the last dialed number from the
channel/line I'm initiating the call from. Is something like this
already implemented?
|
Have you looked at Call Completion Supplementary Services (CCSS)?
https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=5243096
Cheers,
Patrick
--
_____________________________________________________________________
-- 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 |
|
|
webaccounts173 at jgoe... Guest
|
Posted: Tue Jun 03, 2014 6:49 am Post subject: [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 wakeup call module for hotels that could
be used for this. If you need a fast solution you could contact me.
jg
--
_____________________________________________________________________
-- 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 |
|
|
webaccounts173 at jgoe... Guest
|
Posted: Tue Jun 03, 2014 6:53 am Post subject: [asterisk-users] Get last dialed number in a context? |
|
|
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 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 |
|
|
EWieling at nyigc.com Guest
|
Posted: Tue Jun 03, 2014 10:05 am Post subject: [asterisk-users] Get last dialed number in a context? |
|
|
Have you tried RetryDial()?
---
Documentation for Polycom phones can be found at http://help.nyigc.net/
________________________________________
From: asterisk-users-bounces@lists.digium.com [asterisk-users-bounces@lists.digium.com] On Behalf Of jg [webaccounts173@jgoettgens.de]
Sent: Tuesday, 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 wakeup call module for hotels that could
be used for this. If you need a fast solution you could contact me.
jg
--
_____________________________________________________________________
-- 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/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
webaccounts173 at jgoe... Guest
|
Posted: Tue Jun 03, 2014 10:39 am Post subject: [asterisk-users] Get last dialed number in a context? |
|
|
Quote: | 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 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 |
|
|
cursor at telecomabmex... Guest
|
Posted: Tue Jun 03, 2014 12:11 pm Post subject: [asterisk-users] Get last dialed number in a context? |
|
|
On 6/3/14, 11:43 AM, Stefan Gofferje wrote:
Quote: | On 06/03/2014 06:06 PM, Eric Wieling wrote:
Quote: | 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.
| Why is the redial function on the phone not suitable for this? Why
dial *123 when you can just hit redial on your phone?
Quote: | --
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161
|
--
_____________________________________________________________________
-- 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 |
|
|
|
|
|
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
|