Re: Re: Workaround for sip agents

От: Dmitry Akindinov <CGatePro_at_mx_ru>
Дата: Mon 21 Nov 2005 - 18:35:17 MSK


Hello, on 21.11.2005 17:07, Vladimir Mendelevich at CGatePro@mx.ru wrote:

> Hello, Dmitry!
> You wrote to "CommuniGate Pro Russian Discussions" <CGatePro@mx.ru> on Mon,
> 21 Nov 2005 15:54:24 +0300:
>
> DA> При уровне лога SIP установленном в All Info в пакетах, посылаемых этим
> DA> клиентом, должен быть виден заголовок User-Agent:. Вот его содержимое и
> надо
> DA> использовать.
>
> Стоит All Info. В олгах нет слова agent.

тогда не получится...

> --------------------
> 17:04:40.90 5 SIP [172.20.128.44:5060] inp(602): INVITE
> sip:112@hedgehog.lan.rarus.ru SIP/2.0\r\nVia: SIP/2.0/UDP
> 172.20.128.44:5060\r\nMax-Forwards: 70\r\nFrom: dlink-port1
> <sip:111@hedgehog.lan.rarus.ru>;tag=c0ac518841d6d962\r\nTo:
> sip:112@hedgehog.lan.rarus.ru\r\nCall-ID: 6fb9e2716beb66d6@172.20.
> 17:04:40.92 2 SIPDATA-01951 inp: req udp [172.20.128.44:5060] INVITE(602
> bytes) sip:112@hedgehog.lan.rarus.ru
> 17:04:40.92 5 SIPDATA-01951 inp: INVITE sip:112@hedgehog.lan.rarus.ru
> SIP/2.0
> 17:04:40.92 5 SIPDATA-01951 inp: Via: SIP/2.0/UDP 172.20.128.44:5060
> 17:04:40.92 5 SIPDATA-01951 inp: Max-Forwards: 70
> 17:04:40.92 5 SIPDATA-01951 inp: From: dlink-port1
> <sip:111@hedgehog.lan.rarus.ru>;tag=c0ac518841d6d962
> 17:04:40.92 5 SIPDATA-01951 inp: To: sip:112@hedgehog.lan.rarus.ru
> 17:04:40.92 5 SIPDATA-01951 inp: Call-ID: 6fb9e2716beb66d6@172.20.128.44
> 17:04:40.92 5 SIPDATA-01951 inp: CSeq: 1 INVITE
> 17:04:40.92 5 SIPDATA-01951 inp: Contact: dlink-port1
> <sip:111@172.20.128.44:5060>
> 17:04:40.92 5 SIPDATA-01951 inp: Supported: timer
> 17:04:40.92 5 SIPDATA-01951 inp: Session-Expires: 180
> 17:04:40.92 5 SIPDATA-01951 inp: Content-Type: application/sdp
> 17:04:40.92 5 SIPDATA-01951 inp: Content-Length: 192
> 17:04:40.92 5 SIPDATA-01951 inp:
> 17:04:40.92 5 SIPDATA-01951 inp: v=0
> 17:04:40.92 5 SIPDATA-01951 inp: o=- 1 0 IN IP4 172.20.128.44
> 17:04:40.92 5 SIPDATA-01951 inp: s=-
> 17:04:40.92 5 SIPDATA-01951 inp: c=IN IP4 172.20.128.44
> 17:04:40.92 5 SIPDATA-01951 inp: t=0 0
> 17:04:40.92 5 SIPDATA-01951 inp: m=audio 30000 RTP/AVP 0 4 8 18
> 17:04:40.92 5 SIPDATA-01951 inp: a=rtpmap:0 PCMU/8000
> 17:04:40.92 5 SIPDATA-01951 inp: a=rtpmap:4 G723/8000
> 17:04:40.92 5 SIPDATA-01951 inp: a=rtpmap:8 PCMA/8000
> 17:04:40.92 5 SIPDATA-01951 inp: a=rtpmap:18 G729/8000
> 17:04:40.92 5 SIPDATA-01951 Hash=87103
> 17:04:40.92 5 SIPS 1754: enqueued
> 17:04:40.92 2 SIPS-01754 enqueued
> 17:04:40.92 5 SIPS-01754 INITIAL posted
> 17:04:40.92 2 SIPDATA-01951 created SIPS-01754
> 17:04:40.92 5 SIPS(3) 1754: processing INITIAL
> 17:04:40.92 2 SIPS-01754 [01951] INVITE sip:112@hedgehog.lan.rarus.ru from
> udp [172.20.128.44:5060]
> 17:04:40.92 2 SIPDATA-01952 out: rsp udp [172.20.128.44:5060] 100-INVITE(295
> bytes)
> 17:04:40.92 5 SIPDATA-01952 out: SIP/2.0 100 Trying
> 17:04:40.92 5 SIPDATA-01952 out: Via: SIP/2.0/UDP
> 172.20.128.44:5060;received=172.20.128.44
> 17:04:40.92 5 SIPDATA-01952 out: From: dlink-port1
> <sip:111@hedgehog.lan.rarus.ru>;tag=c0ac518841d6d962
> 17:04:40.92 5 SIPDATA-01952 out: To: sip:112@hedgehog.lan.rarus.ru
> 17:04:40.92 5 SIPDATA-01952 out: Call-ID: 6fb9e2716beb66d6@172.20.128.44
> 17:04:40.92 5 SIPDATA-01952 out: CSeq: 1 INVITE
> 17:04:40.92 5 SIPDATA-01952 out: Server: CommuniGatePro/5.0.2
> 17:04:40.92 5 SIPDATA-01952 out: Content-Length: 0
> 17:04:40.92 5 SIPDATA-01952 out:
> 17:04:40.92 5 SIP [172.20.128.44:5060] out(295): SIP/2.0 100 Trying\r\nVia:
> SIP/2.0/UDP 172.20.128.44:5060;received=172.20.128.44\r\nFrom: dlink-port1
> <sip:111@hedgehog.lan.rarus.ru>;tag=c0ac518841d6d962\r\nTo:
> sip:112@hedgehog.lan.rarus.ru\r\nCall-ID:
> 6fb9e2716beb66d6@172.20.128.44\r\nCSeq: 1 INVIT
> 17:04:40.92 2 SIPS-01754 [01952] 100-INVITE(trying) sent to udp
> [172.20.128.44:5060]
> 17:04:40.92 2 SIGNAL-00858 enqueued
> 17:04:40.92 2 SIPS-01754 created SIGNAL-00858
> 17:04:40.92 5 SIPS(3) 1754: idling
> 17:04:40.92 2 SIGNAL-00858 SIPS-01754: INVITE sip:112@hedgehog.lan.rarus.ru
> 17:04:40.92 2 SIGNAL-00858 INVITE sip:112@hedgehog.lan.rarus.ru via
> sip:112@hedgehog.lan.rarus.ru
> 17:04:40.92 2 SIGNAL-00858 dlink-port2@hedgehog.lan.rarus.ru has 1
> registrations
> 17:04:40.92 5 SIPC 88: enqueued
> 17:04:40.92 2 SIPC-00088 enqueued
> 17:04:40.92 5 SIPC-00088 INITIAL posted
> 17:04:40.92 5 SIPC(3) 88: processing INITIAL
> 17:04:40.92 2 SIPC-00088 INVITE sip:112@172.20.128.44:5061 via
> sip:112@172.20.128.44:5061
> 17:04:40.92 4 SIPC-00088 resolving sip:112@172.20.128.44:5061
> 17:04:40.92 4 SIPC-00088 resolved: 1 address(es)
> 17:04:40.92 4 SIPC-00088 trying: sip:172.20.128.44:5061
> 17:04:40.92 5 SIPC-00088 timeout set for 2 secs
> 17:04:40.92 2 SIPDATA-01953 out: req udp [172.20.128.44:5061] INVITE(664
> bytes) sip:112@172.20.128.44:5061
> 17:04:40.92 5 SIPDATA-01953 out: INVITE sip:112@172.20.128.44:5061 SIP/2.0
> 17:04:40.92 5 SIPDATA-01953 out: Via: SIP/2.0/UDP
> 172.20.128.45:5060;branch=z9hG4bK88
> 17:04:40.92 5 SIPDATA-01953 out: Via: SIP/2.0/UDP
> 172.20.128.44:5060;received=172.20.128.44
> 17:04:40.92 5 SIPDATA-01953 out: Max-Forwards: 69
> 17:04:40.92 5 SIPDATA-01953 out: From: dlink-port1
> <sip:111@hedgehog.lan.rarus.ru>;tag=c0ac518841d6d962
> 17:04:40.92 5 SIPDATA-01953 out: To: sip:112@hedgehog.lan.rarus.ru
> 17:04:40.92 5 SIPDATA-01953 out: Call-ID: 6fb9e2716beb66d6@172.20.128.44
> 17:04:40.92 5 SIPDATA-01953 out: Contact: <sip:111@172.20.128.44:5060>
> 17:04:40.92 5 SIPDATA-01953 out: CSeq: 1 INVITE
> 17:04:40.92 5 SIPDATA-01953 out: Supported: timer
> 17:04:40.92 5 SIPDATA-01953 out: Session-Expires: 180
> 17:04:40.92 5 SIPDATA-01953 out: Content-Type: application/sdp
> 17:04:40.92 5 SIPDATA-01953 out: Content-Length: 192
> 17:04:40.92 5 SIPDATA-01953 out:
> 17:04:40.92 5 SIPDATA-01953 out: v=0
> 17:04:40.92 5 SIPDATA-01953 out: o=- 1 0 IN IP4 172.20.128.44
> 17:04:40.92 5 SIPDATA-01953 out: s=-
> 17:04:40.92 5 SIPDATA-01953 out: c=IN IP4 172.20.128.44
> 17:04:40.92 5 SIPDATA-01953 out: t=0 0
> 17:04:40.92 5 SIPDATA-01953 out: m=audio 30000 RTP/AVP 0 4 8 18
> 17:04:40.92 5 SIPDATA-01953 out: a=rtpmap:0 PCMU/8000
> 17:04:40.92 5 SIPDATA-01953 out: a=rtpmap:4 G723/8000
> 17:04:40.92 5 SIPDATA-01953 out: a=rtpmap:8 PCMA/8000
> 17:04:40.92 5 SIPDATA-01953 out: a=rtpmap:18 G729/8000
> 17:04:40.92 5 SIP [172.20.128.44:5061] out(664): INVITE
> sip:112@172.20.128.44:5061 SIP/2.0\r\nVia: SIP/2.0/UDP
> 172.20.128.45:5060;branch=z9hG4bK88\r\nVia: SIP/2.0/UDP
> 172.20.128.44:5060;received=172.20.128.44\r\nMax-Forwards: 69\r\nFrom:
> dlink-port1 <sip:111@hedgehog.lan.rarus.ru>;tag=c0ac518841d6d9
> 17:04:40.92 4 SIPC-00088 [01953] INVITE sip:112@172.20.128.44:5061 sent to
> udp [172.20.128.44:5061]
> 17:04:40.92 5 SIPC(3) 88: enqueued (2 secs)
> 17:04:40.92 2 SIGNAL-00858 INVITE relayed to SIPC-00088:
> sip:112@172.20.128.44:5061
> 17:04:40.95 5 SIP [172.20.128.44:5061] inp(319): SIP/2.0 100 Trying\r\nVia:
> SIP/2.0/UDP 172.20.128.45:5060;branch=z9hG4bK88\r\nVia: SIP/2.0/UDP
> 172.20.128.44:5060;received=172.20.128.44\r\nFrom: dlink-port1
> <sip:111@hedgehog.lan.rarus.ru>;tag=c0ac518841d6d962\r\nTo:
> sip:112@hedgehog.lan.rarus.ru\r\n
> 17:04:40.95 2 SIPDATA-01954 inp: rsp udp [172.20.128.44:5061] 100-INVITE(319
> bytes)
> 17:04:40.95 5 SIPDATA-01954 inp: SIP/2.0 100 Trying
> 17:04:40.95 5 SIPDATA-01954 inp: Via: SIP/2.0/UDP
> 172.20.128.45:5060;branch=z9hG4bK88
> 17:04:40.95 5 SIPDATA-01954 inp: Via: SIP/2.0/UDP
> 172.20.128.44:5060;received=172.20.128.44
> 17:04:40.95 5 SIPDATA-01954 inp: From: dlink-port1
> <sip:111@hedgehog.lan.rarus.ru>;tag=c0ac518841d6d962
> 17:04:40.95 5 SIPDATA-01954 inp: To: sip:112@hedgehog.lan.rarus.ru
> 17:04:40.95 5 SIPDATA-01954 inp: Call-ID: 6fb9e2716beb66d6@172.20.128.44
> 17:04:40.95 5 SIPDATA-01954 inp: CSeq: 1 INVITE
> 17:04:40.95 5 SIPDATA-01954 inp: Content-Length: 0
> 17:04:40.95 5 SIPDATA-01954 inp:
> 17:04:40.95 5 SIPC-00088 RESPONSE posted
> 17:04:40.95 2 SIPDATA-01954 sent to SIPC-00088
> 17:04:40.95 5 SIPC(1) 88: processing RESPONSE
> 17:04:40.95 2 SIPC-00088 [01954] 100-INVITE received
> 17:04:40.95 5 SIPC-00088 timeout set for 180 secs
> 17:04:40.95 5 SIPC(1) 88: enqueued (180 secs)
> 17:04:40.98 5 SIP [172.20.128.44:5061] inp(357): SIP/2.0 180 Ringing\r\nVia:
> SIP/2.0/UDP 172.20.128.45:5060;branch=z9hG4bK88\r\nVia: SIP/2.0/UDP
> 172.20.128.44:5060;received=172.20.128.44\r\nFrom: dlink-port1
> <sip:111@hedgehog.lan.rarus.ru>;tag=c0ac518841d6d962\r\nTo:
> sip:112@hedgehog.lan.rarus.ru;ta
> 17:04:40.98 2 SIPDATA-01955 inp: rsp udp [172.20.128.44:5061] 180-INVITE(357
> bytes)
> 17:04:40.98 5 SIPDATA-01955 inp: SIP/2.0 180 Ringing
> 17:04:40.98 5 SIPDATA-01955 inp: Via: SIP/2.0/UDP
> 172.20.128.45:5060;branch=z9hG4bK88
> 17:04:40.98 5 SIPDATA-01955 inp: Via: SIP/2.0/UDP
> 172.20.128.44:5060;received=172.20.128.44
> 17:04:40.98 5 SIPDATA-01955 inp: From: dlink-port1
> <sip:111@hedgehog.lan.rarus.ru>;tag=c0ac518841d6d962
> 17:04:40.98 5 SIPDATA-

-- 
Best regards,
Dmitry Akindinov -- Stalker Labs
Получено Mon Nov 21 15:35:20 2005

Этот архив был сгенерирован hypermail 2.1.8 : Tue 21 Feb 2006 - 03:17:44 MSK