Advertisement
Guest User

Untitled

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