Advertisement
Guest User

sngrep

a guest
Feb 23rd, 2021
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.47 KB | None | 0 0
  1.  
  2.   [ ] 38   INVITE     cmtpoliza@192.168.50.252:5 0612345678@192.168.50.252 18    192.168.50.21:5060     192.168.50.252:5060    COMPLETED
  3.   [ ] 39   INVITE     68@MON_IP_PUBLIQUE         0612345678@TRUNK_SIP_IP:5 7     192.168.50.252:5060    TRUNK_SIP_IP:5060      COMPLETED
  4.  
  5.  
  6.  
  7. ##
  8. # Communication du tel aastra local à l'ipbx
  9. ##
  10.          │INVITE sip:0612345678@192.168.50.252:5060;user=phone SIP/2.0
  11.             192.168.50.21:5060           192.168.50.252:5060│Via: SIP/2.0/UDP 192.168.50.21:5060;branch=z9hG4bK53185452b93f50302.40501d211fa7fa905
  12.           ──────────┬─────────          ──────────┬─────────│Max-Forwards: 70
  13.                     │        INVITE (SDP)         │         │From: "68" <sip:cmtpoliza@192.168.50.252:5060>;tag=6e9ab1c7d3
  14.   16:44:39.966509   │ ──────────────────────────> │         │To: <sip:0612345678@192.168.50.252:5060;user=phone>
  15.         +0.000566   │      401 Unauthorized       │         │Call-ID: 9a9674daf8dc8203
  16.   16:44:39.967075   │ <────────────────────────── │         │CSeq: 23699 INVITE
  17.         +0.052378   │             ACK             │         │Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
  18.   16:44:40.019453   │ ──────────────────────────> │         │Allow-Events: aastra-xml, talk, hold, conference, LocalModeStatus
  19.         +0.035243   │        INVITE (SDP)         │         │Contact: "68" <sip:cmtpoliza@192.168.50.21:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D2383DE>"
  20.   16:44:40.054696   │ ──────────────────────────> │         │Supported: path, gruu, 100rel, replaces
  21.         +0.005155   │         100 Trying          │         │User-Agent: Aastra 55i/3.3.1.4358
  22.   16:44:40.059851   │ <────────────────────────── │         │Content-Type: application/sdp
  23.         +4.079318   │         180 Ringing         │         │Content-Length: 618
  24.   16:44:44.139169   │ <────────────────────────── │         │
  25.         +3.230716   │        200 OK (SDP)         │         │v=0
  26.   16:44:47.369885   │ <────────────────────────── │         │o=MxSIP 0 1 IN IP4 192.168.50.21
  27.         +0.087314   │             ACK             │         │s=SIP Call
  28.   16:44:47.457199   │ ──────────────────────────> │         │c=IN IP4 192.168.50.21
  29.                     │       RTP (g711a) 769       │         │t=0 0
  30.   16:44:47.586240   │3000  ────────────────> 18824│         │m=audio 3000 RTP/AVP 0 18 106 107 113 110 111 112 98 97 115 96 9 8 101
  31.                     │         RTP (cn) 1          │         │a=rtpmap:0 PCMU/8000
  32.   16:45:03.586297   │3000  <──────────────── 18824│         │a=rtpmap:18 G729/8000
  33.        +17.454691   │        INVITE (SDP)         │         │a=rtpmap:106 BV16/8000
  34.   16:45:04.911890   │ ──────────────────────────> │         │a=rtpmap:107 BV32/16000
  35.         +0.000753   │         100 Trying          │         │a=rtpmap:113 L16/16000
  36.   16:45:04.912643   │ <────────────────────────── │         │a=rtpmap:110 PCMU/16000
  37.         +0.000282   │        200 OK (SDP)         │         │a=rtpmap:111 PCMA/16000
  38.   16:45:04.912925   │ <────────────────────────── │         │a=rtpmap:112 L16/8000
  39.         +0.100361   │             ACK             │         │a=rtpmap:98 G726-16/8000
  40.   16:45:05.013286   │ ──────────────────────────> │         │a=rtpmap:97 G726-24/8000
  41.         +1.675185   │        INVITE (SDP)         │         │a=rtpmap:115 G726-32/8000
  42.   16:45:06.688471   │ ──────────────────────────> │         │a=rtpmap:96 G726-40/8000
  43.         +0.000921   │         100 Trying          │         │a=rtpmap:9 G722/8000
  44.   16:45:06.689392   │ <────────────────────────── │         │a=rtpmap:8 PCMA/8000
  45.         +0.000258   │        200 OK (SDP)         │         │a=rtpmap:101 telephone-event/8000
  46.   16:45:06.689650   │ <────────────────────────── │         │a=silenceSupp:on - - - -
  47.                     │       RTP (g711a) 187       │         │a=fmtp:18 annexb=yes
  48.   16:45:06.718616   │3000  <──────────────── 18824│         │a=fmtp:101 0-15
  49.         +0.098081   │             ACK             │         │a=ptime:30
  50.   16:45:06.787731   │ ──────────────────────────> │         │a=sendrecv
  51.         +5.631414   │             BYE             │         │
  52.   16:45:12.419145   │ <────────────────────────── │         │
  53.         +0.072767   │           200 OK            │         │
  54.   16:45:12.491912   │ ──────────────────────────> │         │
  55.  
  56.  
  57.  
  58. ##
  59. # Communication de l'IPBX au fournisseur SIP
  60. ##
  61.                                                             │INVITE sip:0612345678@TRUNK_SIP_IP:5060 SIP/2.0
  62.            192.168.50.252:5060            TRUNK_SIP_IP:5060 │Via: SIP/2.0/UDP MON_IP_PUBLIQUE:5060;branch=z9hG4bK7e44a5ca;rport
  63.           ──────────┬─────────          ──────────┬─────────│Max-Forwards: 70
  64.                     │        INVITE (SDP)         │         │From: "Greg" <sip:68@MON_IP_PUBLIQUE>;tag=as0514550a
  65.   16:44:41.671639   │ ──────────────────────────> │         │To: <sip:0612345678@TRUNK_SIP_IP:5060>
  66.         +0.062243   │         100 Trying          │         │Contact: <sip:68@MON_IP_PUBLIQUE:5060>
  67.   16:44:41.733882   │ <────────────────────────── │         │Call-ID: 19184a1826d82e811172e1f831a76f7b@MON_IP_PUBLIQUE:5060
  68.         +2.404233   │         180 Ringing         │         │CSeq: 102 INVITE
  69.   16:44:44.138115   │ <────────────────────────── │         │User-Agent: XiVO PBX 2020.07.05
  70.         +3.229484   │        200 OK (SDP)         │         │Date: Tue, 23 Feb 2021 15:44:41 GMT
  71.   16:44:47.367599   │ <────────────────────────── │         │Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  72.         +0.000709   │             ACK             │         │Supported: replaces, timer
  73.   16:44:47.368308   │ ──────────────────────────> │         │P-Asserted-Identity: "Greg" <sip:68@MON_IP_PUBLIQUE>
  74.                     │      RTP (g711a) 1232       │         │Content-Type: application/sdp
  75.   16:44:47.586684   │13678 ────────────────> 14440│         │Content-Length: 444
  76.                     │       RTP (g711a) 365       │         │
  77.   16:45:05.018384   │13678 <──────────────── 14440│         │v=0
  78.        +25.047303   │             BYE             │         │o=root 1802599570 1802599570 IN IP4 MON_IP_PUBLIQUE
  79.   16:45:12.415611   │ <────────────────────────── │         │s=Asterisk PBX 8:16.9.0-1~xivo2+deb9+20200630.134339.7c36a81
  80.         +0.000986   │           200 OK            │         │c=IN IP4 MON_IP_PUBLIQUE
  81.   16:45:12.416597   │ ──────────────────────────> │         │t=0 0
  82.                     │                             │         │m=audio 13678 RTP/AVP 8 9 18 3 4 0 101
  83.                     │                             │         │a=rtpmap:8 PCMA/8000
  84.                     │                             │         │a=rtpmap:9 G722/8000
  85.                     │                             │         │a=rtpmap:18 G729/8000
  86.                     │                             │         │a=fmtp:18 annexb=no
  87.                     │                             │         │a=rtpmap:3 GSM/8000
  88.                     │                             │         │a=rtpmap:4 G723/8000
  89.                     │                             │         │a=fmtp:4 annexa=no
  90.                     │                             │         │a=rtpmap:0 PCMU/8000
  91.                     │                             │         │a=rtpmap:101 telephone-event/8000
  92.                     │                             │         │a=fmtp:101 0-16
  93.                     │                             │         │a=maxptime:150
  94.                     │                             │         │a=sendrecv
  95.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement