i solved problem of missing incoming channel using local channel
curl -X POST
"http://my_pbx:8088/ari/channels?endpoint=Local%2F300%40originate&extension=555666777&context=originate&priority=1&callerId=777777777&timeout=30&api_key=apikey"
(%2F is /, %40 is @)
extensions.conf
[originate]
exten => 300,1,noop(originate)
same => n,answer
same => n,MusicOnHold(10)
exten => _X.,1,noop(stasis)
same => n,Stasis(originate-example)
same => n,Hangup()
my actual problem is, howto call specific number in stasis application?
e.g. 12345678
var ENDPOINT ='PJSIP/my_sip_trunk';
return outgoing.originate({
endpoint:ENDPOINT,
app:'originate-example',
appArgs:'dialed',
callerId:'777777777' });
can i specify it in endpoint somehow?
Dne 30/06/2017 v 10:45 marek cervenka napsal(a):> my use case is for performace testing
>
>
> scenario
>
> asterisk14 - sip - tested asterisk - sip - clients (asterisk 14)
>
>
> i have working ari push configuration
>
>
> now i want create a call where call leg A will be some media file.
> call leg B will be channel to tested asterisk
>
> i dont have an incoming call e.g. for this example
>
https://github.com/asterisk/node-ari-client/blob/master/examples/promises/originate.js
>
>
>
>
> Dne 29/06/2017 v 13:38 marek cervenka napsal(a):
>> hi,
>>
>> do you have someone example of
>>
>>
http://blogs.asterisk.org/2016/08/24/asterisk-14-ari-create-bridge-dial/
>>
>> in node.js asterisk-ari ?
>>
>> thanks
>>
>> Marek
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20170704/c790b4e8/attachment.html>