Dears I installed digium fax and followed the instruction at http://downloads.digium.com/pub/telephony/fax/README,And as you can see above that t38 is loaded
I am using a call file to send fax1.tif file as fax to the gateway named add The problem that Addpac send always Receive 488 Not acceptable here,and lkindly find my debug attached Please advice. Thanks I Advance shark*CLI> fax show capabilities shark*CLI> 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 2 registered modules ************My Call File*************** Channel: SIP/6...@add MaxRetries: 2 WaitTime: 20 Extension: s Priority: 1 Context: fax-tx *************My sipconf************************** Cisco Gateway [add] host=212.56.151.216 username=***userid*** secret=***password*** type=peer t38pt_udptl = yes *************My extension.conf************************** [fax-tx] exten => s,1,NoOp(**** SENDING FAX ****) exten => s,n,Wait(6) exten => s,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ]) exten => s,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)}) exten => s,n,Set(FAXFILE=fax1.tif) ; Set FAXOPTs exten => s,n,NoOp(**** SETTING FAXOPT ****) exten => s,n,Set(FAXOPT(filename)=${FAXFILE}) exten => s,n,Set(FAXOPT(ecm)=yes) exten => s,n,Set(FAXOPT(headerinfo)=Fax from ${GLOBAL(LASTFAXCALLERNAME)} at ${GLOBAL(LASTFAXCALLERNUM)} was received.) exten => s,n,Set(FAXOPT(localstationid)=1234567890) exten => s,n,Set(FAXOPT(maxrate)=14400) exten => s,n,Set(FAXOPT(minrate)=2400) ; Send the fax exten => s,n,NoOp(**** SENDING FAX : ${FAXFILE} ****) exten => s,n,SendFAX(/tmp/${FAXFILE},d) ; Hangup! Print FAXOPTs 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(localstationid) : ${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(error) : ${FAXOPT(error)}) ********************************************* No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium. If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects. *********************************************
***************Debug******************** shark*CLI> Fax Debug Enabled -- Attempting call on SIP/6...@add for 1...@fax-tx:1 (Retry 1) == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 == Using UDPTL TOS bits 184 == Using UDPTL CoS mark 5 > Channel SIP/add-084acf98 was answered. == Starting SIP/add-084acf98 at fax-tx,123,1 failed so falling back to exten 's' -- Executing [...@fax-tx:1] NoOp("SIP/add-084acf98", "**** SENDING FAX ****") in new stack -- Executing [...@fax-tx:2] Wait("SIP/add-084acf98", "6") in new stack -- Executing [...@fax-tx:3] Set("SIP/add-084acf98", "GLOBAL(FAXCOUNT)=") in new stack == Setting global variable 'FAXCOUNT' to '' -- Executing [...@fax-tx:4] Set("SIP/add-084acf98", "FAXCOUNT=") in new stack -- Executing [...@fax-tx:5] Set("SIP/add-084acf98", "FAXFILE=fax1.tif") in new stack -- Executing [...@fax-tx:6] NoOp("SIP/add-084acf98", "**** SETTING FAXOPT ****") in new stack -- Executing [...@fax-tx:7] Set("SIP/add-084acf98", "FAXOPT(filename)=fax1.tif") in new stack -- Executing [...@fax-tx:8] Set("SIP/add-084acf98", "FAXOPT(ecm)=yes") in new stack -- Executing [...@fax-tx:9] Set("SIP/add-084acf98", "FAXOPT(headerinfo)=Fax from at was received.") in new stack -- Executing [...@fax-tx:10] Set("SIP/add-084acf98", "FAXOPT(localstationid)=1234567890") in new stack -- Executing [...@fax-tx:11] Set("SIP/add-084acf98", "FAXOPT(maxrate)=14400") in new stack -- Executing [...@fax-tx:12] Set("SIP/add-084acf98", "FAXOPT(minrate)=2400") in new stack -- Executing [...@fax-tx:13] NoOp("SIP/add-084acf98", "**** SENDING FAX : fax1.tif ****") in new stack -- Executing [...@fax-tx:14] SendFAX("SIP/add-084acf98", "/tmp/fax1.tif,d") in new stack -- Channel 'SIP/add-084acf98' sending fax '/tmp/fax1.tif' -- Channel 'SIP/add-084acf98' fax session '13' started -- Channel 'SIP/add-084acf98' fax session '13', [ 000.002202 ], STAT_EVT_STRT_TX st: IDLE rt: IDLENSTX -- Channel 'SIP/add-084acf98' fax session '13', [ 000.002429 ], STAT_EVT_TX_HW_RDY st: WT_TX_HW_RDY rt: TRDYNHTY -- Channel 'SIP/add-084acf98' fax session '13', [ 000.194677 ], <<<<<< (to chan) completed sending ' 0' frames ( 0 ms) of 'energy ', now sending 'energy '. -- Channel 'SIP/add-084acf98' fax session '13', [ 084.447112 ], STAT_EVT_T1_EXP st: WT_DIS rt: WDISNT1X -- Channel 'SIP/add-084acf98' fax session '13', [ 093.751409 ], STAT_EVT_HW_CLOSE st: WT_HW_CLS rt: WCLSNCLS -- Channel 'SIP/add-084acf98' fax session '13', [ 093.751552 ], STAT_SES_COMPLETE -- Channel 'SIP/add-084acf98' fax session '13' is complete, result: 'FAILED' (FAX_NO_FAX), error: 'T1_TIMEOUT', pages: 0, resolution: 'unknown', transfer rate: '2400', remoteSID: '' == Spawn extension (fax-tx, s, 14) exited non-zero on 'SIP/add-084acf98' -- Executing [...@fax-tx:1] NoOp("SIP/add-084acf98", "FAXOPT(ecm) : no") in new stack -- Executing [...@fax-tx:2] NoOp("SIP/add-084acf98", "FAXOPT(filename) : /tmp/fax1.tif") in new stack -- Executing [...@fax-tx:3] NoOp("SIP/add-084acf98", "FAXOPT(headerinfo) : Fax from at was received.") in new stack -- Executing [...@fax-tx:4] NoOp("SIP/add-084acf98", "FAXOPT(localstationid) : 1234567890") in new stack -- Executing [...@fax-tx:5] NoOp("SIP/add-084acf98", "FAXOPT(maxrate) : 14400") in new stack -- Executing [...@fax-tx:6] NoOp("SIP/add-084acf98", "FAXOPT(minrate) : 2400") in new stack -- Executing [...@fax-tx:7] NoOp("SIP/add-084acf98", "FAXOPT(pages) : 0") in new stack -- Executing [...@fax-tx:8] NoOp("SIP/add-084acf98", "FAXOPT(rate) : 2400") in new stack -- Executing [...@fax-tx:9] NoOp("SIP/add-084acf98", "FAXOPT(remotestationid) : ") in new stack -- Executing [...@fax-tx:10] NoOp("SIP/add-084acf98", "FAXOPT(resolution) : unknown") in new stack -- Executing [...@fax-tx:11] NoOp("SIP/add-084acf98", "FAXOPT(status) : FAILED") in new stack -- Executing [...@fax-tx:12] NoOp("SIP/add-084acf98", "FAXOPT(statusstr) : FAX_NO_FAX") in new stack -- Executing [...@fax-tx:13] NoOp("SIP/add-084acf98", "FAXOPT(error) : T1_TIMEOUT") in new stack ******************debug on cisco gateway******************************** ********** 2501 <SIP 137> : Receive INVITE Request 2502 <NetCon 137> : Found inbound voip peer by answer-address id(102) 2503 <Call 137> : From Net - calledParty(6789) callingParty(Unknown) 2504 <Call 137> : MatchedPerfect 2505 <Call 137> : MatchAllProcess After Sorted <0> id(0) dest(6789) prefer(0) selected(43) 2506 <Call 137> : Initiate callee with dial-peer(6789) status(CalleeDeterminedAll) id(00000000-0000-0000-0000-000000000000) 2507 <CEP 000000> : InitiateOutCall : calledNum(6789), callingNum(), callerPort(ffffffff) type(FXS) 2508 <CEP 000000> : Outbound call to CEP callId(00000000-0000-0000-0000-000000000000) callNum(137) 2509 <SIP 137> : SetAlerting 2510 <Call 137> : PreConnected from(0) 2511 <SIP 137> : Add Local Audio MediaFormat : 8 2512 <Call 137> : Connected from(0) 2513 <SIP 137> : SetConnected 2514 <SIP 137> : Add Local Audio MediaFormat : 8 2515 <SIP 137> : ACK received 2516 <SIP 137> : Receive ACK Request 2517 <SIP 137> : Set Terminated Success for 102 INVITE [50402.980] T38(0/0/0) T38_VOICE_BLK_TIMER start [50402.980] T38(0/0/0) save CED [50405.600] T38(0/0/0) Tx CC_FAX_IND 2518 <Call 137> : FaxIndicated from(89) 2519 <SIP 0> : No authentication information available 2520 <SIP 137> : Send INVITE Request 2521 <SIP 137> : Receive 100 Trying 2522 <SIP 137> : Transaction (96 INVITE) proceeding [50406.640] T38(0/0/0) discard T30D from VoPP by no sess [50406.660] T38(0/0/0) discard T30D from VoPP by no sess [50406.690] T38(0/0/0) discard T30D from VoPP by no sess [50406.720] T38(0/0/0) discard T30D from VoPP by no sess [50406.740] T38(0/0/0) discard T30D from VoPP by no sess [50406.770] T38(0/0/0) discard T30D from VoPP by no sess [50406.800] T38(0/0/0) discard T30D from VoPP by no sess [50406.820] T38(0/0/0) discard T30D from VoPP by no sess [50406.850] T38(0/0/0) discard T30D from VoPP by no sess [50406.880] T38(0/0/0) discard T30D from VoPP by no sess [50406.910] T38(0/0/0) discard T30D from VoPP by no sess [50406.930] T38(0/0/0) discard T30D from VoPP by no sess [50406.960] T38(0/0/0) discard T30D from VoPP by no sess [50406.990] T38(0/0/0) discard T30D from VoPP by no sess [50407.010] T38(0/0/0) discard T30D from VoPP by no sess [50407.040] T38(0/0/0) discard T30D from VoPP by no sess [50407.070] T38(0/0/0) discard T30D from VoPP by no sess [50407.090] T38(0/0/0) discard T30D from VoPP by no sess [50407.120] T38(0/0/0) discard T30D from VoPP by no sess [50407.150] T38(0/0/0) discard T30D from VoPP by no sess [50407.170] T38(0/0/0) discard T30D from VoPP by no sess [50407.200] T38(0/0/0) discard T30D from VoPP by no sess [50407.230] T38(0/0/0) discard T30D from VoPP by no sess [50407.250] T38(0/0/0) discard T30D from VoPP by no sess [50407.280] T38(0/0/0) discard T30D from VoPP by no sess [50407.310] T38(0/0/0) discard T30D from VoPP by no sess [50407.330] T38(0/0/0) discard T30D from VoPP by no sess [50407.360] T38(0/0/0) discard T30D from VoPP by no sess [50407.390] T38(0/0/0) discard T30D from VoPP by no sess [50407.410] T38(0/0/0) discard T30D from VoPP by no sess [50407.440] T38(0/0/0) discard T30D from VoPP by no sess [50407.470] T38(0/0/0) discard T30D from VoPP by no sess [50407.490] T38(0/0/0) discard T30D from VoPP by no sess [50407.520] T38(0/0/0) discard T30D from VoPP by no sess [50407.550] T38(0/0/0) discard T30D from VoPP by no sess [50407.570] T38(0/0/0) discard T30D from VoPP by no sess [50407.600] T38(0/0/0) discard T30D from VoPP by no sess [50407.630] T38(0/0/0) discard T30D from VoPP by no sess [50407.650] T38(0/0/0) discard T30D from VoPP by no sess [50407.680] T38(0/0/0) discard T30D from VoPP by no sess [50407.705] T38(0/0/0) discard T30D from VoPP by no sess [50407.850] T38(0/0/0) discard T30D from VoPP by no sess [50407.870] T38(0/0/0) discard T30D from VoPP by no sess [50407.900] T38(0/0/0) discard T30D from VoPP by no sess [50407.930] T38(0/0/0) discard T30D from VoPP by no sess [50407.950] T38(0/0/0) discard T30D from VoPP by no sess [50407.980] T38(0/0/0) discard T30D from VoPP by no sess [50408.010] T38(0/0/0) discard T30D from VoPP by no sess [50408.030] T38(0/0/0) discard T30D from VoPP by no sess [50408.060] T38(0/0/0) discard T30D from VoPP by no sess [50408.090] T38(0/0/0) discard T30D from VoPP by no sess [50408.110] T38(0/0/0) discard T30D from VoPP by no sess [50408.140] T38(0/0/0) discard T30D from VoPP by no sess [50408.170] T38(0/0/0) discard T30D from VoPP by no sess [50408.190] T38(0/0/0) discard T30D from VoPP by no sess [50408.220] T38(0/0/0) discard T30D from VoPP by no sess [50408.250] T38(0/0/0) discard T30D from VoPP by no sess [50408.270] T38(0/0/0) discard T30D from VoPP by no sess [50408.300] T38(0/0/0) discard T30D from VoPP by no sess [50408.330] T38(0/0/0) discard T30D from VoPP by no sess [50408.350] T38(0/0/0) discard T30D from VoPP by no sess [50408.380] T38(0/0/0) discard T30D from VoPP by no sess [50408.410] T38(0/0/0) discard T30D from VoPP by no sess [50408.430] T38(0/0/0) discard T30D from VoPP by no sess [50408.460] T38(0/0/0) discard T30D from VoPP by no sess [50408.600] T38(0/0/0) discard T30D from VoPP by no sess [50408.630] T38(0/0/0) discard T30D from VoPP by no sess [50408.650] T38(0/0/0) discard T30D from VoPP by no sess [50408.680] T38(0/0/0) discard T30D from VoPP by no sess [50408.710] T38(0/0/0) discard T30D from VoPP by no sess [50408.730] T38(0/0/0) discard T30D from VoPP by no sess [50408.760] T38(0/0/0) discard T30D from VoPP by no sess [50408.790] T38(0/0/0) discard T30D from VoPP by no sess [50408.810] T38(0/0/0) discard T30D from VoPP by no sess [50408.840] T38(0/0/0) discard T30D from VoPP by no sess [50408.900] T38(0/0/0) discard T30D from VoPP by no sess [50408.910] T38(0/0/0) discard T30I from VoPP by no sess [50408.980] T38(0/0/0) T38_VOICE_BLK_TIMER timeout 2523 <SIP 137> : Receive 488 Not acceptable here 2524 <SIP 137> : Transaction (96 INVITE) completed 2525 <SIP 137> : Send ACK Request 2526 <SIP 137> : ReleaseWithBYE 2527 <SIP 137> : Send BYE Request 2528 <Call 137> : Terminated from(fffffffe) this(Remote:CallClear) before(NULL) forced(0) 2529 <CEP 000000> : DisconnectCall at Busy 2530 <CEP 000000> : StopSignal 2531 <CEP 000000> : Disconnect (0) 2532 <NetEP 137> : Call TO <Unknown> terminated reason(Remote:CallClear) 2533 <NetCon 137> : Sent RADIUS VoIP STOP Session(242) 2534 <SIP 137> : Receive 200 OK 2535 <SIP 137> : Transaction (97 BYE) completed 2536 <SIP 137> : Set Terminated Success for 97 BYE
_______________________________________________ -- 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