Thanks Tim - it gives a warning that SipT38SwitchOver can only be used on SIP 
channels, and then fails with the "exceptionally long queue" errors.

So looks I'll need to write some inhouse software that creates the manual spool 
files and copies them to the outgoing directory and let CallWeaver do the rest.

Basically noone in the world has a software based T.38 outgoing fax server is 
my conclusion. Really weird given how long this technology has been around and 
how unreliable any other form of ip based faxing is!

Cheers,
Pete

-----Original Message-----
From: callweaver-users-boun...@callweaver.org 
[mailto:callweaver-users-boun...@callweaver.org] On Behalf Of Tim Nelson
Sent: Wednesday, November 18, 2009 11:53 AM
To: Users Mailing List - Non-Commercial Discussion
Subject: Re: [Callweaver-users] hylafax -> iaxmodem -> callweaver

Peter Verhoeven wrote:
> Thanks, I have tried to set the context in iax.conf as follows:
>
> [general]
> bindport=4569                   ; bindport and bindaddr may be specified
> bindaddr=0.0.0.0
> disallow=all
> allow=ulaw
> allow=alaw
>
> [iaxmodem]
> type=friend
> secret=password
> bindport=4570
> host=dynamic
> context=faxout  ; also tried "outgoing"
> disallow=all
> allow=alaw
>
> And in extensions.conf I have:
>
> [faxout]
> exten => s,1,Set(LOCALSTATIONID=CallWeaver FAX) exten =>
> s,n,Set(LOCALHEADERINFO=Callweaver fax termination) exten =>
> s,n,Set(FAXFILE=/tmp/${UNIQUEID}.tif)
> exten => s,n,Set(SIP_CODEC=alaw)
> exten => s,n,SipDTMFMode(inband)
> exten => s,n,TxFAX(${FAXFILE},caller,debug,ecm)
> exten => s,n,Hangup()
> exten => h,1,NoOp(TX: REMOTESTATIONID is ${REMOTESTATIONID}) exten =>
> h,n,NoOp(TX: FAXPAGES is ${FAXPAGES}) exten => h,n,NoOp(TX:
> FAXRESOLUTION  is ${FAXRESOLUTION}) exten => h,n,NoOp(TX: FAXBITRATE
> is ${FAXBITRATE}) exten => h,n,NoOp(TX: PHASEESTATUS is
> ${PHASEESTATUS}) exten => h,n,NoOp(TX: PHASEESTRING is
> ${PHASEESTRING})
>
> [outgoing]
> exten => _X.,1,Dial(SIP/${ext...@wdp)
>
>
> With using the "faxout" context it tries to look for the faxnumber I'm 
> sending to as an extension which it can't find and fails.
> With the "outgoing" context it makes a call but it drops audio packets and 
> fails. It appears to not even be treating it as a fax, nor T.38.
>
>
> I somehow need it to use the "faxout" context, like the spoolfile test does.
>
[faxout] is setup to send a fax that is present in /tmp. [outgoing] is dialing 
as expected. Update [outgoing] to this:

|[outgoing]
exten => _X.,1,Wait(1)
exten => _X.,n,SipT38SwitchOver()
exten => _X.,n,Dial(SIP/${ext...@wdp)
|


This may or may not work. And, keep in mind, I'm not entirely sure if 
Callweaver can do channel conversion from SIP/T.38 to IAX/aLaw. I'd done some 
testing of this a few months ago and I recall the fax/channel failing 
completely or T.38 simply not switching. I certainly hope this has changed in 
recent months. :-)

--Tim
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users

This communication including any email attachments is confidential.  If you are 
not the intended recipient you are hereby notified that any use, disclosure or 
action taken in reliance on this email is unauthorized and strictly prohibited. 
 If you have received the email in error please reply to the sender and destroy 
all copies.  The sender does not warrant that this email is free from viruses 
and other defects.   By opening this email you accept responsibility for all 
damages whether direct or indirect and agree that the sender's liability, if 
any, is limited to the re-supply of the email.  The views expressed herein are 
those of the individual and not the organization unless expressly stated 
otherwise.
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to