Summary:ASTERISK-02492: [patch] app_callback - calls users back.
Reporter:scaredycat (scaredycat)Labels:
Date Opened:2004-09-28 10:16:55Date Closed:2011-06-07 14:04:51
Versions:Frequency of
Environment:Attachments:( 0) callback-final.tar.gz
Description:Callback application, generates a call file to call you back


context,exten and priority are where the other side of the call goes (not the caller)

dialout context is what context to use in the call back of the initial caller...
Comments:By: scaredycat (scaredycat) 2004-09-28 11:19:14

Disclaimer faxed to LSS @ 18:17 CET on 28th September 2004

By: mustdie (mustdie) 2004-09-28 18:53:45

Why did you hardcoded MaxRetries, RetryTime and WaitTime. Also, what about accountcode?

By: scaredycat (scaredycat) 2004-09-29 05:35:47

Bug Marshals please remove:

callback.tar.gz (2,248 bytes) 09-28-04 10:17

as it's the old version, now replaced.

New version takes optional parameters for RetryTime, Retries and WaitTime
AccountCode is taken from the current channel.

edited on: 09-29-04 05:38

By: Olle Johansson (oej) 2004-10-11 15:09:12

ScaredyCat: Maybe we should add the function that creates and activates the callfile to utils.c so we can call it from other apps and channels? I can think of integrating this into voicemail, to add an option saying "Call my cellphone if someone (or some call IDs) leave a message..."

What do you think? It's a clever little function.

By: twisted (twisted) 2004-10-27 16:54:11

Any update?  Where is this going?  also, ScaredyCat, what do you think of oej's idea?

By: scaredycat (scaredycat) 2004-11-02 04:48:43.000-0600

Ok with me... just no time atm

edited on: 11-02-04 04:48

By: Russell Bryant (russell) 2004-11-14 21:46:41.000-0600

Feel free to re-open this bug when you have more time to update your patch.

Thank you!

By: twisted (twisted) 2004-11-14 21:47:58.000-0600

Anyone care to take the time to integrate oej's suggestion?  ScaredyCat, has the time been acquired?  

Markster? Should we look at this, or no?  I like it, since it makes it simple to drop callfiles from the dialplan, even though this can be accomplished with a simple shell script, ie:

exten 1234,1,System("/usr/local/bin/callme ${CALLERID} arg2 arg3 ...)


echo "<callfilestuffincludingthenumbertocall>" >> /tmp/callfile$1
mv /tmp/callfile$1 /var/spool/asterisk/outgoing
exit 1