简体   繁体   English

通过任何Asterisk API进行RTP流量访问

[英]RTP Traffic access via any Asterisk API

I am new to VOIP - please excuse. 我是VOIP的新手,请原谅。 I am trying to get access to both the actual VOIP SIP header AND RTP traffic using the "asterisk-java" library. 我正在尝试使用“ asterisk-java”库访问实际的VOIP SIP标头和RTP通信。 I can get access to the SIP header via the FAST AGI, so that is OK and great. 我可以通过FAST AGI访问SIP标头,所以还可以。 Now I want to get access to the RTP traffic once an incoming call has been successfully established, to add additional custom header fields, before passing on in relatively real-time. 现在,我想在成功建立传入呼叫后就可以访问RTP通信,以添加其他自定义标头字段,然后再进行相对实时的传递。 Question is .... Is this possible using the Asterisk-Java library? 问题是....使用Asterisk-Java库是否可能? - or do I need to delve into the PJSIP library? -还是我需要深入研究PJSIP库? Please help... Please be gentle.. :-) 请帮助...请保持温柔.. :-)

Asterisk from source code on linux - could not completely successfully build AND execute without various errors. Linux上的源代码中的星号-无法完全成功地构建和执行而没有各种错误。 FreePBX - works OK with asterisk-java library ... Only got as far as using FAST AGI to get SIP header info. FreePBX-可以与asterisk-java库一起使用...仅使用FAST AGI来获取SIP标头信息。

I am after the actual RTP traffic to add additional info. 我在实际RTP流量之后添加其他信息。

There are no easy access to sound stream from AGI 从AGI无法轻松访问声音流

You can use UniRTP and conference. 您可以使用UniRTP和会议。 Or chan_alsa(sound card), JACK interface etc. 或chan_alsa(声卡),JACK接口等。

If you want rtp packets(not sound), then you have use libcapture(external) or packet mirroring(see HOMER software) 如果您想要rtp数据包(不发声),则可以使用libcapture(外部)或数据包镜像(请参阅HOMER软件)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM