Проходит 2 гудка и сброс.
Много чего перечитал, но только больше запутался.
Это выдает консоль Asterisk:
Код: Выделить всё
[2023-12-05 01:29:47] WARNING[153032]: res_pjsip_pubsub.c:3396 pubsub_on_rx_publish_request: No registered publish handler for event presence from 505
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio CoS mark 5
-- Executing [8913xxxxxx@from-internal:1] ResetCDR("PJSIP/505-00000030", "") in new stack
[2023-12-05 01:29:47] WARNING[1102]: app_cdr.c:160 appcdr_callback: Failed to reset CDRs on channel PJSIP/505-00000030
-- Executing [8913xxxxxx@from-internal:2] NoCDR("PJSIP/505-00000030", "") in new stack
[2023-12-05 01:29:47] WARNING[1102]: app_cdr.c:146 appcdr_callback: Failed to disable CDRs on channel PJSIP/505-00000030
-- Executing [8913xxxxxx@from-internal:3] Progress("PJSIP/505-00000030", "") in new stack
-- Executing [8913xxxxxx@from-internal:4] Wait("PJSIP/505-00000030", "1") in new stack
-- Executing [8913xxxxxx@from-internal:5] Playback("PJSIP/505-00000030", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
-- <PJSIP/505-00000030> Playing 'silence/1.ulaw' (language 'ru')
-- <PJSIP/505-00000030> Playing 'cannot-complete-as-dialed.ulaw' (language 'ru')
-- <PJSIP/505-00000030> Playing 'check-number-dial-again.ulaw' (language 'ru')
-- Executing [8913xxxxxx@from-internal:6] Wait("PJSIP/505-00000030", "1") in new stack
-- Executing [8913xxxxxx@from-internal:7] Congestion("PJSIP/505-00000030", "20") in new stack
== Spawn extension (from-internal, 8913xxxxxx, 7) exited non-zero on 'PJSIP/505-00000030'
-- Executing [h@from-internal:1] Macro("PJSIP/505-00000030", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/505-00000030", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
[2023-12-05 01:29:56] ERROR[1102]: cdr.c:3397 ast_cdr_getvar: Unable to find CDR for channel PJSIP/505-00000030
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/505-00000030", "0?Set(CDR(recordingfile)=)") in new stack
[2023-12-05 01:29:56] ERROR[1102]: cdr.c:3397 ast_cdr_getvar: Unable to find CDR for channel PJSIP/505-00000030
-- Executing [s@macro-hangupcall:4] Hangup("PJSIP/505-00000030", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/505-00000030' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/505-00000030'
[2023-12-05 01:29:56] WARNING[159198]: res_pjsip_pubsub.c:3396 pubsub_on_rx_publish_request: No registered publish handler for event presence from 505