[Asterisk-Users] Tracking pressed keys

Carl F. Hall chall at enviant.com
Wed Oct 6 13:17:21 MST 2004


I'll try to explain my case in greater detail so we're both on the same page.

I have 250 numbers pointed to my system.  Nevermind capacity, etc.  The
user will call the system on any of these numbers and enter an extension
while hearing a message.  The user hangs up thereafter.  I need to track
the number called to reach the system and the extension dialed by the user
while on the call.  I'm getting the dest. num from the CDR addon but I
can't get the keys pressed while the user was on the call.

I take the combination of number called to reach the system and number(s)
dialed while on the call to look up something and perform more processing.

I'd like to integrate this into the CDR addon but I'm not sure how to
catch the numbers pressed by the user while on the call.  Is there a
variable I can access that would have that info stored?

My exten for this is exten => _XXXXXXX so I can't catch it by dialed
extension and the extension dialed by the user can be anything.

Any suggestions?



> On Wednesday 06 October 2004 15:31, Carl F. Hall wrote:
>> My specific case is someone calls into my system and enters an extension
>> then hangs up.  The entered extension needs to be logged somewhere so
>> that
>> another system can retrieve the dialed extensions and perform options
>> based on the extensions.  There are too many possible extensions for me
>> to
>> handle it case by case with menu logic.
>
> ... what's wrong with
>
> exten -> 252,1,System(/path/to/dosomething)
>
> or
>
> exten -> 252,1,AGI(something)
>
> or
>
> exten -> 252,1,DBPut(something)
>
> ??
>
> I don't think I understand what you're driving at.
>
> -A.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list