[asterisk-users] How to send SIP_NOTIFY messages with variable content ?
Olivier
oza.4h07 at gmail.com
Thu Jan 19 02:35:23 CST 2017
2017-01-18 15:58 GMT+01:00 Tech Support <asterisk at voipbusiness.us>:
> For reconfiguring SIP phones? Can you give an example or short explanation?
>
Yes sure: you can change whatever Yealink configuration setting you like
through http/XML or SIP NOTIFY.
For instance, the following sip_notify.conf extract works for me:
[hello-yealink]
Event=Yealink-xml
Content-type=application/xml
Content=<?xml version="1.0" encoding="ISO-8859-1"?>
Content=<YealinkIPPhoneTextScreen Beep="yes">
Content=<Title>Push test</Title>
Content=<Text>This is a test for pushing text to a phone.</Text>
Content=</YealinkIPPhoneTextScreen>
Content=
As you may guess, having to change sip_notify.conf anytime you want to
change the displayed message is not very attractive.
> Thanks;
>
> John V.
>
>
>
> *From:* asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] *On Behalf Of *Olivier
> *Sent:* Wednesday, January 18, 2017 08:54 AM
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Subject:* Re: [asterisk-users] How to send SIP_NOTIFY messages with
> variable content ?
>
>
>
>
>
>
>
> 2017-01-17 15:36 GMT+01:00 Thufir Hawat <hawat.thufir at gmail.com>:
>
> I would be very interested in using sipsak for something like this. What
> have you tried so far?
>
>
>
> What do you mean by "using sipsak" in the above sentence ?
>
> I would much prefer use a PJSIP_NOTIFY dialplan function than use sipsak
> directly.
>
> The way I see it is Asterisk already has eveything needed to send "out of
> band" SIP NOTIFY through SIP or PJSIP.
>
> What is currently missing is the dialplan function accessing the same
> low-level C functions that SIP NOTIFY CLI currently uses.
>
> On a side note, to my knowledge, SIP NOTIFY is currently used:
>
> - for MWI,
>
> - for rebooting/triggering SIP phones
>
> - for reconfiguring SIP phones (I've just discovered this usage).
>
> Do you know other usages ?
>
>
>
>
>
> -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>:
>
> [..]
>
>
>
>
>
>
>
> --
> _____________________________________________________________________
> -- 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
>
>
>
> --
> _____________________________________________________________________
> -- 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/20170119/a4d5e7f9/attachment.html>
More information about the asterisk-users
mailing list