We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to have a click to dial in our Net Core app, I tried below:
var _leg1 = _ari.Channels.Originate("PJSIP/1234", "908171234566", "from-internal", 1, null, "AppDial", null, "1234", 30, null, null, null, null);
Bridge _br = await _ari.Bridges.CreateAsync(); await _ari.Bridges.AddChannelAsync(_br.Id, _leg1.Id, "member");
it calls 1234 but it does not call 908171234566
please help
The text was updated successfully, but these errors were encountered:
All you need to make a call using ARI is as below:
ActionClient = new AriClient( new StasisEndpoint("server", port, "username", "password"), "HelloWorld", true); ActionClient.Connect(); string FROM = "Device Extension Code"; // EX: 1234 string TO = "External Number"; // EX: 08171234566 ActionClient.Channels.Originate("SIP/" + FROM, "9" + TO, "from-internal-additional", 1, null, null, null, TO, null, null, null, null, null, null);
Originate method will make a bridge itself and use from and to as channels to make call.
Sorry, something went wrong.
No branches or pull requests
I need to have a click to dial in our Net Core app, I tried below:
var _leg1 = _ari.Channels.Originate("PJSIP/1234", "908171234566", "from-internal", 1, null, "AppDial", null, "1234", 30, null, null, null, null);
Bridge _br = await _ari.Bridges.CreateAsync();
await _ari.Bridges.AddChannelAsync(_br.Id, _leg1.Id, "member");
it calls 1234 but it does not call 908171234566
please help
The text was updated successfully, but these errors were encountered: