Hi,
I'm new to Callweaver and trying send fax ...
I have installed server with Fedora 8.0 and Callweaver - from rpm package.
I have configured sip.conf + extensions.conf
when I try call from one softphone (Zoiper) to another (different PCs) - call
works.
When I try send fax (using Zoiper) it looks like call ... phone is ringing
after accept nothing happend ...
Does is possible send fax from one softphone to another?
Is possible send fax from callweaver spool directory to softphone?
file copied to /var/spool/callweaver/outgoing
Channel: SIP/[EMAIL PROTECTED]
MaxRetries: 0
WaitTime: 30
Set: LOCALSTATIONID=Callweaver fax
Set: LOCALHEADERINFO=CallWeaver Fax with T38
Set: FAXFILE=/tmp/fax/OUT/fax_test.tif
;Set: T38CALL=1
;Set: T38TXDETECT=something
Context: faxout
Extension: 6245
priority: 1
- modiefied from http://www.callweaver.org/wiki/Faxing+With+CallWeaver
sip.conf - only part
[steve1]
type=friend ; Friends place calls and receive calls
context=default ; Context for incoming calls from this user
secret=pass
subscribecontext=localextensions ; Only allow SUBSCRIBE for local extensions
language=en ; Use German prompts for this user
host=dynamic ; This peer register with us
dtmfmode=inband ; Choices are inband, rfc2833, or info
defaultip=192.168.1.42 ; IP used until peer registers
[EMAIL PROTECTED],2345 ; Mailbox(-es) for message waiting indicator
vmexten=voicemail ; dialplan extension to reach mailbox
; sets the Message-Account in the MWI notify message
; defaults to global vmexten which defaults to
"callweaver"
restrictcid=yes ; To have the callerid restriced -> sent as ANI
disallow=all
allow=ulaw ; dtmfmode=inband only works with ulaw or alaw!
[steve2]
type=friend ; Friends place calls and receive calls
context=default ; Context for incoming calls from this user
secret=pass
subscribecontext=localextensions ; Only allow SUBSCRIBE for local extensions
language=en ; Use German prompts for this user
host=dynamic ; This peer register with us
dtmfmode=inband ; Choices are inband, rfc2833, or info
defaultip=192.168.1.80 ; IP used until peer registers
[EMAIL PROTECTED],2345 ; Mailbox(-es) for message waiting indicator
vmexten=voicemail ; dialplan extension to reach mailbox
; sets the Message-Account in the MWI notify message
; defaults to global vmexten which defaults to
"callweaver"
restrictcid=yes ; To have the callerid restriced -> sent as ANI
disallow=all
allow=ulaw ; dtmfmode=inband only works with ulaw or alaw!
extensions.conf -- only parts
...
[faxin]
exten => s,1,Set(LOCALSTATIONID=Navynet.it FAX)
exten => s,n,Set(LOCALHEADERINFO=Navynet SRL is a solution provider for
business)
exten => s,n,Set(FAXFILE=/tmp/${UNIQUEID}.tif)
exten => s,n,Set(FAXFILENOEXT=/tmp/${UNIQUEID})
exten => s,n,RxFAX(${FAXFILE},ecm)
exten => s,n,NoOp(RX: REMOTESTATIONID is ${REMOTESTATIONID})
exten => s,n,NoOp(RX: PHASEESTATUS is ${PHASEESTATUS})
[faxout]
exten => s,1,Set(LOCALSTATIONID=Navynet.it FAX)
exten => s,n,Set(LOCALHEADERINFO=Navynet SRL offre soluzioni VOIP per call
center)
exten => s,n,Set(FAXFILE=/tmp/fax/OUT/fax_test.tif)
exten => s,n,TxFAX(${FAXFILE},caller,ecm)
exten => h,1,NoOp(TX: REMOTESTATIONID is ${REMOTESTATIONID})
exten => h,n,NoOp(TX: PHASEESTATUS is ${PHASEESTATUS})
[detectfax]
exten => s,1,FaxDetect(8000)
exten => s,n,Hangup()
exten => fax,1,NoOp(Fax detected)
exten => fax,n,Set(LOCALSTATIONID=Callweaver FAX)
exten => fax,n,Set(LOCALHEADERINFO=Callewaver fax termination wih detection)
exten => fax,n,RxFAX(/tmp/fax/${UNIQUEID}.tiff)
exten => fax,n,Hangup()
exten => h,1,NoOp(RX: REMOTESTATIONID is ${REMOTESTATIONID})
exten => h,n,NoOp(RX: PHASEESTATUS is ${PHASEESTATUS})
exten => h,n,NoOp(RX: PHASEESTRING is ${PHASEESTRING})
[myfax]
exten => 800,1,Goto(faxin,s,1);
exten => 801,1,Goto(faxout,s,1);
exten => 802,1,Goto(detectfax,s,1);
.....
exten => 6245,hint,SIP/Steve1&SIP/Xlite1,Joe Schmoe ; Channel hints for presence
exten => 6245,1,Dial(SIP/Steve1,20,rt) ; permit transfer
exten => 6245,n(dial),Dial(${HINT},20,rtT) ; Use hint as listed
exten => 6245,n,VoiceMail(u6245) ; VoiceMail (unavailable)
exten => 6245,s+1,Hangup ; s+1, same as n
exten => 6245,dial+101,VoiceMail(b6245) ; VoiceMail (busy)
exten => 6255,hint,SIP/Steve2&SIP/Xlite1,Joe Schmoe ; Channel hints for presence
exten => 6255,1,Dial(SIP/Steve2,20,rt) ; permit transfer
exten => 6255,n(dial),Dial(${HINT},20,rtT) ; Use hint as listed
exten => 6255,n,VoiceMail(u6245) ; VoiceMail (unavailable)
exten => 6255,s+1,Hangup ; s+1, same as n
exten => 6255,dial+101,VoiceMail(b6245) ; VoiceMail (busy)
thaaanks
Steve
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now._______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users