[asterisk-bugs] [JIRA] (ASTERISK-30385) Making a call from one extension(100) to another extension(200) through ari-client (Node.js)

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jan 4 05:57:03 CST 2023


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261125#comment-261125 ] 

Asterisk Team commented on ASTERISK-30385:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/].

> Making a call from one extension(100) to another extension(200) through ari-client (Node.js)
> --------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-30385
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30385
>             Project: Asterisk
>          Issue Type: Information Request
>      Security Level: None
>          Components: Applications/app_stasis
>    Affects Versions: 18.5.0
>         Environment: Ubuntu 20
>            Reporter: Muhammad Annas
>            Severity: Major
>
> Precise overview about the flow:
>  
> - I am calling my initial extension(100) using zoiper through twilio sip domain which actually direct the call to my asterisk server. 
> - Now when my call is in asterisk server I'm trying to forward it to another extension(200) using ari-client. 
> - For now I was trying to do it internally (attaching my code chunks) 
> /** code from ari-client index.js */
> try {
>   let dialedChannel = null;
>   dialedChannel = await client.channels.originate({
>     endpoint: "PJSIP/twilio0",
>     app: ariConfig.appName,
>     extension: "200",
>   });
>   log.warn("EXTEN DIALED");
>   log.warn("EXTEN ANSWERED");
> } catch (err) {
>   log.error(err, "DIALED ERROR");
> }
>  
> /** configuration from extension.conf  for extension(200)*/
> [from-internal]
> exten = 200,1,Answer()
> same = n,Wait(1)
> same = n,Playback(hello-world)
> same = n,Hangup()
> So can anyone guide me here. How it can be possibly done? or it is even possible using ari-client?
> Thanks in advance



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list