[Freeswitch-dev] reliable way to get caller id

Michael Collins msc at freeswitch.org
Fri Sep 9 03:11:15 MSD 2011

It probably is being set as a particular variable. Send your incoming calls
to the info app and make a few test calls. Watch the console - it will dump
all the chan vars. If the number is coming from the carrier then it should
be in one of the chan vars listed in the info dump.


On Tue, Aug 23, 2011 at 1:54 PM, adam harris <admharris at gmx.com> wrote:

> I am trying to retrieve the caller id of incoming calls and finding when I
> get variable Channel-Caller-ID-Number it is not the actual number of the
> phone that has made the call, my provider seems to be setting it another
> number.
> I am seeing the correct phome number is in the info log example below.
> 2011-08-23 20:40:34.832360 [INFO] mod_dialplan_xml.c:331 Processing
> 44203xxxxx->44800xxxx
> In this case is '44203xxxxx' as displayed in the info log set as channel
> variable?
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110908/06cb8c63/attachment.html 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list