mbaith
Programmer
- Feb 8, 2008
- 2
Hello,
I setup the Phone Manager (v4.1.14) to run a batch file when I receive a call. Here is my batch file:
@ECHO OFF
ECHO 1: %1
ECHO 2: %2
ECHO 3: %3
ECHO 4: %4
ECHO 5: %5
PAUSE
In the Applications Installation & Administration Manual I found that it should pass the folling:
1 - Calling Party (The number of the calling party if available)
2 - Called Party (Usually the number of the Phone Manager Pro extension)
3 - Tag (Any name or other information associated with the call. Phone Manager and SoftConsole can be used to add a tag to a call before it is made or transferred)
4 - Account Code (Any account code matched against the Caller ID of the call in the IP Office configuration)
5 - Display Test (Similar to the text string shown on display phones by IP Office when calls ring)
The problem that I am having is when the batch file runs the value passed as "Calling Party" is the caller ID name and not the number. Both the name and the number show up on the phone (on 5410 bottom two rows - name on top, number on bottom), but I only get the name in the batch file.
Any ideas how I can get it to pass the number?
Thanks!
Mike
I setup the Phone Manager (v4.1.14) to run a batch file when I receive a call. Here is my batch file:
@ECHO OFF
ECHO 1: %1
ECHO 2: %2
ECHO 3: %3
ECHO 4: %4
ECHO 5: %5
PAUSE
In the Applications Installation & Administration Manual I found that it should pass the folling:
1 - Calling Party (The number of the calling party if available)
2 - Called Party (Usually the number of the Phone Manager Pro extension)
3 - Tag (Any name or other information associated with the call. Phone Manager and SoftConsole can be used to add a tag to a call before it is made or transferred)
4 - Account Code (Any account code matched against the Caller ID of the call in the IP Office configuration)
5 - Display Test (Similar to the text string shown on display phones by IP Office when calls ring)
The problem that I am having is when the batch file runs the value passed as "Calling Party" is the caller ID name and not the number. Both the name and the number show up on the phone (on 5410 bottom two rows - name on top, number on bottom), but I only get the name in the batch file.
Any ideas how I can get it to pass the number?
Thanks!
Mike