Actions

Send Mail command $SM and Cancel Mail command $CANM used in AlphaNet (Event Handler)

From Zenitel Wiki

Revision as of 15:28, 8 August 2007 by Hege (talk) (Some Examples)
  • The command (@3 $SM….) must be executed in the sending exchange (were the calling station is located)
  • The command (@3 $SM….) must be sent to the exchange were the receiving station is located
  • AlphaCom fills in the parameters (%1, %2) at the sending exchange
  • The expression L(%1.nod)%1.dir can be substituted by %1.ref
  • No need for Global Numbers. The directory numbers involved can be Local numbers
  • The queuing station can answer the call by dialing 70+8 or 7638
  • SendMail to a Global group is not possible

Some Examples

Station 104 in node 2 will be queued on 107 in node 3:

@3 $SM L(2)104 L107 U100 NM18 GV U0 ’Text of 104’ U0

<br\><br\> More general: Any station in node 2 triggering this event will be queued on 107 in node 3 with the correct text:

@3 $SM L(2)%1.dir L107 U100 NM18 GV U0 ’%1.nam’ U0

<br\><br\> General expression: Any station in any node triggering this event will be queued on 107 in node 3:

@3 $SM L(%1.nod)%1.dir L107 U100 NM18 GV U0 ’%1.nam’ U0

<br\><br\> Or eqvivalent:

@3 $SM %1.ref L107 U100 NM18 GV U0 ’%1.nam’ U0

<br\><br\> Same as above, but the sender will be put in Call Requester mode:

@3 $SM %1.ref L107 U100 NM18 GV U1 ’%1.nam’ U0

<br\><br\> Same as above, but the sender will be queued on all stations in group 15 (dir no 899) in node 3:

@3 $SM %1.ref NG15 U100 NM18 GV U1 ’%1.nam’ U0

<br\><br\> Same as above, but when answered from one inside the group the station will be deleted from the others:

@3 $SM %1.ref L899 U100 NM18 GV U3 ’%1.nam’ U0

The following expressions will NOT work