[asterisk-bugs] [JIRA] (ASTERISK-29302) res_ari: Format cache FRACK when invoking operations

Igor Yeroshev (JIRA) noreply at issues.asterisk.org
Wed Feb 24 04:33:15 CST 2021


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

Igor Yeroshev commented on ASTERISK-29302:
------------------------------------------

Sorry, I didn't quite understand your question
In logs I see that the first FRACK error appears after this request
[Feb 24 11:01:46] DEBUG[917072] http.c: HTTP Request URI is /ari/channels/create?endpoint=Local/87066661337 at cce&app=ari-satan&channelId=out-87066661337-906409 
It is a request to craeate a channel for first call.
After that we can put this call to bridge, start recording, and play promts for this call.
After first call we had restart our application and make the second call.
In logs I see that second call start calling too.
Because Dial is executed, but I don't see this call on our next device "cusp"
[Feb 24 11:13:13] VERBOSE[917940][C-00000032] pbx.c: Executing [87066661337 at cce:9] Dial("Local/87066661337 at cce-0000006f;2", "PJSIP/87066661337 at cusp,32") in new stack
After 5 seconds in 11:13:18 Asterisk was restarted
So, I can say that API calls works after we recieve first error.

> res_ari: Format cache FRACK when invoking operations
> ----------------------------------------------------
>
>                 Key: ASTERISK-29302
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29302
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 18.1.0, 18.1.1, 18.2.0
>         Environment: RHEL8
>            Reporter: Igor Yeroshev
>            Assignee: Igor Yeroshev
>         Attachments: 24.02.2021.7z, extensions.conf, messages.7z
>
>
> Hello! 
> We try to implement auto dialer with Asterisk ARI Interface. 
> When we start calling after several calls we receive Errors 
> [Feb 17 10:35:03] ERROR[749178] format_cache.c: FRACK!, Failed assertion bad magic number 0x0 for object 0x11a8ff8 (0) 
> [Feb 17 10:35:03] ERROR[749178] : Got 13 backtrace records
> Problem occurs on 18.1.0, 18.1.1, 18.2.0 versions.
> After this errors asterisk was restarted. 
> We make this POST requests to make a call. 
> 1. POST /ari/bridges?type=mixing (x2) 
> 2. POST /ari/channels/create 
> 3. POST /ari/channels/variable (x5) 
> 4. POST /ari/channels/externalMedia 
> 5. POST /ari/channels/snoop 
> 6. POST /ari/bridges/addChannel (x3) 7
> 7. POST /ari/channels/dial 
> 8. POST /ari/bridges/record 
> 9. POST /ari/bridges/play (cycle) 
> 10. DELETE /ari/channels 
> 11. DELETE /ari/bridges (x2) 
> Full log in attach. 
> We can reproduce this problem.



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



More information about the asterisk-bugs mailing list