To answer my own question I found a way to acheive what I wanted so
here's my solution for the record (might help someone else if they
search the archives).
In the Dialplan setup the following entries:
[snom_setdndon]
exten => _.,1,NoOp(Dummy Routine Called for ${EXTEN})
exten => _.,n,TrySystem(wget -qb -O /dev/null -o /dev/null
"http://admin:[EMAIL PROTECTED]/dummy.htm?settings=save&dnd_mode=on")
exten => _.,n,Hangup
[snom_setdndoff]
exten => _.,1,NoOp(Dummy Routine Called for ${EXTEN})
exten => _.,n,TrySystem(wget -qb -O /dev/null -o /dev/null
"http://admin:[EMAIL PROTECTED]/dummy.htm?settings=save&dnd_mode=off")
exten => _.,n,Hangup
and then from the manager interface one can do:
Action: Originate
Channel: Local/[EMAIL PROTECTED]
Application: NoOp
Data: Setting DND
A bit convoluted but it works for me.
--
Regards,
Russell
--------------------------------------------------------------------
| Russell Brown | MAIL: [EMAIL PROTECTED] PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com |
| Peterborough, England | WWW Play: http://www.ruffle.me.uk |
--------------------------------------------------------------------
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users