srinivas Antarvedi
2010-Jan-04 05:24 UTC
[asterisk-users] Free FaxForAsterisk ReceiveFAX not working
Hello users, Recently i have installed the free version of FaxForAsterisk and trying to work with it by sending a fax on T38. My version information is as follows i)Asterisk 1.6.0.20 ii)res_fax-1.6.0.14_1.1.6-x86_32 iii)res_fax_digium-1.6.0.14_1.1.6-i686_32 sip.conf [general] t38pt_udptl=yes extensions.conf [default] exten => _XXXXXXXXXX,1,NoOp(Fax Incoming Call) exten => _XXXXXXXXXX,n,GoTo(faxin,${EXTEN},1) [faxin] exten => _XXXXXXXXXX,1,NoOp(This is ReceiveFAX application Testing) exten => _XXXXXXXXXX,n,Wait(6) exten => _XXXXXXXXXX,n,NoOp(******* SETTING FAXOPTS *********) exten => _XXXXXXXXXX,n,Set(FAXOPT(ecm)=yes) exten => _XXXXXXXXXX,n,Set(FAXOPT(localstationid)= 1234567890) exten => _XXXXXXXXXX,n,Set(FAXOPT(maxrate)=14400) exten => _XXXXXXXXXX,n,Set(FAXOPT(minrate)=2400) exten => _XXXXXXXXXX,n,Set(FAXOPT(modem)=V17) exten => _XXXXXXXXXX,n,Wait(6) exten => _XXXXXXXXXX,n,NoOp(********* RECEIVING FAX *********) exten => _XXXXXXXXXX,n,ReceiveFAX(/root/receivefax.tif) exten => h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) exten => h,n,NoOp(FAXOPT(filename) : ${FAXOPT(filename)}) exten => h,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)}) exten => h,n,NoOp(FAXOPT(locastationid) : ${FAXOPT(localstationid)}) exten => h,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)}) exten => h,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)}) exten => h,n,NoOp(FAXOPT(pages) : ${FAXOPT(pages)}) exten => h,n,NoOp(FAXOPT(rate) : ${FAXOPT(rate)}) exten => h,n,NoOp(FAXOPT(remotestationid): ${FAXOPT(remotestationid)}) exten => h,n,NoOp(FAXOPT(resolution) : ${FAXOPT(resolution)}) exten => h,n,NoOp(FAXOPT(status) : ${FAXOPT(status)}) exten => h,n,NoOp(FAXOPT(statusstr) : ${FAXOPT(statusstr)}) exten => h,n,NoOp(FAXOPT(err) : ${FAXOPT(error)}) and my asterisk cli information is as follows asterisk CLI>fax show version FAX For Asterisk Components: Applications: 1.6.0.14_1.1.6 Digium FAX Driver: 1.6.0.14_1.1.6 (optimized for i686_32) Using SIP RTP CoS mark 5 == Using UDPTL CoS mark 5 -- Executing [2016289913 at default:1] NoOp("SIP/204.16.59.19-00000014", "Fax Incoming Call") in new stack -- Executing [2016289913 at default:2] Goto("SIP/204.16.59.19-00000014", "faxin,2016289913,1") in new stack -- Goto (faxin,2016289913,1) -- Executing [2016289913 at faxin:1] NoOp("SIP/204.16.59.19-00000014", "This is ReceiveFAX application Testing") in new stack -- Executing [2016289913 at faxin:2] Wait("SIP/204.16.59.19-00000014", "6") in new stack -- Executing [2016289913 at faxin:3] NoOp("SIP/204.16.59.19-00000014", "******* SETTING FAXOPTS *********") in new stack -- Executing [2016289913 at faxin:4] Set("SIP/204.16.59.19-00000014", "FAXOPT(ecm)=yes") in new stack -- Executing [2016289913 at faxin:5] Set("SIP/204.16.59.19-00000014", "FAXOPT(localstationid)= 1234567890") in new stack -- Executing [2016289913 at faxin:6] Set("SIP/204.16.59.19-00000014", "FAXOPT(maxrate)=14400") in new stack -- Executing [2016289913 at faxin:7] Set("SIP/204.16.59.19-00000014", "FAXOPT(minrate)=2400") in new stack -- Executing [2016289913 at faxin:8] Set("SIP/204.16.59.19-00000014", "FAXOPT(modem)=V17") in new stack -- Executing [2016289913 at faxin:9] Wait("SIP/204.16.59.19-00000014", "6") in new stack -- Executing [2016289913 at faxin:10] NoOp("SIP/204.16.59.19-00000014", "********* RECEIVING FAX *********") in new stack -- Executing [2016289913 at faxin:11] ReceiveFAX("SIP/204.16.59.19-00000014", "/root/receivefax.tif") in new stack -- Channel 'SIP/204.16.59.19-00000014' receiving FAX '/root/receivefax.tif' [Dec 31 17:39:55] NOTICE[23578]: res_fax.c:712 generic_fax_exec: Negotiating T.38 for receive on SIP/204.16.59.19-00000014 [Dec 31 17:39:55] NOTICE[23578]: res_fax.c:779 generic_fax_exec: Negotiated T.38 for receive on SIP/204.16.59.19-00000014 -- Channel 'SIP/204.16.59.19-00000014' FAX session '14' started -- FAX handle 0: [ 000.000103 ], STAT_EVT_STRT_RX st: IDLE rt: IDLENSRX -- FAX handle 0: [ 000.000165 ], STAT_EVT_RX_HW_RDY st: WT_RX_HW_RDY rt: RRDYNHRY -- FAX handle 0: [ 000.000194 ], STAT_INFO_CSI -- FAX handle 0: [ 000.000246 ], STAT_INFO_DIS -- FAX handle 0: [ 005.252355 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21 -- FAX handle 0: [ 008.502165 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X -- FAX handle 0: [ 008.502187 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX -- FAX handle 0: [ 008.502203 ], STAT_INFO_CSI -- FAX handle 0: [ 008.502254 ], STAT_INFO_DIS -- FAX handle 0: [ 010.671745 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21 -- FAX handle 0: [ 014.001042 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X -- FAX handle 0: [ 014.001060 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX -- FAX handle 0: [ 014.001072 ], STAT_INFO_CSI -- FAX handle 0: [ 014.001116 ], STAT_INFO_DIS -- FAX handle 0: [ 016.172621 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21 -- FAX handle 0: [ 019.502918 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X -- FAX handle 0: [ 019.502934 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX -- FAX handle 0: [ 019.502944 ], STAT_INFO_CSI -- FAX handle 0: [ 019.502987 ], STAT_INFO_DIS -- FAX handle 0: [ 021.671498 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21 -- FAX handle 0: [ 025.001795 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X -- FAX handle 0: [ 025.001811 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX -- FAX handle 0: [ 025.001822 ], STAT_INFO_CSI -- FAX handle 0: [ 025.001864 ], STAT_INFO_DIS -- FAX handle 0: [ 027.172381 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21 -- FAX handle 0: [ 030.502672 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X -- FAX handle 0: [ 030.502688 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX -- FAX handle 0: [ 030.502699 ], STAT_INFO_CSI -- FAX handle 0: [ 030.502742 ], STAT_INFO_DIS [Dec 31 17:40:27] NOTICE[23578]: res_fax.c:906 generic_fax_exec: Channel 'SIP/204.16.59.19-00000014' did not return a frame; probably hung up. -- FAX handle 0: [ 031.791919 ], STAT_EVT_TMR_INT_EXP st: WT_DIS_RSP rt: XXXXNTIX -- FAX handle 0: [ 032.671246 ], STAT_EVT_TX_V21_DONE st: WT_HW_CLS rt: UNEXPECT -- FAX handle 0: [ 034.292902 ], STAT_EVT_HW_CLOSE st: WT_HW_CLS rt: WCLSNCLS -- FAX handle 0: [ 034.292976 ], STAT_SES_COMPLETE == Spawn extension (faxin, 2016289913, 11) exited non-zero on 'SIP/204.16.59.19-00000014' Executing [h at faxin:1] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(ecm) : no") in new stack -- Executing [h at faxin:2] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(filename) : /root/receivefax.tif") in new stack -- Executing [h at faxin:3] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(headerinfo) : ") in new stack -- Executing [h at faxin:4] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(locastationid) : 1234567890") in new stack -- Executing [h at faxin:5] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(maxrate) : 14400") in new stack -- Executing [h at faxin:6] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(minrate) : 2400") in new stack -- Executing [h at faxin:7] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(pages) : 0") in new stack -- Executing [h at faxin:8] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(rate) : 2400") in new stack -- Executing [h at faxin:9] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(remotestationid): ") in new stack -- Executing [h at faxin:10] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(resolution) : unknown") in new stack -- Executing [h at faxin:11] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(status) : FAILED") in new stack -- Executing [h at faxin:12] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(statusstr) : FAX_NO_FAX") in new stack -- Executing [h at faxin:13] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(err) : T1_TIMEOUT") in new stack Please advise me, Thanks in advance srinivas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100104/c195f32a/attachment.htm
Daniel Araujo
2010-Jan-08 18:47 UTC
[asterisk-users] Free FaxForAsterisk ReceiveFAX not working
Hello srinivas, I have the same issue on my Asterisk installation (Asterisk 1.4.25). Today i've updated both res_fax.so and res_fax_digium to latest version but no success. pfunitasbh*CLI> fax show version FAX For Asterisk Components: Applications: 1.4_1.1.6 Digium FAX Driver: 1.4_1.1.6 (optimized for pentium_m_32) Did you checked in Asterisk Console if the T38 module of free fax is enabled? "fax show capabilities" My Output: -------------------------------------- Registered FAX Technology Modules: Type : DIGIUM Description : Digium FAX Driver Capabilities : SEND RECEIVE G.711 -------------------------------------- On another installation (output found on google) the response of command is: -------------------------------------- Registered Fax Technology Modules: Type : T.38 Description : Digium Fax T.38 Driver Capabilities : SEND, RECEIVE, UDP Type : G.711 Description : Digium Fax G.711 Driver Capabilities : SEND, RECEIVE -------------------------------------- As you can see, the T38 module isn't enabled on my installation. Tried ask google how to make it work, but found no hints yet. Anyone can help us? Thanks! Daniel Araujo "May the Source be With You!" Linux user #433396 http://counter.li.org 2010/1/4 srinivas Antarvedi <srinivas.antarvedi at gmail.com>> Hello users, > > Recently i have installed the free version of FaxForAsterisk and trying to > work with it by sending a fax > on T38. > > My version information is as follows > > i)Asterisk 1.6.0.20 > ii)res_fax-1.6.0.14_1.1.6-x86_32 > iii)res_fax_digium-1.6.0.14_1.1.6-i686_32 > > sip.conf > [general] > t38pt_udptl=yes > > extensions.conf > [default] > exten => _XXXXXXXXXX,1,NoOp(Fax Incoming Call) > exten => _XXXXXXXXXX,n,GoTo(faxin,${EXTEN},1) > > [faxin] > exten => _XXXXXXXXXX,1,NoOp(This is ReceiveFAX application Testing) > exten => _XXXXXXXXXX,n,Wait(6) > exten => _XXXXXXXXXX,n,NoOp(******* SETTING FAXOPTS *********) > exten => _XXXXXXXXXX,n,Set(FAXOPT(ecm)=yes) > exten => _XXXXXXXXXX,n,Set(FAXOPT(localstationid)= 1234567890) > exten => _XXXXXXXXXX,n,Set(FAXOPT(maxrate)=14400) > exten => _XXXXXXXXXX,n,Set(FAXOPT(minrate)=2400) > exten => _XXXXXXXXXX,n,Set(FAXOPT(modem)=V17) > exten => _XXXXXXXXXX,n,Wait(6) > exten => _XXXXXXXXXX,n,NoOp(********* RECEIVING FAX *********) > exten => _XXXXXXXXXX,n,ReceiveFAX(/root/receivefax.tif) > > > exten => h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) > exten => h,n,NoOp(FAXOPT(filename) : ${FAXOPT(filename)}) > exten => h,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)}) > exten => h,n,NoOp(FAXOPT(locastationid) : ${FAXOPT(localstationid)}) > exten => h,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)}) > exten => h,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)}) > exten => h,n,NoOp(FAXOPT(pages) : ${FAXOPT(pages)}) > exten => h,n,NoOp(FAXOPT(rate) : ${FAXOPT(rate)}) > exten => h,n,NoOp(FAXOPT(remotestationid): ${FAXOPT(remotestationid)}) > exten => h,n,NoOp(FAXOPT(resolution) : ${FAXOPT(resolution)}) > exten => h,n,NoOp(FAXOPT(status) : ${FAXOPT(status)}) > exten => h,n,NoOp(FAXOPT(statusstr) : ${FAXOPT(statusstr)}) > exten => h,n,NoOp(FAXOPT(err) : ${FAXOPT(error)}) > > > and my asterisk cli information is as follows > > asterisk CLI>fax show version > FAX For Asterisk Components: > Applications: 1.6.0.14_1.1.6 > Digium FAX Driver: 1.6.0.14_1.1.6 (optimized for i686_32) > > Using SIP RTP CoS mark 5 > == Using UDPTL CoS mark 5 > -- Executing [2016289913 at default:1] NoOp("SIP/204.16.59.19-00000014", "Fax > Incoming Call") in new stack > -- Executing [2016289913 at default:2] Goto("SIP/204.16.59.19-00000014", > "faxin,2016289913,1") in new stack > -- Goto (faxin,2016289913,1) > -- Executing [2016289913 at faxin:1] NoOp("SIP/204.16.59.19-00000014", "This > is ReceiveFAX application Testing") in new stack > -- Executing [2016289913 at faxin:2] Wait("SIP/204.16.59.19-00000014", "6") > in new stack > -- Executing [2016289913 at faxin:3] NoOp("SIP/204.16.59.19-00000014", > "******* SETTING FAXOPTS *********") in new stack > -- Executing [2016289913 at faxin:4] Set("SIP/204.16.59.19-00000014", > "FAXOPT(ecm)=yes") in new stack > -- Executing [2016289913 at faxin:5] Set("SIP/204.16.59.19-00000014", > "FAXOPT(localstationid)= 1234567890") in new stack > -- Executing [2016289913 at faxin:6] Set("SIP/204.16.59.19-00000014", > "FAXOPT(maxrate)=14400") in new stack > -- Executing [2016289913 at faxin:7] Set("SIP/204.16.59.19-00000014", > "FAXOPT(minrate)=2400") in new stack > -- Executing [2016289913 at faxin:8] Set("SIP/204.16.59.19-00000014", > "FAXOPT(modem)=V17") in new stack > -- Executing [2016289913 at faxin:9] Wait("SIP/204.16.59.19-00000014", "6") > in new stack > -- Executing [2016289913 at faxin:10] NoOp("SIP/204.16.59.19-00000014", > "********* RECEIVING FAX *********") in new stack > -- Executing [2016289913 at faxin:11] ReceiveFAX("SIP/204.16.59.19-00000014", > "/root/receivefax.tif") in new stack > -- Channel 'SIP/204.16.59.19-00000014' receiving FAX '/root/receivefax.tif' > [Dec 31 17:39:55] NOTICE[23578]: res_fax.c:712 generic_fax_exec: > Negotiating T.38 for receive on SIP/204.16.59.19-00000014 > [Dec 31 17:39:55] NOTICE[23578]: res_fax.c:779 generic_fax_exec: Negotiated > T.38 for receive on SIP/204.16.59.19-00000014 > -- Channel 'SIP/204.16.59.19-00000014' FAX session '14' started > -- FAX handle 0: [ 000.000103 ], STAT_EVT_STRT_RX st: IDLE rt: IDLENSRX > -- FAX handle 0: [ 000.000165 ], STAT_EVT_RX_HW_RDY st: WT_RX_HW_RDY rt: > RRDYNHRY > -- FAX handle 0: [ 000.000194 ], STAT_INFO_CSI > -- FAX handle 0: [ 000.000246 ], STAT_INFO_DIS > -- FAX handle 0: [ 005.252355 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: > WDSRNT21 > -- FAX handle 0: [ 008.502165 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: > XXXXNT4X > -- FAX handle 0: [ 008.502187 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: > RXXXNFRX > -- FAX handle 0: [ 008.502203 ], STAT_INFO_CSI > -- FAX handle 0: [ 008.502254 ], STAT_INFO_DIS > -- FAX handle 0: [ 010.671745 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: > WDSRNT21 > -- FAX handle 0: [ 014.001042 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: > XXXXNT4X > -- FAX handle 0: [ 014.001060 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: > RXXXNFRX > -- FAX handle 0: [ 014.001072 ], STAT_INFO_CSI > -- FAX handle 0: [ 014.001116 ], STAT_INFO_DIS > -- FAX handle 0: [ 016.172621 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: > WDSRNT21 > -- FAX handle 0: [ 019.502918 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: > XXXXNT4X > -- FAX handle 0: [ 019.502934 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: > RXXXNFRX > -- FAX handle 0: [ 019.502944 ], STAT_INFO_CSI > -- FAX handle 0: [ 019.502987 ], STAT_INFO_DIS > -- FAX handle 0: [ 021.671498 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: > WDSRNT21 > -- FAX handle 0: [ 025.001795 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: > XXXXNT4X > -- FAX handle 0: [ 025.001811 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: > RXXXNFRX > -- FAX handle 0: [ 025.001822 ], STAT_INFO_CSI > -- FAX handle 0: [ 025.001864 ], STAT_INFO_DIS > -- FAX handle 0: [ 027.172381 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: > WDSRNT21 > -- FAX handle 0: [ 030.502672 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: > XXXXNT4X > -- FAX handle 0: [ 030.502688 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: > RXXXNFRX > -- FAX handle 0: [ 030.502699 ], STAT_INFO_CSI > -- FAX handle 0: [ 030.502742 ], STAT_INFO_DIS > [Dec 31 17:40:27] NOTICE[23578]: res_fax.c:906 generic_fax_exec: Channel > 'SIP/204.16.59.19-00000014' did not return a frame; probably hung up. > -- FAX handle 0: [ 031.791919 ], STAT_EVT_TMR_INT_EXP st: WT_DIS_RSP rt: > XXXXNTIX > -- FAX handle 0: [ 032.671246 ], STAT_EVT_TX_V21_DONE st: WT_HW_CLS rt: > UNEXPECT > -- FAX handle 0: [ 034.292902 ], STAT_EVT_HW_CLOSE st: WT_HW_CLS rt: > WCLSNCLS > -- FAX handle 0: [ 034.292976 ], STAT_SES_COMPLETE > == Spawn extension (faxin, 2016289913, 11) exited non-zero on > 'SIP/204.16.59.19-00000014' > Executing [h at faxin:1] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(ecm) : > no") in new stack > -- Executing [h at faxin:2] NoOp("SIP/204.16.59.19-00000012", > "FAXOPT(filename) : /root/receivefax.tif") in new stack > -- Executing [h at faxin:3] NoOp("SIP/204.16.59.19-00000012", > "FAXOPT(headerinfo) : ") in new stack > -- Executing [h at faxin:4] NoOp("SIP/204.16.59.19-00000012", > "FAXOPT(locastationid) : 1234567890") in new stack > -- Executing [h at faxin:5] NoOp("SIP/204.16.59.19-00000012", > "FAXOPT(maxrate) : 14400") in new stack > -- Executing [h at faxin:6] NoOp("SIP/204.16.59.19-00000012", > "FAXOPT(minrate) : 2400") in new stack > -- Executing [h at faxin:7] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(pages) > : 0") in new stack > -- Executing [h at faxin:8] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(rate) : > 2400") in new stack > -- Executing [h at faxin:9] NoOp("SIP/204.16.59.19-00000012", > "FAXOPT(remotestationid): ") in new stack > -- Executing [h at faxin:10] NoOp("SIP/204.16.59.19-00000012", > "FAXOPT(resolution) : unknown") in new stack > -- Executing [h at faxin:11] NoOp("SIP/204.16.59.19-00000012", > "FAXOPT(status) : FAILED") in new stack > -- Executing [h at faxin:12] NoOp("SIP/204.16.59.19-00000012", > "FAXOPT(statusstr) : FAX_NO_FAX") in new stack > -- Executing [h at faxin:13] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(err) : > T1_TIMEOUT") in new stack > > > > Please advise me, > > Thanks in advance > srinivas > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100108/2778d204/attachment.htm