On Apr 6, 2010, at 3:24, Anca Vamanu <a...@opensips.org> wrote:
> James Lamanna wrote: >> On Mon, Apr 5, 2010 at 12:52 AM, Angel Marin <an...@anmar.eu.org> >> wrote: >> >>> On 03/04/10 01:40, James Lamanna wrote: >>> >>>> On Fri, Apr 2, 2010 at 4:52 AM, Anca Vamanu <a...@opensips.org> >>>> wrote: >>>> >>>>> Hi James, >>>>> >>>>> I think that the problem is with those Notifies without a body >>>>> sent by >>>>> OpenSIPS when the phone was started. This is normal behavior, >>>>> correct >>>>> and conform RFC - when the presence server does not have any >>>>> record for >>>>> that presentity - it includes no body. But since you say that >>>>> Linksys >>>>> does not like this and since it was not that difficult to >>>>> change, I just >>>>> committed a patch that sends a Notify with an empty dialoginfo >>>>> tuple as >>>>> body when no published record is found. Please upgrade from svn >>>>> and test >>>>> this case again. >>>>> >>>> Hi Anca, >>>> I saw your patch and upgraded to the SVN 1.6 branch. >>>> However, I do not believe I ever hit that code path. >>>> In my debug logs I see "No record exists in hash table" (notify.c: >>>> 853). >>>> I'm not sure if fallback2db is true, but I don't think it is, so I >>>> never make it to that codepath. >>>> >>> Give the attached patch a shot, it should do what you're looking >>> for. >>> >>> Though I'm not sure generating an empty dialog without a presence >>> entry >>> is the correct approach, I mean, the monitored extension is not >>> there, >>> so why not hint it as a blinking light? In a cold start scenario, >>> it'll >>> go green once your re-subscribe time comes, so set it to a couple >>> minutes or lower in the phone and you'll be good to go. >>> >> >> Actually, it never changes from blinking to green in that scenario, >> even >> after multiple subscribes and registers. >> Also, I just noticed that I'm receiving a peculiar response, a 501 >> Not >> Implemented from the phones in response to a PUBLISH (I swear it >> wasn't >> doing this before!)... >> >> -- James >> >> >> > Hi James, > > > The phones should never receive the Publish message. Please catch a > trace containing this Publish and send it to me. > What do you mean by before? Before updating from svn with my patch? Before I updated from 1.6.2 to SVN I think - I'll try and double-check. I have a revised patch that covers my case that I'll submit this afternoon with the trace. Any luck with the stuck BLF trace I submitted as well? I also think that my configuration might need some help wrt when and where to call presence functions - I will post that once I get in the office. I noticed that with svn I'm not getting any entries in pua or presentity, only in active_watchers. Thanks. -- James > > Regards, > > -- > Anca Vamanu > www.voice-system.ro > > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users