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.

-----Original Message-----
From: callweaver-users-boun...@callweaver.org 
[mailto:callweaver-users-boun...@callweaver.org] On Behalf Of Tim Nelson
Sent: Tuesday, November 17, 2009 12:23 PM
To: Users Mailing List - Non-Commercial Discussion
Subject: Re: [Callweaver-users] hylafax -> iaxmodem -> callweaver

Peter Verhoeven wrote:
> Ok,
>
> I've made some progress. I can successfully fax using T.38 over SIP
> using a manual spool file.
>
> Next I need to be able let Hylafax send faxes out.
>
> I have IAXMODEM installed, Hylafax running, and talking to IAXMODEM.
> IAXMODEM is talking to Callweaver. So far so good.
>
> The problem is that I can not work out how to make the iaxmodem
> session with callweaver use the faxout context.
>
> Any suggestions?
>
> Thanks!
>
>
Update the context for your IAXmodem to use the proper context. This will be in 
iax.conf.

--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