Open GoogleCodeExporter opened 8 years ago
Hi Alec,
I believe you are talking about implementing a click to call button that makes
outgoing calls to your softphone from your website. If that is what you want,
then you would not require some of the functionality implemented in red5phone
like Call Accepting, Transfer, History etc. All you need is a click to call
button and status display.
This should not be a problem if you are familiar with flex development and as3.
You need to modify the flash application under the /sip/flex directory.
Basically you would just need to show one mxml, with the Click to Call button
and status display.
In the click event of the button you need to do the following:
1. Connect to red5 server
2. If successful (Red5Message handler function will receive connection success
message), you need to call login to sip server.
3. If login successful (handler again will receive sip register success), call
the preset number. You can load this number from the XML if you wish (see
onComplete even for the XML file loader, under the init() function I think).
This way with one click of a button the application will connect, login and
call without the user having to worry about any other details. Make sure you
disconnect from red5 after the call is closed or fails.
Our team did do such an implementation for a client recently. There are certain
user management issues to be addressed when using such a setup.
Regards,
Hari
Original comment by harikuma...@gmail.com
on 31 Aug 2011 at 2:37
Original issue reported on code.google.com by
Alec.Tay...@gmail.com
on 28 Aug 2011 at 9:25