Creating a call app based on freeswitch (and adhearsion)
Hi all, We have a lot of customers that should be able to call our information center. Based on who (and when) he calls, the call should be forwarded to one specific person (or stored as voice message outside the hours). Since forwading the call to a mobile (or fixed) phone is costing money, we want to forward it to SIP clients when this contact person is available via SIP (so we first try SIP, if the contact person doesn't take the call we'll try the phone number). We also want to do outbound calls (as internal users), some via a normal phone (if internet is not available), or also via SIP. We also have a admin application ourselves to manage users, information stored in this database should be used to specify the incoming calls forwarding. The main question is how we best manage our SIP users (we prefer to do everything in our application). Are there any APIs available to create/delete & manage SIP users for freeswitch? Can we write (in a reasonably short amount of time) an authentication plugin for freeswitch which will consult our internal database. Note that our application logic (how things should be forwarded, what application should run etc) will be written in the adhearsion framework, so every call should be forwarded to adhearsion, which wil lthen handle all logic (except for the SIP authentication). Cheers, Nathan
Check out the webapi (mod_xml_rpc) and you should probably think about using mod_xml_curl. Sent from my iPhone On Dec 24, 2012, at 9:55 AM, Nathan Samson <nathan@nathansamson.be> wrote:
Hi all,
We have a lot of customers that should be able to call our information center. Based on who (and when) he calls, the call should be forwarded to one specific person (or stored as voice message outside the hours). Since forwading the call to a mobile (or fixed) phone is costing money, we want to forward it to SIP clients when this contact person is available via SIP (so we first try SIP, if the contact person doesn't take the call we'll try the phone number).
We also want to do outbound calls (as internal users), some via a normal phone (if internet is not available), or also via SIP. We also have a admin application ourselves to manage users, information stored in this database should be used to specify the incoming calls forwarding.
The main question is how we best manage our SIP users (we prefer to do everything in our application). Are there any APIs available to create/delete & manage SIP users for freeswitch? Can we write (in a reasonably short amount of time) an authentication plugin for freeswitch which will consult our internal database.
Note that our application logic (how things should be forwarded, what application should run etc) will be written in the adhearsion framework, so every call should be forwarded to adhearsion, which wil lthen handle all logic (except for the SIP authentication).
Cheers, Nathan _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Brian Foster
-
Nathan Samson