Hi All,
When using Asterisk 11 SIPnotify AMI, is there anyway to set the body in the SIP notify message.
See:https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_SIPnotify
Like so many others, I would like to use it to send MWI…
Thanks,
-Taylor
After looking at source code I worked this out - did not see this documented, but I pry just missed it.
Setting the Variable “Content”, sets the body.
So to send MWI using SIPnotify, looks something like this:
$body1=“Messages-Waiting: yes”;
$body2=“Voice-Message: 4/8”;
“ActionID”=>“123141”,
“Channel”=> “asdfasasg1231”,
“Variable”=>“Event=message-summary,Content-Type=application/simple-message-summary,Content=$body1,Content=$body2”