Здравствуйте. У меня следующая проблема:
На номер 403031 звонят люди, автоответчик просит ввести пин-код, после правильного ввода пина говорится баланс и предлагается ввести номер.
Ввести пин-код предлагает, принимает его, говорит баланс. Потом просит ввести номер на который будем звонить, говорит сколько есть минут. Дальше несколько секунд тишина и сообщение: "Вызываемый номер недоступен".
В логе следующее:
[May 7 10:32:30] VERBOSE[13883] netsock2.c: == Using SIP RTP TOS bits 184
[May 7 10:32:30] VERBOSE[13883] netsock2.c: == Using SIP RTP CoS mark 5
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@from-trunk-sip-405545:1] Set("SIP/405545-00000068", "GROUP()=OUT_2") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@from-trunk-sip-405545:2] Goto("SIP/405545-00000068", "from-trunk,403031,1") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Goto (from-trunk,403031,1)
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@from-trunk:1] Set("SIP/405545-00000068", "__FROM_DID=403031") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@from-trunk:2] Gosub("SIP/405545-00000068", "app-blacklist-check,s,1") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [s@app-blacklist-check:1] GotoIf("SIP/405545-00000068", "0?blacklisted") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [s@app-blacklist-check:2] Set("SIP/405545-00000068", "CALLED_BLACKLIST=1") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [s@app-blacklist-check:3] Return("SIP/405545-00000068", "") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@from-trunk:3] ExecIf("SIP/405545-00000068", "0 ?Set(CALLERID(name)=405545)") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@from-trunk:4] Set("SIP/405545-00000068", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@from-trunk:5] Set("SIP/405545-00000068", "CALLERPRES()=allowed_not_screened") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@from-trunk:6] Goto("SIP/405545-00000068", "a2billing,403031,1") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Goto (a2billing,403031,1)
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@a2billing:1] NoOp("SIP/405545-00000068", "A2Billing Start") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@a2billing:2] DeadAGI("SIP/405545-00000068", "a2billing.php,1") in new stack
[May 7 10:32:30] WARNING[18018] res_agi.c: DeadAGI has been deprecated, please use AGI in all cases! - Насчет этой ошибки, почитал на форуме и понял, что менять не нужно...
[May 7 10:32:30] VERBOSE[18018] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[May 7 10:32:30] VERBOSE[18016] app_dial.c: -- SIP/405545-00000067 answered SIP/701-00000066
[May 7 10:32:30] VERBOSE[18018] file.c: -- Playing 'prepaid-enter-pin-number.gsm' (language 'ru')
[May 7 10:32:39] VERBOSE[18018] res_agi.c: -- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
[May 7 10:32:39] VERBOSE[18018] file.c: -- Playing 'digits/3.alaw' (language 'ru')
[May 7 10:32:40] VERBOSE[18018] file.c: -- Playing 'digits/thousands-i.gsm' (language 'ru')
[May 7 10:32:40] VERBOSE[18018] file.c: -- Playing 'digits/100.gsm' (language 'ru')
[May 7 10:32:41] VERBOSE[18018] file.c: -- Playing 'digits/50.alaw' (language 'ru')
[May 7 10:32:42] VERBOSE[18018] file.c: -- Playing 'digits/5.alaw' (language 'ru')
[May 7 10:32:42] VERBOSE[18018] res_agi.c: -- Playing 'dollars' (escape_digits=#) (sample_offset 0)
[May 7 10:32:43] VERBOSE[18018] res_agi.c: -- Playing 'vm-and' (escape_digits=#) (sample_offset 0)
[May 7 10:32:43] VERBOSE[18018] file.c: -- Playing 'digits/5.alaw' (language 'ru')
[May 7 10:32:44] VERBOSE[18018] res_agi.c: -- Playing 'prepaid-cents' (escape_digits=#) (sample_offset 0)
[May 7 10:32:45] VERBOSE[18018] file.c: -- Playing 'prepaid-enter-dest.gsm' (language 'ru')
[May 7 10:32:57] VERBOSE[18018] res_agi.c: -- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
[May 7 10:32:58] VERBOSE[18018] file.c: -- Playing 'digits/7.alaw' (language 'ru')
[May 7 10:32:59] VERBOSE[18018] file.c: -- Playing 'digits/thousands.gsm' (language 'ru')
[May 7 10:32:59] VERBOSE[18018] file.c: -- Playing 'digits/11.alaw' (language 'ru')
[May 7 10:33:00] VERBOSE[18018] res_agi.c: -- Playing 'prepaid-minutes' (escape_digits=#) (sample_offset 0)
[May 7 10:33:01] VERBOSE[18018] res_agi.c: -- AGI Script Executing Application: (DIAL) Options: (SIP/sipnetTR/79604051065|60|HRrL(420660000:61000:30000))
[May 7 10:33:01] WARNING[18018] pbx.c: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (Dial(SIP/sipnetTR/79604051065|60|HRrL(420660000:61000:30000))) - Вот с этой ошибкой я не понял где менять...
[May 7 10:33:01] VERBOSE[18018] netsock2.c: == Using SIP RTP TOS bits 184
[May 7 10:33:01] VERBOSE[18018] netsock2.c: == Using SIP RTP CoS mark 5
[May 7 10:33:01] VERBOSE[18018] app_dial.c: -- Called SIP/sipnetTR/79604051065|60|HRrL(420660000:61000:30000)
[May 7 10:33:07] WARNING[13883] chan_sip.c: Retransmission timeout reached on transmission 45e7f60e241125422b6b574967439fb3@sipnet.ru for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 6399ms with no response
[May 7 10:33:07] WARNING[13883] chan_sip.c: Hanging up call 45e7f60e241125422b6b574967439fb3@sipnet.ru - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/ ... nsmissions).
[May 7 10:33:07] VERBOSE[18018] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
Это пример с сипнетом, также пробовал с comtube и ten2phone.
Когда использовал Net2phone, то перед тек как сказать что номер недоступен (установлены русские голосовые фразы), по английски говорит, что то про incorrect number. В логах, номер верен, как он и должен набираться от провайдера.
Подскажите с вылезшими ошибками пожалуйста...
У меня:
Asterisk 1.8.21.0
Elastix 2.4.0
A2Billing 1.9.4 (Cuprum)