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.
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org