Hi Scott,

There's a few things you might be able to try - first, you should set 
'canreinvite=yes' in sip.conf.  Second, the sipt38reinvite will not do a 
reinvite unless the audio streams have already been set up.  For this you 
should issue an explicit 'answer' command in extensions.conf, then wait for 
a second or two before issuing your t38 reinvite.  Change your 
gafachi-incoming context in extensions.conf to :

[gafachi-incoming]
exten => 5555551212,1,Answer()
exten => 5555551212,n,Wait(2)
exten => 5555551212,n,Goto(faxin,s,1)

----- Original Message ----- 
From: "Scott Tomer" <[EMAIL PROTECTED]>
To: "OpenPBX.org Users Mailing List - Non-Commercial Discussion" 
<[email protected]>
Sent: Tuesday, April 03, 2007 2:07 AM
Subject: Re: [Openpbx-users] Receive Faxes


> Now my boss is talking about using a commercial product.  Please help me
> before he forces that issue.
>
> Thanks,
> Scott
>
> On Fri, 2007-03-23 at 14:23 -0500, Scott Tomer wrote:
>
>> Having received no response to this issue, I am wondering if there is
>> more information I can give that will be helpful in helping me correct
>> whatever is wrong and receive faxes?
>>
>> Just let me know what I can provide, please.
>>
>> Thanks,
>> Scott
>>
>> On Wed, 2007-03-21 at 11:13 -0500, Scott Tomer wrote:
>>
>> > I am unable to receive faxes with OpenPBX.  I just want OpenPBX to
>> > answer the call and save the fax as a TIFF.  Sending faxes works
>> > just fine.
>> >
>> > But, I get the following result when trying to receive faxes:  Fax
>> > receive not successful - result (61) The call dropped prematurely.
>> >
>> > When I call the number by hand, I do not hear fax tones.
>> >
>> > Here is my setup:
>> >
>> > sip.conf
>> > [general]
>> > port=5060
>> > bindaddr=0.0.0.0
>> > context=default
>> > tos=lowdelay
>> >
>> > register=>something:[EMAIL PROTECTED]
>> > [gafachi]
>> > type=friend
>> > username=something
>> > secret=something
>> > host=something.sip.gafachi.com
>> > canreinvite=no
>> > fromuser=something
>> > t38udptlsupport=yes
>> > t38pt_rtp=no
>> > t38pt_tcp=no
>> > disallow=all
>> > allow=ulaw
>> > allow=alaw
>> > dtmfmode=inband
>> > context=gafachi-incoming
>> >
>> > extensions.conf
>> > [general]
>> > static=yes
>> > writeprotect=yes
>> >
>> > [default]
>> > exten => _NXXNXXXXXX,1,Dial,SIP/[EMAIL PROTECTED]
>> > exten => _NXXNXXXXXX,2,Hangup
>> > exten => _011.,1,Dial,SIP/[EMAIL PROTECTED]
>> > exten => _011.,2,Hangup
>> >
>> > [gafachi-incoming]
>> > exten => 5555551212,1,Goto(faxin,s,1)
>> >
>> > ;this times out after a while
>> > [faxin]
>> > exten => s,1,SipT38SwitchOver()
>> > exten => s,n,Set(LOCALSTATIONID=Incoming FAX)
>> > exten => s,n,Set(LOCALHEADERINFO=Company Name)
>> > exten => s,n,Set(FAXFILE=/tmp/${UNIQUEID}.tiff)
>> > 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,n,TxFAX(${FAXFILE}|caller|ecm)
>> > exten => h,1,NoOp(TX: REMOTESTATIONID is ${REMOTESTATIONID})
>> > exten => h,n,NoOp(TX: PHASEESTATUS is ${PHASEESTATUS})
>> >
>> > Please help.
>> >
>> > Thanks,
>> > Scott
>> >
>> > _______________________________________________
>> > Openpbx-users mailing list
>> > [email protected]
>> > http://lists.openpbx.org/mailman/listinfo/openpbx-users
>>
>> _______________________________________________
>> Openpbx-users mailing list
>> [email protected]
>> http://lists.openpbx.org/mailman/listinfo/openpbx-users
>


--------------------------------------------------------------------------------


> _______________________________________________
> Openpbx-users mailing list
> [email protected]
> http://lists.openpbx.org/mailman/listinfo/openpbx-users
> 

_______________________________________________
Openpbx-users mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-users

Reply via email to