[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:54:15 CST 2021


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

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

We remoove this requests
2. POST http://10.34.190.55:8088/ari/bridges?type=mixing
10. POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/snoop?spy=in&whisper=out&app=ari-satan

This 2 requests which add snoop channel and external media channel to the second bridge, we replaced with one request to add externall media channel to bridge with customer channel
12. POST http://10.34.190.55:8088/ari/bridges/7c53e8ec-9ed6-47f9-b685-280e0b86b2aa/addChannel?channel=1613536503.585
13. POST http://10.34.190.55:8088/ari/bridges/7c53e8ec-9ed6-47f9-b685-280e0b86b2aa/addChannel?channel=1613733756.323

For now it look like this list
1. POST http://10.34.190.55:8088/ari/bridges?type=mixing
Create first bridge for customer channel
2. POST http://10.34.190.55:8088/ari/channels/create?endpoint=Local%2F87012457124%40cce&app=ari-satan&channelId=out-87012457124-503297
Create channel for customer
3. POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/variable?variable=callId&value=20212171035287086706070
4. POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/variable?variable=phoneNumber&value=87012457124
5. POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/variable?variable=treeName&value=SoftCollectionTodayNotification
6. POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/variable?variable=contractId&value=1-AXYVJID
7. POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/variable?variable=companyId&value=101548
Set up variables to customer channel

8. POST http://10.34.190.55:8088/ari/channels/externalMedia?app=ari-satan&external_host=172.23.34.19%3A16384&encapsulation=rtp&transport=udp&connection_type=client&format=slin&direction=both
Create channel for ExternalMedia

9. POST http://10.34.190.55:8088/ari/bridges/6419fddc-ede2-4d4d-85f2-ce09e6b46cac/addChannel?channel=out-87012457124-503297
Add customer channel for first bridge
10. POST http://10.34.190.55:8088/ari/bridges/6419fddc-ede2-4d4d-85f2-ce09e6b46cac/addChannel?channel=1613733756.323
Add ExternalMedia channel for first bridge

11. POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/dial
Make Dial for customer channel
12. POST http://10.34.190.55:8088/ari/bridges/6419fddc-ede2-4d4d-85f2-ce09e6b46cac/record?name=20212171035287086706070&format=wav&ifExists=fail&terminateOn=none
Enable recording for customer bridge
13. POST http://10.34.190.55:8088/ari/bridges/6419fddc-ede2-4d4d-85f2-ce09e6b46cac/play?media=sound%3A%2Fdata%2Fdm%2Fh5sXN9UNx0V3ft56qKtn2mDHQtNJUH6e
Playing some prompts in customer bridge depending on customer says

14. DELETE http://10.34.190.55:8088/ari/channels/1613536503.585
15. DELETE http://10.34.190.55:8088/ari/bridges/6419fddc-ede2-4d4d-85f2-ce09e6b46cac


> 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