[Freeswitch-users] Inbound ANI

Michael Jerris mike at jerris.com
Tue Jan 31 01:21:57 MSK 2012


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. 

http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#CallerID_Related_options

Mike

On Jan 29, 2012, at 1:43 PM, John Macleod wrote:

> I have a toll-free number coming into FreeSwitch via SIP.
> 
> In the log, I see the ANI of the caller (I have sanitised this to protect the innocent):
> 
> 2012-01-29 10:23:04.968117 [INFO] mod_dialplan_xml.c:481 Processing unknown <0000000000>->18001231234 in context public
> 2012-01-29 10:23:04.968117 [INFO] switch_core_session.c:1332 sofia/external/614xxxxxxx at x.x.x.x setting session heartbeat to 60 second(s).
> 2012-01-29 10:23:05.008105 [INFO] switch_core_session.c:2135 Sending early media
> 2012-01-29 10:23:05.008105 [NOTICE] mod_sofia.c:2576 Pre-Answer sofia/external/614xxxxxxx at x.x.x.x!
> 2012-01-29 10:23:07.328098 [NOTICE] mod_dptools.c:1135 Channel [sofia/external/614xxxxxxx at x.x.x.x] has been answered
> 2012-01-29 10:23:12.108110 [NOTICE] mod_dptools.c:1121 Hangup sofia/external/614xxxxxxx at x.x.x.x [CS_RESET] [NORMAL_CLEARING]
> 2012-01-29 10:23:12.108110 [NOTICE] switch_core_session.c:1398 Session 7 (sofia/external/614xxxxxxx at x.x.x.x) Ended
> 2012-01-29 10:23:12.108110 [NOTICE] switch_core_session.c:1400 Close Channel sofia/external/614xxxxxxx at x.x.x.x [CS_DESTROY]
> 
> This is just a Plivo app that plays a greeting and disconnects.
> 
> However, in the CDRs, I do not get the ANI, I get 0000000000 and the DNIS, I would like the ANI and DNIS.
> 
> "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"
> 
> Is there a parameter I am missing to pass this variable from sofia?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120130/12591f0a/attachment.html 


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