Re: [asterisk-users] asterisk ari dialer

2017-07-04 Thread marek cervenka

i solved problem of missing incoming channel using local channel

curl -X POST 
"http://my_pbx:8088/ari/channels?endpoint=Local%2F300%40originate=555666777=originate=1=7=30_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:'7' });


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

Re: [asterisk-users] asterisk ari dialer

2017-06-30 Thread marek cervenka

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


[asterisk-users] asterisk ari dialer

2017-06-29 Thread marek cervenka

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