search for: newchannelid

Displaying 3 results from an estimated 3 matches for "newchannelid".

Did you mean: newchannel
2020 Aug 10
2
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
...and "-H" Option as well as the "variables" section within the Body. I added the callerid function here as well as it is the sample in the asterisk wiki. curl -v -H "Content-Type: application/json" -u asterisk:asterisk -X POST " http://localhost:8088/ari/channels/newChannelId" <http://localhost:8088/ari/channels/1400609726.3/play?media=sound:hello-world> --data '{ "endpoint": "SIP/Alice", "variables": { "CALLERID(name)": "Alice" , "PJSIP_HEADER(add,P-Asserted-Identity":"foobar"} }'...
2020 Aug 10
0
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
Hi Dan, i did it wrong, sorry: curl -v -H "Content-Type: application/json" -u asterisk:asterisk -X POST " http://localhost:8088/ari/channels/newChannelId" <http://localhost:8088/ari/channels/1400609726.3/play?media=sound:hello-world> --data '{ "endpoint": "SIP/Alice", "variables": { "CALLERID(name)": "Alice" , "PJSIP_HEADER(add,P-Asserted-Identity)":"foobar"} }'...
2020 Aug 07
3
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
Hi Dan, as far as PPI and PAI Header, we use the channel Vars in order to do that. In Latest Asterisk you can set Channel vars within the create command in the Body. Just set the PJSIP(add,PAI) as you would do it in Dialplan. https://blogs.asterisk.org/2020/07/22/ari-create-channel-with-variables/ BR Jöran On Fri, Aug 7, 2020 at 7:06 PM Dan Cropp <dan at amtelco.com> wrote: > An