[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=261126#comment-261126 ] 

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

We appreciate the difficulties you are facing, however information request type issues would be better served in a different forum.

The Asterisk community provides support over IRC, mailing lists, and forums as described at http://asterisk.org/community. The Asterisk issue tracker is used specifically to track issues concerning bugs and documentation errors.

If this issue is actually a bug please use the Bug issue type instead.

Please see the Asterisk Issue Guidelines [1] for instruction on the intended use of the Asterisk issue tracker.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

> 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