Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MIME-Version: 1.0
- Sender: panychy@gmail.com
- Received: by 10.229.222.1 with HTTP; Fri, 20 May 2011 04:38:50 -0700 (PDT)
- Date: Fri, 20 May 2011 14:38:50 +0300
- Delivered-To: panychy@gmail.com
- X-Google-Sender-Auth: <....>
- Message-ID: <...@mail.gmail.com>
- Subject: [asterisk-dev] Help to catch media immediately after channel being answered
- From: Yaroslav Panych <panych.y@gmail.com>
- To: Asterisk Developers Mailing List <asterisk-dev@lists.digium.com>
- Hello to all
- Working with asterisk for couple of month, and got such task: I need
- to catch audio data(a couple of seconds)(and probably send some signal
- too, but it is optionally), which asterisk will receive after channel
- being answered(inbound call). I did not found any hook-system in
- source where I can register my code for such event. For now I wrote
- dialplan application which do my task and called right after ANSWER
- application, but the problem is channel can be answered by other
- applications and I will miss data I interested in. Now I trying to
- analyse __ast_answer function in channel.c, but I'm not sure it is
- right place. Probably there are other suitable places which I did not
- discovered yet?
- Regards, FeyFre
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement