I am trying to integrate webrtc->kamailio->asterisk to call from web browser.
Run Code Online (Sandbox Code Playgroud)
我使用caruizdiaz和chrome浏览器的kamailio配置文件,sipml5和asterisk作为媒体服务器.直到现在我已经实现了通过从浏览器sip中继调用pstn号码,但没有音频,并且在日志rtpengine中显示以下错误消息."需要SRTP输出,但没有谈判加密套件"
我认为这是错误,其中kamailio无法建立DTLS协商并且音频数据包被丢弃.
我的问题是如何使DTLS协商成功,无论是chrome侧还是星号错误?因为我使用RTP/AVP配置文件将媒体数据包发送到星号.
我在这里包含了我的日志kamailio-webrtc-log
提前致谢.
我想在 API 中传递 account_id,如下所示https://exampleapi.com/dev?account_id=12345
这是创建 aws api 网关的 terraform 片段:
resource "aws_api_gateway_method" "example_api_method" {
rest_api_id = "${aws_api_gateway_rest_api.example_api.id}"
resource_id = "${aws_api_gateway_resource.example_api_resource.id}"
http_method = "GET"
authorization = "NONE"
}
resource "aws_api_gateway_integration" "example_api_method-integration" {
rest_api_id = "${aws_api_gateway_rest_api.example_api.id}"
resource_id = "${aws_api_gateway_resource.example_api_resource.id}"
http_method = "${aws_api_gateway_method.example_api_method.http_method}"
type = "AWS"
uri = "arn:aws:apigateway:${var.aws_region}:lambda:path/functions/${var.lambda_arn}/invocations"
integration_http_method = "GET"
}
Run Code Online (Sandbox Code Playgroud)
提前致谢。
我需要一种方法来在使用Asterisk调用文件发起呼叫时添加SIP头.
有没有办法在调用文件中添加SIP头?
我知道我可以使用Asterisk AGI完成此任务,但我无法找到任何使用调用文件添加SIP头的解决方案.