<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">what does the invite packet look like, there are a few different settings for caller id in sip that tell it to look in various places.&nbsp;<div><br></div><div><a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#CallerID_Related_options">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#CallerID_Related_options</a></div><div><br></div><div>Mike</div><div><br><div><div>On Jan 29, 2012, at 1:43 PM, John Macleod wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I have a toll-free number coming into FreeSwitch via SIP.<br><br>In the log, I see the ANI of the caller (I have sanitised this to protect the innocent):<br><br>2012-01-29 10:23:04.968117 [INFO] mod_dialplan_xml.c:481 Processing unknown &lt;0000000000&gt;-&gt;18001231234 in context public<br>2012-01-29 10:23:04.968117 [INFO] switch_core_session.c:1332 sofia/external/614xxxxxxx@x.x.x.x setting session heartbeat to 60 second(s).<br>2012-01-29 10:23:05.008105 [INFO] switch_core_session.c:2135 Sending early media<br>2012-01-29 10:23:05.008105 [NOTICE] mod_sofia.c:2576 Pre-Answer sofia/external/614xxxxxxx@x.x.x.x!<br>2012-01-29 10:23:07.328098 [NOTICE] mod_dptools.c:1135 Channel [sofia/external/614xxxxxxx@x.x.x.x] has been answered<br>2012-01-29 10:23:12.108110 [NOTICE] mod_dptools.c:1121 Hangup sofia/external/614xxxxxxx@x.x.x.x [CS_RESET] [NORMAL_CLEARING]<br>2012-01-29 10:23:12.108110 [NOTICE] switch_core_session.c:1398 Session 7 (sofia/external/614xxxxxxx@x.x.x.x) Ended<br>2012-01-29 10:23:12.108110 [NOTICE] switch_core_session.c:1400 Close Channel sofia/external/614xxxxxxx@x.x.x.x [CS_DESTROY]<br><br>This is just a Plivo app that plays a greeting and disconnects.<br><br>However, in the CDRs, I do not get the ANI, I get 0000000000 and the DNIS, I would like the ANI and DNIS.<br><br>"unknown","0000000000","18001231234","public","2012-01-29 10:23:04","2012-01-29 10:23:07","2012-01-29 10:23:12","8","5","NORMAL_CLEARING","49209654-4aa6-11e1-ac59-9949a61da724","","","PCMU","PCMU"<br><br>Is there a parameter I am missing to pass this variable from sofia?<br></div></blockquote></div><br></div></body></html>