[asterisk-bugs] [JIRA] (ASTERISK-28142) asterisk will execute continuation of agi file in situation of simultaneous hangup in both side (caller and calle)
robert (JIRA)
noreply at issues.asterisk.org
Wed Oct 31 02:04:47 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-28142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245318#comment-245318 ]
robert commented on ASTERISK-28142:
-----------------------------------
all of my incoming calls go to an agi file, and in file i use " $agi->exec(“DIAL LOCAL/”.$queue."@from-internal,g"); " for connecting to queue and then come back to agi. after this line in file i call an external api URL to log the call events in another server for some reasons:
“http://10.1.10.59:11257/api/ca/v1/common/callevents’”
when agent hangup the call first , call come back to agi file and then api URL willbe called, (no problem)
when caller hangup the call first, call wont come back to agi so in h exten of main context , i call api URL with no problem
BUT
when agent and caller hangup the call simultaneous , api URL willbe called 2 times
one time form agi and another time form h exten of dialplan and it makes an error in my call event server
in my logs call wont come back to agi and h exten executed , but in fact agi is executing too , maybe in background.
it's a bug in asterisk that continues agi when i log i can see agi status is not success and it's 'Hangup'
surprisingly i can't see any log in asterisk that that mentioned part of agi is executing , i see just h exten is executing but in api server i can see that agi works too
> asterisk will execute continuation of agi file in situation of simultaneous hangup in both side (caller and calle)
> ------------------------------------------------------------------------------------------------------------------
>
> Key: ASTERISK-28142
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28142
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_agi
> Affects Versions: 13.18.4
> Environment: centos7
> Reporter: robert
> Severity: Critical
>
> agi continues to its work after call comes out from it and i h exten i see in log AGISTATUS is not success and its hangup,
> but it does the code after the place it comes out from agi ang go to h exten of main context
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list