2017-01-18 15:58 GMT+01:00 Tech Support <[email protected]>:

> 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:* [email protected] [mailto:asterisk-users-
> [email protected]] *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 <[email protected]>:
>
> 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 <[email protected]>:
>
> [..]
>
>
>
>
>
>
>
> --
> _____________________________________________________________________
> -- 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
>
-- 
_____________________________________________________________________
-- 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

Reply via email to