Jump to content
Sign in to follow this  

IAX softphone for VoIP application

Recommended Posts


I am new to Autoit and I find it great :-)

I am trying to create a small support system using VNC repeater on a Linux server, UltraVNC SC on the client side, UltraVNC viewer/putty on the support side (where I am) and I also want to add voice support if possible (Using Asterisk on a server).

I have find an OCX control at http://www.geocities.com/babarnazmi/ that allow me to make IAX phones (IAX is a protocol specific to Asterisk for now).

The problem is that when I try to run this code, I obtain an error message :

#include <GUIConstants.au3>

$Form1 = GUICreate("AForm1", 600, 388, 347, 184)

$Button1 = GUICtrlCreateButton("(Not allowed)", 8, 8, 40, 40, $BS_ICON)

GUICtrlSetImage($Button1, "C:\Documents and Settings\Blaise Drayer\Bureau\repstart.ico")

$Button2 = GUICtrlCreateButton("(Not allowed)", 56, 8, 40, 40, $BS_ICON)

GUICtrlSetImage($Button2, "C:\Documents and Settings\Blaise Drayer\Bureau\vncstart.ico")

$Button3 = GUICtrlCreateButton("(Not allowed)", 248, 8, 40, 40, $BS_ICON)

GUICtrlSetImage($Button3, "C:\Documents and Settings\Blaise Drayer\Bureau\repstop.ico")

$Button4 = GUICtrlCreateButton("(Not allowed)", 200, 8, 40, 40, $BS_ICON)

GUICtrlSetImage($Button4, "C:\Documents and Settings\Blaise Drayer\Bureau\vncstop.ico")

$Button5 = GUICtrlCreateButton("(Not allowed)", 104, 8, 41, 41, $BS_ICON)

GUICtrlSetImage($Button5, "C:\Documents and Settings\Blaise Drayer\Bureau\files.ico")

$Button6 = GUICtrlCreateButton("(Not allowed)", 152, 8, 41, 41, $BS_ICON)

GUICtrlSetImage($Button6, "C:\Documents and Settings\Blaise Drayer\Bureau\chat.ico")

$IaxClientOcx1 = ObjCreate("IAXCLIENTOCX.IaxClientOcxCtrl.1")

$Button7 = GUICtrlCreateButton("AButton7", 88, 72, 33, 33, 0)


While 1

$msg = GuiGetMsg()


Case $msg = $GUI_EVENT_CLOSE


Case $msg = $Button7










>"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "C:\Documents and Settings\XXXXXXXXXXXXXXX\Bureau\softphone.au3" /autoit3dir "C:\Program Files\AutoIt3\beta" /UserParams

>Running AU3Check params: from:C:\Program Files\AutoIt3\SciTE\au3check\

+>AU3Check ended.rc:0

>Running:(\Program Files\AutoIt3\beta\autoit3.exe "C:\Documents and Settings\Blaise Drayer\Bureau\softphone.au3"

C:\Documents and Settings\XXXXXXXXXXXX\Bureau\softphone.au3 (24) : ==> The requested action with this object has failed.:


$IaxClientOcx1.initIAX()^ ERROR

+>AutoIT3.exe ended.rc:0

>Exit code: 0 Time: 3.954

I am not a good developer and I don't understan the error I have done, ...

Somebody can help me?

I would be happy to share all my work with everybody when it will be finished :-)

Share this post

Link to post
Share on other sites

The error means that $IaxClientOcx1.initIAX() did not work, or in other words, the Client failed to initilize.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...