Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MML Codes for absence diversion 6

Status
Not open for further replies.

jakob314

Technical User
Mar 10, 2004
50
DK
Does anybody know how to initiate/end diversion on absence by TTY??
I´m trying to build a webpage to be used instead of *23*.
All help greatly appreciated!!
 
Hi,

You can not do this by MML, but it is possible via GICI and / or via CSTA (Application Link).

/mk
 
Hi,

Sure you can:
Sorry about the format, but this is only copy from TextPad.

/****************************************************************************************/
/* This commands is used for remote testing */
/* Syntax */
/* FTSAS:SIGAR=X,STATE=2,SIG=se table 2,BYTE=1-Magasin number&2-DCP pointer for */
/* EQU position(se table 1)&3-HEX cod for what you want to happend (se table 2), */
/* LIM=The lim for the extension; */
/* You can use A lot of this FTSAS commands with different SIGAR to build A compl- */
/* ete number. And after that send the command FTSSI:sigar=X&&X;to execute the */
/* FTSAS rows. */
/* */
/****************************************************************************************/
/* Pointer in DCP for EQU pos. */
/* */
/* Table 1 Value for byte 2 */
/* */
/****************************************************************************************/
/* Individ */
/* */
/* Mag Pos 0 1 2 3 4 5 6 7 */
/*--------------------------------------------------------------------------------------*/
/* 0,1,2,3 00 00 01 02 03 04 05 06 07 */
/* 0,1,2,3 01 08 09 0A 0B 0C 0D 0E 0F */
/* 0,1,2,3 02 10 11 12 13 14 15 16 17 */
/* 0,1,2,3 03 18 19 1A 1B 1C 1D 1E 1F */
/* 0,1,2,3 10 20 21 22 23 24 25 26 27 */
/* 0,1,2,3 11 28 29 2A 2B 2C 2D 2E 2F */
/* 0,1,2,3 12 30 31 32 33 34 35 36 37 */
/* 0,1,2,3 13 38 39 3A 3B 3C 3D 3E 3F */
/* 0,1,2,3 20 40 41 42 43 44 45 46 47 */
/* 0,1,2,3 21 48 49 4A 4B 4C 4D 4E 4F */
/* 0,1,2,3 22 50 51 52 53 54 55 56 57 */
/* 0,1,2,3 23 58 59 5A 5B 5C 5D 5E 5F */
/* 0,1,2,3 30 60 61 62 63 64 65 66 67 */
/* 0,1,2,3 31 68 69 6A 6B 6C 6D 6E 6F */
/* 0,1,2,3 32 70 71 72 73 74 75 76 77 */
/* 0,1,2,3 33 78 79 7A 7B 7C 7D 7E 7F */
/* 0,1,2,3 40 80 81 82 83 84 85 86 87 */
/* 0,1,2,3 41 88 89 8A 8B 8C 8D 8E 8F */
/* 0,1,2,3 42 90 91 92 93 94 95 96 97 */
/* 0,1,2,3 43 98 99 9A 9B 9C 9D 9E 9F */
/* 0,1,2,3 50 A0 A1 A2 A3 A4 A5 A6 A7 */
/* 0,1,2,3 51 A8 A9 AA AB AC AD AE AF */
/* 0,1,2,3 52 B0 B1 B2 B3 B4 B5 B6 B7 */
/* 0,1,2,3 53 B8 B9 BA BB BC BD BE BF */
/* 0,1,2,3 60 C0 C1 C2 C3 C4 C5 C6 C7 */
/* 0,1,2,3 61 C8 C9 CA CB CC CD CE CF */
/* 0,1,2,3 62 D0 D1 D2 D3 D4 D5 D6 D7 */
/* 0,1,2,3 63 D8 D9 DA DB DC DD DE DF */
/* 0,1,2,3 70 E0 E1 E2 E3 E4 E5 E6 E7 */
/* 0,1,2,3 71 E8 E9 EA EB EC ED EE EF */
/* 0,1,2,3 72 F0 F1 F2 F3 F4 F5 F6 F7 */
/* 0,1,2,3 73 F8 F9 FA FB FC FD FE FF */
/*--------------------------------------------------------------------------------------*/
/* eksampel:pointer for 1-3-22-15 look at mag 3 pos 23 ind 7 */
/* */
/* */
/****************************************************************************************/
/* Table 2 */
/* */
/* */
/*--------------------------------------------------------------------------------------*/
/* What you want to do Value Sig */
/* Byte=3 */
/* Night Switch OPI 40 02 */
/* Egen linje 1 0B 02 */
/* Egen linje 2 0A 02 */
/* Egen linje 3 09 02 */
/* Transfer 0C 04 */
/* End 0D 04 */
/* Hang up 0F 04 */
/* Lift the handseth 10 04 */
/* Digit * 0A 04 */
/* Digit # 0B 04 */
/* Digit 0 00 04 */
/* Digit 1 01 04 */
/* Digit 2 02 04 */
/* Digit 3 03 04 */
/* Digit 4 04 04 */
/* Digit 5 05 04 */
/* Digit 6 06 04 */
/* Digit 7 07 04 */
/* Digit 8 08 04 */
/* Digit 9 09 04 */
/* Key 0 (A00) 00 02 */
/* Key 1 (A01) 01 02 */
/* Key 2 (A02) 02 02 */
/* Key 3 (A03) 03 02 */
/* Key 4 (A04) 04 02 */
/* Key 5 (A05) 05 02 */
/* Key 6 (A06) 06 02 */
/* Key 7 (A07) 07 02 */
/* Key 8 (A08) 08 02 */
/* Key 9 (A09) 09 02 */
/* Key 10 (A10) 0A 02 */
/* Key 11 (A11) 0B 02 */
/* Key 12 (B00) 0C 02 */
/* Key 13 (B01) 0D 02 */
/* Key 14 (B02) 0E 02 */
/* Key 15 (B03) 0F 02 */
/* Key 16 (B04) 10 02 */
/* Key 17 (B05) 11 02 */
/* Key 18 (B06) 12 02 */
/* Key 19 (B07) 13 02 */
/* Key 20 (B08) 14 02 */
/* Key 21 (B09) 15 02 */
/* Key 22 (B10) 16 02 */
/* Key 23 (B11) 17 02 */
/* Key 24 (C00) 18 02 */
/* Key 25 (C01) 19 02 */
/* Key 26 (C02) 20 02 */
/* Key 27 (C03) 21 02 */
/* Key 28 (C04) 22 02 */
/* Key 29 (C05) 23 02 */
/* Key 30 (C06) 24 02 */
/* Key 31 (C07) 25 02 */
/* Key 32 (C08) 26 02 */
/* Key 33 (C09) 27 02 */
/* Key 34 (C10) 28 02 */
/* Key 35 (C11) 29 02 */
/*--------------------------------------------------------------------------------------*/
/* */
/****************************************************************************************/
/* */
/* Examples */
/* */
/****************************************************************************************/
/* Make message Diversion for EQU 1-2-32-11 Code 4 untill 17:25 */
/****************************************************************************************/
FTSAS:SIGAR=1,STATE=2,SIG=02,BYTE=1-2&2-7B&3-0B,LIM=1;/* Acces 1 */
FTSAS:SIGAR=2,STATE=2,SIG=04,BYTE=1-2&2-7B&3-0A,LIM=1;/* Press * */
FTSAS:SIGAR=3,STATE=2,SIG=04,BYTE=1-2&2-7B&3-02,LIM=1;/* Press 2 */
FTSAS:SIGAR=4,STATE=2,SIG=04,BYTE=1-2&2-7B&3-03,LIM=1;/* Press 3 */
FTSAS:SIGAR=5,STATE=2,SIG=04,BYTE=1-2&2-7B&3-0A,LIM=1;/* Press * */
FTSAS:SIGAR=6,STATE=2,SIG=04,BYTE=1-2&2-7B&3-04,LIM=1;/* Press 4 FOR MESSAGE CODE 4 */
FTSAS:SIGAR=7,STATE=2,SIG=04,BYTE=1-2&2-7B&3-0A,LIM=1;/* Press * */
FTSAS:SIGAR=8,STATE=2,SIG=04,BYTE=1-2&2-7B&3-01,LIM=1;/* Press 1 */
FTSAS:SIGAR=9,STATE=2,SIG=04,BYTE=1-2&2-7B&3-07,LIM=1;/* Press 7 */
FTSAS:SIGAR=10,STATE=2,SIG=04,BYTE=1-2&2-7B&3-02,LIM=1;/* Press 2 */
FTSAS:SIGAR=11,STATE=2,SIG=04,BYTE=1-2&2-7B&3-05,LIM=1;/* Press 5 */
FTSAS:SIGAR=12,STATE=2,SIG=04,BYTE=1-2&2-7B&3-0B,LIM=1;/* Press # */
FTSAS:SIGAR=13,STATE=2,SIG=04,BYTE=1-2&2-7B&3-0D,LIM=1;/* Press Clear key */
FTSSI:SIGAR=1&&13;/* Let the MD execute all above */
/****************************************************************************************/
/* Make outgoing cal from EQU 1-0-32-11 to 00 12 34 56 78 */
/****************************************************************************************/
FTSAS:SIGAR=1,STATE=2,SIG=02,BYTE=1-0&2-7B&3-0B,LIM=1;/* Acces 1 */
FTSAS:SIGAR=2,STATE=2,SIG=04,BYTE=1-0&2-7B&3-00,LIM=1;/* Press 0 */
FTSAS:SIGAR=3,STATE=2,SIG=04,BYTE=1-0&2-7B&3-00,LIM=1;/* Press 0 */
FTSAS:SIGAR=4,STATE=2,SIG=04,BYTE=1-0&2-7B&3-01,LIM=1;/* Press 1 */
FTSAS:SIGAR=5,STATE=2,SIG=04,BYTE=1-0&2-7B&3-02,LIM=1;/* Press 2 */
FTSAS:SIGAR=6,STATE=2,SIG=04,BYTE=1-0&2-7B&3-03,LIM=1;/* Press 3 */
FTSAS:SIGAR=7,STATE=2,SIG=04,BYTE=1-0&2-7B&3-04,LIM=1;/* Press 4 */
FTSAS:SIGAR=8,STATE=2,SIG=04,BYTE=1-0&2-7B&3-05,LIM=1;/* Press 5 */
FTSAS:SIGAR=9,STATE=2,SIG=04,BYTE=1-0&2-7B&3-06,LIM=1;/* Press 6 */
FTSAS:SIGAR=10,STATE=2,SIG=04,BYTE=1-0&2-7B&3-07,LIM=1;/* Press 7 */
FTSAS:SIGAR=11,STATE=2,SIG=04,BYTE=1-0&2-7B&3-08,LIM=1;/* Press 8 */
FTSSI:SIGAR=1&&11;/* Let the MD execute all above */




 
Hi Trident100,

Ok, I stand corrected.
Have you seen this mthod implemeted in a CTI application?

/mk
 
Hi Trident100

This sounds interesting!
I should have known this years before...
BR doktor
 
Yes interesting method,
But what with Analog, IP or generic ( cordless ) extension?
 
I don`t know with analog, but with generic you can use:
<GEPEI:DIR=1980,PROC=A23A4A1100B;
EXECUTED
PROCEDURE EXECUTED


<susip:dir=1980;
STATUS INFORMATION AT 14:46:51 17OCT04
DIR TYPE TRAFFIC STATE/PTR LINE STATE/PTR DIV STATE ADD INFO
1980 NO INFO #FFFF NOT ASSIG. #03D9 ICS
 
Trident100:

I just tried to type this in TTY: FTSAS:SIGAR=1,STATE=2,SIG=02,BYTE=1-0&2-4A&3-OB,LIM=3;

I tried to press Access 1 on 003-0-20-02, but failed.

"NOT ACCEPTED
UNREASONABLE VALUE
BYTE
"

Can you help me with this? Something is wrong...
 
Hi if I see

BYTE=1-0&2-4A&3-OB, byte 3 is OB (letter O and letter B) try zero B (0B)
and EQU=x-y-20-02 is 41 not 4A /byte 2/.
 
Ok, thank you verry much! That worked verry good.

Could you just help me with one more example. I cant really understand this. What should I type for Byte2 if equ = 003-0-20-10 ? Is that the same as 003-0-20-02 ?

I'm not sure if I understands this. Why are there only 7 individuals?
 
Byte 2 for equ xxxx 20-10 is 49

More info later.
 
Ok, ok, I belive that I understands this now. Thank's a lot! Perfekt function!
 
This function is very useful for remote testing. We use it often for test with centralized operator and DNA server with many nodes.

I have some "files" to check status for priority for centralized operator if someone want them.

/*Trident*/
 
I don`t have time to day, but I do it tomorrow.

of cource I share, that is the reason for this forum!!!!!!!!

/*Trident*/
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top