Browse Source

listen on the UDP ports for FS->kamailio traffic when using websockets

3.17
karl anderson 12 years ago
parent
commit
1f43638296
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      kamailio/local.cfg
  2. +2
    -0
      kamailio/websockets-role.cfg

+ 2
- 0
kamailio/local.cfg View File

@ -77,7 +77,9 @@ mhomed=0
#!substdef "!TCP_ALG_SIP!tcp:MY_IP_ADDRESS:7000!g" #!substdef "!TCP_ALG_SIP!tcp:MY_IP_ADDRESS:7000!g"
#!substdef "!TLS_ALG_SIP!tls:MY_IP_ADDRESS:7001!g" #!substdef "!TLS_ALG_SIP!tls:MY_IP_ADDRESS:7001!g"
#!substdef "!TCP_WS!tcp:MY_IP_ADDRESS:8080!g" #!substdef "!TCP_WS!tcp:MY_IP_ADDRESS:8080!g"
#!substdef "!UDP_WS_SIP!udp:MY_IP_ADDRESS:8080!g"
#!substdef "!TLS_WSS!tls:MY_IP_ADDRESS:8443!g" #!substdef "!TLS_WSS!tls:MY_IP_ADDRESS:8443!g"
#!substdef "!UDP_WSS_SIP!udp:MY_IP_ADDRESS:8443!g"
## YOU SHOULD NOT HAVE TO CHANGE THESE! ## YOU SHOULD NOT HAVE TO CHANGE THESE!
## This will bind the default SIP listeners ## This will bind the default SIP listeners


+ 2
- 0
kamailio/websockets-role.cfg View File

@ -1,8 +1,10 @@
tcp_accept_no_cl=yes tcp_accept_no_cl=yes
listen=TCP_WS listen=TCP_WS
listen=UDP_WS_SIP
#!ifdef TLS-ROLE #!ifdef TLS-ROLE
listen=TLS_WSS listen=TLS_WSS
listen=UDP_WSS_SIP
#!endif #!endif
######## NAT Traversal module - signaling functions ######## ######## NAT Traversal module - signaling functions ########


Loading…
Cancel
Save