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: CID Schema question


  • Subject: RE: CID Schema question
  • From: "Sullivan, Glenn" <gsullivan@xxxxxxxxxxxxxx>
  • Date: Sun, 12 Jun 2005 19:47:14 -0400

------_=_NextPart_001_01C56FA9.B8BD6A34
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

James,

Here is a sample message I am generating, if you want to run it through
switchboard and see how it reacts...

xap-header

{

v=12

hop=1

uid=FF045700

class=CID.Incoming

source=BushSoft.NetCallerID.jegserver2

}

CID.Incoming

{

type=Voice

formatted_date=Sunday, June 12, 2005

datetime=20050612112200

formatted_time=11:22:00 AM

name=SULLIVAN,GLENN

rnname=Available

phone=5085551212

rnnumber=Available

}



Thanks for the rest of the explanations...



Onced quick thing... switchboard correcdtly registers itself with Intranet,
but keeps its own icon in the systray as well.

And do either News 3 or switchboard run as services?



Thanks,



Glenn


________________________________

From: xAP_developer@xxxxxxx on behalf of James
Sent: Sun 6/12/2005 7:23 AM
To: xAP_developer@xxxxxxx
Subject: Re: [xAP_developer] CID Schema question


Sullivan, Glenn wrote:

> A question about the CID Schema, as posted here:
> http://www.xapautomation.org/modules.php?name=Sections&op=viewarticle&ar
> tid=9
>
> It seems that, in the generic CID.Incoming schema, "Name" is
> optional and "not currently supported so will mostly be
blank."
>
> What does your CID info look like over there?

It gets, sometimes, filled in as INTERNATIONAL, PAYPHONE, WITHHELD and
UNAVAILABLE but that's about all

>
> We, about 90% of the time, get both the calling number and some
> string assigned by the phone company... Usually whatever is listed
> in the phone book, to a limit.

>
> The other 10% of the time, we either get "Number Not
Available",
> "Unknown", or a number, and "Unknown name."
>
> I ask because my NetCallerID xAPplication uses this in the
> CID.Incoming messages it sends out, but if no one's apps are ever
> going to look at that, that doesn't make a whole lot of sense to
> send it.

It's optional in the schema because some telcos don't send it but if
available it should be sent as it's very useful info.

>
> For example, Switchboard, which is an awesome app, does not seem to
> even look at the name string. Probably because there isn't any
> reason to over there yet... I can add contacts for all of my
> incoming calls, and they show up fine, and I suppose that's how you
> guys make it work.
>
I'll have to check here, Switchboard should use the Name= field for
displaying in the log although it does use the phone number for
looking up the extra details. It should certainly be displaying the
Name= though.

> But I guess, ideally, and this is going to turn into a suggestion
> for an improvement to switchboard, I'd like to see that name if it
> exists and there isn't a contact already... I can change the Caller
> ID panel in Desktop to add another variable, grab the "name"
string
> from my xAP packet, and put it on a new line. All except for Panel
> 0's CID info, which doesn't seem to show in it's settings file.

Display00 just shows messages using the message.display schema.
Switchboard will send those messages on call events and this is what
desktop is picking up. On the tray icon of desktop, rigth click and
set priority to off.

>
> Sorry for the rambling long winded email... I've had a few, and I
> tend to program my best then... ;-)
>
> Oh, one more thing... James, can you document your CID.Lookup
> schema? I just want to know, if I plan on intercepting any of
> those messages, what I can expect...

Yep, I'll get that done. The only element that may be missing from a
lookup message is Pic= , all others will always be present even if
blank. Pic will give the url of an image associated with the caller.

James



________________________________


xAP_Development Main Index | xAP_Development Thread Index | xAP_Development 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.