Skip to content

Commit

Permalink
Merge branch 'master' of github.com:altanai/kamilioexamples
Browse files Browse the repository at this point in the history
  • Loading branch information
altanai committed May 17, 2020
2 parents 829fa0f + 3ebad66 commit 5d69112
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
10 changes: 6 additions & 4 deletions simple relay with flags/README.md → Relay_with_flags/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ make call between 2 sip User agents.

agent 1 : Bria using SIP port 5068 , auto ICE on
username : 888
```
Bria\x203 62707 altanaibisht 21u IPv4 0x252377c03238fc13 0t0 UDP *:54599
Bria\x203 62707 altanaibisht 23u IPv4 0x252377c04ca04b73 0t0 UDP *:5068
Bria\x203 62707 altanaibisht 24u IPv4 0x252377c047070bbb 0t0 TCP *:5068 (LISTEN)
Expand All @@ -75,16 +76,17 @@ Bria\x203 62707 altanaibisht 44u IPv4 0x252377c0323924db 0t0 UDP *:6024
Bria\x203 62707 altanaibisht 45u IPv4 0x252377c032392223 0t0 UDP *:62027
Bria\x203 62707 altanaibisht 46u IPv4 0x252377c03238ebc3 0t0 UDP *:50783
Bria\x203 62707 altanaibisht 47u IPv4 0x252377c04ca08f6b 0t0 UDP *:58418
Bria\x203 62707 altanaibisht 49u IPv4 0x252377c045591bbb 0t0 TCP 192.168.1.120:60085->ec2-x-x-x-x.compute-1.amazonaws.com:http (ESTABLISHED)

Bria\x203 62707 altanaibisht 49u IPv4 0x252377c045591bbb 0t0 TCP x.x.x.x:60085->ec2-x-x-x-x.compute-1.amazonaws.com:http (ESTABLISHED)
````
agent 2 acting as callee : Xlite using SIP port 5067 , auto ICE on
username : 666
```
X-Lite 59681 altanaibisht 35u IPv4 0x252377c03b3ebbbb 0t0 TCP localhost:dynamid (LISTEN)
X-Lite 59681 altanaibisht 52u IPv4 0x252377c04ca09d03 0t0 UDP *:authentx
X-Lite 59681 altanaibisht 55u IPv4 0x252377c04559123b 0t0 TCP *:authentx (LISTEN)
X-Lite 59681 altanaibisht 66u IPv4 0x252377c044e6323b 0t0 TCP 192.168.1.120:52533->x-x-x-x:https (CLOSED)

X-Lite 59681 altanaibisht 66u IPv4 0x252377c044e6323b 0t0 TCP x.x.x.x.x->x-x-x-x:https (CLOSED)
```
### Note :
Expand Down
6 changes: 4 additions & 2 deletions TLSonly/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Secure TLS connection via port 5061

Securinng signalling using TLS certificates to provide privacy to voip calls over public internet.
I have used self signed certificate in this exmaple which is ok for dev enviornment for staging , beta or production env use third party certificate provider ( Letsencrypt etc , I will add more on that later )
Securing signalling using TLS certificates to provide privacy to voip calls over public internet.
I have used self signed certificate in this example which is ok for dev environment for staging , beta or production env use third party certificate provider ( Letsencrypt etc , I will add more on that later )

Read more on kamailio security :https://telecom.altanai.com/2018/02/17/kamailio-security/

## Steps for TLS module in kamailio

Expand Down
9 changes: 5 additions & 4 deletions sipp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ sipp 10.10.10.10:5077 -s 1234567890 -sn uac -t l1 -tls_key /home/ubuntu/certs/1

## Available options:

###Scenario file options:###
###Scenario file options:

- -sd : Dumps a default scenario (embedded in the SIPp executable)
- -sf : Loads an alternate XML scenario file. To learn more about XML scenario syntax, use the -sd option to dump embedded scenarios. They contain all the necessary help.
Expand All @@ -82,7 +82,7 @@ sipp 10.10.10.10:5077 -s 1234567890 -sn uac -t l1 -tls_key /home/ubuntu/certs/1
- '3pcc-B' : B side.


###IP, port and protocol options:###
###IP, port and protocol options:

- -t :
Set the transport mode:
Expand Down Expand Up @@ -169,7 +169,8 @@ Set the transport mode:
- pingreply Reply to ping requests
If a behavior is prefaced with a -, then it is turned off. Example: all,-bye

- -nd : No Default. Disable all default behavior of SIPp which are the following:
- -nd :
No Default. Disable all default behavior of SIPp which are the following:
- On UDP retransmission timeout, abort the call by sending a BYE or a CANCEL
- On receive timeout with no ontimeout attribute, abort the call by sending a BYE or a CANCEL
- On unexpected BYE send a 200 OK and close the call
Expand Down Expand Up @@ -347,7 +348,7 @@ Reset response time partition counters each logging interval.
- -trace_msg :
Displays sent and received SIP messages in <scenario file name>_<pid>_messages.log

- -message_file : Set the name of the message log file.
- -message_file : Set the name of the message log file.
- -message_overwrite: Overwrite the message log file (default true).
- -trace_shortmsg : Displays sent and received SIP messages as CSV in <scenario file
name>_<pid>_shortmessages.log
Expand Down

0 comments on commit 5d69112

Please sign in to comment.