how to adjust the request time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



a hub works on layer 2 and a router on layer 3, so there might be a network
issue

Best regards,
Bernie

2008/11/17 zhang zhilong <zhang.zhilong at gmail.com>

> how  the router and hub different from each other?
> the routing time ? it puzzled me.
>
>
>
> 2008/11/17 zhang zhilong <zhang.zhilong at gmail.com>
>
>  thanks.
>> the whole log is :
>>
>> ================================================================================
>> --end msg--
>>  00:28:42.399    pjsua_app.c Call 1 state changed to INCOMING
>>  00:28:42.400    pjsua_app.c now is on_incoming_call.zzl
>>  00:28:42.402   pjsua_call.c now in pjsua_call_on_media_update.zzl
>>  00:28:42.402   pjsua_call.c status=0
>>  00:28:42.403   pjsua_call.c inv->role=1 zzl
>>  00:28:42.403   pjsua_call.c ready start_t38_transmit.
>>  00:28:42.404   pjsua_call.c now in start_t38_transmit. zzl
>>  00:28:42.414   pjsua_core.c TX 661 bytes Response msg
>> 200/INVITE/cseq=1378038486 (tdta0x163814) to UDP 192.168.3.77:5060:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/UDP 192.168.3.77:5060;rport=5060;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0007bd03cc096a7f
>> Call-ID: 015e0006bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0005bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670002bd03cc096a7f
>> CSeq: 1378038486 INVITE
>> Contact: <sip:192.168.3.87:5060;transport=TCP>
>> Allow: INVITE, ACK, BYE, CANCEL, SUBSCRIBE, NOTIFY, PUBLISH, REFER,
>> MESSAGE, OPTIONS
>> Supported: replaces, norefersub
>> Content-Type: application/sdp
>> Content-Length:   160
>> v=0
>> o=- 3092603322 3092603323 IN IP4 192.168.3.87
>> s=pjmedia
>> c=IN IP4 192.168.3.87
>> t=0 0
>> m=image 9901 tcp t38
>> a=T38FaxRateManagement:localTCF
>> a=sendrecv
>> --end msg--
>>  00:28:42.418    pjsua_app.c Call 1 state changed to CONNECTING
>>  00:28:42.930   pjsua_core.c TX 661 bytes Response msg
>> 200/INVITE/cseq=1378038486 (tdta0x163814) to UDP 192.168.3.77:5060:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/UDP 192.168.3.77:5060;rport=5060;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0007bd03cc096a7f
>> Call-ID: 015e0006bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0005bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670002bd03cc096a7f
>> CSeq: 1378038486 INVITE
>> Contact: <sip:192.168.3.87:5060;transport=TCP>
>> Allow: INVITE, ACK, BYE, CANCEL, SUBSCRIBE, NOTIFY, PUBLISH, REFER,
>> MESSAGE, OPTIONS
>> Supported: replaces, norefersub
>> Content-Type: application/sdp
>> Content-Length:   160
>> v=0
>> o=- 3092603322 3092603323 IN IP4 192.168.3.87
>> s=pjmedia
>> c=IN IP4 192.168.3.87
>> t=0 0
>> m=image 9901 tcp t38
>> a=T38FaxRateManagement:localTCF
>> a=sendrecv
>> --end msg--
>>  00:28:43.950   pjsua_core.c TX 661 bytes Response msg
>> 200/INVITE/cseq=1378038486 (tdta0x163814) to UDP 192.168.3.77:5060:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/UDP 192.168.3.77:5060;rport=5060;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0007bd03cc096a7f
>> Call-ID: 015e0006bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0005bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670002bd03cc096a7f
>> CSeq: 1378038486 INVITE
>> Contact: <sip:192.168.3.87:5060;transport=TCP>
>> Allow: INVITE, ACK, BYE, CANCEL, SUBSCRIBE, NOTIFY, PUBLISH, REFER,
>> MESSAGE, OPTIONS
>> Supported: replaces, norefersub
>> Content-Type: application/sdp
>> Content-Length:   160
>> v=0
>> o=- 3092603322 3092603323 IN IP4 192.168.3.87
>> s=pjmedia
>> c=IN IP4 192.168.3.87
>> t=0 0
>> m=image 9901 tcp t38
>> a=T38FaxRateManagement:localTCF
>> a=sendrecv
>> --end msg--
>>  00:28:45.960   pjsua_core.c TX 661 bytes Response msg
>> 200/INVITE/cseq=1378038486 (tdta0x163814) to UDP 192.168.3.77:5060:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/UDP 192.168.3.77:5060;rport=5060;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0007bd03cc096a7f
>> Call-ID: 015e0006bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0005bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670002bd03cc096a7f
>> CSeq: 1378038486 INVITE
>> Contact: <sip:192.168.3.87:5060;transport=TCP>
>> Allow: INVITE, ACK, BYE, CANCEL, SUBSCRIBE, NOTIFY, PUBLISH, REFER,
>> MESSAGE, OPTIONS
>> Supported: replaces, norefersub
>> Content-Type: application/sdp
>> Content-Length:   160
>> v=0
>> o=- 3092603322 3092603323 IN IP4 192.168.3.87
>> s=pjmedia
>> c=IN IP4 192.168.3.87
>> t=0 0
>> m=image 9901 tcp t38
>> a=T38FaxRateManagement:localTCF
>> a=sendrecv
>> --end msg--
>>  00:28:49.981   pjsua_core.c TX 661 bytes Response msg
>> 200/INVITE/cseq=1378038486 (tdta0x163814) to UDP 192.168.3.77:5060:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/UDP 192.168.3.77:5060;rport=5060;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0007bd03cc096a7f
>> Call-ID: 015e0006bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0005bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670002bd03cc096a7f
>> CSeq: 1378038486 INVITE
>> Contact: <sip:192.168.3.87:5060;transport=TCP>
>> Allow: INVITE, ACK, BYE, CANCEL, SUBSCRIBE, NOTIFY, PUBLISH, REFER,
>> MESSAGE, OPTIONS
>> Supported: replaces, norefersub
>> Content-Type: application/sdp
>> Content-Length:   160
>> v=0
>> o=- 3092603322 3092603323 IN IP4 192.168.3.87
>> s=pjmedia
>> c=IN IP4 192.168.3.87
>> t=0 0
>> m=image 9901 tcp t38
>> a=T38FaxRateManagement:localTCF
>> a=sendrecv
>> --end msg--
>>  00:28:53.991   pjsua_core.c TX 661 bytes Response msg
>> 200/INVITE/cseq=1378038486 (tdta0x163814) to UDP 192.168.3.77:5060:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/UDP 192.168.3.77:5060;rport=5060;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0007bd03cc096a7f
>> Call-ID: 015e0006bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0005bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670002bd03cc096a7f
>> CSeq: 1378038486 INVITE
>> Contact: <sip:192.168.3.87:5060;transport=TCP>
>> Allow: INVITE, ACK, BYE, CANCEL, SUBSCRIBE, NOTIFY, PUBLISH, REFER,
>> MESSAGE, OPTIONS
>> Supported: replaces, norefersub
>> Content-Type: application/sdp
>> Content-Length:   160
>> v=0
>> o=- 3092603322 3092603323 IN IP4 192.168.3.87
>> s=pjmedia
>> c=IN IP4 192.168.3.87
>> t=0 0
>> m=image 9901 tcp t38
>> a=T38FaxRateManagement:localTCF
>> a=sendrecv
>> --end msg--
>>  00:28:58.011   pjsua_core.c TX 661 bytes Response msg
>> 200/INVITE/cseq=1378038486 (tdta0x163814) to UDP 192.168.3.77:5060:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/UDP 192.168.3.77:5060;rport=5060;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0007bd03cc096a7f
>> Call-ID: 015e0006bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0005bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670002bd03cc096a7f
>> CSeq: 1378038486 INVITE
>> Contact: <sip:192.168.3.87:5060;transport=TCP>
>> Allow: INVITE, ACK, BYE, CANCEL, SUBSCRIBE, NOTIFY, PUBLISH, REFER,
>> MESSAGE, OPTIONS
>> Supported: replaces, norefersub
>> Content-Type: application/sdp
>> Content-Length:   160
>> v=0
>> o=- 3092603322 3092603323 IN IP4 192.168.3.87
>> s=pjmedia
>> c=IN IP4 192.168.3.87
>> t=0 0
>> m=image 9901 tcp t38
>> a=T38FaxRateManagement:localTCF
>> a=sendrecv
>> --end msg--
>>  00:29:02.031   pjsua_core.c TX 661 bytes Response msg
>> 200/INVITE/cseq=1378038486 (tdta0x163814) to UDP 192.168.3.77:5060:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/UDP 192.168.3.77:5060;rport=5060;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0007bd03cc096a7f
>> Call-ID: 015e0006bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0005bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670002bd03cc096a7f
>> CSeq: 1378038486 INVITE
>> Contact: <sip:192.168.3.87:5060;transport=TCP>
>> Allow: INVITE, ACK, BYE, CANCEL, SUBSCRIBE, NOTIFY, PUBLISH, REFER,
>> MESSAGE, OPTIONS
>> Supported: replaces, norefersub
>> Content-Type: application/sdp
>> Content-Length:   160
>> v=0
>> o=- 3092603322 3092603323 IN IP4 192.168.3.87
>> s=pjmedia
>> c=IN IP4 192.168.3.87
>> t=0 0
>> m=image 9901 tcp t38
>> a=T38FaxRateManagement:localTCF
>> a=sendrecv
>> --end msg--
>>  00:29:06.051   pjsua_core.c TX 661 bytes Response msg
>> 200/INVITE/cseq=1378038486 (tdta0x163814) to UDP 192.168.3.77:5060:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/UDP 192.168.3.77:5060;rport=5060;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0007bd03cc096a7f
>> Call-ID: 015e0006bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0005bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670002bd03cc096a7f
>> CSeq: 1378038486 INVITE
>> Contact: <sip:192.168.3.87:5060;transport=TCP>
>> Allow: INVITE, ACK, BYE, CANCEL, SUBSCRIBE, NOTIFY, PUBLISH, REFER,
>> MESSAGE, OPTIONS
>> Supported: replaces, norefersub
>> Content-Type: application/sdp
>> Content-Length:   160
>> v=0
>> o=- 3092603322 3092603323 IN IP4 192.168.3.87
>> s=pjmedia
>> c=IN IP4 192.168.3.87
>> t=0 0
>> m=image 9901 tcp t38
>> a=T38FaxRateManagement:localTCF
>> a=sendrecv
>> --end msg--
>>  00:29:10.071   pjsua_core.c TX 661 bytes Response msg
>> 200/INVITE/cseq=1378038486 (tdta0x163814) to UDP 192.168.3.77:5060:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/UDP 192.168.3.77:5060;rport=5060;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0007bd03cc096a7f
>> Call-ID: 015e0006bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0005bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670002bd03cc096a7f
>> CSeq: 1378038486 INVITE
>> Contact: <sip:192.168.3.87:5060;transport=TCP>
>> Allow: INVITE, ACK, BYE, CANCEL, SUBSCRIBE, NOTIFY, PUBLISH, REFER,
>> MESSAGE, OPTIONS
>> Supported: replaces, norefersub
>> Content-Type: application/sdp
>> Content-Length:   160
>> v=0
>> o=- 3092603322 3092603323 IN IP4 192.168.3.87
>> s=pjmedia
>> c=IN IP4 192.168.3.87
>> t=0 0
>> m=image 9901 tcp t38
>> a=T38FaxRateManagement:localTCF
>> a=sendrecv
>> --end msg--
>>  00:29:14.091   pjsua_core.c TX 661 bytes Response msg
>> 200/INVITE/cseq=1378038486 (tdta0x163814) to UDP 192.168.3.77:5060:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/UDP 192.168.3.77:5060;rport=5060;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0007bd03cc096a7f
>> Call-ID: 015e0006bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0005bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670002bd03cc096a7f
>> CSeq: 1378038486 INVITE
>> Contact: <sip:192.168.3.87:5060;transport=TCP>
>> Allow: INVITE, ACK, BYE, CANCEL, SUBSCRIBE, NOTIFY, PUBLISH, REFER,
>> MESSAGE, OPTIONS
>> Supported: replaces, norefersub
>> Content-Type: application/sdp
>> Content-Length:   160
>> v=0
>> o=- 3092603322 3092603323 IN IP4 192.168.3.87
>> s=pjmedia
>> c=IN IP4 192.168.3.87
>> t=0 0
>> m=image 9901 tcp t38
>> a=T38FaxRateManagement:localTCF
>> a=sendrecv
>> --end msg--
>>  00:29:14.421    pjsua_app.c Call 1 is DISCONNECTED [reason=408 (Request
>> Timeout)]
>>  00:41:10.665    tcplis:5060 TCP listener 192.168.3.87:5060: got incoming
>> TCP connection from 192.168.3.77:55149, sock=24
>>  00:41:10.666   tcps0x159584 TCP server transport created
>>  00:41:37.337   pjsua_core.c RX 379 bytes Request msg BYE/cseq=2012788021
>> (rdata0x159650) from tcp 192.168.3.77:55149:
>> BYE sip:192.168.3.87:5060;transport=TCP SIP/2.0
>> Via: SIP/2.0/tcp 192.168.3.77:55149
>> ;rport;branch=z9hG4bKPj015e0008bd03cc096a7f
>> Max-Forwards: 70
>> From: <sip:192.168.3.77>;tag=015e0001bd03cc096a7f
>> To: sip:192.168.3.87;tag=01670001bd03cc096a7f
>> Call-ID: 015e0002bd03cc096a7f
>> CSeq: 2012788021 BYE
>> User-Agent: PJSUA v0.5.10.2-release/arm-unknown-linux-gnu
>> Content-Length:  0
>>
>> --end msg--
>>  00:41:37.342   pjsua_core.c TX 299 bytes Response msg
>> 200/BYE/cseq=2012788021 (tdta0x1625e4) to tcp 192.168.3.77:55149:
>> SIP/2.0 200 OK
>> Via: SIP/2.0/tcp 192.168.3.77:55149;rport=55149;received=192.168.3.77
>> ;branch=z9hG4bKPj015e0008bd03cc096a7f
>> Call-ID: 015e0002bd03cc096a7f
>> From: <sip:192.168.3.77>;tag=015e0001bd03cc096a7f
>> To: <sip:192.168.3.87>;tag=01670001bd03cc096a7f
>> CSeq: 2012788021 BYE
>> Content-Length:  0
>>
>> --end msg--
>>  00:41:37.344    pjsua_app.c Call 0 is DISCONNECTED [reason=200 (Normal
>> call clearing)]
>>  00:42:37.383   tcps0x159584 TCP transport destroyed normally
>>
>> ===========================================================================
>> i use spandsp to send fax with pjsip.:)
>>
>> thanks a lot.
>>
>>
>> 2008/11/14 Bernie B <bugsbernie1 at googlemail.com>
>>
>> Hello
>>>
>>> Sending fax - that sounds interesting. What's your environment, how do
>>> you generate faxes? How do you do T.38 protocol conversions?
>>>
>>> Thanks
>>> Bernie
>>>
>>> 2008/11/14 zhang zhilong <zhang.zhilong at gmail.com>
>>>
>>>>   hi everybody.
>>>>     i  use pjsip to send fax, i test my code in diffirent enviroment.
>>>> when i send fax over ethernet hub ,it works OK.
>>>> but when i send fax over router ,it cause error.
>>>> and i noticed that :
>>>> 06:27:09.395    pjsua_app.c Call 0 is DISCONNECTED [reason=408 (Request
>>>> Timeout)]
>>>>
>>>> the next log is:
>>>> 06:27:11.571   pjsua_core.c RX 319 bytes Request msg ACK/cseq=653859760
>>>> (rdata0x148a00) from tcp 192.168.3.77:44836:
>>>>
>>>> it may be that: the receiver recived request msg after call disconnect .
>>>>
>>>> so how to adjust the request time ?
>>>> thanks
>>>>
>>>> --
>>>> zhang.zhilong
>>>>
>>>> _______________________________________________
>>>> Visit our blog: http://blog.pjsip.org
>>>>
>>>> pjsip mailing list
>>>> pjsip at lists.pjsip.org
>>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Visit our blog: http://blog.pjsip.org
>>>
>>> pjsip mailing list
>>> pjsip at lists.pjsip.org
>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>
>>>
>>
>>
>> --
>> zhang.zhilong
>>
>
>
>
> --
> zhang.zhilong
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081119/eb78a76b/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux