The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xAP Switchboard Beta 1 released






Stuart Booth wrote:
> On Tue, 01 Mar 2005 09:44:49 +0000, James <james@xxxxxxx> wrote:
>
>
>>Sending alerts, which are very customisable, to display devices on
>>incoming calls
>
>
> I'm guessing that this is controlled via the ToSend.txt file?
>
> What sort of fields and such are permissible in here?
>
There are many field and tweaks that can be done to messages through the
tosend.txt file. In beta1 you are limited to slimp3,display and tts
mesages but in the soon to be released beta 2 you can also enter raw xap
messages in there too. In any part of each message you can also include
*Value* items.  Each of these is replaced  by the live data of the call.
Below is the current info on the tosend file but note the raw bit is
only for beta2 as are lines including 'space' and 'comma'.

'This file is the sequence of xAP messages sent on an incoming call
'Each message is within <start>,<end> tags
'There are 3 Types : slimp3,tts and message.display
'The target line is optional
'Slimp3 uses L1 and L2 as the two lines of the display
'TTS uses L1 as the phrase to speak,L2 as the volume,L3 as the soundcard
and L4 as the voice (all optional bar L1)
'message.display uses L1 to L8 as the lines of the display
'In any part of any of these lines (L1 to L8) you can uses the following
adjusters to modify the line with the current call details
'*Name*  Name of caller
'*Number* Number of caller
'*NumberSpace* The same number as above but with a space between each
number (useful for tts)
'*NumberComma* The same number as above but with a comma between each
number (useful for tts)
'*Company* The company of the caller
'*STD* the results of the STD lookup from the number
'*NSTD* the results of the National STD lookup from the number
'*Location* The callers location from their address
'*LocationSTD* if available the location from the callers record is
used, if not the STD lookup is used insted
'*NameNumber* If a name is available then that is used, if not the
number is inserted
'*NameNumberSpace* If a name is available then that is used, if not the
number with spaces between each number is inserted
'*NameNumberComma* If a name is available then that is used, if not the
number with commas between each number is inserted
'*NameCompanyNumber* If a name is available then that is used, if not
then company is used, if that's blank then the number is inserted
'*NameCompanyNumberSpace* If a name is available then that is used, if
not then company is used, if that's blank then the number with spaces
between each number is inserted
'*NameCompanyNumberComma*  If a name is available then that is used, if
not then company is used, if that's blank then the number with commas
between each number is inserted
'*Direction*  either 'Incoming' or 'Outgoing'
'*LineDescription*  Is the description for the line as in the Line
config screen
'Sending raw xAP Messages.  Using this you can send any xAP message and
still can use all of the above *ITEMS* above. Example:
'<Start>
'Type=raw:xap.class
'<raw>
'Message
'{
'Message=*Name*
'}
'</raw>
'</end>

hth

James




xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.