[asterisk-users] Very simple callback application needed

Danny Nicholas danny at debsinc.com
Wed Sep 2 10:55:02 CDT 2009


As I read this, it's not truly a "callback"; it's more of a notify;  you
call 555-1212 and want asterisk to call 555-1313?  If this is actually the
case, you would just do this in your dialplan:
- exten => 5551212,1,dial(DAHDI/g1/5551313,60)

This would effectively make asterisk do a new call to bridge A to B.
If you wanted a non-bridged call, you could set up a call file and do this:
- exten => 5551212,1,System("/bin/cp newcall.call
/var/spool/asterisk/outgoing")
- exten => 5551212,2,hangup

Just my .02

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Chris Mason
(Lists)
Sent: Wednesday, September 02, 2009 10:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Very simple callback application needed

I have need of a very simple callback function - when any call is made 
to a special SIP DID, the call is not answered but Asterisk then calls a 
pre-determined number - no need for CallerID to capture the calling 
number. Does anyone have a simple script to do this?

Chris

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list