TERAVoice General (en)
 

Is there someone could help me ?


 
Is there someone could help me ? Post Reply
15.10.2004 15:23 david.masneri@online.laposte.net


Hi

I am french and look for an example to make a call then play a sound (using vbscript )

I have tried to read the documentation but i don t understand all.
Why is there a lot of function when i create a script. I just want to use "createcall"

My Script:
----------------------------------------------------------------------------------------------

Function CallHandler_ScheduledInit(objCallController, InstanceCount)
     
     createcall ("0622803664","Creative Modem Blaster V.92 DE5721",3) ' is it good?

End Function


Function CallHandler_Init
???
End Function


Function CallHandler_UnInit

???
End Function

-------------------------------------------------------------------------------------------------

I am a poor vba developper and don t understand all subtilities.






--------------------------
MASNERI
david.masneri@laposte.net
--------------------------


>
Re: Is there someone could help me ? Post Reply
15.10.2004 15:39 TERASENS Support

Hello,


the script implements an interface that is similar to a contract. All
functions must be present but you can just leave them empty.

Your function is currect, but you must leave out the braces (and you can
leave out the device name):

createcall  "0622803664","",3

or

if createcall("0622803664","",3) then
    'Success
else
    'failed
end if

You can look at the wakeup system VB sample for an example of creating
outgoing calls.
(Just look at the file wakeup.cls if you don't have VB)

Please note that modems do not support call progress detection. Your script
will receive
the Init event as soon as the call is ringing at the remote party. With
normal hardware
you will receive the Init event only when the call is really connected. This
is a general
limitation of voice modems.

Best regards,

Frank Weber
TERAVoice Support
--------------------------
TERASENS GmbH
Ackermannstraße 3
80797 München
--------------------------
e-mail: info@terasens.de
www:   www.terasens.de
--------------------------




wrote in message
news:bf3884be-855e-4412-b8a1-68f43f2fbb57@news.terasens.de...
>
> Hi
>
> I am french and look for an example to make a call then play a sound
(using vbscript )
>
> I have tried to read the documentation but i don t understand all.
> Why is there a lot of function when i create a script. I just want to use
"createcall"
>
> My Script:
> --------------------------------------------------------------------------
--------------------
>
> Function CallHandler_ScheduledInit(objCallController, InstanceCount)
>
>      createcall ("0622803664","Creative Modem Blaster V.92 DE5721",3) ' is
it good?
>
> End Function
>
>
> Function CallHandler_Init
> ???
> End Function
>
>
> Function CallHandler_UnInit
>
> ???
> End Function
>
> --------------------------------------------------------------------------
-----------------------
>
> I am a poor vba developper and don t understand all subtilities.
>
>
>
>
>
>
> --------------------------
> MASNERI
> david.masneri@laposte.net
> --------------------------
>
>
> >

 
 
 Write Us|  Add to favorites
 
 
 ©2007 TERASENS GmbH. All rights reserved. Copyright Notice