Здравствуйте. У меня настроен транк до зебры, использую freepbx. Проблема в том, что транк периодически отваливается, т.е. не идут исходящие. А вот со входящими все нормально. В логах такое сообщение:
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/222-0000000e", "0?customtrunk") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/222-0000000e", "SIP/zebra/74952256067,300,") in new stack
[May 18 14:00:22] VERBOSE[31926] netsock2.c: == Using SIP RTP TOS bits 184
[May 18 14:00:22] VERBOSE[31926] netsock2.c: == Using SIP RTP CoS mark 5
[May 18 14:00:22] VERBOSE[31926] app_dial.c: -- Called SIP/zebra/74952256067
[May 18 14:00:22] VERBOSE[31926] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/222-0000000e", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [s@macro-dialout-trunk:21] Goto("SIP/222-0000000e", "s-CONGESTION,1") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Goto (macro-dialout-trunk,s-CONGESTION,1)
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/222-0000000e", "RC=34") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/222-0000000e", "34,1") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Goto (macro-dialout-trunk,34,1)
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [34@macro-dialout-trunk:1] Goto("SIP/222-0000000e", "continue,1") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Goto (macro-dialout-trunk,continue,1)
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/222-0000000e", "1?noreport") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Goto (macro-dialout-trunk,continue,3)
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/222-0000000e", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [continue@macro-dialout-trunk:4] Set("SIP/222-0000000e", "CALLERID(number)=222") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [84952256067@from-internal:7] Macro("SIP/222-0000000e", "outisbusy,") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [s@macro-outisbusy:1] Progress("SIP/222-0000000e", "") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [s@macro-outisbusy:2] GotoIf("SIP/222-0000000e", "0?emergency,1") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [s@macro-outisbusy:3] GotoIf("SIP/222-0000000e", "0?intracompany,1") in new stack
[May 18 14:00:22] VERBOSE[31926] pbx.c: -- Executing [s@macro-outisbusy:4] Playback("SIP/222-0000000e", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
[May 18 14:00:22] VERBOSE[31926] file.c: -- <SIP/222-0000000e> Playing 'all-circuits-busy-now.gsm' (language 'en')
[May 18 14:00:24] VERBOSE[31926] file.c: -- <SIP/222-0000000e> Playing 'pls-try-call-later.gsm' (language 'en')
Проблема обсуждалась не раз, но у людей не работало потому что неправильно отправлялся номер. Но у меня иная ситуация. Не работает спустя может пару часов. Рестартую астериск, опять все нормально.
dtmfmode=rfc2833
fromdomain=213.145.43.128
type=friend
host=213.145.43.128
fromuser=sipid
username=sipid
secret=sippass
insecure=port,invite
conext=contex-internal
disallow=all
nat=no
allow=ulaw&alaw
Регистрация транка проходит. Спасибо
спросил
2012-05-18 14:26:43 +0400
teleman 11 ● 8 ● 1 ● 6
конечно глупо наверное но я бы еще уточнил нативный кодек провайдера наверняка он g729 и установить лучше его :)
DJs3000 ( 2012-05-23 10:15:32 +0400 )редактировать