DNIS + Alert modeler

Question: Write please example:
If client rings on determined number - CRM starts the transactions.

Example:
DNIS = 2039
Client rings on 2039
CRM runs service order.

DNIS = 2025
Client rings on 2025
CRM runs sales order.

This possible by Alert Modeler?

Answer:
up.

Answer:
Any idea how to do this or any example code?

Thanks a lot.

Answer:
I am try to use:

for event: INBOUND_CALL

if (SP_TELNO == "2039") {
sap_scripting_message ("VIP");
}

But this code is not working...

Any idea how to do this?

Answer:
I am try to use:

if (INBOUND_CALL.P1.sp_telno == "2039")

{
sap_select_workspace("ZWORK");
}

but error appears.
Copyright ?2007 - 2008 www.jt77.com