[Asterisk-Users] Execute dialplan command at startup

Niksa Baldun niksa.baldun at lumiss.hr
Mon Jan 10 11:06:24 MST 2005


I tried it, and it works, but it is hardly an ideal solution. If you,
for example, forget yourself and execute 'restart now' from * console,
.call file won't be generated and you may spend hours wondering what
went wrong.

I believe the lack of some kind of 'autostart' context is a major flaw
in design, but then again, I guess it could easily be implemented.


Peer Oliver Schmidt wrote:

> Bill Seddon wrote:
>
>> How can Asterisk be configured to execute some number of dialplan
>> commands
>> when it is started or restarted?
>>
> [..]
>
>> In the meantime I'm hoping that it is possible to use the built-in
>> database
>> and be able to run some kind of "autostart" context.  Does such a
>> facility
>> exist?
>
>
> Without getting into details, I would create a call file in the
> outgoing spool directory of asterisk within the asterisk startup
> script which calls a specific application.
>
> Haven't tried, but should easily work.
>
> Let me know, how it works.
>
> rgds
> pos
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>



More information about the asterisk-users mailing list