ARI trunks


(Vladimir599) #1

Good day. I just can’t set up a call through ari CODE: SELECT ALL

curl -X POST “http: // asterisk: 8088 / ari / channels? endpoint = sip / trunk / external number & extension = internal number & context = from-internal & timeout = 30 & api_key = xxxxx”

this scheme works, first there is a call to the mobile phone, then to the internal one, how to deploy it and at the same time specify the trunk CODE: SELECT ALL

curl -X POST “http: // asterisk: 8088 / ari / channels? endpoint = sip / internal & extension = external & context & context = from-internal & timeout = 30 & api_key = xxxxxxxx”

this entry is also working but does not indicate the trunk


(Itzik) #2

The documentation states that it requires an endpoint, so I don’t know if you can use local/number@from-internal

With AMI you sure can.