[Spce-user] API for getting current calls status?

Matt Van Veenendaal matt at curiousminds.com
Tue Oct 9 18:58:48 EDT 2012


Hey guys,  

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.

Thanks,
--  
Matt Van Veenendaal


On Friday, October 5, 2012 at 10:45 AM, Jon Bonilla wrote:

> El Fri, 5 Oct 2012 09:35:44 -0700
> Matt Van Veenendaal <matt at curiousminds.com (mailto:matt at curiousminds.com)> escribió:
>  
> > Thanks for the super quick reply guys.  
> >  
> > I want to expose this in my API so I can determine if calls have failed or
> > not. Given that I most likely will want to upgrade to the PRO offering at
> > some point (i'm currently just testing and building with CE). What do you
> > guys think the best plan for this is?
> >  
> > Should I add a command to the soap api manually? Ideally i'd just want a
> > command that checks if a subscriber is on a call or not.
> >  
>  
>  
>  
> If you want to check if a subscriber is in a call or not you can check it via
> the dialog exported functions
>  
> http://kamailio.org/docs/modules/3.3.x/modules_k/dialog.html#id2555637
>  
> There are "profiles" where the calls are added.
>  
> modparam("dialog","profiles_no_value","total ;emergency")
> modparam("dialog","profiles_with_value","peer ; user ; type ; peerout ;
> userout ; account ; accountout")
>  
> Each time a user is receiving or doing a call, the "user" profile is
> incremented with the subscriber's uuid value. You could extend the soap/xmlrpc
> API by calling the xmlrpc interface of kamailio-proxy and checking the profile
> size or even listing the specific profile
>  
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com (mailto:Spce-user at lists.sipwise.com)
> http://lists.sipwise.com/listinfo/spce-user
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20121009/04d97a8e/attachment-0001.html>


More information about the Spce-user mailing list