Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / TrixBox, Elastix, FreePbx / FAX на Elastix2

FAX на Elastix2

<1 2
Сообщений: 32

Re: FAX на Elastix2

ПРошу сразу не убивать :)
В общем я создал папку(/var/spool/asterisk/fax/), не заработало, потом дал на папку(fax) полный доступ и получил картинку - ну ту что я посылал факсом.

[Sep 30 14:17:04] NOTICE[2591] chan_iax2.c: Restricting registration for peer '77' to 60 seconds (requested 300)
[Sep 30 14:17:59] NOTICE[2584] chan_iax2.c: Restricting registration for peer '77' to 60 seconds (requested 300)
[Sep 30 14:18:52] VERBOSE[2706] netsock.c: == Using SIP RTP TOS bits 184
[Sep 30 14:18:52] VERBOSE[2706] netsock.c: == Using SIP RTP CoS mark 5
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [spa400@from-trunk-sip-SPA400Out:1] Set("SIP/SPA400Out-00000151", "GROUP()=OUT_7") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [spa400@from-trunk-sip-SPA400Out:2] Goto("SIP/SPA400Out-00000151", "from-trunk,spa400,1") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Goto (from-trunk,spa400,1)
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [spa400@from-trunk:1] NoOp("SIP/SPA400Out-00000151", "Catch-All DID Match - Found spa400 - You probably want a DID for this.") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [spa400@from-trunk:2] Goto("SIP/SPA400Out-00000151", "ext-did,s,1") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Goto (ext-did,s,1)
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [s@ext-did:1] Set("SIP/SPA400Out-00000151", "__FROM_DID=s") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [s@ext-did:2] Gosub("SIP/SPA400Out-00000151", "app-blacklist-check,s,1") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [s@app-blacklist-check:1] GotoIf("SIP/SPA400Out-00000151", "0?blacklisted") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [s@app-blacklist-check:2] Set("SIP/SPA400Out-00000151", "CALLED_BLACKLIST=1") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [s@app-blacklist-check:3] Return("SIP/SPA400Out-00000151", "") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [s@ext-did:3] ExecIf("SIP/SPA400Out-00000151", "0 ?Set(CALLERID(name)=anonymous)") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [s@ext-did:4] Set("SIP/SPA400Out-00000151", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [s@ext-did:5] Set("SIP/SPA400Out-00000151", "CALLERPRES()=allowed_not_screened") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [s@ext-did:6] Set("SIP/SPA400Out-00000151", "FAX_DEST=ext-fax^77^1") in new stack
[Sep 30 14:18:52] VERBOSE[8134] pbx.c: -- Executing [s@ext-did:7] Answer("SIP/SPA400Out-00000151", "") in new stack
[Sep 30 14:18:53] VERBOSE[8134] pbx.c: -- Executing [s@ext-did:8] Wait("SIP/SPA400Out-00000151", "2") in new stack
[Sep 30 14:18:54] NOTICE[2593] chan_iax2.c: Restricting registration for peer '77' to 60 seconds (requested 300)
[Sep 30 14:18:54] VERBOSE[8134] chan_sip.c: == Redirecting 'SIP/SPA400Out-00000151' to fax extension due to CNG detection
[Sep 30 14:18:54] VERBOSE[8134] pbx.c: == Spawn extension (ext-did, fax, 1) exited non-zero on 'SIP/SPA400Out-00000151'
[Sep 30 14:18:54] VERBOSE[8134] pbx.c: -- Executing [fax@ext-did:1] Goto("SIP/SPA400Out-00000151", "ext-fax,77,1") in new stack
[Sep 30 14:18:54] VERBOSE[8134] pbx.c: -- Goto (ext-fax,77,1)
[Sep 30 14:18:54] VERBOSE[8134] pbx.c: -- Executing [77@ext-fax:1] NoOp("SIP/SPA400Out-00000151", "Receiving Fax for: 77 (77), From: "- FXO_Port_ID_2" <anonymous>") in new stack
[Sep 30 14:18:54] VERBOSE[8134] pbx.c: -- Executing [77@ext-fax:2] Set("SIP/SPA400Out-00000151", "FAX_RX_EMAIL=dolenkoes@gmail.com") in new stack
[Sep 30 14:18:54] VERBOSE[8134] pbx.c: -- Executing [77@ext-fax:3] Goto("SIP/SPA400Out-00000151", "s,receivefax") in new stack
[Sep 30 14:18:54] VERBOSE[8134] pbx.c: -- Goto (ext-fax,s,3)
[Sep 30 14:18:54] VERBOSE[8134] pbx.c: -- Executing [s@ext-fax:3] StopPlayTones("SIP/SPA400Out-00000151", "") in new stack
[Sep 30 14:18:54] VERBOSE[8134] pbx.c: -- Executing [s@ext-fax:4] ReceiveFAX("SIP/SPA400Out-00000151", "/var/spool/asterisk/fax/1285845532.403.tif,f") in new stack
[Sep 30 14:19:04] WARNING[8134] app_fax.c: WARNING T.30 Non-ECM carrier not found
[Sep 30 14:19:31] VERBOSE[8134] pbx.c: -- Auto fallthrough, channel 'SIP/SPA400Out-00000151' status is 'UNKNOWN'
[Sep 30 14:19:31] VERBOSE[8134] pbx.c: -- Executing [h@ext-fax:1] GotoIf("SIP/SPA400Out-00000151", "0?failed") in new stack
[Sep 30 14:19:31] VERBOSE[8134] pbx.c: -- Executing [h@ext-fax:2] GotoIf("SIP/SPA400Out-00000151", "0?end") in new stack
[Sep 30 14:19:31] VERBOSE[8134] pbx.c: -- Executing [h@ext-fax:3] System("SIP/SPA400Out-00000151", "/var/lib/asterisk/bin/fax-process.pl --to "dolenkoes@gmail.com" --from "dolenkoes@gmail.com" --dest "s" --subject "New fax from -%20FXO_Port_ID_2 <anonymous>" --attachment fax_anonymous.pdf --type application/pdf --file /var/spool/asterisk/fax/1285845532.403.tif") in new stack
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: -- Executing [h@ext-fax:4] Macro("SIP/SPA400Out-00000151", "hangupcall,") in new stack
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/SPA400Out-00000151", "1?noautomon") in new stack
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: -- Goto (macro-hangupcall,s,3)
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: -- Executing [s@macro-hangupcall:3] NoOp("SIP/SPA400Out-00000151", "TOUCH_MONITOR_OUTPUT=") in new stack
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/SPA400Out-00000151", "1?skiprg") in new stack
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: -- Goto (macro-hangupcall,s,7)
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/SPA400Out-00000151", "1?skipblkvm") in new stack
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: -- Goto (macro-hangupcall,s,10)
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/SPA400Out-00000151", "1?theend") in new stack
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: -- Goto (macro-hangupcall,s,12)
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: -- Executing [s@macro-hangupcall:12] Hangup("SIP/SPA400Out-00000151", "") in new stack
[Sep 30 14:19:35] VERBOSE[8134] app_macro.c: == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/SPA400Out-00000151' in macro 'hangupcall'
[Sep 30 14:19:35] VERBOSE[8134] pbx.c: == Spawn extension (ext-fax, h, 4) exited non-zero on 'SIP/SPA400Out-00000151'
[Sep 30 14:19:49] NOTICE[2592] chan_iax2.c: Restricting registration for peer '77' to 60 seconds (requested 300)
[Sep 30 14:19:53] VERBOSE[8148] manager.c: == Manager 'admin' logged on from 127.0.0.1
[Sep 30 14:19:53] VERBOSE[8148] manager.c: == Manager 'admin' logged off from 127.0.0.1


В еластике поднял почту, вписал SMTP для отправки почты.
В настройках факса "77" написал на какую почту отсылать изображение.

Где бока ? НУ подскажите. Начальник в бешенстве ( он умудрился продать обычное оборудование раньше чем я настроил это :( )
2010-09-30 15:39

Avatara of switch
Откуда: Уфа
Сообщений: 5856

Re: FAX на Elastix2

скачай вот это
http://lynks.ru/blog/trixbox-embedded-26
там уже все есть и все работает
http://www.lynks.ru - Решения телефонии, мини-АТС, VoIP на основе Trixbox и Asterisk
2010-09-30 16:53

Сообщений: 32

Re: FAX на Elastix2

switch:

скачай вот это
http://lynks.ru/blog/trixbox-embedded-26
там уже все есть и все работает
Скачал, по пути с работы купил флешку 2 ГБ ( надо кого то мучать). отформатировал. Распаковал. попытался запустить и :
G:\>syslinux.exe -s -f -m -a -d g:\syslinux\ G:
this doesn't look like a valid FAT filesystem

прочитал что надо другой syslinux
Скачал syslinux-4.02.zip
Вот тут и завис.


P.S.Ну в еластике факс приниматься как я понял и сохраняется в формате *.tif.
Как настроить их пересылку на электронную почту ?
2010-10-01 09:22

<1 2
Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru