|
Home > Archive > Voice over IP Cisco > January 2006 > CiscoTSP
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Cisco Subscriber 2006-01-30, 8:45 pm |
| Has anyone developed a quick little application that will dial a number
on their phone? I've installed the CiscoTSP and tested the integration
with outlook, and it works just fine. What I'd like to do is configure
an old application to launch an external program/script and pass it a
number to dial with a single keystroke.
Can I write a quick little script that will use this and dial the users
phone for them. Something like "dialipphone.vbs 6045551212" which will
do the same thing as is done within the outlook extension (pick-up the
line on their phone and dial the number).
Is there some reference material available somewhere for doing this?
________________________________
<http://www.cbvcollections.com/cbvImages/ecardlogo.jpg>
Frank Wakelin
Senior Network/Security Analyst
100 - 814 Richards St.
Vancouver, BC
V6B 3A7
Telephone: (604) 661-7906
fwakelin@cbvcollections.com
Confidentiality Warning:
This message and any attachments are intended only for the use of the intended recipients (cisco-voip@puck.nether.net), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender (mailto:subs-cisco@cbvcollections.com) immediately by return e-mail, and delete this message and any attachments from your system. Thank you.
Information Confidentielle:
Le present message, ainsi que tout fichier qui y est joint, est envoye a l'intention exclusive de son ou de ses destinataires (cisco-voip@puck.nether.net); il est de nature confidentielle et peut constituer une information privilegiee. Nous avertissons toute personne autre que le destinataire prevu que tout examen, reacheminement, impression, copie, distribution ou autre utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous n'etes pas le destinataire prevu, veuillez en aviser immediatement l'expediteur (mailto:subs-cisco@cbvcollections.com) par retour de courriel et supprimer ce message et tout document joint de votre systeme. Merci
| |
| Lelio Fulgenzi 2006-01-30, 8:45 pm |
| There is a webdialer application out there with an API that cisco supports. I'm sure you can write something that will work for your application.
----- Original Message -----
From: cisco Subscriber
To: cisco-voip@puck.nether.net
Sent: Monday, January 30, 2006 8:41 PM
Subject: [cisco-voip] CiscoTSP
Has anyone developed a quick little application that will dial a number on their phone? I've installed the CiscoTSP and tested the integration with outlook, and it works just fine. What I'd like to do is configure an old application to launch an external program/script and pass it a number to dial with a single keystroke.
Can I write a quick little script that will use this and dial the users phone for them. Something like "dialipphone.vbs 6045551212" which will do the same thing as is done within the outlook extension (pick-up the line on their phone and dial the number).
Is there some reference material available somewhere for doing this?
------------------------------------------------------------------------------
Frank Wakelin
Senior Network/Security Analyst
100 - 814 Richards St.
Vancouver, BC
V6B 3A7
Telephone: (604) 661-7906
fwakelin@cbvcollections.com
Confidentiality Warning:
This message and any attachments are intended only for the use of the intended recipients (cisco-voip@puck.nether.net), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender (Cisco Subscriber) immediately by return e-mail, and delete this message and any attachments from your system. Thank you.
Information Confidentielle:
Le present message, ainsi que tout fichier qui y est joint, est envoye a l'intention exclusive de son ou de ses destinataires (cisco-voip@puck.nether.net); il est de nature confidentielle et peut constituer une information privilegiee. Nous avertissons toute personne autre que le destinataire prevu que tout examen, reacheminement, impression, copie, distribution ou autre utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous n'etes pas le destinataire prevu, veuillez en aviser immediatement l'expediteur (Cisco Subscriber) par retour de courriel et supprimer ce message et tout document joint de votre systeme. Merci
------------------------------------------------------------------------------
________________________________________
_______
cisco-voip mailing list
cisco-voip@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip
| |
| Himes, Jay 2006-01-30, 8:45 pm |
| Yes.
I have an example in coldfusion that can be used. Basically you post a
set of form data to the phone using basic authentication. The code is
posted below.
Please be aware that newer versions of IE and firefox have purposely
broken the basic authentication standard so that it cannot be used from
those browsers in an (IMO) misguided attempt to increase browser
security. This is why the post is handled by a coldfusion macro rather
than a post directly to the phone.
Basically the information from the form is concatenated into a url as
follows:
User:password@ipphoneipaddress/CGI/Execute
Included is a form field named XML that contains the following:
<CiscoIPPhoneExecute><ExecuteItem
URL="Dial:THE_PHONE_NUMBER"/></CiscoIPPhoneExecute>
****************************************
********************************
***********
<title>Dialer</title>
<cfif not IsDefined("usr")>
<cfset usr="">
</cfif>
<cfif not IsDefined("pw")>
<cfset pw="">
</cfif>
<cfif not IsDefined("tocall")>
<cfset tocall="">
</cfif>
<cfif not IsDefined("callfrom")>
<cfset callfrom="">
</cfif>
<cfoutput>
<cfif tocall is "" or pw is "" or usr is "" or callfrom is "">
<form action="dialer.cfm" method="POST">
Phone User Name: <input type="text" value="#usr#" name="usr"> <br>
Phone Password: <input type="text" value="#pw#" name="pw"> <br>
Phone Number to Call: <input type="text" value="#tocall#"
name="tocall"> <br>
Phone IP to Call from: <input type="text" value="#callfrom#"
name="callfrom"> <br>
<input type="submit" value="Call" name="Call">
</form>
<cfelse>
<cfset CrLf = Chr(13) & Chr(10)>
<cfset dialurl="http://" & #callfrom# & "/CGI/Execute">
<cfset cmduri="<CiscoIPPhoneExecute>" & #CrLf# & "<ExecuteItem
URL=""Dial:" & #tocall# & """/>" & #CrLf# & "</CiscoIPPhoneExecute>">
<cfhttp url="#dialurl#" username="#usr#" password="#pw#" method="POST"
throwOnError ="no">
<CFHTTPPARAM name="XML" type="FORMFIELD" value="#cmduri#">
</cfhttp>
<cfset secerr=REFind("Status=""4""", cfhttp.fileContent)>
<cfset success=REFind("Status=""0""", cfhttp.fileContent)>
<cfif success gt 0>
<br>#tocall# dialed successfully<br>
</cfif>
<cfif secerr gt 0>
<br>Username or Password Invalid<br>
</cfif>
<textarea cols=70 rows=5>
#trim(cfhttp.fileContent)#
</textarea>
</cfif>
</cfoutput>
________________________________
From: cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Cisco
Subscriber
Sent: Monday, January 30, 2006 8:41 PM
To: cisco-voip@puck.nether.net
Subject: [cisco-voip] CiscoTSP
Has anyone developed a quick little application that will dial a number
on their phone? I've installed the CiscoTSP and tested the integration
with outlook, and it works just fine. What I'd like to do is configure
an old application to launch an external program/script and pass it a
number to dial with a single keystroke.
Can I write a quick little script that will use this and dial the users
phone for them. Something like "dialipphone.vbs 6045551212" which will
do the same thing as is done within the outlook extension (pick-up the
line on their phone and dial the number).
Is there some reference material available somewhere for doing this?
________________________________
<http://www.cbvcollections.com/cbvImages/ecardlogo.jpg>
Frank Wakelin
Senior Network/Security Analyst
100 - 814 Richards St.
Vancouver, BC
V6B 3A7
Telephone: (604) 661-7906
fwakelin@cbvcollections.com
Confidentiality Warning:
This message and any attachments are intended only for the use of the
intended recipients (cisco-voip@puck.nether.net), are confidential, and
may be privileged. If you are not the intended recipient, you are hereby
notified that any review, retransmission, conversion to hard copy,
copying, circulation or other use of this message and any attachments is
strictly prohibited. If you are not the intended recipient, please
notify the sender (Cisco Subscriber
<mailto:subs-cisco@cbvcollections.com> ) immediately by return e-mail,
and delete this message and any attachments from your system. Thank you.
Information Confidentielle:
Le present message, ainsi que tout fichier qui y est joint, est envoye a
l'intention exclusive de son ou de ses destinataires
(cisco-voip@puck.nether.net); il est de nature confidentielle et peut
constituer une information privilegiee. Nous avertissons toute personne
autre que le destinataire prevu que tout examen, reacheminement,
impression, copie, distribution ou autre utilisation de ce message et de
tout fichier qui y est joint est strictement interdit. Si vous n'etes
pas le destinataire prevu, veuillez en aviser immediatement l'expediteur
(Cisco Subscriber <mailto:subs-cisco@cbvcollections.com> ) par retour de
courriel et supprimer ce message et tout document joint de votre
systeme. Merci
| |
| Wes Sisk 2006-01-31, 2:45 am |
| Note, this uses the IP Phone Service XML parsing and not the CTI
interface. This interface requires the specific user information
provided be a user that is either assoicated to the destination
device in the global directory, or you must modify the authentication
URL to perform your own desired authentication.
/Wes
On Jan 30, 2006, at 9:08 PM, Himes, Jay wrote:
Yes.
I have an example in coldfusion that can be used. Basically you post a
set of form data to the phone using basic authentication. The code is
posted below.
Please be aware that newer versions of IE and firefox have purposely
broken the basic authentication standard so that it cannot be used from
those browsers in an (IMO) misguided attempt to increase browser
security. This is why the post is handled by a coldfusion macro rather
than a post directly to the phone.
Basically the information from the form is concatenated into a url as
follows:
User:password@ipphoneipaddress/CGI/Execute
Included is a form field named XML that contains the following:
<CiscoIPPhoneExecute><ExecuteItem
URL="Dial:THE_PHONE_NUMBER"/></CiscoIPPhoneExecute>
****************************************
********************************
***********
<title>Dialer</title>
<cfif not IsDefined("usr")>
<cfset usr="">
</cfif>
<cfif not IsDefined("pw")>
<cfset pw="">
</cfif>
<cfif not IsDefined("tocall")>
<cfset tocall="">
</cfif>
<cfif not IsDefined("callfrom")>
<cfset callfrom="">
</cfif>
<cfoutput>
<cfif tocall is "" or pw is "" or usr is "" or callfrom is "">
<form action="dialer.cfm" method="POST">
Phone User Name: <input type="text" value="#usr#" name="usr"> <br>
Phone Password: <input type="text" value="#pw#" name="pw"> <br>
Phone Number to Call: <input type="text" value="#tocall#"
name="tocall"> <br>
Phone IP to Call from: <input type="text" value="#callfrom#"
name="callfrom"> <br>
<input type="submit" value="Call" name="Call">
</form>
<cfelse>
<cfset CrLf = Chr(13) & Chr(10)>
<cfset dialurl="http://" & #callfrom# & "/CGI/Execute">
<cfset cmduri="<CiscoIPPhoneExecute>" & #CrLf# & "<ExecuteItem
URL=""Dial:" & #tocall# & """/>" & #CrLf# & "</CiscoIPPhoneExecute>">
<cfhttp url="#dialurl#" username="#usr#" password="#pw#"
method="POST"
throwOnError ="no">
<CFHTTPPARAM name="XML" type="FORMFIELD" value="#cmduri#">
</cfhttp>
<cfset secerr=REFind("Status=""4""", cfhttp.fileContent)>
<cfset success=REFind("Status=""0""", cfhttp.fileContent)>
<cfif success gt 0>
<br>#tocall# dialed successfully<br>
</cfif>
<cfif secerr gt 0>
<br>Username or Password Invalid<br>
</cfif>
<textarea cols=70 rows=5>
#trim(cfhttp.fileContent)#
</textarea>
</cfif>
</cfoutput>
________________________________
From: cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Cisco
Subscriber
Sent: Monday, January 30, 2006 8:41 PM
To: cisco-voip@puck.nether.net
Subject: [cisco-voip] CiscoTSP
Has anyone developed a quick little application that will dial a number
on their phone? I've installed the CiscoTSP and tested the integration
with outlook, and it works just fine. What I'd like to do is configure
an old application to launch an external program/script and pass it a
number to dial with a single keystroke.
Can I write a quick little script that will use this and dial the users
phone for them. Something like "dialipphone.vbs 6045551212" which will
do the same thing as is done within the outlook extension (pick-up the
line on their phone and dial the number).
Is there some reference material available somewhere for doing this?
________________________________
<http://www.cbvcollections.com/cbvImages/ecardlogo.jpg>
Frank Wakelin
Senior Network/Security Analyst
100 - 814 Richards St.
Vancouver, BC
V6B 3A7
Telephone: (604) 661-7906
fwakelin@cbvcollections.com
Confidentiality Warning:
This message and any attachments are intended only for the use of the
intended recipients (cisco-voip@puck.nether.net), are confidential, and
may be privileged. If you are not the intended recipient, you are hereby
notified that any review, retransmission, conversion to hard copy,
copying, circulation or other use of this message and any attachments is
strictly prohibited. If you are not the intended recipient, please
notify the sender (Cisco Subscriber
<mailto:subs-cisco@cbvcollections.com> ) immediately by return e-mail,
and delete this message and any attachments from your system. Thank you.
Information Confidentielle:
Le present message, ainsi que tout fichier qui y est joint, est envoye a
l'intention exclusive de son ou de ses destinataires
(cisco-voip@puck.nether.net); il est de nature confidentielle et peut
constituer une information privilegiee. Nous avertissons toute personne
autre que le destinataire prevu que tout examen, reacheminement,
impression, copie, distribution ou autre utilisation de ce message et de
tout fichier qui y est joint est strictement interdit. Si vous n'etes
pas le destinataire prevu, veuillez en aviser immediatement l'expediteur
(Cisco Subscriber <mailto:subs-cisco@cbvcollections.com> ) par retour de
courriel et supprimer ce message et tout document joint de votre
systeme. Merci
________________________________________
_______
cisco-voip mailing list
cisco-voip@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip
| |
| Wes Sisk 2006-01-31, 6:02 pm |
| let's try an english translation now that i'm awake -
posting XML to the phone to place a call works great. However, it does
not allow direct control of features such as hold, conference, etc. You
can pass softkey instructions, but it is based on index, not based on
softkey name.
perhaps the larger concern is this requires IP & TCP connectivity from
every client who wants to initiate a dialing sequence to the ipphone.
not bad if you host your dial application on a central server, but that
central server has to lookup (or prompt) for the ip address of every
phone to know where to POST the XML.
/Wes
Wes Sisk wrote:
> Note, this uses the IP Phone Service XML parsing and not the CTI
> interface. This interface requires the specific user information
> provided be a user that is either assoicated to the destination
> device in the global directory, or you must modify the authentication
> URL to perform your own desired authentication.
>
> /Wes
> On Jan 30, 2006, at 9:08 PM, Himes, Jay wrote:
>
> Yes.
>
> I have an example in coldfusion that can be used. Basically you post a
> set of form data to the phone using basic authentication. The code is
> posted below.
>
> Please be aware that newer versions of IE and firefox have purposely
> broken the basic authentication standard so that it cannot be used from
> those browsers in an (IMO) misguided attempt to increase browser
> security. This is why the post is handled by a coldfusion macro rather
> than a post directly to the phone.
>
> Basically the information from the form is concatenated into a url as
> follows:
> User:password@ipphoneipaddress/CGI/Execute
>
> Included is a form field named XML that contains the following:
> <CiscoIPPhoneExecute><ExecuteItem
> URL="Dial:THE_PHONE_NUMBER"/></CiscoIPPhoneExecute>
>
> ****************************************
********************************
> ***********
> <title>Dialer</title>
> <cfif not IsDefined("usr")>
> <cfset usr="">
> </cfif>
> <cfif not IsDefined("pw")>
> <cfset pw="">
> </cfif>
> <cfif not IsDefined("tocall")>
> <cfset tocall="">
> </cfif>
> <cfif not IsDefined("callfrom")>
> <cfset callfrom="">
> </cfif>
> <cfoutput>
>
> <cfif tocall is "" or pw is "" or usr is "" or callfrom is "">
> <form action="dialer.cfm" method="POST">
> Phone User Name: <input type="text" value="#usr#" name="usr"> <br>
> Phone Password: <input type="text" value="#pw#" name="pw"> <br>
> Phone Number to Call: <input type="text" value="#tocall#"
> name="tocall"> <br>
> Phone IP to Call from: <input type="text" value="#callfrom#"
> name="callfrom"> <br>
> <input type="submit" value="Call" name="Call">
> </form>
>
> <cfelse>
> <cfset CrLf = Chr(13) & Chr(10)>
> <cfset dialurl="http://" & #callfrom# & "/CGI/Execute">
> <cfset cmduri="<CiscoIPPhoneExecute>" & #CrLf# & "<ExecuteItem
> URL=""Dial:" & #tocall# & """/>" & #CrLf# & "</CiscoIPPhoneExecute>">
>
> <cfhttp url="#dialurl#" username="#usr#" password="#pw#"
> method="POST"
> throwOnError ="no">
> <CFHTTPPARAM name="XML" type="FORMFIELD" value="#cmduri#">
> </cfhttp>
>
> <cfset secerr=REFind("Status=""4""", cfhttp.fileContent)>
> <cfset success=REFind("Status=""0""", cfhttp.fileContent)>
> <cfif success gt 0>
> <br>#tocall# dialed successfully<br>
> </cfif>
> <cfif secerr gt 0>
> <br>Username or Password Invalid<br>
> </cfif>
> <textarea cols=70 rows=5>
> #trim(cfhttp.fileContent)#
> </textarea>
> </cfif>
> </cfoutput>
>
> ________________________________
>
> From: cisco-voip-bounces@puck.nether.net
> [mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Cisco
> Subscriber
> Sent: Monday, January 30, 2006 8:41 PM
> To: cisco-voip@puck.nether.net
> Subject: [cisco-voip] CiscoTSP
>
>
> Has anyone developed a quick little application that will dial a number
> on their phone? I've installed the CiscoTSP and tested the integration
> with outlook, and it works just fine. What I'd like to do is configure
> an old application to launch an external program/script and pass it a
> number to dial with a single keystroke.
>
> Can I write a quick little script that will use this and dial the users
> phone for them. Something like "dialipphone.vbs 6045551212" which will
> do the same thing as is done within the outlook extension (pick-up the
> line on their phone and dial the number).
>
> Is there some reference material available somewhere for doing this?
> ________________________________
>
> <http://www.cbvcollections.com/cbvImages/ecardlogo.jpg>
>
> Frank Wakelin
> Senior Network/Security Analyst
>
>
>
> 100 - 814 Richards St.
> Vancouver, BC
> V6B 3A7
>
>
>
> Telephone: (604) 661-7906
> fwakelin@cbvcollections.com
>
>
> Confidentiality Warning:
> This message and any attachments are intended only for the use of the
> intended recipients (cisco-voip@puck.nether.net), are confidential, and
> may be privileged. If you are not the intended recipient, you are hereby
> notified that any review, retransmission, conversion to hard copy,
> copying, circulation or other use of this message and any attachments is
> strictly prohibited. If you are not the intended recipient, please
> notify the sender (Cisco Subscriber
> <mailto:subs-cisco@cbvcollections.com> ) immediately by return e-mail,
> and delete this message and any attachments from your system. Thank you.
>
>
> Information Confidentielle:
> Le present message, ainsi que tout fichier qui y est joint, est envoye a
> l'intention exclusive de son ou de ses destinataires
> (cisco-voip@puck.nether.net); il est de nature confidentielle et peut
> constituer une information privilegiee. Nous avertissons toute personne
> autre que le destinataire prevu que tout examen, reacheminement,
> impression, copie, distribution ou autre utilisation de ce message et de
> tout fichier qui y est joint est strictement interdit. Si vous n'etes
> pas le destinataire prevu, veuillez en aviser immediatement l'expediteur
> (Cisco Subscriber <mailto:subs-cisco@cbvcollections.com> ) par retour de
> courriel et supprimer ce message et tout document joint de votre
> systeme. Merci
>
>
> ________________________________________
_______
> cisco-voip mailing list
> cisco-voip@puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
> ________________________________________
_______
> cisco-voip mailing list
> cisco-voip@puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
|
|
|
|
|