Channel: SIP/as5300/89236#3619997424 MaxRetries: 0 WaitTime: 30 ; you can set variables here too!! ; Setting the file name is let as an exercise to the reader. Set: LOCALSTATIONID=shh Set: LOCALHEADERINFO=jalsot ;Please note. ;Setting the T38CALL channel variable before actually originating the call, ;skips the RTP part and starts T38 negotiation directly. Don't use unless ;you are dialing on a SIP channel. ; be aware that some gateway (cisco, for example) do not allow direct T38 negotiation. ;Set: T38CALL=1 Context: faxout Extension: s priority: 1 [faxout] exten => s,1,Set(LOCALSTATIONID=eWC FAX) exten => s,n,Set(LOCALHEADERINFO=Jalsot teszt) exten => s,n,Set(FAXFILE=/tmp/test3_opbx_rulez.tif) exten => s,n,TxFAX(${FAXFILE}|caller|ecm) exten => h,1,NoOp(TX: REMOTESTATIONID is ${REMOTESTATIONID}) exten => h,n,NoOp(TX: PHASEESTATUS is ${PHASEESTATUS})