Это ясно что надо купитььайпи фоны и не мучатся но поствленна такая задача.
И еще одно ##(с аналогового телефона при входящем с астерикса) слышу переадресация ввожу номер говорит такого нету.
Код: Выделить всё
Thu, Apr 6 2017 7:05 PM CHAN_START 099XXXXXXX 099XXXXXXX DEFAULT 044XXXXXXX from-trunk SIP/sip_044XXXXXXX_kyivstar-0000001f
Thu, Apr 6 2017 7:05 PM APP_START 099XXXXXXX 099XXXXXXX 099XXXXXXX 044XXXXXXX DEFAULT recordcheck sub-record-check MixMonitor SIP/sip_044XXXXXXX_kyivstar-0000001f
Thu, Apr 6 2017 7:05 PM APP_END 099XXXXXXX 099XXXXXXX 099XXXXXXX 044XXXXXXX DEFAULT recordcheck sub-record-check MixMonitor SIP/sip_044XXXXXXX_kyivstar-0000001f
Thu, Apr 6 2017 7:05 PM ANSWER 099XXXXXXX 099XXXXXXX 099XXXXXXX 044XXXXXXX DEFAULT s app-announcement-1 Answer SIP/sip_044XXXXXXX_kyivstar-0000001f
Thu, Apr 6 2017 7:06 PM CHAN_START DEFAULT s from-analog DAHDI/1-1
Thu, Apr 6 2017 7:06 PM ANSWER 504 DEFAULT 504 from-analog AppDial DAHDI/1-1
Thu, Apr 6 2017 7:06 PM BRIDGE_ENTER 504 DEFAULT from-analog AppDial DAHDI/1-1
Thu, Apr 6 2017 7:06 PM BRIDGE_ENTER 099XXXXXXX 099XXXXXXX 099XXXXXXX 044XXXXXXX DEFAULT s macro-dial-one Dial SIP/sip_044XXXXXXX_kyivstar-0000001f
Thu, Apr 6 2017 7:06 PM BRIDGE_EXIT 504 DEFAULT from-analog AppDial DAHDI/1-1
Thu, Apr 6 2017 7:06 PM BRIDGE_EXIT 099XXXXXXX 099XXXXXXX 099XXXXXXX 044XXXXXXX DEFAULT s macro-dial-one Dial SIP/sip_044XXXXXXX_kyivstar-0000001f
Thu, Apr 6 2017 7:06 PM HANGUP 099XXXXXXX 099XXXXXXX 099XXXXXXX 044XXXXXXX DEFAULT h ext-local SIP/sip_044XXXXXXX_kyivstar-0000001f
Thu, Apr 6 2017 7:06 PM CHAN_END 099XXXXXXX 099XXXXXXX 099XXXXXXX 044XXXXXXX DEFAULT h ext-local SIP/sip_044XXXXXXX_kyivstar-0000001f
Thu, Apr 6 2017 7:06 PM HANGUP 504 DEFAULT from-analog AppDial DAHDI/1-1
Thu, Apr 6 2017 7:06 PM CHAN_END 504 DEFAULT from-analog AppDial DAHDI/1-1
Thu, Apr 6 2017 7:06 PM LINKEDID_END 504 DEFAULT from-analog AppDial DAHDI/1-1
Код: Выделить всё
[s@macro-dial-one:51] Dial("SIP/sip_0442342422_kyivstar-00000021", "DAHDI/g0/501,,trIb(func-apply-sipheaders^s^1)") in new stack
ded писал(а):Для начала разберитесь - с какой стороны делается Hangup. Потом разбиирайтесь в его причинах.
Правильно разбираться в нём самостоятельно.Ripper писал(а):Правльно давать лог asterisk full?
Код: Выделить всё
-- Channel DAHDI/1-1 left 'simple_bridge' basic-bridge <d966f843-45a0-4b4a-983e-c43334dab18b>
-- Channel SIP/102-0000002a left 'simple_bridge' basic-bridge <d966f843-45a0-4b4a-983e-c43334dab18b>
== Spawn extension (macro-dial-one, s, 51) exited non-zero on 'SIP/102-0000002a' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'SIP/102-0000002a' in macro 'exten-vm'
== Spawn extension (ext-local, 501, 2) exited non-zero on 'SIP/102-0000002a'
-- Executing [h@ext-local:1] Macro("SIP/102-0000002a", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/102-0000002a", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/102-0000002a", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/102-0000002a", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/102-0000002a' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'SIP/102-0000002a'
== MixMonitor close filestream (mixed)
-- Hanging up on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'
== End MixMonitor Recording SIP/102-0000002a