chan_sip

From metanovii, 1 Year ago, written in Plain Text, viewed 191 times.
URL https://pastebin.freepbx.org/view/36ebf113 Embed
Download Paste or View Raw
  1. [root@localhost ~]# iptables --list
  2. Chain INPUT (policy ACCEPT)
  3. target     prot opt source               destination        
  4. fail2ban-FTP  tcp  --  anywhere             anywhere            multiport dports ftp
  5. fail2ban-apache-auth  tcp  --  anywhere             anywhere            multiport dports http
  6. fail2ban-SIP  all  --  anywhere             anywhere            
  7. fail2ban-SIP  all  --  anywhere             anywhere            
  8. fail2ban-BadBots  tcp  --  anywhere             anywhere            multiport dports http,https
  9. fail2ban-SSH  tcp  --  anywhere             anywhere            multiport dports ssh
  10. fail2ban-recidive  all  --  anywhere             anywhere            
  11.  
  12. Chain FORWARD (policy ACCEPT)
  13. target     prot opt source               destination        
  14.  
  15. Chain OUTPUT (policy ACCEPT)
  16. target     prot opt source               destination        
  17.  
  18. Chain fail2ban-BadBots (1 references)
  19. target     prot opt source               destination        
  20. RETURN     all  --  anywhere             anywhere            
  21.  
  22. Chain fail2ban-FTP (1 references)
  23. target     prot opt source               destination        
  24. RETURN     all  --  anywhere             anywhere            
  25.  
  26. Chain fail2ban-SIP (2 references)
  27. target     prot opt source               destination        
  28. RETURN     all  --  anywhere             anywhere            
  29. RETURN     all  --  anywhere             anywhere            
  30.  
  31. Chain fail2ban-SSH (1 references)
  32. target     prot opt source               destination        
  33. RETURN     all  --  anywhere             anywhere            
  34.  
  35. Chain fail2ban-apache-auth (1 references)
  36. target     prot opt source               destination        
  37. RETURN     all  --  anywhere             anywhere            
  38.  
  39. Chain fail2ban-recidive (1 references)
  40. target     prot opt source               destination        
  41. RETURN     all  --  anywhere             anywhere  
  42.  
  43.  
  44.  
  45. [root@localhost ~]# asterisk -rx "sip show settings"
  46.  
  47.  
  48. Global Settings:
  49. ----------------
  50.   UDP Bindaddress:        0.0.0.0:5160
  51.   TCP SIP Bindaddress:    Disabled
  52.   TLS SIP Bindaddress:    Disabled
  53.   Videosupport:           Yes
  54.   Textsupport:            No
  55.   Ignore SDP sess. ver.:  No
  56.   AutoCreate Peer:        Off
  57.   Match Auth Username:    No
  58.   Allow unknown access:   No
  59.   Allow subscriptions:    Yes
  60.   Allow overlap dialing:  Yes
  61.   Allow promisc. redir:   No
  62.   Enable call counters:   No
  63.   SIP domain support:     No
  64.   Path support :          No
  65.   Realm. auth:            No
  66.   Our auth realm          asterisk
  67.   Use domains as realms:  No
  68.   Call to non-local dom.: Yes
  69.   URI user is phone no:   No
  70.   Always auth rejects:    Yes
  71.   Direct RTP setup:       No
  72. User Agent:             FPBX-13.0.190.12(13.13.1)
  73.   SDP Session Name:       Asterisk PBX 13.13.1
  74.   SDP Owner Name:         root
  75.   Reg. context:           (not set)
  76.   Regexten on Qualify:    No
  77.   Trust RPID:             No
  78.   Send RPID:              No
  79.   Legacy userfield parse: No
  80.   Send Diversion:         Yes
  81.   Caller ID:              Unknown
  82.   From: Domain:          
  83.   Record SIP history:     Off
  84.   Auth. Failure Events:   Off
  85.   T.38 support:           No
  86.   T.38 EC mode:           Unknown
  87.   T.38 MaxDtgrm:          4294967295
  88.   SIP realtime:           Disabled
  89.   Qualify Freq :          60000 ms
  90.   Q.850 Reason header:    No
  91.   Store SIP_CAUSE:        No
  92.  
  93. Network QoS Settings:
  94. ---------------------------
  95.   IP ToS SIP:             CS3
  96.   IP ToS RTP audio:       EF
  97.   IP ToS RTP video:       AF41
  98.   IP ToS RTP text:        CS0
  99.   802.1p CoS SIP:         4
  100.   802.1p CoS RTP audio:   5
  101.   802.1p CoS RTP video:   6
  102.   802.1p CoS RTP text:    5
  103.   Jitterbuffer enabled:   No
  104. Network QoS Settings:                                                                                                                                                                                      [35/153]
  105. ---------------------------
  106.   IP ToS SIP:             CS3
  107.   IP ToS RTP audio:       EF
  108.   IP ToS RTP video:       AF41
  109.   IP ToS RTP text:        CS0
  110.   802.1p CoS SIP:         4
  111.   802.1p CoS RTP audio:   5
  112.   802.1p CoS RTP video:   6
  113.   802.1p CoS RTP text:    5
  114.   Jitterbuffer enabled:   No
  115.  
  116. Network Settings:
  117. ---------------------------
  118.   SIP address remapping:  Enabled using externaddr
  119.   Externhost:             <none>
  120.   Externaddr:             109.226.229.65:0
  121.   Externrefresh:          10
  122.   Localnet:               192.168.0.0/255.255.0.0
  123.                           10.0.0.0/255.255.255.0
  124.                           10.10.0.0/255.255.255.0
  125.  
  126. Global Signalling Settings:
  127. ---------------------------
  128.   Codecs:                 (ulaw|gsm|speex|h264|mpeg4|vp8)
  129.   Relax DTMF:             No
  130.   RFC2833 Compensation:   No
  131.   Symmetric RTP:          Yes
  132.   Compact SIP headers:    No
  133.   RTP Keepalive:          0 (Disabled)
  134.   RTP Timeout:            30
  135.   RTP Hold Timeout:       300
  136.   MWI NOTIFY mime type:   application/simple-message-summary
  137.   DNS SRV lookup:         No
  138.   Pedantic SIP support:   Yes
  139.   Reg. min duration       60 secs
  140.   Reg. max duration:      3600 secs
  141.   Reg. default duration:  120 secs
  142.   Sub. min duration       60 secs
  143.   Sub. max duration:      3600 secs
  144.   Outbound reg. timeout:  20 secs
  145.   Outbound reg. attempts: 0
  146.   Outbound reg. retry 403:No
  147.   Notify ringing state:   Yes
  148.     Include CID:          No
  149.   Notify hold state:      Yes
  150. SIP Transfer mode:      open
  151.   Max Call Bitrate:       384 kbps
  152.   Auto-Framing:           No
  153.   Outb. proxy:            <not set>
  154.   Session Timers:         Accept
  155.   Session Refresher:      uas
  156.   Session Expires:        1800 secs
  157.   Session Min-SE:         90 secs
  158.   Timer T1:               500
  159.   Timer T1 minimum:       100
  160.   Timer B:                32000
  161.   No premature media:     Yes
  162.   Max forwards:           70
  163.  
  164. Default Settings:
  165. -----------------
  166.   Allowed transports:     UDP
  167.   Outbound transport:     UDP
  168.   Context:                from-sip-external
  169.   Record on feature:      automon
  170.   Record off feature:     automon
  171.   Force rport:            Yes
  172.   DTMF:                   rfc2833
  173.   Qualify:                0
  174.   Keepalive:              0
  175.   Use ClientCode:         No
  176.   Progress inband:        No
  177.   Language:               ru
  178.   Tone zone:              <Not set>
  179.   MOH Interpret:          default
  180.   MOH Suggest:            
  181.   Voice Mail Extension:   *97
  182.  
  183.  
  184.  
  185. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 00CDB717-9FEA-E611-B1B2-852570905A74@192.168.5.150) - No matching endpoint found
  186. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 00CDB717-9FEA-E611-B1B2-852570905A74@192.168.5.150) - Failed to authenticate
  187. [2017-02-06 12:59:42] NOTICE[5138] res_pjsip/pjsip_distributor.c: Request 'SUBSCRIBE' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 00CDB717-9FEA-E611-B1B3-852570905A74@192.168.5.150) - No matching endpoint found
  188. [2017-02-06 12:59:42] NOTICE[5138] res_pjsip/pjsip_distributor.c: Request 'SUBSCRIBE' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 00CDB717-9FEA-E611-B1B3-852570905A74@192.168.5.150) - Failed to authenticate
  189. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1CF-852570905A74@192.168.5.150) - No matching endpoint found
  190. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1CF-852570905A74@192.168.5.150) - No matching endpoint found
  191. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1CF-852570905A74@192.168.5.150) - Failed to authenticate
  192. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1CF-852570905A74@192.168.5.150) - No matching endpoint found
  193. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1CF-852570905A74@192.168.5.150) - Failed to authenticate
  194. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1CF-852570905A74@192.168.5.150) - No matching endpoint found
  195. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1CF-852570905A74@192.168.5.150) - Failed to authenticate
  196. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'SUBSCRIBE' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1D0-852570905A74@192.168.5.150) - No matching endpoint found
  197. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'SUBSCRIBE' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1D0-852570905A74@192.168.5.150) - No matching endpoint found
  198. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'SUBSCRIBE' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1D0-852570905A74@192.168.5.150) - Failed to authenticate
  199. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'SUBSCRIBE' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1D0-852570905A74@192.168.5.150) - No matching endpoint found
  200. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'SUBSCRIBE' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1D0-852570905A74@192.168.5.150) - Failed to authenticate
  201. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'SUBSCRIBE' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1D0-852570905A74@192.168.5.150) - No matching endpoint found
  202. [2017-02-06 12:59:42] NOTICE[5137] res_pjsip/pjsip_distributor.c: Request 'SUBSCRIBE' from '"PhonerLite" <sip:222@192.168.5.149>' failed for '192.168.5.150:5060' (callid: 80D90029-9FEA-E611-B1D0-852570905A74@192.168.5.150) - Failed to authenticate
  203.  
  204.  
  205.  
  206.  

Reply to "chan_sip"

Here you can reply to the paste above