<div>
Hey guys,
</div><div><br></div><div>I started extending the soap/xml api for this, since the code is open source, once I finish, is there a particular repo I can commit this back to on Github or svn or similar? I'm sure others would like this feature too.</div><div><br></div><div>Thanks,</div><div><div>-- </div><div>Matt Van Veenendaal</div><div><br></div></div>
<p style="color: #A0A0A8;">On Friday, October 5, 2012 at 10:45 AM, Jon Bonilla wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><div>El Fri, 5 Oct 2012 09:35:44 -0700</div><div>Matt Van Veenendaal <<a href="mailto:matt@curiousminds.com">matt@curiousminds.com</a>> escribió:</div><div><br></div><blockquote type="cite"><div><div>Thanks for the super quick reply guys. </div><div><br></div><div>I want to expose this in my API so I can determine if calls have failed or</div><div>not. Given that I most likely will want to upgrade to the PRO offering at</div><div>some point (i'm currently just testing and building with CE). What do you</div><div>guys think the best plan for this is?</div><div><br></div><div>Should I add a command to the soap api manually? Ideally i'd just want a</div><div>command that checks if a subscriber is on a call or not.</div></div></blockquote><div><br></div><div><br></div><div>If you want to check if a subscriber is in a call or not you can check it via</div><div>the dialog exported functions</div><div><br></div><div><a href="http://kamailio.org/docs/modules/3.3.x/modules_k/dialog.html#id2555637">http://kamailio.org/docs/modules/3.3.x/modules_k/dialog.html#id2555637</a></div><div><br></div><div>There are "profiles" where the calls are added.</div><div><br></div><div>modparam("dialog","profiles_no_value","total ;emergency")</div><div>modparam("dialog","profiles_with_value","peer ; user ; type ; peerout ;</div><div>userout ; account ; accountout")</div><div><br></div><div>Each time a user is receiving or doing a call, the "user" profile is</div><div>incremented with the subscriber's uuid value. You could extend the soap/xmlrpc</div><div>API by calling the xmlrpc interface of kamailio-proxy and checking the profile</div><div>size or even listing the specific profile</div></div><div><div>_______________________________________________</div><div>Spce-user mailing list</div><div><a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a></div><div><a href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>