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: axc > xapSwitchBoard>mce enhancement



If you're feeling brave...

http://www.mi4.biz/files/testing/xapswitchboard20060709.zip

Now for each line status change and for each line a different event file
is run. The event files are auto created, if missing, so by picking up a
line and putting it back you should start seeing them.
Assuming the line's xAP address is a.b.c:line1  if I pickup a phone on
that line to make a call to following events are run

line_outgoing.txt
line_outgoing_a.b.c_line1.txt

then when the handset is replaced

line_free.txt
line_free_a.b.c_line1.txt

each of these file can send any number of any type of xAP message. The
format is line_ then _ then the status then _ and then the xAP address.

So if you add to the line_outgoing_a.b.c_line1.txt
(schema is made up but should get the idea!)
<start>
Type=raw:mcxap.control
Target=my.mce.server
<raw>
Control
{
command=mute
}
</raw>
<end>

and the add to line_free_a.b.c_line1.txt
<start>
Type=raw:mcxap.control
Target=my.mce.server
<raw>
Control
{
command=unmute
}
</raw>
<end>

hope that makes sense..

btw. I'm quite liking the flexibility added here and I will extend it to
calls and im as well as lines. This means you'll be able to trigger xAP
messages by certain incoming calls, flash a light when someone come
online, mute a tv when a call comes in... the list could go on ;-)

James


darrenp_lock wrote:
> Not one but three requests for enhancement in one!
>
> I am currently using axc to generate CID.Meteor messages which
> xAPSwitchboard picks up performs CLID lookup and generates
> message.display. I am running MCExAP on my Mdeia Centre which
> results in the incoming call details being displayed on my Plasma.
>
> The enhancement I would really like is for axc to produce on-
> hook/off-hook events for a monitored extension and for
> xAPSwitchbaord dependent on the settings on a per contact basis to
> send something in an enhanced message.display to indicate Pause or
> Mute. Then for MCExAP to Pause and/or Mute the current activity in
> Media Centre on receipt.
>
> Ideally, what I want to achieve is that when making an outbound call
> from my Lounge or answering an inbound call from certain CLIDs is
> for MCE to Pause/Mute.
>
> Just thought I'd ask now as were are getting closer to Xmas!
>
> Rgds, Darren.
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>





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.