On Wed, 2009-09-02 at 14:34 -0400, Carolyn Beeton wrote: > - Should I maintain lists of known user agents, and map from them to > event type (can't get the user agent from a reginfo message though)? > > - or pass this info through from config (don't even know how, can we > identify which set a subscription is from)? > - or should I just give up on this and make the admin choose one > single protocol to support?
If I were doing it, I would start with the last choice (have the admin choose which version), possibly putting some code in sipXconfig to automatically make the right choice for known phones. Once you've got the run-time machinery working, I'd add clever code that attempts the various subscriptions to see which one each phone supports. This runs into the problem that phones don't properly reject (or at least provide no data for) subscriptions for SA events that they do not support, but you can harass the phone vendors to fix their problems while we ship code that uses the simpler solution. (SIPit is a good platform for this.) Dale _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
