<div dir="ltr"><br><br><div class="gmail_quote">2008/10/4 Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Sat, Oct 04, 2008 at 02:02:48PM +0200, Olivier wrote:<br>
> Hi,<br>
><br>
> You can see here and there, several new SIP RFCs relying on SIP Events<br>
> Framework.<br>
> For example, RFC3680 with which a registration server would notify endpoints<br>
> with relevant events.<br>
><br>
> In Asterisk 1.6.1, a new SIPnotify AMI command implements a mechanism to<br>
> send arbitrary NOTIFY commands.<br>
><br>
> Is there any sister SUBSCRIBE mechanism that allow an application relying on<br>
> AMI to receive SUSCRIBE messages matching some criteria ?<br>
> With both NOTIFY and SUBSCRIBE tools in hands, one could extend Asterisk to<br>
> support SIP RFC without having to code into Asterisk source.<br>
<br>
</div></div>Use sipsak (apt-get install sipsak) ?<br>
<br>
This program has to be good for something.</blockquote><div><br>Hi,<br><br>I'm sure sipsak is good for something but it's not easy for me to see how it could help.<br><br>Let's say you've got an RFC3680 compliant phone and you can configure its RegEvent server address.<br>
This server would receive SUBSCRIBE message from phones and return NOTIFY according values embedded in SUBSCRIBE and REGISTER messages.<br><br>Do you mean sipsak is configurable-enough to read those SUBSCRIBE messages, get missings values from Asterisk and write NOTIFY answers ?<br>
<br><br>On an other hand, new AMI-custom-notify feature in 1.6.1 made me wonder if Asterisk could support what I would call USER SUBSCRIBE: anytime Asterisk receives a SUBSCRIBE it has been told to treat this way, it would send an AMI-USER-SUBSCRIBE event.<br>
With such "USER SUBSCRIBE" event, with this custom NOTIFY and with usual AMI features, it should become easier to extend <br>Asterisk implementing any SIP Event Framework-based features like this :<br><br>SIP endpoint Asterisk AMI application<br>
-------- SUBSCRIBE -----------><br> ------ USER SUBSCRIBE --------><br> <-------- AMI queries ----------------><br>
<-- Customer NOTIFY request --<br> <------------- NOTIFY -------------<br><br>Tzafir, are suggesting to use sipsak instead of Asterisk in this ?<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
I tried. I get: "Comming soon, registration for AstriCon 2009." :-)<br>
<br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br></div>