Displaying 6 results from an estimated 6 matches for "1&formats".
2020 Aug 07
2
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
...all hiccup when I try to create (originate a call) with the caller id name and number
I can pass the Name and Number if the name has no spaces in it and it shows up in my PhonerLite application.
curl -v -u asterisk:asterisk -X POST http://asterisk:astersk at localhost:8088/ari/channels/mycallerid.1?endpoint=PJSIP/1003 at 1003&app=hello-world&extension=1000&context=mycontext&priority=1&channelId=mycallerid.1&formats=ulaw&timeout=30&callerId=Dan<291>
However, when the caller id name has a space in it, I can't figure out how to pass the name and number...
2020 Aug 07
3
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
...additional follow-up question, if I need to set the P-Asserted-Identity
> on the create (originate), is there a way to do this with ARI?
>
>
>
> *From:* asterisk-users <asterisk-users-bounces at lists.digium.com> *On
> Behalf Of *Dan Cropp
> *Sent:* Friday, August 7, 2020 11:51 AM
> *To:* 'asterisk-users at lists.digium.com' <asterisk-users at lists.digium.com>
> *Subject:* [asterisk-users] With ARI, is it possible to create
> (originate) a call and pass both the caller id name and number?
>
>
>
> I’m trying to transition from AMI to...
2020 Aug 07
0
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
An additional follow-up question, if I need to set the P-Asserted-Identity on the create (originate), is there a way to do this with ARI?
From: asterisk-users <asterisk-users-bounces at lists.digium.com> On Behalf Of Dan Cropp
Sent: Friday, August 7, 2020 11:51 AM
To: 'asterisk-users at lists.digium.com' <asterisk-users at lists.digium.com>
Subject: [asterisk-users] With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
I'm trying to transition from AMI to ARI.
Running into a small hiccup...
2020 Aug 10
0
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
Hi Jöran,
Would it be possible to see an example using curl of how you are passing the PAI Header through ARI create?
Dan
From: asterisk-users <asterisk-users-bounces at lists.digium.com> On Behalf Of Jöran Vinzens
Sent: Friday, August 7, 2020 12:10 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Subject: Re: [asterisk-users] 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 V...
2020 Aug 10
2
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
...quot;
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"} }'
BR
Jöran
On Mon, Aug 10, 2020 at 3:43 PM Da...
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"} }'
there was a bracket missing after the functi...