1 | изначальная версия редактировать | |
Здравствуйте. У меня следующая задача: На номер 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()=OUT2") 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", "FROMDID=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", "CALLEDBLACKLIST=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", "CALLINGPRESSV=allowednotscreened") in new stack [May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@from-trunk:5] Set("SIP/405545-00000068", "CALLERPRES()=allowednotscreened") 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] resagi.c: DeadAGI has been deprecated, please use AGI in all cases! - Насчет этой ошибки, почитал на форуме и понял, что менять не нужно... [May 7 10:32:30] VERBOSE[18018] resagi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php [May 7 10:32:30] VERBOSE[18016] appdial.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] resagi.c: -- Playing 'prepaid-you-have' (escapedigits=#) (sampleoffset 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] resagi.c: -- Playing 'dollars' (escapedigits=#) (sampleoffset 0) [May 7 10:32:43] VERBOSE[18018] resagi.c: -- Playing 'vm-and' (escapedigits=#) (sampleoffset 0) [May 7 10:32:43] VERBOSE[18018] file.c: -- Playing 'digits/5.alaw' (language 'ru') [May 7 10:32:44] VERBOSE[18018] resagi.c: -- Playing 'prepaid-cents' (escapedigits=#) (sampleoffset 0) [May 7 10:32:45] VERBOSE[18018] file.c: -- Playing 'prepaid-enter-dest.gsm' (language 'ru') [May 7 10:32:57] VERBOSE[18018] resagi.c: -- Playing 'prepaid-you-have' (escapedigits=#) (sampleoffset 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] resagi.c: -- Playing 'prepaid-minutes' (escapedigits=#) (sampleoffset 0) [May 7 10:33:01] VERBOSE[18018] resagi.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] appdial.c: -- Called SIP/sipnetTR/79604051065|60|HRrL(420660000:61000:30000) [May 7 10:33:07] WARNING[13883] chansip.c: Retransmission timeout reached on transmission 45e7f60e241125422b6b574967439fb3@sipnet.ru for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions Packet timed out after 6399ms with no response [May 7 10:33:07] WARNING[13883] chansip.c: Hanging up call 45e7f60e241125422b6b574967439fb3@sipnet.ru - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions). [May 7 10:33:07] VERBOSE[18018] appdial.c: == Everyone is busy/congested at this time (1:0/0/1)
Подскажите с вылезшими ошибками пожалуйста...
2 | No.2 Revision редактировать |
Здравствуйте. У меня следующая задача: На номер 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
5
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@from-trunk-sip-405545:1] Set("SIP/405545-00000068", "GROUP()=OUT2") in new stack
"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_FROMDID=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", "CALLEDBLACKLIST=1") in new stack
"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_CALLINGPRESSV=allowednotscreened") in new stack
[May 7 10:32:30] VERBOSE[18018] pbx.c: -- Executing [403031@from-trunk:5] Set("SIP/405545-00000068", "CALLERPRES()=allowednotscreened") 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
stack
[May 7 10:32:30] WARNING[18018] resagi.c: res_agi.c: DeadAGI has been deprecated, please use AGI in all cases! - Насчет этой ошибки, почитал на форуме и понял, что менять не нужно...
[May 7 10:32:30] VERBOSE[18018] resagi.c:
[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] appdial.c: 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] resagi.c: -- Playing 'prepaid-you-have' (escapedigits=#) (sampleoffset (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] resagi.c: -- Playing 'dollars' (escapedigits=#) (sampleoffset 0)
(sample_offset 0)
[May 7 10:32:43] VERBOSE[18018] resagi.c: -- Playing 'vm-and' (escapedigits=#) (sampleoffset (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] resagi.c: -- Playing 'prepaid-cents' (escapedigits=#) (sampleoffset (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] resagi.c: -- Playing 'prepaid-you-have' (escapedigits=#) (sampleoffset (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] resagi.c: -- Playing 'prepaid-minutes' (escapedigits=#) (sampleoffset (sample_offset 0)
[May 7 10:33:01] VERBOSE[18018] resagi.c: 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] appdial.c: app_dial.c: -- Called SIP/sipnetTR/79604051065|60|HRrL(420660000:61000:30000)
[May 7 10:33:07] WARNING[13883] chansip.c: chan_sip.c: Retransmission timeout reached on transmission 45e7f60e241125422b6b574967439fb3@sipnet.ru for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 6399ms with no response
[May 7 10:33:07] WARNING[13883] chansip.c: chan_sip.c: Hanging up call 45e7f60e241125422b6b574967439fb3@sipnet.ru - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[May 7 10:33:07] VERBOSE[18018] appdial.c: app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
Подскажите с вылезшими ошибками пожалуйста...
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.