In that case you would have to take some professional help.<div><br></div><div>Mitul<br><br>On Thursday, June 11, 2015, tux john <<a href="mailto:atux@null.net">atux@null.net</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>I am afraid i do not know how to write that.
<div> </div><div><br></div><div><br> 
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Sent:</b> Thursday, June 11, 2015 at 2:05 PM<br>
<b>From:</b> "A J Stiles" <<a href="javascript:_e(%7B%7D,'cvml','asterisk_list@earthshod.co.uk');" target="_blank">asterisk_list@earthshod.co.uk</a>><br>
<b>To:</b> "Asterisk Users Mailing List - Non-Commercial Discussion" <<a href="javascript:_e(%7B%7D,'cvml','asterisk-users@lists.digium.com');" target="_blank">asterisk-users@lists.digium.com</a>><br>
<b>Subject:</b> Re: [asterisk-users] asterisk & google contacts</div>

<div name="quoted-content">On Thursday 11 Jun 2015, tux john wrote:<br>
> Hello everyone. i am running an asterisk server and i would like to have<br>
> the contacts from google. so every inbound call with fetch the caller ID<br>
> from google contacts and present it to my screen.<br>
<br>
This is really three problems, as follows:<br>
<br>
(1) Accessing the Google Contacts API to retrieve someone's details based on<br>
their phone number.<br>
(2) Passing the incoming caller's number to an AGI script.<br>
(3) Displaying the details retrieved from Google on your screen.<br>
<br>
<br>
Presuming you already know how to write a program to look up a Google<br>
contact's details from their phone number, you just need to turn that into an<br>
AGI script. Then, in your dialplan, pass the incoming number to that script.<br>
<br>
If you want Asterisk itself to have anything to do with the Google data, you<br>
will have to return them by setting channel variables within the script. Or<br>
if you are going to use some external means to pass the data to the user, then<br>
you can have your script fork itself, detach and return straight away.<br>
<br>
<br>
--<br>
AJS<br>
<br>
Note: Originating address only accepts e-mail from list! If replying off-<br>
list, change address to asterisk1list at earthshod dot co dot uk .<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div>
</div>
</div>
</div></div></div>

</blockquote></div><br><br>-- <br><div dir="ltr">Regards,<br>Mitul Limbani,<br>Business Head,<br>Enterux Solutions Pvt. Ltd.<br>110 Reena Complex, Opp. Nathani Steel, <br>Vidyavihar (W), Mumbai - 400 086. India<br><a href="http://www.enterux.com/" target="_blank">http://www.enterux.com/</a><br><a href="http://www.entvoice.com/" target="_blank">http://www.entvoice.com/</a><br>email: <a href="mailto:mitul@enterux.in" target="_blank">mitul@enterux.in</a><br>DID: +91-22-71967196<br>Cell: +91-9820332422<br><br></div><br>