Discussion:
[asterisk-users] asterisk ari dialer
marek cervenka
2017-06-29 11:38:47 UTC
Permalink
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
marek cervenka
2017-06-30 08:45:15 UTC
Permalink
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
Post by 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
marek cervenka
2017-07-04 08:39:23 UTC
Permalink
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?
Post by 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
Post by 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
Continue reading on narkive:
Search results for '[asterisk-users] asterisk ari dialer' (Questions and Answers)
4
replies
computer viruses?
started 2007-10-12 21:45:47 UTC
security
Loading...