Olivier
2017-Jan-16 13:10 UTC
[asterisk-users] How to send SIP_NOTIFY messages with variable content ?
Hello, One common mean to remotely configure a phone is to send it some XML data using HTTP. Of course, this XML data is vendor specific but thanks to Asterisk multiple tools, it is quite easy to customize your dialplan to both build and send this specific XML data. I have just discovered one interesting capability from one phone vendor: getting XML data from incoming SIP NOTIFY messages instead of plain HTTP. This has an advantage with remote phones as you do not have to keep an HTTP connection alive to Asterisk box send XML content to registered phones. I have just tried this capability: it works fine but I am now facing an issue: for the moment, I must regenerate and reload a specific sip_notify config file, each time I need to send some specific content. If I am not mistaken, there is no Dialplan function or application able to send SIP NOTIFY, right ? Would you rate it as a welcome addition, either for SIP or PJSIP stack ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170116/6baac89f/attachment.html>
Olivier
2017-Jan-16 13:25 UTC
[asterisk-users] How to send SIP_NOTIFY messages with variable content ?
Thinking over my previous, I wonder if sipsak could be used to send outgoing SIP NOTIFY messages. Would both Asterisk and sipsak be able to share networks resources ? Thoughts ? 2017-01-16 14:10 GMT+01:00 Olivier <oza.4h07 at gmail.com>:> Hello, > > One common mean to remotely configure a phone is to send it some XML data > using HTTP. > Of course, this XML data is vendor specific but thanks to Asterisk > multiple tools, it is quite easy to customize your dialplan to both build > and send this specific XML data. > > I have just discovered one interesting capability from one phone vendor: > getting XML data from incoming SIP NOTIFY messages instead of plain HTTP. > > This has an advantage with remote phones as you do not have to keep an > HTTP connection alive to Asterisk box send XML content to registered phones. > > I have just tried this capability: it works fine but I am now facing an > issue: for the moment, I must regenerate and reload a specific sip_notify > config file, each time I need to send some specific content. > > If I am not mistaken, there is no Dialplan function or application able to > send SIP NOTIFY, right ? > > Would you rate it as a welcome addition, either for SIP or PJSIP stack ? > > Regards > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170116/c56fe05a/attachment.html>
Thufir Hawat
2017-Jan-17 14:36 UTC
[asterisk-users] How to send SIP_NOTIFY messages with variable content ?
I would be very interested in using sipsak for something like this. What have you tried so far? -Thufir On Mon, 16 Jan 2017, Olivier wrote:> Thinking over my previous, I wonder if sipsak could be used to send > outgoing SIP NOTIFY messages. > Would both Asterisk and sipsak be able to share networks resources ? > > Thoughts ? > > 2017-01-16 14:10 GMT+01:00 Olivier <oza.4h07 at gmail.com>:[..]>> >
Mark Wiater
2017-Jan-18 15:13 UTC
[asterisk-users] How to send SIP_NOTIFY messages with variable content ?
On 1/18/2017 9:58 AM, Tech Support wrote:> > For reconfiguring SIP phones? Can you give an example or short > explanation? >One can send a SIP notify with a check-config to the phone and have the phone re-download it's configuration files from a provisioning server. In the CLI, you can do a SIP NOTIFY with one of cisco-check-cfg, grandstream-check-cfg, polycom-check-cfg, sipura-check-cfg, snom-check-cfg and the extension. I've done it with Yealink phones too, don't have the proper syntax in front of me though. Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170118/36e50af4/attachment.html>
Israel Gottlieb
2017-Jan-18 18:35 UTC
[asterisk-users] How to send SIP_NOTIFY messages with variable content ?
snom could get lots of configuration options thru sip notify i once tried updateing the display name on hot desking but ran in to his problem of having to add it to sip conf staticly On Wed, Jan 18, 2017 at 5:13 PM, Mark Wiater <mark.wiater at greybeam.com> wrote:> > On 1/18/2017 9:58 AM, Tech Support wrote: > > For reconfiguring SIP phones? Can you give an example or short explanation? > > > One can send a SIP notify with a check-config to the phone and have the > phone re-download it's configuration files from a provisioning server. > > In the CLI, you can do a SIP NOTIFY with one of > > cisco-check-cfg, grandstream-check-cfg, polycom-check-cfg, > sipura-check-cfg, snom-check-cfg > > and the extension. > > I've done it with Yealink phones too, don't have the proper syntax in > front of me though. > > Mark > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: https://community.asterisk. > org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170118/30fb550a/attachment.html>