Alright I've finished a log file for you. Please note that in this log
file I've put sip debug on, udptl debug on, and turned up the debug and
verbosity to an excessive 20.

 

Sent: May-14-07 11:57 AM
To: [email protected]
Subject: [Callweaver-users] T.38 faxing ... What am I missing?

 

I've been trying for a while to receive a fax using T.38. I believe I
have followed the instructions precisely and yet still no luck. Let me
know if there is something I forgot or if I should be going back to my
provider who is currently using metaswitch provide us with T.38. Openpbx
never issues the request to use T.38 and tries to receive the fax using
ulaw.

 

Steps I've taken:

 

Sip.conf:

 

srvlookup=yes

t38udptlsupport=yes

dtmfmode=inband

disallow=all

allow=ulaw

 

;Incoming calls

[thinktel]

type=peer

host=*hiddenip*

fromdomain=*hiddenip*

nat=never

canreinvite=no

 

;Outgoing calls

[thinkout]

type=peer

host=*hiddenip2*

nat=never

canreinvite=no

username=xxx

password=yyy

 

Dialplan:

 

entry -  1 - FaxDetect(6,ring,dt)

entry - 2 - {continue normal dialplan}

 

fax - 1 - Set(LOCALSTATIONID=blahblah)

fax - 2 - Set (FAXFILE=/opt/openpbx.org/var/spool/fax/${UNIQUEID}.tif)

fax - 3 - SipT38SwitchOver()

fax - 4 - RxFAX(${FAXFILE},ecm)

 

 

OpenPBX.org 1.2-RC3 http://www.openpbx.org - The True Open Source PBX
=========================================================================
Connected to OpenPBX OpenPBX.org 1.2-RC3 currently running on attendant (pid = 
3791)
Verbosity is at least 20
Core debug is at least 20
attendant*CLI> 

<-- SIP read from *hidden-int-ip*.67:5060: 
INVITE sip:[EMAIL PROTECTED]:5060;transport=udp SIP/2.0
Record-Route: <sip:[EMAIL 
PROTECTED];ftag=*hidden-int-ip*.101+1+285794+545f60ca;lr=on>
Via: SIP/2.0/UDP *hidden-int-ip*.67;branch=z9hG4bKfc8e.754647a5.0
Via: SIP/2.0/UDP 
*hidden-int-ip*.101:5060;rport=5060;branch=z9hG4bK-8cee8631a39e9b162e416841d72874e8-*hidden-int-ip*.101-1
Allow-Events: message-summary
Allow-Events: refer
Allow-Events: dialog
Allow-Events: line-seize
Max-Forwards: 69
Call-ID: [EMAIL PROTECTED]
From: COMPANY XYZ <sip:[EMAIL 
PROTECTED]:5060>;tag=*hidden-int-ip*.101+1+285794+545f60ca;isup-oli=23
To: <sip:[EMAIL PROTECTED]>
CSeq: 1017704243 INVITE
Expires: 180
Organization: MetaSwitch
Supported: 100rel
Content-Length: 187
Content-Type: application/sdp
Contact: COMPANY XYZ <sip:[EMAIL PROTECTED]:5060>;isup-oli=23

v=0
o=- 2422507358 2422507358 IN IP4 *hidden-int-ip*.104
s=-
c=IN IP4 *hidden-int-ip*.99
t=0 0
m=audio 56822 RTP/AVP 18 0 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
a=nortpproxy:yes

--- (19 headers 9 lines) ---
Using INVITE request as basis request - [EMAIL PROTECTED]
Sending to *hidden-int-ip*.67 : 5060 (NAT)
Found peer 'thinktel'
Found RTP audio format 18
Found RTP audio format 0
Found RTP audio format 101
Peer audio RTP is at port *hidden-int-ip*.99:56822
Found description format telephone-event
Capabilities: us - 0x4 (ulaw), peer - audio=0x104 (ulaw|g729)/video=0x0 
(nothing), combined - 0x4 (ulaw)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x1 
(telephone-event), combined - 0x1 (telephone-event)
Looking for 1111111111 in default (domain *hidden-ext-ip*)
list_route: hop: <sip:[EMAIL 
PROTECTED];ftag=*hidden-int-ip*.101+1+285794+545f60ca;lr=on>
Transmitting (no NAT) to *hidden-int-ip*.67:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 
*hidden-int-ip*.67;branch=z9hG4bKfc8e.754647a5.0;received=*hidden-int-ip*.67
Via: SIP/2.0/UDP 
*hidden-int-ip*.101:5060;rport=5060;branch=z9hG4bK-8cee8631a39e9b162e416841d72874e8-*hidden-int-ip*.101-1
From: COMPANY XYZ <sip:[EMAIL 
PROTECTED]:5060>;tag=*hidden-int-ip*.101+1+285794+545f60ca;isup-oli=23
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 1017704243 INVITE
User-Agent: OpenPBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0


---
    -- Executing Set("SIP/5060-9dc17f60", 
"client=1_73|BadCount=B|DIDnum=1111111111|CDR(accountcode)=73:1111111111")
    -- Executing MYSQL("SIP/5060-9dc17f60", "Connect connid localhost 
*username* *password* *database*")
attendant*CLI> 
    -- Executing MYSQL("SIP/5060-9dc17f60", "Query resultid 19 SELECT disabled 
FROM attendant WHERE reference=73")
attendant*CLI> 
    -- Executing MYSQL("SIP/5060-9dc17f60", "Fetch fetchid 20 disabled")
attendant*CLI> 
    -- Executing MYSQL("SIP/5060-9dc17f60", "Clear 20")
    -- Executing MYSQL("SIP/5060-9dc17f60", "Disconnect 19")
attendant*CLI> 
    -- Executing GotoIf("SIP/5060-9dc17f60", "0?15")
attendant*CLI> 
    -- Executing Set("SIP/5060-9dc17f60", "CDR(userfield)=Inbound")
attendant*CLI> 
    -- Executing Goto("SIP/5060-9dc17f60", "1_73_0|entry|1")
attendant*CLI> 
    -- Goto (1_73_0,entry,1)
attendant*CLI> 
    -- Executing Set("SIP/5060-9dc17f60", 
"acct=1|attend=73|BadCount=B|TIMEOUT(digit)=2")
attendant*CLI> 
    -- Digit timeout set to 2
attendant*CLI> 
    -- Executing Set("SIP/5060-9dc17f60", "faxcheck=")
attendant*CLI> 
    -- Executing FaxDetect("SIP/5060-9dc17f60", "6|ring|dt")
attendant*CLI> 
We're at *hidden-ext-ip* port 18584
attendant*CLI> 
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to *hidden-int-ip*.67:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 
*hidden-int-ip*.67;branch=z9hG4bKfc8e.754647a5.0;received=*hidden-int-ip*.67
Via: SIP/2.0/UDP 
*hidden-int-ip*.101:5060;rport=5060;branch=z9hG4bK-8cee8631a39e9b162e416841d72874e8-*hidden-int-ip*.101-1
Record-Route: <sip:[EMAIL 
PROTECTED];ftag=*hidden-int-ip*.101+1+285794+545f60ca;lr=on>
From: COMPANY XYZ <sip:[EMAIL 
PROTECTED]:5060>;tag=*hidden-int-ip*.101+1+285794+545f60ca;isup-oli=23
To: <sip:[EMAIL PROTECTED]>;tag=as76d1fed1
Call-ID: [EMAIL PROTECTED]
CSeq: 1017704243 INVITE
User-Agent: OpenPBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED]>
Content-Type: application/sdp
Content-Length: 218

v=0
o=root 28725 28725 IN IP4 *hidden-ext-ip*
s=session
c=IN IP4 *hidden-ext-ip*
t=0 0
m=audio 18584 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -

---
attendant*CLI> 
<-- SIP read from *hidden-int-ip*.67:5060: 
ACK sip:[EMAIL PROTECTED] SIP/2.0
Record-Route: <sip:[EMAIL 
PROTECTED];ftag=*hidden-int-ip*.101+1+285794+545f60ca;lr=on>
Via: SIP/2.0/UDP *hidden-int-ip*.67;branch=0
Via: SIP/2.0/UDP 
*hidden-int-ip*.101:5060;branch=z9hG4bK-0c92c7eac8df505c0469cbc84e5c6a0d-*hidden-int-ip*.101-1
Allow-Events: message-summary
Allow-Events: refer
Allow-Events: dialog
Allow-Events: line-seize
Max-Forwards: 69
Call-ID: [EMAIL PROTECTED]
From: COMPANY XYZ <sip:[EMAIL 
PROTECTED]:5060>;tag=*hidden-int-ip*.101+1+285794+545f60ca;isup-oli=23
To: <sip:[EMAIL PROTECTED]>;tag=as76d1fed1
CSeq: 1017704243 ACK
Contact: COMPANY XYZ <sip:[EMAIL PROTECTED]:5060>;isup-oli=23
Organization: MetaSwitch
Content-Length: 0


--- (16 headers 0 lines) ---
attendant*CLI> 
May 15 09:39:08 NOTICE[1098996064]: app_faxdetect.c:306 detectfax_exec: 
Redirecting SIP/5060-9dc17f60 to fax extension [DTMF]
attendant*CLI> 
    -- Executing Set("SIP/5060-9dc17f60", "LOCALSTATIONID=COMPANY XYZ")
attendant*CLI> 
    -- Executing Set("SIP/5060-9dc17f60", 
"faxcheck=YES|FAXFILE=/opt/openpbx.org/var/spool/fax/1179243546.741.tif")
attendant*CLI> 
    -- Executing SipT38SwitchOver("SIP/5060-9dc17f60", "")
attendant*CLI> 
    -- Executing RxFAX("SIP/5060-9dc17f60", 
"/opt/openpbx.org/var/spool/fax/1179243546.741.tif|ecm")
May 15 09:39:08 NOTICE[1098996064]: channel.c:1627 opbx_read: Dropping 
incompatible voice frame on SIP/5060-9dc17f60 of format slin since our native 
format has changed to ulaw
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to