<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Ovidiu<div><br></div><div>I see the following;</div><div><br></div><div>- Phone registers&nbsp;</div><div><br></div><div>- Phone subscribes / Kamailio sends 200 OK</div><div><br></div><div>- PBX immediately responds with a Notify / Phone sends 200 OK</div><div><br></div><div>If I now make a call on &nbsp;the phone which is being watched by the subscription Kamailio doesn't generate any notify.</div><div><br></div><div>Is there something I need to drop in the INVITE logic to trigger the notify?</div><div><br></div><div>At the moment I'm loading presence.so and presence_dialoginfo.so modules with a config which is pretty much the same as the shipped sample config.</div><div><br></div><div>Cheers</div><div><br></div><div>Mark</div><div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>--&nbsp;</div><div>Mark Boyce</div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 29 Nov 2012, at 19:09, Ovidiu Sas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Do you see a subscription from the phone?<br>A SUBSCRIBE message being sent when the phone registers?<br><br>-ovidiu<br><br>On Thu, Nov 29, 2012 at 1:52 PM, Mark Boyce &lt;<a href="mailto:mark@darkorigins.com">mark@darkorigins.com</a>&gt; wrote:<br><blockquote type="cite">Hi All<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm slowly working out what goes where with this. &nbsp;So far I have;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The Linksys / Cisco SCA / Shared Call Appearance requires Andrews SCA module<br></blockquote><blockquote type="cite">not the standard presence ones. &nbsp;This is the feature on the phone which was<br></blockquote><blockquote type="cite">generating the call-info events.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">With SCA turned off on the phones and Server Type set to RFC3265_4235 the<br></blockquote><blockquote type="cite">phones are generating normal subscribe requests.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Kamailio is logging the invites in the active_watchers table fine.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The problem seems to be that nothing in the system actually generates the<br></blockquote><blockquote type="cite">notify back to the phones when a call is made.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">From the docs it looks like presence_dialoginfo should be doing this but<br></blockquote><blockquote type="cite">isn't.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What have I missed?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Cheers<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Mark<br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">Mark Boyce<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 27 Nov 2012, at 19:44, Andrew Mortensen wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I recently added an SCA module to the project. If you're willing to try the<br></blockquote><blockquote type="cite">master branch, I'd appreciate hearing how things work for you.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Here are instructions for building from the git repository:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="http://www.kamailio.org/wiki/install/devel/git">http://www.kamailio.org/wiki/install/devel/git</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Add "sca" to the include_modules value in the make command, e.g.:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">make FLAVOUR=kamailio include_modules="db_mysql sca"<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Take a look at the documentation here (it's not up on <a href="http://kamailio.org">kamailio.org</a> yet):<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="https://github.com/fitterhappier/sca">https://github.com/fitterhappier/sca</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Scroll down past the list of files to find the formatted README text.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Best,<br></blockquote><blockquote type="cite">andrew<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Nov 27, 2012, at 12:32 PM, Mark Boyce &lt;<a href="mailto:mark@darkorigins.com">mark@darkorigins.com</a>&gt; wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hi All,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I've been trying to get some Cisco/Linksys SPA phones working with Kamailio<br></blockquote><blockquote type="cite">(current stable). All seems to be ok apart from getting Presence/BLF/SCA<br></blockquote><blockquote type="cite">working.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The phones are set to<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Server_Type : RFC3265_4235<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Line Key 2 Extension : Disabled<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Line Key 2 Share Call Appearance : Private<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Line Key 2 Extended Function :<br></blockquote><blockquote type="cite">fnc=blf+sd+cp;<a href="mailto:sub=1001@ourserver.com">sub=1001@ourserver.com</a>;<a href="mailto:ext=1001@ourserver.com">ext=1001@ourserver.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Where 1001 is the other phone.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The phone appears to be sending event type 'call-info' rather than dialog<br></blockquote><blockquote type="cite">etc.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Phone is being sent '489 Bad Event' and the error in the logs is : presence<br></blockquote><blockquote type="cite">[subscribe.c:1007]: Unsupported event header field value call-info<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Whatever I set the Server Type to on the phones it still tries to send<br></blockquote><blockquote type="cite">call-info events on subscribes<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Has anyone got Presence working with Cisco SPA handset?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The module needed seems to be available on OpenSIPs<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="http://www.opensips.org/html/docs/modules/1.8.x/presence_callinfo.html">http://www.opensips.org/html/docs/modules/1.8.x/presence_callinfo.html</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Mark<br></blockquote><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br></div></blockquote></div><br></div></body></html>