[VoIP] ANI

Shane Young voiptandem at shaneyoung.com
Thu Jan 4 15:36:20 CST 2007


Ok, I give up. Here's how you do it your way.  :)

You need to download and compile "detect" here
http://www.phrack.org/archives/50/P50-13

This will decode the MF saved in a wav file.


Download this example wav file
http://www.shaneyoung.com/kp04886516st.wav

# ./detect kp04886516st.wav
  KP1+04886516+ST
Done.

Write an AGI that answers and records a file which captures the ANI.
Save the file.
Run the detect program and parse/save the data returned.

Now you have your ANI the way (I think) you wanted to do it with no  
Channel Bank and no T1 board.




Quoting Paul Wills <pdwills at verizon.net>:

> I still have to wonder if, for simplicity's sake, someone in   
> "Asterisk Land" knows how to call the tone detection routines as a   
> freestanding program.
>
> The AGI interface can call a program and, in the process, pass it   
> the channel being used and other information.  I already figured out  
>  how to use the returned info and set a variable when the program is  
>  called in the extensions.conf file.  I started looking at the AGI   
> function GET DATA which does about 90% of what's needed if only it   
> were possible to get it to work in MF mode.  Unfortunately, wherever  
>  the tone detection routines are called is too deep for me to find.
>
> One benefit of a "freestanding" program is that it should work   
> nicely with an ATA.
>
> PDW
>
>> From: Shane Young <voiptandem at shaneyoung.com>
>> Date: 2007/01/04 Thu PM 02:10:04 CST
>> To: voip at ckts.info
>> Subject: Re: [VoIP] ANI
>
>> Yes, but probably not because of me.
>>
>> It helps me understand what the need is to support ANI with other   
>> interfaces.
>>
>> Let's say (purely for the sake of argument) that Paul and Steph were
>> the only ones left in the world that wanted to do ANI and didn't have
>> channel banks and T1 cards.  If that were the case, I might spend more
>> energy on finding them T1 cards and channel banks rather than making
>> ANI work with other equipment.
>>
>>
>>
>>
>> Quoting John Novack <jnovack at stromberg-carlson.org>:
>>
>>> Now, can you reveal why you want this information?
>>> Should I lock and alarm the doors to my switchroom?
>>>
>>> Just curious
>>>
>>> John Novack
>>>
>>>
>>> Shane Young wrote:
>>>> Ok, the current list is:
>>>>
>>>> John Novack,
>>>> Steph Kerman,
>>>> Bob Riddell,
>>>> Phil McCarter,
>>>> Paul Wills
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> VoIP mailing list
>>>> VoIP at ckts.info
>>>> http://lists.ckts.info/mailman/listinfo/voip
>>>> Project Web Page: http://www.ckts.info/
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> VoIP mailing list
>>> VoIP at ckts.info
>>> http://lists.ckts.info/mailman/listinfo/voip
>>> Project Web Page: http://www.ckts.info/
>>>
>>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> VoIP mailing list
>> VoIP at ckts.info
>> http://lists.ckts.info/mailman/listinfo/voip
>> Project Web Page: http://www.ckts.info/
>
>
> _______________________________________________
> VoIP mailing list
> VoIP at ckts.info
> http://lists.ckts.info/mailman/listinfo/voip
> Project Web Page: http://www.ckts.info/
>
>







More information about the VoIP mailing list