Tried removing those extra fax variables and added Answer/Wait. Still
same errors:

    -- Executing [EMAIL PROTECTED]:1] Goto("SIP/200-73e4", "faxin-test,s,1")
    -- Goto (faxin-test, s, 1)
    -- Executing [EMAIL PROTECTED]:1] Answer("SIP/200-73e4", "")
    -- Executing [EMAIL PROTECTED]:2] Wait("SIP/200-73e4", "4")
    -- Executing [EMAIL PROTECTED]:3] Set("SIP/200-73e4",
"FAXFILE=/tmp/mycallweaverbox-1200939093.0.tif")
    -- Executing [EMAIL PROTECTED]:4] Set("SIP/200-73e4",
"FAXFILENOEXT=/tmp/mycallweaverbox-1200939093.0")
    -- Executing [EMAIL PROTECTED]:5] Set("SIP/200-73e4", "SIP_CODEC=alaw")
    -- Executing [EMAIL PROTECTED]:6] SipDTMFMode("SIP/200-73e4", "inband")
    -- Executing [EMAIL PROTECTED]:7] RxFAX("SIP/200-73e4",
"/tmp/mycallweaverbox-1200939093.0.tif,ecm")
Jan 21 13:11:39 NOTICE[107318160]: channel.c:1757 opbx_read: Dropping
incompatible voice frame on SIP/200-73e4 of format slin since our
native format has changed to ulaw
    -- Executing [EMAIL PROTECTED]:1] NoOp("SIP/200-73e4", "RxFAX completed")
    -- Executing [EMAIL PROTECTED]:2] NoOp("SIP/200-73e4", "RX:
REMOTESTATIONID is ")
    -- Executing [EMAIL PROTECTED]:3] NoOp("SIP/200-73e4", "RX: FAXPAGES is 0")
    -- Executing [EMAIL PROTECTED]:4] NoOp("SIP/200-73e4", "RX:
FAXRESOLUTION  is 0")
    -- Executing [EMAIL PROTECTED]:5] NoOp("SIP/200-73e4", "RX: FAXBITRATE
is 14400")
    -- Executing [EMAIL PROTECTED]:6] NoOp("SIP/200-73e4", "RX: PHASEESTATUS is 
21")
    -- Executing [EMAIL PROTECTED]:7] NoOp("SIP/200-73e4", "RX:
PHASESTRING is Received a DCN while waiting for a DIS")

Frank


On Jan 21, 2008 10:06 AM, Frank Liu <[EMAIL PROTECTED]> wrote:
> It works fine with normal voice calls (two way audio).
> As for those extra fax-related variables, I just used the [faxin] from
> the default sip.conf, with no modifications. As you can see from my
> original email, all I have is
> [testfax]
> ;extension 300 for FAX
> exten => 300, 1, Goto(faxin,s,1)
>
> Anyway, I will tweak the default [faxin] a bit per your suggestions and see.
>
> Thanks!
> Frank
>
>
> On Jan 21, 2008 12:56 AM, Damjan Jovanovic <[EMAIL PROTECTED]> wrote:
> > Same thing happens with both versions of spandsp: the call starts, the
> > T.38 session is successfully established, and then Callweaver correctly
> > sends CED, v21-preamble, CSI, DIS, no-signal. The other side however
> > just sends CNG, and eventually times out and sends a DCN.
> >
> > You're going through a NAT. Does the other side actually get any
> > RTP/T.38 traffic coming from Callweaver? If you make a normal call, do
> > you get two-way voice?
> >
> > Also you're setting various fax-related variables (LOCALSTATIONID,
> > LOCALHEADERINFO). Try without them.
> >
> > Finally, try to Answer() the call, Wait(4) seconds or so, then RxFAX().
> > Maybe the other side doesn't like us starting too early?
> >
> > Damjan
> >
> >
> > On Mon, 2008-01-21 at 00:42 -0800, Frank Liu wrote:
> > > Just tried the latest spandsp snapshot and recompiled the callweaver.
> > > Same error on the CLI screen. New "full" log and tcpdump can be found at
> > > http://timepassindia.com/faxtroublenew.zip
> > > Again, to view tcpdump capture, make sure to decode port 8000 as SIP.
> > >
> > > Thanks!
> > > Frank
> > >
> > > On Jan 20, 2008 9:32 PM, Damjan Jovanovic <[EMAIL PROTECTED]> wrote:
> > > > Use the latest snapshot of spandsp from
> > > > http://www.soft-switch.org/downloads/snapshots/spandsp/, it is currently
> > > > version 20080110. A number of bugs have been fixed since the version
> > > > you're using, 0.0.4pre16. Remember to recompile callweaver after
> > > > changing spandsp.
> > > >
> > > > Start the tcpdump before the fax starts and stop it after the call is
> > > > over. The one you sent is useless, there is no SIP in it at all.
> > > >
> > > >
> > > > On Sun, 2008-01-20 at 10:54 -0800, Frank Liu wrote:
> > > > > Here it is
> > > > > http://timepassindia.com/t38troubleshoot.zip
> > > > >
> > > > > On Jan 20, 2008 10:32 AM, CtRiX <[EMAIL PROTECTED]> wrote:
> > > > > > Frank Liu wrote:
> > > > > > > fax is failed.
> > > > > > > btw, I have spandsp-0.0.4-0.8.pre16
> > > > > > >
> > > > > > >
> > > > > > See Trobleshooting at 
> > > > > > http://www.callweaver.org/wiki/Faxing+With+CallWeaver
> > > > > >
> > > > > > Max
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > Callweaver-dev mailing list
> > > > > > [email protected]
> > > > > > http://lists.callweaver.org/mailman/listinfo/callweaver-dev
> > > > > >
> > > > > _______________________________________________
> > > > > Callweaver-dev mailing list
> > > > > [email protected]
> > > > > http://lists.callweaver.org/mailman/listinfo/callweaver-dev
> > > >
> > > > Damjan
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Callweaver-dev mailing list
> > > > [email protected]
> > > > http://lists.callweaver.org/mailman/listinfo/callweaver-dev
> > > >
> > > _______________________________________________
> > > Callweaver-dev mailing list
> > > [email protected]
> > > http://lists.callweaver.org/mailman/listinfo/callweaver-dev
> >
> > _______________________________________________
> > Callweaver-dev mailing list
> > [email protected]
> > http://lists.callweaver.org/mailman/listinfo/callweaver-dev
> >
>
_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev

Reply via email to