Command send - Pepelux/sippts GitHub Wiki

SIPPTS send allow us to send a customized SIP message and analyze the response.

Usage

$ sippts send -h

Target:
  -i IP|HOST          Target IP address
  -r REMOTE_PORT      Remote port (default: 5060)
  -p PROTOCOL         Protocol: udp|tcp|tls (default: udp)
  -l LOCAL_PORT       Local port (default: first free)
  -proxy IP:PORT      Use an outbound proxy (ex: 192.168.1.1 or 192.168.1.1:5070)

Headers:
  -m METHOD           Method used to scan: options, invite, register, bye, ... (default: options)
  -d DOMAIN           SIP Domain or IP address. Ex: my.sipserver.com (default: target IP address)
  -cd CONTACT_DOMAIN  Domain or IP address for Contact header. Ex: 10.0.1.2
  -fn FROM_NAME       From Name. Ex: Bob
  -fu FROM_USER       From User (default: 100)
  -fd FROM_DOMAIN     From Domain. Ex: 10.0.0.1
  -ft FROM_TAG        From Tag
  -tn TO_NAME         To Name. Ex: Alice
  -tu TO_USER         To User (default: 100)
  -td TO_DOMAIN       To Domain. Ex: 10.0.0.1
  -tt TO_TAG          To Tag
  -ua USER_AGENT      User-Agent header (default: pplsip)
  -ppi PPI            P-Preferred-Identity
  -pai PAI            P-Asserted-Identity
  -header HEADER      Add custom header (ex: "Allow-Events: presence"). Multiple headers: hdr1&hdr2
  -nc                 Don't send Contact header
  -branch BRANCH      Customize Branch header
  -cid CALLID         Customize CallID header
  -cseq SEQ           Customize Seq number
  -sdp                Send SDP in INVITE messages
  -sdes               Send SDES in SDP
  -digest DIGEST      Add a customized Digest header

Auth:
  -user AUTH_USER     Authentication user
  -pass AUTH_PASS     Authentication password

Log:
  -v                  Increase verbosity
  -nocolor            Show result without colors
  -o FILE             Save data into a log file

Other options:
  -local-ip IP        Set local IP address (by default try to get it)
  -h, --help          Show this help