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

Igor Yeroshev (JIRA) noreply at issues.asterisk.org
Fri Feb 19 06:15:15 CST 2021


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

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

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/bridges?type=mixing
        Create second bridge for ExternalMedia Channel
3.	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 
4.	POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/variable?variable=callId&value=20212171035287086706070
5.	POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/variable?variable=phoneNumber&value=87012457124
6.	POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/variable?variable=treeName&value=SoftCollectionTodayNotification
7.	POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/variable?variable=contractId&value=1-AXYVJID
8.	POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/variable?variable=companyId&value=101548
        Set up variables to customer channel

9.	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
10.	POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/snoop?spy=in&whisper=out&app=ari-satan
        Create Snoop channel for customer channel

11.	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
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
	Add ExternalMedia channel and Snoop channel for second bridge
		
14.	POST http://10.34.190.55:8088/ari/channels/out-87012457124-503297/dial
	Make Dial for customer channel
15.	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
16.	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

17.	DELETE http://10.34.190.55:8088/ari/channels/1613536503.585
18.	DELETE http://10.34.190.55:8088/ari/bridges/6419fddc-ede2-4d4d-85f2-ce09e6b46cac
19.	DELETE http://10.34.190.55:8088/ari/bridges/7c53e8ec-9ed6-47f9-b685-280e0b86b2aa
	Clear all channels and bridges after we detect that customer Hangup the call

We use ExternalMedia to to get the voice of the client on our ASR platform.
For this we use second bridge and Snoop on the customer channel.
We can make 10-15 calls and they comleat successfully but suddenly we recve FRACK Error and after some time (1or 2 minutes) asterisk restarts.
We can't understand why it happens.
Also I have add to attachments extensions.conf file.
If you need additional information such as configuration files of asterisk or something else we are ready to provide this.
Thank you.

> 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: 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