Hi, David

    transfer fax function means "FS send fax to a sip user" , previously ,  i use zoiper to send fax to FS,  for FS ,this means "receive fax", now i want to realize send fax from FS to one sip user.

regards 
sammy

2010/7/8 David Ponzone <david.ponzone@gmail.com>
Chi,

I am not sure to understand what you mean by "transfer fax function".
Can you clear that up please ?

Thanks

David Ponzone  Direction Technique
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 08/07/2010 à 09:57, chi zhang a écrit :

     Now, i have finished T.38 fax receive test with Zoiper, it works well. But, transfer a fax is still  Not successful.
    Previous, i do simulate fax with sipP, but FS return 48(Disconnected after permitted retries). 
    Accidentally, i found softphone: Zoiper has fax function, so retry fax with it, and in diaplan file: default.xml,  9178 was the receive fax number. So i call 9178 with Zoiper(register as 1000), fax receiving is perfect done.
    Then i test transfer fax function: call to 9179(configured by TX fax in default.xml), but FS return 2 (Timed out waiting for initial communication) , i have no idea about it, reason ?

regards
sammy



2010/7/2 chi zhang <sanms.zhang@gmail.com>
I got it.

-------------------log start--------------------------
recv 576 bytes from udp/[192.168.26.39]:15060 at 01:41:26.500127:
   ------------------------------------------------------------------------
   INVITE sip:666666@192.168.26.39:25060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.26.39:15060;branch=z9hG4bK-16005-1-0
   From: 1000 <sip:1000@192.168.26.39:15060>;tag=1
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   Max-Forwards: 70
   Subject: Performance Test
   Content-Type: application/sdp
   Content-Length:   184
   
   v=0
   o=user1 3748 3748 IN IP4 192.168.26.39
   s=-
   c=IN IP4 192.168.26.39
   t=0 0
   m=audio 6000 RTP/AVP 8 101
   a=rtpmap:8 PCMA/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-11,16
   ------------------------------------------------------------------------
send 294 bytes to udp/[192.168.26.39]:15060 at 01:41:26.500477:
   ------------------------------------------------------------------------
   SIP/2.0 100 Trying
   Via: SIP/2.0/UDP 192.168.26.39:15060;branch=z9hG4bK-16005-1-0
   From: 1000 <sip:1000@192.168.26.39:15060>;tag=1
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Content-Length: 0
   
   ------------------------------------------------------------------------
2010-07-02 09:41:26.498946 [DEBUG] sofia.c:5928 IP 192.168.26.39 Approved by acl "192.168.26.0/24[]". Access Granted.
[36m2010-07-02 09:41:26.498946 [NOTICE] switch_channel.c:776 New Channel sofia/internal/1000@192.168.26.39:15060 [f588c66c-48c8-4220-a944-8de287adb3ab]
2010-07-02 09:41:26.500953 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1000@192.168.26.39:15060) Running State Change CS_NEW
2010-07-02 09:41:26.500953 [DEBUG] switch_core_state_machine.c:320 (sofia/internal/1000@192.168.26.39:15060) State NEW
2010-07-02 09:41:26.542951 [DEBUG] sofia.c:4297 Channel sofia/internal/1000@192.168.26.39:15060 entering state [received][100]
2010-07-02 09:41:26.542951 [DEBUG] sofia.c:4308 Remote SDP:
v=0

o=user1 3748 3748 IN IP4 192.168.26.39

s=-

c=IN IP4 192.168.26.39

t=0 0

m=audio 6000 RTP/AVP 8 101

a=rtpmap:8 PCMA/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-11,16


2010-07-02 09:41:26.542951 [DEBUG] sofia_glue.c:3859 Audio Codec Compare [PCMA:8:8000:20]/[G7221:115:32000:20]
2010-07-02 09:41:26.542951 [DEBUG] sofia_glue.c:3859 Audio Codec Compare [PCMA:8:8000:20]/[G7221:107:16000:20]
2010-07-02 09:41:26.542951 [DEBUG] sofia_glue.c:3859 Audio Codec Compare [PCMA:8:8000:20]/[G722:9:8000:20]
2010-07-02 09:41:26.542951 [DEBUG] sofia_glue.c:3859 Audio Codec Compare [PCMA:8:8000:20]/[PCMU:0:8000:20]
2010-07-02 09:41:26.542951 [DEBUG] sofia_glue.c:3859 Audio Codec Compare [PCMA:8:8000:20]/[PCMA:8:8000:20]
2010-07-02 09:41:26.542951 [DEBUG] sofia_glue.c:2442 Set Codec sofia/internal/1000@192.168.26.39:15060 PCMA/8000 20 ms 160 samples
2010-07-02 09:41:26.542951 [DEBUG] sofia_glue.c:3798 Set 2833 dtmf send/recv payload to 101
2010-07-02 09:41:26.542951 [DEBUG] sofia.c:4455 (sofia/internal/1000@192.168.26.39:15060) State Change CS_NEW -> CS_INIT
2010-07-02 09:41:26.542951 [DEBUG] switch_core_session.c:1027 Send signal sofia/internal/1000@192.168.26.39:15060 [BREAK]
2010-07-02 09:41:26.544953 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1000@192.168.26.39:15060) Running State Change CS_INIT
2010-07-02 09:41:26.544953 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/1000@192.168.26.39:15060) State INIT
2010-07-02 09:41:26.544953 [DEBUG] mod_sofia.c:83 sofia/internal/1000@192.168.26.39:15060 SOFIA INIT
2010-07-02 09:41:26.544953 [DEBUG] mod_sofia.c:119 (sofia/internal/1000@192.168.26.39:15060) State Change CS_INIT -> CS_ROUTING
2010-07-02 09:41:26.544953 [DEBUG] switch_core_session.c:1027 Send signal sofia/internal/1000@192.168.26.39:15060 [BREAK]
2010-07-02 09:41:26.544953 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/1000@192.168.26.39:15060) State INIT going to sleep
2010-07-02 09:41:26.544953 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1000@192.168.26.39:15060) Running State Change CS_ROUTING
2010-07-02 09:41:26.544953 [DEBUG] switch_channel.c:1471 (sofia/internal/1000@192.168.26.39:15060) Callstate Change DOWN -> RINGING
2010-07-02 09:41:26.544953 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/1000@192.168.26.39:15060) State ROUTING
2010-07-02 09:41:26.544953 [DEBUG] mod_sofia.c:142 sofia/internal/1000@192.168.26.39:15060 SOFIA ROUTING
2010-07-02 09:41:26.544953 [DEBUG] switch_core_state_machine.c:77 sofia/internal/1000@192.168.26.39:15060 Standard ROUTING
[32m2010-07-02 09:41:26.544953 [INFO] mod_dialplan_xml.c:331 Processing 1000->666666 in context public
Dialplan: sofia/internal/1000@192.168.26.39:15060 parsing [public->fax] continue=false
Dialplan: sofia/internal/1000@192.168.26.39:15060 Regex (FAIL) [fax] destination_number(666666) =~ /^fax$/ break=on-false
Dialplan: sofia/internal/1000@192.168.26.39:15060 parsing [public->4444] continue=false
Dialplan: sofia/internal/1000@192.168.26.39:15060 Regex (FAIL) [4444] destination_number(666666) =~ /^(4444)$/ break=on-false
Dialplan: sofia/internal/1000@192.168.26.39:15060 parsing [public->fax] continue=false
Dialplan: sofia/internal/1000@192.168.26.39:15060 Regex (FAIL) [fax] destination_number(666666) =~ /^fax$/ break=on-false
Dialplan: sofia/internal/1000@192.168.26.39:15060 parsing [public->666666] continue=false
Dialplan: sofia/internal/1000@192.168.26.39:15060 Regex (PASS) [666666] destination_number(666666) =~ /^(666666)$/ break=on-false
Dialplan: sofia/internal/1000@192.168.26.39:15060 Action answer() 
Dialplan: sofia/internal/1000@192.168.26.39:15060 Action playback(silence_stream://2000) 
Dialplan: sofia/internal/1000@192.168.26.39:15060 Action rxfax(/tmp/999.tiff) 
Dialplan: sofia/internal/1000@192.168.26.39:15060 Action hangup() 
2010-07-02 09:41:26.544953 [DEBUG] switch_core_state_machine.c:119 (sofia/internal/1000@192.168.26.39:15060) State Change CS_ROUTING -> CS_EXECUTE
2010-07-02 09:41:26.544953 [DEBUG] switch_core_session.c:1027 Send signal sofia/internal/1000@192.168.26.39:15060 [BREAK]
2010-07-02 09:41:26.544953 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/1000@192.168.26.39:15060) State ROUTING going to sleep
2010-07-02 09:41:26.544953 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1000@192.168.26.39:15060) Running State Change CS_EXECUTE
2010-07-02 09:41:26.544953 [DEBUG] switch_core_state_machine.c:348 (sofia/internal/1000@192.168.26.39:15060) State EXECUTE
2010-07-02 09:41:26.544953 [DEBUG] mod_sofia.c:235 sofia/internal/1000@192.168.26.39:15060 SOFIA EXECUTE
2010-07-02 09:41:26.544953 [DEBUG] switch_core_state_machine.c:157 sofia/internal/1000@192.168.26.39:15060 Standard EXECUTE
EXECUTE sofia/internal/1000@192.168.26.39:15060 answer()
2010-07-02 09:41:26.580967 [DEBUG] sofia_glue.c:2682 AUDIO RTP [sofia/internal/1000@192.168.26.39:15060] 192.168.26.39 port 22464 -> 192.168.26.39 port 6000 codec: 8 ms: 20
2010-07-02 09:41:26.580967 [DEBUG] switch_rtp.c:1413 Starting timer [soft] 160 bytes per 20ms
2010-07-02 09:41:26.582952 [DEBUG] sofia_glue.c:2892 Set 2833 dtmf send payload to 101
2010-07-02 09:41:26.582952 [DEBUG] sofia_glue.c:2897 Set 2833 dtmf receive payload to 101
2010-07-02 09:41:26.582952 [DEBUG] mod_sofia.c:669 Local SDP sofia/internal/1000@192.168.26.39:15060:
v=0
o=FreeSWITCH 1278012422 1278012423 IN IP4 192.168.26.39
s=FreeSWITCH
c=IN IP4 192.168.26.39
t=0 0
m=audio 22464 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

send 1091 bytes to udp/[192.168.26.39]:15060 at 01:41:26.584093:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:15060;branch=z9hG4bK-16005-1-0
   From: 1000 <sip:1000@192.168.26.39:15060>;tag=1
   To: 666666 <sip:666666@192.168.26.39:25060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 249
   Remote-Party-ID: "666666" <sip:666666@192.168.26.39>;party=calling;privacy=off;screen=no
   
   v=0
   o=FreeSWITCH 1278012422 1278012423 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=audio 22464 RTP/AVP 8 101
   a=rtpmap:8 PCMA/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-16
   a=silenceSupp:off - - - -
   a=ptime:20
   ------------------------------------------------------------------------
recv 369 bytes from udp/[192.168.26.39]:15060 at 01:41:26.584205:
   ------------------------------------------------------------------------
   Via: SIP/2.0/UDP 192.168.26.39:15060;branch=z9hG4bK-16005-1-4
   From: 1000 <sip:1000@192.168.26.39:15060>;tag=1
   To: 666666 <sip:666666@192.168.26.39:25060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 ACK
   Max-Forwards: 70
   Subject: Performance Test
   Content-Length: 0
   
   ------------------------------------------------------------------------
2010-07-02 09:41:26.582952 [DEBUG] sofia.c:4297 Channel sofia/internal/1000@192.168.26.39:15060 entering state [completed][200]
2010-07-02 09:41:26.582952 [DEBUG] sofia.c:4297 Channel sofia/internal/1000@192.168.26.39:15060 entering state [ready][200]
2010-07-02 09:41:26.582952 [DEBUG] switch_core_session.c:647 Send signal sofia/internal/1000@192.168.26.39:15060 [BREAK]
2010-07-02 09:41:26.582952 [DEBUG] switch_channel.c:2494 (sofia/internal/1000@192.168.26.39:15060) Callstate Change RINGING -> ACTIVE
[36m2010-07-02 09:41:26.582952 [NOTICE] mod_dptools.c:746 Channel [sofia/internal/1000@192.168.26.39:15060] has been answered
EXECUTE sofia/internal/1000@192.168.26.39:15060 playback(silence_stream://2000)
2010-07-02 09:41:26.584953 [DEBUG] switch_ivr_play_say.c:1161 Codec Activated L16@8000hz 1 channels 20ms
2010-07-02 09:41:28.578954 [DEBUG] switch_ivr_play_say.c:1468 done playing file
EXECUTE sofia/internal/1000@192.168.26.39:15060 rxfax(/tmp/999.tiff)
2010-07-02 09:41:28.578954 [ERR] mod_spandsp.c:64 This is for fax test: receive fax
2010-07-02 09:41:28.578954 [ERR] mod_spandsp_fax.c:445 trans mode = 1
2010-07-02 09:41:28.578954 [ERR] mod_spandsp_fax.c:591 This is for fax test: prag go to here!!!
2010-07-02 09:41:28.578954 [DEBUG] mod_spandsp_fax.c:1064 Raw read codec activation Success L16 20000
2010-07-02 09:41:28.578954 [DEBUG] switch_core_codec.c:122 sofia/internal/1000@192.168.26.39:15060 Push codec L16:10
2010-07-02 09:41:28.578954 [DEBUG] mod_spandsp_fax.c:1080 Raw write codec activation Success L16
2010-07-02 09:41:28.857958 [ERR] mod_spandsp_fax.c:1119 pvt->t38_mode = 0

send 956 bytes to udp/[192.168.21.76]:5060 at 01:41:29.754477:
   ------------------------------------------------------------------------
   NOTIFY sip:1001@192.168.21.76:5060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.26.39:25060;rport;branch=z9hG4bKS989SFgmXvmNF
   Max-Forwards: 70
   From: "1001" <sip:1001@192.168.26.39:25060;transport=UDP>;tag=vr6p3K1XK247r
   To: "1001" <sip:1001@192.168.26.39:25060;transport=UDP>;tag=26647676
   Call-ID: ZTljY2QxZGQ2NGEwOWQwNzRmMDMzYWM2ZDA4NzczNTY.
   CSeq: 132897310 NOTIFY
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Event: message-summary
   Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
   Subscription-State: terminated;reason=timeout
   Content-Type: application/simple-message-summary
   Content-Length: 65
   
   Messages-Waiting: no
   Message-Account: sip:1001@192.168.26.39
   
   ------------------------------------------------------------------------
2010-07-02 09:41:29.757979 [ERR] mod_spandsp_fax.c:1119 pvt->t38_mode = 0
recv 389 bytes from udp/[192.168.21.76]:5060 at 01:41:29.758362:
   ------------------------------------------------------------------------
   SIP/2.0 481 Call/Transaction Does Not Exist
   Via: SIP/2.0/UDP 192.168.26.39:25060;rport=25060;branch=z9hG4bKS989SFgmXvmNF
   To: "1001"<sip:1001@192.168.26.39:25060;transport=UDP>;tag=26647676
   From: "1001"<sip:1001@192.168.26.39:25060;transport=UDP>;tag=vr6p3K1XK247r
   Call-ID: ZTljY2QxZGQ2NGEwOWQwNzRmMDMzYWM2ZDA4NzczNTY.
   CSeq: 132897310 NOTIFY
   Accept-Language: en
   Content-Length: 0
   
   ------------------------------------------------------------------------

2010-07-02 09:41:36.557090 [ERR] mod_spandsp_fax.c:1119 pvt->t38_mode = 0
recv 737 bytes from udp/[192.168.26.39]:15060 at 01:41:36.587253:
   ------------------------------------------------------------------------
   INVITE sip:1000@192.168.26.39:15060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   Max-Forwards: 70
   Subject: Performance Test
   Content-Type: application/sdp
   Content-Length:   345
   
   v=0
   o=root 0 0 IN IP4 192.168.26.39
   s=Session SDP
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 49172 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:9600
   a=T38FaxFillBitRemoval:0
   a=T38FaxTranscodingMMR:0
   a=T38FaxTranscodingJBIG:0
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:200
   a=T38FaxMaxDatagram:72
   a=T38FaxUdpEC:t38UDPRedundancy
   ------------------------------------------------------------------------
send 312 bytes to udp/[192.168.26.39]:25060 at 01:41:36.587546:
   ------------------------------------------------------------------------
   SIP/2.0 100 Trying
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Content-Length: 0
   
   ------------------------------------------------------------------------
recv 312 bytes from udp/[192.168.26.39]:25060 at 01:41:36.587641:
   ------------------------------------------------------------------------
   SIP/2.0 100 Trying
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE2010-07-02 09:41:36.587092 [DEBUG] sofia.c:4297 Channel sofia/internal/1000@192.168.26.39:15060 entering state [received][100]

   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Content-Length: 0
   
   ------------------------------------------------------------------------
2010-07-02 09:41:36.587092 [DEBUG] sofia.c:4308 Remote SDP:
v=0

o=root 0 0 IN IP4 192.168.26.39

s=Session SDP

c=IN IP4 192.168.26.39

t=0 0

m=image 49172 udptl t38

a=T38FaxVersion:0

a=T38MaxBitRate:9600

a=T38FaxFillBitRemoval:0

a=T38FaxTranscodingMMR:0

a=T38FaxTranscodingJBIG:0

a=T38FaxRateManagement:transferredTCF

a=T38FaxMaxBuffer:200

a=T38FaxMaxDatagram:72

a=T38FaxUdpEC:t38UDPRedundancy


2010-07-02 09:41:36.597094 [ERR] mod_spandsp_fax.c:1119 pvt->t38_mode = 0
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:744 T38FaxVersion = 0
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:745 T38MaxBitRate = 9600
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:746 T38FaxFillBitRemoval = 1
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:747 T38FaxTranscodingMMR = 1
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:748 T38FaxTranscodingJBIG = 1
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:749 T38FaxRateManagement = 'transferredTCF'
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:750 T38FaxMaxBuffer = 200
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:751 T38FaxMaxDatagram = 72
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:752 T38FaxUdpEC = 't38UDPRedundancy'
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:753 T38VendorInfo = ''
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:754 ip = '192.168.26.39'
2010-07-02 09:41:36.597094 [DEBUG] mod_spandsp_fax.c:756 port = 49172
2010-07-02 09:41:36.597094 [DEBUG] mod_sofia.c:1232 IMAGE UDPTL CHANGING DEST TO: [192.168.26.39:49172]
2010-07-02 09:41:36.597094 [DEBUG] sofia_glue.c:122 sofia/internal/1000@192.168.26.39:15060 image media sdp:
v=0
o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
s=FreeSWITCH
c=IN IP4 192.168.26.39
t=0 0
m=image 22464 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxFillBitRemoval
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:2000
a=T38FaxMaxDatagram:400
a=T38FaxUdpEC:t38UDPRedundancy
a=T38VendorInfo:0 0 0

2010-07-02 09:41:36.597094 [ERR] mod_spandsp_fax.c:445 trans mode = 0
send 952 bytes to udp/[192.168.26.39]:25060 at 01:41:36.597525:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
2010-07-02 09:41:36.597094 [DEBUG] sofia.c:4297 Channel sofia/internal/1000@192.168.26.39:15060 entering state [completed][200]
recv 952 bytes from udp/[192.168.26.39]:25060 at 01:41:36.597657:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
2010-07-02 09:41:36.607095 [ERR] mod_spandsp_fax.c:1119 pvt->t38_mode = 1
recv 737 bytes from udp/[192.168.26.39]:15060 at 01:41:37.089156:
   ------------------------------------------------------------------------
   INVITE sip:1000@192.168.26.39:15060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   Max-Forwards: 70
   Subject: Performance Test
   Content-Type: application/sdp
   Content-Length:   345
   
   v=0
   o=root 0 0 IN IP4 192.168.26.39
   s=Session SDP
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 49172 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:9600
   a=T38FaxFillBitRemoval:0
   a=T38FaxTranscodingMMR:0
   a=T38FaxTranscodingJBIG:0
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:200
   a=T38FaxMaxDatagram:72
   a=T38FaxUdpEC:t38UDPRedundancy
   ------------------------------------------------------------------------
send 952 bytes to udp/[192.168.26.39]:25060 at 01:41:37.089302:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
recv 952 bytes from udp/[192.168.26.39]:25060 at 01:41:37.089395:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
send 952 bytes to udp/[192.168.26.39]:25060 at 01:41:37.098259:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
recv 952 bytes from udp/[192.168.26.39]:25060 at 01:41:37.098339:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
recv 737 bytes from udp/[192.168.26.39]:15060 at 01:41:38.091157:
   ------------------------------------------------------------------------
   INVITE sip:1000@192.168.26.39:15060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   Max-Forwards: 70
   Subject: Performance Test
   Content-Type: application/sdp
   Content-Length:   345
   
   v=0
   o=root 0 0 IN IP4 192.168.26.39
   s=Session SDP
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 49172 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:9600
   a=T38FaxFillBitRemoval:0
   a=T38FaxTranscodingMMR:0
   a=T38FaxTranscodingJBIG:0
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:200
   a=T38FaxMaxDatagram:72
   a=T38FaxUdpEC:t38UDPRedundancy
   ------------------------------------------------------------------------
send 952 bytes to udp/[192.168.26.39]:25060 at 01:41:38.091305:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
recv 952 bytes from udp/[192.168.26.39]:25060 at 01:41:38.091406:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
send 952 bytes to udp/[192.168.26.39]:25060 at 01:41:38.098260:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
recv 952 bytes from udp/[192.168.26.39]:25060 at 01:41:38.098344:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
This is for fax test: dis 5This is for fax test: cause disconnect 4
recv 737 bytes from udp/[192.168.26.39]:15060 at 01:41:40.093267:
   ------------------------------------------------------------------------
   INVITE sip:1000@192.168.26.39:15060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   Max-Forwards: 70
   Subject: Performance Test
   Content-Type: application/sdp
   Content-Length:   345
   
   v=0
   o=root 0 0 IN IP4 192.168.26.39
   s=Session SDP
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 49172 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:9600
   a=T38FaxFillBitRemoval:0
   a=T38FaxTranscodingMMR:0
   a=T38FaxTranscodingJBIG:0
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:200
   a=T38FaxMaxDatagram:72
   a=T38FaxUdpEC:t38UDPRedundancy
   ------------------------------------------------------------------------
send 952 bytes to udp/[192.168.26.39]:25060 at 01:41:40.093421:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
recv 952 bytes from udp/[192.168.26.39]:25060 at 01:41:40.093541:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
send 952 bytes to udp/[192.168.26.39]:25060 at 01:41:40.098263:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
recv 952 bytes from udp/[192.168.26.39]:25060 at 01:41:40.098418:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
2010-07-02 09:41:41.606147 [ERR] mod_spandsp_fax.c:1119 pvt->t38_mode = 1
recv 737 bytes from udp/[192.168.26.39]:15060 at 01:41:44.095284:
   ------------------------------------------------------------------------
   INVITE sip:1000@192.168.26.39:15060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   Max-Forwards: 70
   Subject: Performance Test
   Content-Type: application/sdp
   Content-Length:   345
   
   v=0
   o=root 0 0 IN IP4 192.168.26.39
   s=Session SDP
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 49172 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:9600
   a=T38FaxFillBitRemoval:0
   a=T38FaxTranscodingMMR:0
   a=T38FaxTranscodingJBIG:0
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:200
   a=T38FaxMaxDatagram:72
   a=T38FaxUdpEC:t38UDPRedundancy
   ------------------------------------------------------------------------
send 952 bytes to udp/[192.168.26.39]:25060 at 01:41:44.095457:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
recv 952 bytes from udp/[192.168.26.39]:25060 at 01:41:44.095556:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
send 952 bytes to udp/[192.168.26.39]:25060 at 01:41:44.098263:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
recv 952 bytes from udp/[192.168.26.39]:25060 at 01:41:44.098399:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0
   ------------------------------------------------------------------------
2010-07-02 09:41:46.607257 [ERR] mod_spandsp_fax.c:1119 pvt->t38_mode = 1
send 952 bytes to udp/[192.168.26.39]:25060 at 01:41:48.098287:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.26.39:25060;branch=z9hG4bK-16005-1-7
   From: 666666 <sip:666666@192.168.26.39:25060>;tag=1
   To: 1000 <sip:1000@192.168.26.39:15060>;tag=85ySHt6rmaSyp
   Call-ID: 1-16005@192.168.26.39
   CSeq: 2 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 341
   
   v=0
   o=FreeSWITCH 1278012422 1278012424 IN IP4 192.168.26.39
   s=FreeSWITCH
   c=IN IP4 192.168.26.39
   t=0 0
   m=image 22464 udptl t38
   a=T38FaxVersion:0
   a=T38MaxBitRate:14400
   a=T38FaxFillBitRemoval
   a=T38FaxRateManagement:transferredTCF
   a=T38FaxMaxBuffer:2000
   a=T38FaxMaxDatagram:400
   a=T38FaxUdpEC:t38UDPRedundancy
   a=T38VendorInfo:0 0 0


-----------------------------log end----------------------------------


2010/7/2 Brian West <brian@freeswitch.org>

turn sip on

sofia profile xxx siptrace on

/b

On Jul 1, 2010, at 8:23 PM, chi zhang wrote:

> hi,brian


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org