|
I have c2c working but can anyone tell me know how get the phone number that my extension is connected to and or callerID
I can do:
fputs($oSocket, "Action: ExtensionState\r\n");
fputs($oSocket, "Context: default\r\n");
fputs($oSocket, "Exten: 132\r\n");
fputs($oSocket, "ActionID: 1\r\n");
but that just returns state of extension.
any help would be great. |