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



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to