Good luck with Asterisk version higher than 13. Check out issues that I have created a long time ago: https://issues.asterisk.org/jira/browse/ASTERISK-26868 ARI: Asterisk crash - frame copy into invalid memory during bridging operations (Asterisk 13 and 14) - I was able to make workaround for non-early bridging, check last post https://issues.asterisk.org/jira/browse/ASTERISK-26718 ARI: Bridge destroying doesn't work as expected (Asterisk 14) - not a big problem but still :( https://issues.asterisk.org/jira/browse/ASTERISK-27067 ARI: Memory leak in Asterisk 14 - huge problem I'm using Asterisk 13 instead. Early bridging is great and I wanted to use it, but Asterisk was crashing was too often, every few thousands calls. Best regards, Marin > -----Original Message----- > From: asterisk-app-dev-bounces@xxxxxxxxxxxxxxxx [mailto:asterisk-app-dev- > bounces@xxxxxxxxxxxxxxxx] On Behalf Of Richard Frith-Macdonald > Sent: Friday, September 15, 2017 2:10 PM > To: Asterisk Application Development discussion > Subject: Re: Using ARI to set callerid for an outdial using > pjsip? > > > > On 15 Sep 2017, at 12:19, Phil Mickelson <phil@xxxxxxxxxxxxxxx> wrote: > > > > If you look at the Channel option > (https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+Channels+REST+API > #Asterisk15ChannelsRESTAPI-create) you see the originateWithId POST > option. I believe that's what you want. And then you specify the caller id > you want to use in the callerId query parameter. It works like a champ. I can > change this easily for what ever customer I'm making the call for. > > > > Hope this helps. If not, let me know and I'll try again. > > Thanks. I'm using Asterisk 14.6 rather than 15 at the moment, but I don't > think there should be a difference (I guess I need to carefully read the new > features in 15 though), > > I'm trying to use the /channels/create command rather than the /channels > command, because I want to be able to bridge the call before the dial-out. > > I'll try using /channels instead (if it works it would at least prove that the > problem is not in the endpoint configuration), but in the long run I thing I > need to be able to do the job using /channels/create > _______________________________________________ > asterisk-app-dev mailing list > asterisk-app-dev@xxxxxxxxxxxxxxxx > http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev _______________________________________________ asterisk-app-dev mailing list asterisk-app-dev@xxxxxxxxxxxxxxxx http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev