[asterisk-users] asterisk google contacts

2015-06-11 Thread tux john
Hello everyone. i am running an asterisk server and i would like to have the contacts from google.

so every inbound call with fetch the caller ID from google contacts and present it to my screen.

could someone help me on that please?

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] asterisk google contacts

2015-06-11 Thread A J Stiles
On Thursday 11 Jun 2015, tux john wrote:
 Hello everyone. i am running an asterisk server and i would like to have
 the contacts from google. so every inbound call with fetch the caller ID
 from google contacts and present it to my screen.

This is really three problems, as follows:

(1)  Accessing the Google Contacts API to retrieve someone's details based on 
their phone number.
(2)  Passing the incoming caller's number to an AGI script.
(3)  Displaying the details retrieved from Google on your screen.


Presuming you already know how to write a program to look up a Google 
contact's details from their phone number, you just need to turn that into an 
AGI script.  Then, in your dialplan, pass the incoming number to that script.

If you want Asterisk itself to have anything to do with the Google data, you 
will have to return them by setting channel variables within the script.  Or 
if you are going to use some external means to pass the data to the user, then 
you can have your script fork itself, detach and return straight away.


-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] asterisk google contacts

2015-06-11 Thread Michelle Dupuis
Take a look at the smartCID script available from 
www.telium.cahttp://www.telium.ca/?


It does a web based CID lookup on incoming calls, you can at least use that as 
a starting point for development...




From: asterisk-users-boun...@lists.digium.com 
asterisk-users-boun...@lists.digium.com on behalf of tux john a...@null.net
Sent: Thursday, June 11, 2015 9:32 AM
To: Asterisk Users List
Cc: Asterisk Users List
Subject: Re: [asterisk-users] asterisk  google contacts

I am afraid i do not know how to write that.

Sent: Thursday, June 11, 2015 at 2:05 PM
From: A J Stiles asterisk_l...@earthshod.co.uk
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] asterisk  google contacts
On Thursday 11 Jun 2015, tux john wrote:
 Hello everyone. i am running an asterisk server and i would like to have
 the contacts from google. so every inbound call with fetch the caller ID
 from google contacts and present it to my screen.

This is really three problems, as follows:

(1) Accessing the Google Contacts API to retrieve someone's details based on
their phone number.
(2) Passing the incoming caller's number to an AGI script.
(3) Displaying the details retrieved from Google on your screen.


Presuming you already know how to write a program to look up a Google
contact's details from their phone number, you just need to turn that into an
AGI script. Then, in your dialplan, pass the incoming number to that script.

If you want Asterisk itself to have anything to do with the Google data, you
will have to return them by setting channel variables within the script. Or
if you are going to use some external means to pass the data to the user, then
you can have your script fork itself, detach and return straight away.


--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_
-- Bandwidth and Colocation Provided by 
http://www.api-digital.comhttp://www.api-digital.com/ --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] asterisk google contacts

2015-06-11 Thread tux john
I am afraid i do not know how to write that.


Sent:Thursday, June 11, 2015 at 2:05 PM
From:A J Stiles asterisk_l...@earthshod.co.uk
To:Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com
Subject:Re: [asterisk-users] asterisk  google contacts

On Thursday 11 Jun 2015, tux john wrote:
 Hello everyone. i am running an asterisk server and i would like to have
 the contacts from google. so every inbound call with fetch the caller ID
 from google contacts and present it to my screen.

This is really three problems, as follows:

(1) Accessing the Google Contacts API to retrieve someones details based on
their phone number.
(2) Passing the incoming callers number to an AGI script.
(3) Displaying the details retrieved from Google on your screen.


Presuming you already know how to write a program to look up a Google
contacts details from their phone number, you just need to turn that into an
AGI script. Then, in your dialplan, pass the incoming number to that script.

If you want Asterisk itself to have anything to do with the Google data, you
will have to return them by setting channel variables within the script. Or
if you are going to use some external means to pass the data to the user, then
you can have your script fork itself, detach and return straight away.


--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] asterisk google contacts

2015-06-11 Thread Mitul Limbani
In that case you would have to take some professional help.

Mitul

On Thursday, June 11, 2015, tux john a...@null.net wrote:

 I am afraid i do not know how to write that.




 *Sent:* Thursday, June 11, 2015 at 2:05 PM
 *From:* A J Stiles asterisk_l...@earthshod.co.uk
 javascript:_e(%7B%7D,'cvml','asterisk_l...@earthshod.co.uk');
 *To:* Asterisk Users Mailing List - Non-Commercial Discussion 
 asterisk-users@lists.digium.com
 javascript:_e(%7B%7D,'cvml','asterisk-users@lists.digium.com');
 *Subject:* Re: [asterisk-users] asterisk  google contacts
 On Thursday 11 Jun 2015, tux john wrote:
  Hello everyone. i am running an asterisk server and i would like to have
  the contacts from google. so every inbound call with fetch the caller ID
  from google contacts and present it to my screen.

 This is really three problems, as follows:

 (1) Accessing the Google Contacts API to retrieve someone's details based
 on
 their phone number.
 (2) Passing the incoming caller's number to an AGI script.
 (3) Displaying the details retrieved from Google on your screen.


 Presuming you already know how to write a program to look up a Google
 contact's details from their phone number, you just need to turn that into
 an
 AGI script. Then, in your dialplan, pass the incoming number to that
 script.

 If you want Asterisk itself to have anything to do with the Google data,
 you
 will have to return them by setting channel variables within the script. Or
 if you are going to use some external means to pass the data to the user,
 then
 you can have your script fork itself, detach and return straight away.


 --
 AJS

 Note: Originating address only accepts e-mail from list! If replying off-
 list, change address to asterisk1list at earthshod dot co dot uk .

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
 http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
Regards,
Mitul Limbani,
Business Head,
Enterux Solutions Pvt. Ltd.
110 Reena Complex, Opp. Nathani Steel,
Vidyavihar (W), Mumbai - 400 086. India
http://www.enterux.com/
http://www.entvoice.com/
email: mi...@enterux.in
DID: +91-22-71967196
Cell: +91-9820332422
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users