2009/9/27 Leif Neland <[email protected]>:
>
> Can I, via a callfile, or command-line parameters to Asterisk start a
> "dialplan-script"?
> eg asterisk -someflag "execute callalert"
>
> then in dialplan
> [callalert]
> exten => s,1,SIPAddHeader(Call-Info:\;answer-after=0)
> exten => s,2,dial(SIP/36)
> exten => s,3,Playback(firealert)
> exten => s,4,Hangup
>

  ...sure, use Local channels.
 You can use Local/<ext>@<context> as the originating channel in
 a call file or AMI/CLI originate command.
--
  exvito

_______________________________________________
-- 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

Reply via email to