John:

The caller ID is presented 'as displayed' so it is dependant on the telco
provider in many cases.

There is an SS7 standard using the first rose component that will determine
the format.  You can find that info relatively anywhere.  Unfortunately,
there are many groups that don't follow the standard.

------------------------------------
VoIPX
Frank Perk
[EMAIL PROTECTED]
2810 Sweet Home Road
Amherst, NY 14228
tel: 716 929 VoIP (8647) x101
fax: 716 929 8648
mobile: 716 430 6996
www.VoIPX.us
------------------------------------

-----Original Message-----
From: John Van Ostrand [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 2:42 PM
To: [email protected]
Subject: [on-asterisk] Caller ID Formats

I'm working on a Windows based screen pop utility and I need to know how
consistent the caller ID is provided by the Asterisk manager interface.

We need to be able to parse the caller ID and pass a "clean" form of it
to an application, i.e. 10 digits without punctuation. To do that we
need to know how varied the format is and what we can expect it to be.

On our asterisk system we see caller ID like "Caller Name" <5198831172>.

So here is what I'm wondering:

1. Does asterisk provide any formatting? Can we expect that we will
always see the name in quotes and the phone number enclosed in "< >"?

2. Is the number always 10 digits? Can it be 11, or 7? (assuming that
it's not an extension.)

Thanks,
-- 
John Van Ostrand
         Net Direct Inc.
 
Director of Technology
564 Weber St. N. Unit 12
   Waterloo, ON N2L 5C6 
 map 
[EMAIL PROTECTED]
        Ph: 519-883-1172
 ext.5102
Linux Solutions / IBM
Hardware
        Fx: 519-883-8533
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to