[asterisk-bugs] [JIRA] (ASTERISK-23804) Asterisk Manager API Action Originate / OriginateResponse

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu May 29 09:07:43 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-23804:
-----------------------------------

    Component/s:     (was: General)
                 Core/ManagerInterface
    Description: 
I have the following issue.  
When placing an outbound call with Asterisk Manager's Originate command, i.e:

{code}
Action: Originate
Channel: Local/konrad at test
Context: test
Exten: 5000
Priority: 1
Callerid: 22222222
Timeout: 10000
Variable: VAR1=23,VAR2=24,VAR3=25
ActionID: ABC45678901234567902
Async: True
{code}

When the call to konrad at test is timeout or no_answered, I get an OriginateResponse reason of `0` and `Failure` as the response.  
I should be getting a "No Answer" reason (should be "Reason: 1" ?? according to this: http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate)

below my OriginateResponse event:

{code}
Event: OriginateResponse
Privilege: call,all
ActionID: ABC45678901234567902
Response: Failure
Channel: Local/konrad at test-00000078;1
Context: test
Exten: 5000
Reason: 0
Uniqueid: 1401368963.512
CallerIDNum: 22222222
CallerIDName: <unknown>
{code}

I've tested on the following platforms:
Asterisk 12.1.1

The same case is when the called number is BUSY then "Reason" is "0" also.

Is any solution to fix this problem?

Thanks in advance,
Regards,
Konrad



  was:
I have the following issue.  
When placing an outbound call with Asterisk Manager's Originate command, i.e:

Action: Originate
Channel: Local/konrad at test
Context: test
Exten: 5000
Priority: 1
Callerid: 22222222
Timeout: 10000
Variable: VAR1=23,VAR2=24,VAR3=25
ActionID: ABC45678901234567902
Async: True

When the call to konrad at test is timeout or no_answered, I get an OriginateResponse reason of `0` and `Failure` as the response.  
I should be getting a "No Answer" reason (should be "Reason: 1" ?? according to this: http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate)

below my OriginateResponse event:

Event: OriginateResponse
Privilege: call,all
ActionID: ABC45678901234567902
Response: Failure
Channel: Local/konrad at test-00000078;1
Context: test
Exten: 5000
Reason: 0
Uniqueid: 1401368963.512
CallerIDNum: 22222222
CallerIDName: <unknown>

I've tested on the following platforms:
Asterisk 12.1.1

The same case is when the called number is BUSY then "Reason" is "0" also.

Is any solution to fix this problem?

Thanks in advance,
Regards,
Konrad




> Asterisk Manager API Action Originate / OriginateResponse
> ---------------------------------------------------------
>
>                 Key: ASTERISK-23804
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23804
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Core/ManagerInterface
>            Reporter: kondik
>              Labels: Asterisk12
>
> I have the following issue.  
> When placing an outbound call with Asterisk Manager's Originate command, i.e:
> {code}
> Action: Originate
> Channel: Local/konrad at test
> Context: test
> Exten: 5000
> Priority: 1
> Callerid: 22222222
> Timeout: 10000
> Variable: VAR1=23,VAR2=24,VAR3=25
> ActionID: ABC45678901234567902
> Async: True
> {code}
> When the call to konrad at test is timeout or no_answered, I get an OriginateResponse reason of `0` and `Failure` as the response.  
> I should be getting a "No Answer" reason (should be "Reason: 1" ?? according to this: http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate)
> below my OriginateResponse event:
> {code}
> Event: OriginateResponse
> Privilege: call,all
> ActionID: ABC45678901234567902
> Response: Failure
> Channel: Local/konrad at test-00000078;1
> Context: test
> Exten: 5000
> Reason: 0
> Uniqueid: 1401368963.512
> CallerIDNum: 22222222
> CallerIDName: <unknown>
> {code}
> I've tested on the following platforms:
> Asterisk 12.1.1
> The same case is when the called number is BUSY then "Reason" is "0" also.
> Is any solution to fix this problem?
> Thanks in advance,
> Regards,
> Konrad



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



More information about the asterisk-bugs mailing list