Axc-dtmf ( Phone )
ghaith
Posts: 6
Hello
Can you help me if I want to access the phone from my touch panel, its mean that I want to make new page in my design it is look like the phone, then by button event I can make call .
With best regards
Can you help me if I want to access the phone from my touch panel, its mean that I want to make new page in my design it is look like the phone, then by button event I can make call .
With best regards
0
Comments
There is "ON HOOK" AND "OFF HOOK"
ON HOOK : its mean that the line off
OFF HOOK : its mean that the line on
So what you put in the button event For Example:
DEFINE_DEVICE
DVDTMF = 85:1:1
DEFINE_START
DEFINE_EVENT
BUTTON_EVENT [TP,401]
{
PUSH:
{
SEND_COMMAND DVDTMF, " ' DIAL 1 ' " //THIS IS FOR BUTTON ONE
}
}
BUTTON_EVENT [DVTP,410]
{
PUSH:
{
SEND_COMMAND DVDTMF, " ' DIAL 0 ' " //THIS IS FOR BUTTON ZERO
}
}
//AND COMPLETE ALL THE BUTTON THEN DONT FORGET THE IMPORTANT TOW BUTTON
BUTTON_EVENT [DVTP,413]
{
PUSH:
{
SEND_COMMAND DVDTMF," ' OFF HOOK ' " //THIS BUTTON TO OPEN THE LINE
}
}
BUTTON_EVENT [DVTP,414]
{
PUSH:
{
SEND_COMMAND DVDTMF," ' ON HOOK ' " //THIS BUTTON TO CLOSE THE LINE
}
}