Порт 5060 проброшен на роутере в соответствии с рекомендацией провайдера телефонного (зебрателеком)
Звонил к ним говорят Обрыв у вас. Ваша АТС сообщает Bye и вешает трубку.
Транк (не этот просто от этого же провайдена) на другой такой же АТС работают нормально. Просто скопировал настройки и заменил логин и пароль.
Кодеки ulaw alaw g729
В логах:
Код: Выделить всё
[2023-01-23 20:27:39] VERBOSE[11213][C-00000009] bridge_channel.c: Channel SIP/in7XXXXXXXX5-0000000f joined 'simple_bridge' basic-bridge <8faf08c9-318a-4558-a4eb-1309ea985d16>
890 [2023-01-23 20:27:51] NOTICE[2426] chan_sip.c: Disconnecting call 'SIP/in7XXXXXXXX5-0000000f' for lack of RTP activity in 31 seconds
891 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] bridge_channel.c: Channel SIP/in7XXXXXXXX5-0000000f left 'simple_bridge' basic-bridge <8faf08c9-318a-4558-a4eb-1309ea985d16>
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
894 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Spawn extension (followme-sub, 333, 28) exited non-zero on 'SIP/in7XXXXXXXX5-0000000f'
895 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] app_stack.c: SIP/in7XXXXXXXX5-0000000f Internal Gosub(crm-hangup,s,1) start
896 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:1] NoOp("SIP/in7XXXXXXXX5-0000000f", "Sending Hangup to CRM") in new stack
897 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:2] NoOp("SIP/in7XXXXXXXX5-0000000f", "HANGUP CAUSE: 44") in new stack
898 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:3] ExecIf("SIP/in7XXXXXXXX5-0000000f", "0?Set(__CRM_VOICEMAIL=)") in new stack
899 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:4] NoOp("SIP/in7XXXXXXXX5-0000000f", "MASTER CHANNEL: 1674494840.19 = 1674494840.19") in new stack
900 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:5] GotoIf("SIP/in7XXXXXXXX5-0000000f", "0?return") in new stack
901 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:6] Set("SIP/in7XXXXXXXX5-0000000f", "__CRM_HANGUP=1") in new stack
902 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:7] AGI("SIP/in7XXXXXXXX5-0000000f", "agi://127.0.0.1/sangomacrm.agi") in new stack
903 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] bridge_channel.c: Channel SIP/333-00000010 left 'simple_bridge' basic-bridge <8faf08c9-318a-4558-a4eb-1309ea985d16>
904 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] app_stack.c: SIP/333-00000010 Internal Gosub(crm-hangup,s,1) start
905 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:1] NoOp("SIP/333-00000010", "Sending Hangup to CRM") in new stack
906 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:2] NoOp("SIP/333-00000010", "HANGUP CAUSE: 44") in new stack
907 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:3] ExecIf("SIP/333-00000010", "0?Set(__CRM_VOICEMAIL=)") in new stack
908 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:4] NoOp("SIP/333-00000010", "MASTER CHANNEL: 1674494856.20 = 1674494840.19") in new stack
909 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:5] GotoIf("SIP/333-00000010", "1?return") in new stack
910 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx_builtins.c: Goto (crm-hangup,s,8)
911 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:8] Return("SIP/333-00000010", "") in new stack
912 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] app_stack.c: Spawn extension (macro-dial-one, s, 1) exited non-zero on 'SIP/333-00000010'
913 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] app_stack.c: SIP/333-00000010 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
914 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] res_agi.c: <SIP/in7XXXXXXXX5-0000000f>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
915 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:8] Return("SIP/in7XXXXXXXX5-0000000f", "") in new stack
916 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] app_stack.c: Spawn extension (followme-sub, 333, 28) exited non-zero on 'SIP/in7XXXXXXXX5-0000000f'
917 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] app_stack.c: SIP/in7XXXXXXXX5-0000000f Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
895 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] app_stack.c: SIP/in7XXXXXXXX5-0000000f Internal Gosub(crm-hangup,s,1) start
896 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:1] NoOp("SIP/in7XXXXXXXX5-0000000f", "Sending Hangup to CRM") in new stack
897 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:2] NoOp("SIP/in7XXXXXXXX5-0000000f", "HANGUP CAUSE: 44") in new stack
898 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:3] ExecIf("SIP/in7XXXXXXXX5-0000000f", "0?Set(__CRM_VOICEMAIL=)") in new stack
899 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:4] NoOp("SIP/in7XXXXXXXX5-0000000f", "MASTER CHANNEL: 1674494840.19 = 1674494840.19") in new stack
900 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:5] GotoIf("SIP/in7XXXXXXXX5-0000000f", "0?return") in new stack
901 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:6] Set("SIP/in7XXXXXXXX5-0000000f", "__CRM_HANGUP=1") in new stack
902 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:7] AGI("SIP/in7XXXXXXXX5-0000000f", "agi://127.0.0.1/sangomacrm.agi") in new stack
903 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] bridge_channel.c: Channel SIP/333-00000010 left 'simple_bridge' basic-bridge <8faf08c9-318a-4558-a4eb-1309ea985d16>
904 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] app_stack.c: SIP/333-00000010 Internal Gosub(crm-hangup,s,1) start
905 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:1] NoOp("SIP/333-00000010", "Sending Hangup to CRM") in new stack
906 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:2] NoOp("SIP/333-00000010", "HANGUP CAUSE: 44") in new stack
907 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:3] ExecIf("SIP/333-00000010", "0?Set(__CRM_VOICEMAIL=)") in new stack
908 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:4] NoOp("SIP/333-00000010", "MASTER CHANNEL: 1674494856.20 = 1674494840.19") in new stack
909 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:5] GotoIf("SIP/333-00000010", "1?return") in new stack
910 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx_builtins.c: Goto (crm-hangup,s,8)
911 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] pbx.c: Executing [s@crm-hangup:8] Return("SIP/333-00000010", "") in new stack
912 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] app_stack.c: Spawn extension (macro-dial-one, s, 1) exited non-zero on 'SIP/333-00000010'
913 [2023-01-23 20:27:51] VERBOSE[11258][C-00000009] app_stack.c: SIP/333-00000010 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
914 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] res_agi.c: <SIP/in7XXXXXXXX5-0000000f>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
915 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] pbx.c: Executing [s@crm-hangup:8] Return("SIP/in7XXXXXXXX5-0000000f", "") in new stack
916 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] app_stack.c: Spawn extension (followme-sub, 333, 28) exited non-zero on 'SIP/in7XXXXXXXX5-0000000f'
917 [2023-01-23 20:27:51] VERBOSE[11213][C-00000009] app_stack.c: SIP/in7XXXXXXXX5-0000000f Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
Исходящие вроде нормално.
Еще не слышит DTMF совсем.
Как еще посмотреть кто ждет только 30 ссек и увеличить время?
Как решить проблему. Как дамп снять и как его прочитать и понять почему рвется и кто виноват?