There is a way to execute an external script from the exten statement but I
don't have the command handy. My asterisk server is down right now. Check
the documentation on this command.


Asterisk wrote:

Thanks for that - I have got the mechanism working using system calls to touch and remove txt files in the appropriate voicemail directories.

Is there any dialplan command to do this more elegantly ?

exten => 1111,1,SipNotify(${CALLERIDNUM},mwi=yes)
exten => 1112,1,SipNotify(${CALLERIDNUM},mwi=no)

I've googled and found nothing so I'm just hoping :)

Julian

Steve Blair wrote:


Yes. This will work provided you don't need to use the light for anything else. You are correct about sending a NOTIFY. There is a specific field you need in the message body. I think it is called mwi waiting but you should check the rfcs on this one. Sending a value yes or no will turn the light on/off respectively.

Asterisk wrote:

We have several agents on queues, and want to indicate to them that they are logged in or logged out. We have tried several different ways, from changing the screen to presenting different service menus, but cannot get anything to be "in their face" (their words, not mine).

One of our team has suggested, as the agents do not have voicemail, is to use the MWI on the 7940 phones to indicate that they are logged in.

Short of dropping a file into the INBOX of the particular extension (mucking around with files is yucky) is there any way of achieving this with the dialplan ? I was thinking of being able to send a SIP notify message "oi, you at 560, light your lamp" or something like that.

Anyone done anything similar ?

Julian
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users





_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users


--
ISC Network Engineering
The University of Pennsylvania
3401 Walnut Street, Suite 221A
Philadelphia, PA 19104



voice: 215-573-8396


      215-746-8001

fax: 215-898-9348

sip:[EMAIL PROTECTED]

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to