| CallXML 2.0 Development Guide | Home | Frameset Home |
| from | Data Type: (email address) | Default: Required |
| The 'from' attribute allows the developer to specify a return address for emails sent through the 'sendemail' element. Any valid email address is allowed, provided that it is parseable. | ||
| subject | Data Type: (email subject) | Default: Optional |
| The 'subject' attribute allows the developer to specify a subject line that will be visible to the email recipient. | ||
| to | Data Type: (email address) | Default: Required |
| The 'to' attribute allows the developer to specify a return address for emails sent through the 'sendemail' element. Any valid email address is allowed, provided that it is parseable. | ||
| type | Data Type: (debug|none) | Default: Optional |
The 'type' attribute allows the developer to specify whether or not debugging output should be included in the message body of the email that is sent. Unless the setting of 'debug' is specified, the email will only contain the user data that is nested within the <sendemail> tags. | ||
| <?xml version="1.0" encoding="UTF-8" ?> <callxml version="2.0"> <block> <block> <playaudio value="Ingsoc.wav"> <wait value="30s"/> </playaudio> <onhangup> <sendemail from="GeorgeOrwell@MinistryOfInformation.com" to="WinstonSmith@Oceana.com"> Received call from a comrade at $session.callerid; </sendemail> <exit/> </onhangup> </block> </block> </callxml> |
| <?xml version="1.0" encoding="UTF-8" ?> <callxml version="2.0"> <block> <block> <playaudio value="Ingsoc.wav" text="hello there jerky"/> <!-- WILL THIS THROW AN ERROR? --> <!-- YOU TELL ME... --> <goto value="#BogusBlock"/> <onerror> <sendemail from="Orwell@MinistryOfInformation.com" to="WinstonSmith@oceana.com" type="debug"> Winston, we caught an error in our application. Details follow... </sendemail> </onerror> </block> </block> </callxml> |
| ----- Original Message ----- From: Orwell@MinistryOfInformation.com Sent: Wednesday, March 17, 2004 2:43 PM Subject: SendEmail from CallXML We caught an error in our application. Details follow... ================================================================= Session Details ================================================================= Date/Time : 19:43:57 17/03/2004 Application ID : 13565 Session ID : ef70d3bd2da0ee62c88a01bafbea8497-75563 Current URL : http://MyServer.com/MyApp.xml?session.ID=ef70d3bd2da0ee62c88a01bafbea8497-75563&session.callerid=1112223333&session.calledid=4445556666&callerID=4078350065&calledID=4445556666&session.accountid=000&session.applicationid=13565&session.outbounddialingflags=u&session.subaccountcode=&SubAccountCode= Calling Number (ANI) : 1112223333 Called Number (DNIS) : 4445556666 Gateway Version : 3.0.0.97 Last Error : invalid target for goto or next attribute ================================================================= CallXML Variables ================================================================= session.ID = ef70d3bd2da0ee62c88a01bafbea8497-75563 sessionVarLock = session.PrivateCallerID = false session.RedirectedCalledID = session.callerid = 1112223333 session.calledid = 4445556666 callerID = 1112223333 calledID = 4445556666 session.accountid = 000 session.applicationid = 13565 session.ttsdisplayname = English-Male1 session.outbounddialingflags = u session.subaccountcode = SubAccountCode = session.LastError = invalid target for goto or next attribute ================================================================= Current Document ================================================================= <?xml version="1.0" encoding="UTF-8" ?> <callxml version="2.0"> <block> <block> <playaudio value="Ingsoc.wav" text="hello there jerky"/> <goto value="#BogusBlock"/> <onerror> <sendemail from="Orwell@MinistryOfInformation.com to="WinstonSmith@oceana.com" type="debug"> We caught an error in our application. Details follow... </sendemail> </onerror> </block> </block> </callxml> -- |
| ANNOTATIONS: EXISTING POSTS |
| login |