Browse Source

misc/examples: reorganized examples in subfolders

Daniel-Constantin Mierla 8 years ago
parent
commit
5cf921b7a5
78 changed files with 0 additions and 444 deletions
  1. 0 0
      misc/examples/exec/exec.cfg
  2. 0 0
      misc/examples/exec/exec_dist.cfg
  3. 0 0
      misc/examples/exec/exec_s2.cfg
  4. 0 0
      misc/examples/exec/exec_s3.cfg
  5. 0 0
      misc/examples/exec/exec_s4.cfg
  6. 0 0
      misc/examples/exec/exec_s5.cfg
  7. 0 0
      misc/examples/exec/exec_s5b.cfg
  8. 0 167
      misc/examples/im_gw.cfg
  9. 0 225
      misc/examples/imgwd
  10. 0 0
      misc/examples/ims/icscf/README.md
  11. 0 0
      misc/examples/ims/icscf/icscf.cfg.sample
  12. 0 0
      misc/examples/ims/icscf/icscf.sql
  13. 0 0
      misc/examples/ims/icscf/icscf.xml.sample
  14. 0 0
      misc/examples/ims/icscf/kamailio.cfg
  15. 0 0
      misc/examples/ims/ims_dnszone/mnc001.mcc001.3gppnetwork.org
  16. 0 0
      misc/examples/ims/pcscf/README.md
  17. 0 0
      misc/examples/ims/pcscf/dispatcher.list.sample
  18. 0 0
      misc/examples/ims/pcscf/kamailio.cfg
  19. 0 0
      misc/examples/ims/pcscf/pcscf.cfg.sample
  20. 0 0
      misc/examples/ims/pcscf/pcscf.xml.sample
  21. 0 0
      misc/examples/ims/pcscf/route/mo.cfg
  22. 0 0
      misc/examples/ims/pcscf/route/mt.cfg
  23. 0 0
      misc/examples/ims/pcscf/route/register.cfg
  24. 0 0
      misc/examples/ims/pcscf/route/rtp.cfg
  25. 0 0
      misc/examples/ims/pcscf/route/websocket.cfg
  26. 0 0
      misc/examples/ims/pcscf/route/xmlrpc.cfg
  27. 0 0
      misc/examples/ims/pcscf/sems/etc/methodmap.conf
  28. 0 0
      misc/examples/ims/pcscf/sems/etc/mo.sbcprofile.conf
  29. 0 0
      misc/examples/ims/pcscf/sems/etc/monitoring.conf
  30. 0 0
      misc/examples/ims/pcscf/sems/etc/mt.sbcprofile.conf
  31. 0 0
      misc/examples/ims/pcscf/sems/etc/nocache.sbcprofile.conf
  32. 0 0
      misc/examples/ims/pcscf/sems/etc/refuse.sbcprofile.conf
  33. 0 0
      misc/examples/ims/pcscf/sems/etc/refuse_with_200.sbcprofile.conf
  34. 0 0
      misc/examples/ims/pcscf/sems/etc/register.sbcprofile.conf
  35. 0 0
      misc/examples/ims/pcscf/sems/etc/rurimap.conf
  36. 0 0
      misc/examples/ims/pcscf/sems/etc/sbc.conf
  37. 0 0
      misc/examples/ims/pcscf/sems/etc/stats.conf
  38. 0 0
      misc/examples/ims/pcscf/sems/etc/xmlrpc2di.conf
  39. 0 0
      misc/examples/ims/pcscf/sems/sems.conf
  40. 0 0
      misc/examples/ims/pcscf/tls.cfg.sample
  41. 0 0
      misc/examples/ims/scscf/CxDataType_Rel6.xsd
  42. 0 0
      misc/examples/ims/scscf/CxDataType_Rel7.xsd
  43. 0 0
      misc/examples/ims/scscf/CxDataType_Rel8.xsd
  44. 0 0
      misc/examples/ims/scscf/README.md
  45. 0 0
      misc/examples/ims/scscf/dispatcher.list.sample
  46. 0 0
      misc/examples/ims/scscf/kamailio.cfg
  47. 0 0
      misc/examples/ims/scscf/scscf.cfg.sample
  48. 0 0
      misc/examples/ims/scscf/scscf.xml.sample
  49. 0 0
      misc/examples/mixed/acc.cfg
  50. 0 0
      misc/examples/mixed/ccdiversion.cfg
  51. 0 0
      misc/examples/mixed/dbtext.cfg
  52. 0 0
      misc/examples/mixed/flag_reply.cfg
  53. 0 0
      misc/examples/mixed/logging.cfg
  54. 0 0
      misc/examples/mixed/msilo.cfg
  55. 0 0
      misc/examples/mixed/nathelper.cfg
  56. 0 0
      misc/examples/mixed/onr.cfg
  57. 0 0
      misc/examples/mixed/pstn.cfg
  58. 0 0
      misc/examples/mixed/redirect.cfg
  59. 0 0
      misc/examples/mixed/replicate.cfg
  60. 0 0
      misc/examples/mixed/serial_183.cfg
  61. 0 0
      misc/examples/mixed/snmp.cfg
  62. 0 0
      misc/examples/mixed/uas.cfg
  63. 0 0
      misc/examples/mixed/vm_proxy.cfg
  64. 0 0
      misc/examples/mixed/voicemail.cfg
  65. 0 0
      misc/examples/mixed/welcome.cfg
  66. 0 0
      misc/examples/mixed/xhttp.cfg
  67. 0 52
      misc/examples/pa.cfg
  68. 0 0
      misc/examples/pi_framework/pi_framework.xml
  69. 0 0
      misc/examples/scripts/ctd.sh
  70. 0 0
      misc/examples/scripts/geo_split.sh
  71. 0 0
      misc/examples/scripts/serresponse
  72. 0 0
      misc/examples/scripts/sr
  73. 0 0
      misc/examples/scripts/web_im/README
  74. 0 0
      misc/examples/scripts/web_im/click_to_dial.html
  75. 0 0
      misc/examples/scripts/web_im/click_to_dial.php
  76. 0 0
      misc/examples/scripts/web_im/send_im.html
  77. 0 0
      misc/examples/scripts/web_im/send_im.php
  78. 0 0
      misc/examples/webrtc/websocket.cfg

+ 0 - 0
misc/examples/exec.cfg → misc/examples/exec/exec.cfg


+ 0 - 0
misc/examples/exec_dist.cfg → misc/examples/exec/exec_dist.cfg


+ 0 - 0
misc/examples/exec_s2.cfg → misc/examples/exec/exec_s2.cfg


+ 0 - 0
misc/examples/exec_s3.cfg → misc/examples/exec/exec_s3.cfg


+ 0 - 0
misc/examples/exec_s4.cfg → misc/examples/exec/exec_s4.cfg


+ 0 - 0
misc/examples/exec_s5.cfg → misc/examples/exec/exec_s5.cfg


+ 0 - 0
misc/examples/exec_s5b.cfg → misc/examples/exec/exec_s5b.cfg


+ 0 - 167
misc/examples/im_gw.cfg

@@ -1,167 +0,0 @@
-### ----- IM Gateway [SMS+Jabber] config file for 'bat.iptel.org' ----  
-
-# ----------- global configuration parameters ------------------------
-
-debug=9          # debug level (cmd line: -dddddddddd)
-#fork=yes
-#fork=no
-#log_stderror=no     # (cmd line: -E)
-log_stderror=yes   # (cmd line: -E)
-check_via=yes       # (cmd. line: -v)
-dns=on              # (cmd. line: -r)
-rev_dns=yes         # (cmd. line: -R)
-port=5070
-children=2
-
-# advertise IP address in Via (as opposed to advertising DNS name
-# which is annoying for downstream servers and some phones can
-# not handle DNS at all)
-listen=195.37.77.100
-
-# ------------------ module loading ----------------------------------
-
-loadmodule "../sip_router/modules/sl/sl.so"
-loadmodule "../sip_router/modules/print/print.so"
-loadmodule "../sip_router/modules/tm/tm_mod.so"
-loadmodule "../sip_router/modules/maxfwd/maxfwd.so"
-loadmodule "../sip_router/modules/sms/sms.so"
-loadmodule "../sip_router/modules/textops/textops.so"
-loadmodule "../sip_router/modules/mysql/mysql.so"
-loadmodule "../sip_router/modules/jabber/jabber.so"
-loadmodule "../sip_router/modules/pike/pike.so"
-
-# ----------------- setting module-specific parameters ---------------
-
-# -- sms params --
-modparam("sms","modems","Falcom [d=/dev/ttyS0;b=9600;p=9254;m=new;l=10;r=2]")
-modparam("sms","networks","D1[c=491710765000;m=10]")
-modparam("sms","links","Falcom[D1]")
-modparam("sms","domain","iptel.org")
-modparam("sms","max_sms_parts",3)
-modparam("sms","use_contact",1)
-
-# -- tm params --
-modparam("tm", "fr_timer", 10 )
-modparam("tm", "fr_inv_timer", 10 )
-modparam("tm", "wt_timer", 10 )
-
-# -- pike params --
-# no more than minimum 5 or maximum 5*3 msg per 10 secs - only for sms
-modparam("pike","sampling_time_unit",60)
-modparam("pike","reqs_density_per_unit",5)
-modparam("pike","removel_latency",30)
-
-# -- jabber params --
-modparam("jabber","db_url","mysql://s2jgw:[email protected]/sip_jab")
-modparam("jabber","jaddress","bat.iptel.org")
-modparam("jabber","jport",5222)
-modparam("jabber","workers",2)
-modparam("jabber","max_jobs",10)
-modparam("jabber","delay_time",17)
-modparam("jabber","cache_time",1800)
-
-# -------------------------  request routing logic -------------------
-
-# main routing logic
-
-route{
-
-	# filter too old messages
-	log("LOG: Checking maxfwd\n");
-	if (!mf_process_maxfwd_header("10")) {
-		log("LOG: Too many hops\n");
-		sl_send_reply("483","Too Many Hops");
-		break;
-	};
-
-	# messages too large are denied
-	if (len_gt( max_len )) {
-		sl_send_reply("513", "Riesengross -- Message too large");
-		break;
-	};
- 
-	# accept only req coming from iptel.org
-	if (!src_ip==195.37.77.101 |
-	!( uri=~"iptel.org" | uri=~"195\.37\.77\.100" ))
-	{
-		sl_send_reply("403","Forbidden");
-		log("SER:Forbidden request: wrong src_ip or req_uri\n");
-		break;
-	};
-
-	# we are not interested in non-MESSAGE requests
-	if (!method=="MESSAGE")
-	{
-		sl_send_reply("501","Not Implemented");
-		break;
-	};
-
-	# error occurred ...
-	if (! t_newtran())
-	{
-		sl_reply_error();
-		break;
-	};
-
-	# do what you want to do -  first, it's for SMS or JABBER ?
-	if ( search("To:.*@icq\.iptel\.org")
-			| search("To:.*@msn\.iptel\.org")
-			| search("To:.*@aim\.iptel\.org")
-			| search("To:.*@yahoo\.iptel\.org") )
-	{
-		### ----- JABBER GATEWAY ------
-		log("MESSAGE received -> sending as JABBER\n");
-		if (jab_send_message())
-		{
-			if (!t_reply("202","Accepted"))
-			{
-				# if replying failed, retry statelessly
-				sl_reply_error();
-			};
-		}else{
-			if (!t_reply("502","Bad gateway - IM error"))
-			{
-				# if replying failed, retry statelessly
-				sl_reply_error();
-			};
-		};
-		break; # End of Jabber
-	};
-
-	### ------ SMS GATEWAY --------
-	# let's block ips that send a lot of request!!
-	if (!pike_check_req() )
-	{
-		break;
-	};
-	# SMS expects only the numbers as follows +<int> <area> <nr>
-	if (!(uri=~"sip:+[^0][0-9]{3}"))
-	{
-		log("SER: invalid number format!!\n");
-		if (!t_reply("502","Bad gateway - invalid number"))
-		{
-			# if replying failed, retry statelessly
-			sl_reply_error();
-		};
-		break;
-	};
-	if (sms_send_msg_to_net("D1"))
-	{
-		# for sending replies, we woun't use the statefull
-		# function because it is not able to add the Contact
-		# header (in fact to add any rpl_lump :-( )
-		# things went well, send ok upstream
-		if (!t_reply("202", "yes sir, SMS sent over"))
-		{
-			# if replying failed, retry statelessly
-			sl_reply_error();
-		};
-	} else {
-		if (!t_reply("502", "Bad gateway - SMS error"))
-		{
-			# if replying failed, retry statelessly
-			sl_reply_error();
-		};
-		break;
-	};
-}

+ 0 - 225
misc/examples/imgwd

@@ -1,225 +0,0 @@
-#!/bin/sh
-#
-# 3w-xxxx:      Starts the sip2jab process
-#
-# Version:      @(#) /etc/rc.d/init.d/3w-xxxx
-#
-# chkconfig: 2345 85 15
-# description: controls execution of SIP2Jabber gateway
-
-# JABBER
-JDIR="/home/sms/jabber-1.4.2"
-JABBERD="${JDIR}/jabberd/jabberd"
-JICQEXT="${JDIR}/icqv7ext.sh"
-CONF="${JDIR}/conf/single.xml"
-JUSR="sms"
-JPID="${JDIR}/spool/jabbers.pid"
-JOUT="${JDIR}/spool/jabberd.log"
-
-# SER
-BIN=imgw
-HM=/home/sms/srouter
-BINDIR=$HM/bin
-ETC=$HM/sip_router/etc/imgw.cfg
-USR="sms"
-GRP="sms"
-MYDIR=$HM/core
-CORE=$MYDIR/core
-
-RETVAL=0
-
-############ ==== #############
-
-# Test if Jabber exists
-test -f ${JABBERD} -a -f ${CONF} || exit 0
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-# Get config.
-. /etc/sysconfig/network
-
-# Check that networking is up.
-[ "${NETWORKING}" = "no" ] && exit 0
-
-# Current user
-CRT_USER=`whoami`
-
-### Stop Jabber server
-stop_jab() {
-	echo "Stopping ICQ transport - external component ..."
-	killproc ${JICQEXT}
-	# echo
-	echo "Stopping Jabber server ..."
-	killproc ${JABBERD}
-	RETVAL=$? 
-	# echo
-	# kill `cat ${JPID}`
-	# echo " OK."
-}
-
-### Start Jabber server
-start_jab() {
-	if [ -f ${JPID} ]
-	then
-		echo "Cleaning Jabber from a previous dirty crash ..."
-		stop_jab
-		sleep 1
-		rm -f ${JPID}
-	fi
-
-	if [ `id -u` = 0 ]
-	then
-		#### Run by root
-		echo "Starting Jabber server ..."
-		su - ${JUSR} -c "cd ${JDIR}; ${JABBERD} -B -c ${CONF} > /dev/null 2>&1"  > /dev/null 2>&1
-		# echo
-		sleep 2
-		echo "Starting ICQ transport - external component ..."
-		su - ${JUSR} -c "cd ${JDIR}; ${JICQEXT} > /dev/null 2>&1 &" > /dev/null 2>&1
-		RETVAL=$? 
-		# echo
-	else
-		### Run by other users
-		echo "Starting Jabber server ..."
-		cd ${JDIR}
-		${JABBERD} -B -c ${CONF} > /dev/null 2>&1
-		# echo
-		sleep 2
-		echo "Starting ICQ transport - external component ..."
-		${JICQEXT} > /dev/null 2>&1 &
-		RETVAL=$?
-		# echo
-	fi
-	
-	sleep 1
-	### Checking if processes are started
-	if [ `ps auxw | grep ${JABBERD} | head --lines=1 | awk '{print $11}'` = ${JABBERD} ]
-	then
-		echo "Jabber server:           [[   STARTED   ]]"
-	else
-		echo "Jabber server:           [[ NOT STARTED ]]"
-	fi
-	if [ `ps auxw | grep ${JICQEXT} | head --lines=1 | awk '{print $11}'` != "grep" ]
-	then
-		echo "ICQ transport:           [[   STARTED   ]]"
-	else
-		echo "ICQ transport:           [[ NOT STARTED ]]"
-	fi
-}
-
-### Stop SER
-stop_ser() {
-	echo -n "Stopping SIP router ..."
-	killproc ${BIN}
-	RETVAL=$?
-	echo
-	# killall ser
-	# echo " [ OK ]"
-}
-
-### Start SER
-start_ser() {
-	echo "Starting SIP router ..."
-	if [ `id -u` = 0 ]
-	then
-		#### Run by root
-		echo "- ${USR} -c cd ${MYDIR}; ${BINDIR}/${BIN} -f ${ETC} -w ${MYDIR}  > /dev/null 2>&1"
-		su - ${USR} -c "cd ${MYDIR}; ${BINDIR}/${BIN} -f ${ETC} -w ${MYDIR}"  > /dev/null 2>&1
-		RETVAL=$?
-	else
-		#### Run by other users
-		#cd $MYDIR
-
-		# core timestamping moved to sercheck; -jiri
-		#	if [ -f $CORE ] ; then
-		#		chmod a+r $CORE
-		#		DATE=`date "+%Y-%m-%d--%H-%M"`
-		#		mv $CORE $CORE.$DATE
-		#		( cd ../sip_router; tar cf - . ) | gzip > ser.$DATE.tgz
-		#	fi
-
-		cd ${MYDIR}
-		${BINDIR}/${BIN} -f ${ETC} -w ${MYDIR}
-		RETVAL=$?
-
-		# man setuid: If uid is different from the old effective uid,
-		# the process will be forbidden from eaving core dumps.
-		# -> don't set uid, we want to collect core dumps
-		# -u $USR -g $GRP
-	fi
-
-	sleep 1
-	### Checking if processes are started
-	if [ `ps auxw | grep ${BINDIR}/${BIN} | head --lines=1 | awk '{print $11}'` = ${BINDIR}/${BIN} ]
-	then
-		echo "SIP router:              [[   STARTED   ]]"
-	else
-		echo "SIP router:              [[ NOT STARTED ]]"
-	fi
-}
-
-### Check
-check_run() {
-	### Checking if Jabber server is running
-	if [ `ps auxw | grep ${JABBERD} | head --lines=1 | awk '{print $11}'` = ${JABBERD} ]
-	then
-		echo "Jabber server:           [[   RUNNING   ]]"
-	else
-		echo "Jabber server:           [[ NOT RUNNING ]]"
-	fi
-	### Checking if ICQ transport is running
-	if [ `ps auxw | grep ${JICQEXT} | head --lines=1 | awk '{print $11}'` != "grep" ]
-	then
-		echo "ICQ transport:           [[   RUNNING   ]]"
-	else
-		echo "ICQ transport:           [[ NOT RUNNING ]]"
-	fi
-	### Checking if SIP router is running
-	if [ `ps auxw | grep ${BINDIR}/${BIN} | head --lines=1 | awk '{print $11}'` = ${BINDIR}/${BIN} ]
-	then
-		echo "SIP router:              [[   RUNNING   ]]"
-	else
-		echo "SIP router:              [[ NOT RUNNING ]]"
-	fi
-}
-
-### Cleaning
-make_clean() {
-    sleep 2
-    echo "Cleaning Jabber core if generated on killing ..."
-    rm -f ${JDIR}/core.*
-}
-	    
-case "$1" in
-	start)
-		start_jab
-		start_ser
-	;;
-	stop)
-		stop_ser
-		stop_jab
-		sleep 2
-		make_clean
-	;;
-	restart)
-		echo "Restarting SIP2Jabber ..."
-		stop_ser
-		stop_jab
-		sleep 2
-		echo
-		start_jab
-		start_ser
-		make_clean
-	;;
-	check)
-		check_run
-	;;
-	*)
-		N=$0
-		echo "Usage: $N {start|stop|restart|check}" >&2
-		exit 1
-	;;
-esac
-echo
-exit $RETVAL

+ 0 - 0
misc/examples/icscf/README.md → misc/examples/ims/icscf/README.md


+ 0 - 0
misc/examples/icscf/icscf.cfg.sample → misc/examples/ims/icscf/icscf.cfg.sample


+ 0 - 0
misc/examples/icscf/icscf.sql → misc/examples/ims/icscf/icscf.sql


+ 0 - 0
misc/examples/icscf/icscf.xml.sample → misc/examples/ims/icscf/icscf.xml.sample


+ 0 - 0
misc/examples/icscf/kamailio.cfg → misc/examples/ims/icscf/kamailio.cfg


+ 0 - 0
misc/examples/ims_dnszone/mnc001.mcc001.3gppnetwork.org → misc/examples/ims/ims_dnszone/mnc001.mcc001.3gppnetwork.org


+ 0 - 0
misc/examples/pcscf/README.md → misc/examples/ims/pcscf/README.md


+ 0 - 0
misc/examples/pcscf/dispatcher.list.sample → misc/examples/ims/pcscf/dispatcher.list.sample


+ 0 - 0
misc/examples/pcscf/kamailio.cfg → misc/examples/ims/pcscf/kamailio.cfg


+ 0 - 0
misc/examples/pcscf/pcscf.cfg.sample → misc/examples/ims/pcscf/pcscf.cfg.sample


+ 0 - 0
misc/examples/pcscf/pcscf.xml.sample → misc/examples/ims/pcscf/pcscf.xml.sample


+ 0 - 0
misc/examples/pcscf/route/mo.cfg → misc/examples/ims/pcscf/route/mo.cfg


+ 0 - 0
misc/examples/pcscf/route/mt.cfg → misc/examples/ims/pcscf/route/mt.cfg


+ 0 - 0
misc/examples/pcscf/route/register.cfg → misc/examples/ims/pcscf/route/register.cfg


+ 0 - 0
misc/examples/pcscf/route/rtp.cfg → misc/examples/ims/pcscf/route/rtp.cfg


+ 0 - 0
misc/examples/pcscf/route/websocket.cfg → misc/examples/ims/pcscf/route/websocket.cfg


+ 0 - 0
misc/examples/pcscf/route/xmlrpc.cfg → misc/examples/ims/pcscf/route/xmlrpc.cfg


+ 0 - 0
misc/examples/pcscf/sems/etc/methodmap.conf → misc/examples/ims/pcscf/sems/etc/methodmap.conf


+ 0 - 0
misc/examples/pcscf/sems/etc/mo.sbcprofile.conf → misc/examples/ims/pcscf/sems/etc/mo.sbcprofile.conf


+ 0 - 0
misc/examples/pcscf/sems/etc/monitoring.conf → misc/examples/ims/pcscf/sems/etc/monitoring.conf


+ 0 - 0
misc/examples/pcscf/sems/etc/mt.sbcprofile.conf → misc/examples/ims/pcscf/sems/etc/mt.sbcprofile.conf


+ 0 - 0
misc/examples/pcscf/sems/etc/nocache.sbcprofile.conf → misc/examples/ims/pcscf/sems/etc/nocache.sbcprofile.conf


+ 0 - 0
misc/examples/pcscf/sems/etc/refuse.sbcprofile.conf → misc/examples/ims/pcscf/sems/etc/refuse.sbcprofile.conf


+ 0 - 0
misc/examples/pcscf/sems/etc/refuse_with_200.sbcprofile.conf → misc/examples/ims/pcscf/sems/etc/refuse_with_200.sbcprofile.conf


+ 0 - 0
misc/examples/pcscf/sems/etc/register.sbcprofile.conf → misc/examples/ims/pcscf/sems/etc/register.sbcprofile.conf


+ 0 - 0
misc/examples/pcscf/sems/etc/rurimap.conf → misc/examples/ims/pcscf/sems/etc/rurimap.conf


+ 0 - 0
misc/examples/pcscf/sems/etc/sbc.conf → misc/examples/ims/pcscf/sems/etc/sbc.conf


+ 0 - 0
misc/examples/pcscf/sems/etc/stats.conf → misc/examples/ims/pcscf/sems/etc/stats.conf


+ 0 - 0
misc/examples/pcscf/sems/etc/xmlrpc2di.conf → misc/examples/ims/pcscf/sems/etc/xmlrpc2di.conf


+ 0 - 0
misc/examples/pcscf/sems/sems.conf → misc/examples/ims/pcscf/sems/sems.conf


+ 0 - 0
misc/examples/pcscf/tls.cfg.sample → misc/examples/ims/pcscf/tls.cfg.sample


+ 0 - 0
misc/examples/scscf/CxDataType_Rel6.xsd → misc/examples/ims/scscf/CxDataType_Rel6.xsd


+ 0 - 0
misc/examples/scscf/CxDataType_Rel7.xsd → misc/examples/ims/scscf/CxDataType_Rel7.xsd


+ 0 - 0
misc/examples/scscf/CxDataType_Rel8.xsd → misc/examples/ims/scscf/CxDataType_Rel8.xsd


+ 0 - 0
misc/examples/scscf/README.md → misc/examples/ims/scscf/README.md


+ 0 - 0
misc/examples/scscf/dispatcher.list.sample → misc/examples/ims/scscf/dispatcher.list.sample


+ 0 - 0
misc/examples/scscf/kamailio.cfg → misc/examples/ims/scscf/kamailio.cfg


+ 0 - 0
misc/examples/scscf/scscf.cfg.sample → misc/examples/ims/scscf/scscf.cfg.sample


+ 0 - 0
misc/examples/scscf/scscf.xml.sample → misc/examples/ims/scscf/scscf.xml.sample


+ 0 - 0
misc/examples/acc.cfg → misc/examples/mixed/acc.cfg


+ 0 - 0
misc/examples/ccdiversion.cfg → misc/examples/mixed/ccdiversion.cfg


+ 0 - 0
misc/examples/dbtext.cfg → misc/examples/mixed/dbtext.cfg


+ 0 - 0
misc/examples/flag_reply.cfg → misc/examples/mixed/flag_reply.cfg


+ 0 - 0
misc/examples/logging.cfg → misc/examples/mixed/logging.cfg


+ 0 - 0
misc/examples/msilo.cfg → misc/examples/mixed/msilo.cfg


+ 0 - 0
misc/examples/nathelper.cfg → misc/examples/mixed/nathelper.cfg


+ 0 - 0
misc/examples/onr.cfg → misc/examples/mixed/onr.cfg


+ 0 - 0
misc/examples/pstn.cfg → misc/examples/mixed/pstn.cfg


+ 0 - 0
misc/examples/redirect.cfg → misc/examples/mixed/redirect.cfg


+ 0 - 0
misc/examples/replicate.cfg → misc/examples/mixed/replicate.cfg


+ 0 - 0
misc/examples/serial_183.cfg → misc/examples/mixed/serial_183.cfg


+ 0 - 0
misc/examples/snmp.cfg → misc/examples/mixed/snmp.cfg


+ 0 - 0
misc/examples/uas.cfg → misc/examples/mixed/uas.cfg


+ 0 - 0
misc/examples/vm_proxy.cfg → misc/examples/mixed/vm_proxy.cfg


+ 0 - 0
misc/examples/voicemail.cfg → misc/examples/mixed/voicemail.cfg


+ 0 - 0
misc/examples/welcome.cfg → misc/examples/mixed/welcome.cfg


+ 0 - 0
misc/examples/xhttp.cfg → misc/examples/mixed/xhttp.cfg


+ 0 - 52
misc/examples/pa.cfg

@@ -1,52 +0,0 @@
-#
-# $Id$
-#
-# simple quick-start config script
-#
-
-# ----------- global configuration parameters ------------------------
-
-debug=4          # debug level (cmd line: -dddddddddd)
-fork=no
-log_stderror=yes	# (cmd line: -E)
-
-check_via=no	# (cmd. line: -v)
-dns=no           # (cmd. line: -r)
-rev_dns=no      # (cmd. line: -R)
-port=5060
-children=4
-fifo="/tmp/ser_fifo"
-listen=147.32.119.187
-
-loadmodule "./modules/sl/sl.so"
-loadmodule "./modules/tm/tm.so"
-loadmodule "./modules/usrloc/usrloc.so"
-loadmodule "./modules/registrar/registrar.so"
-loadmodule "./modules/pa/pa.so"
-
-modparam("usrloc", "db_mode", 0)
-modparam("usrloc", "use_domain", 1)
-modparam("registrar", "use_domain", 1)
-
-route {
-	if (uri==myself) {
-		if (method=="SUBSCRIBE") {
-			if (t_newtran()) {
-				subscribe("registrar");
-				break;
-			};
-		};
-
-		if (method=="REGISTER") {
-			save("location");
-			break;
-		};
-
-		lookup("location");
-	};
-
-	if (!t_relay()) {
-		sl_reply_error();
-	};
-}
-

+ 0 - 0
misc/examples/pi_framework.xml → misc/examples/pi_framework/pi_framework.xml


+ 0 - 0
misc/examples/ctd.sh → misc/examples/scripts/ctd.sh


+ 0 - 0
misc/examples/geo_split.sh → misc/examples/scripts/geo_split.sh


+ 0 - 0
misc/examples/serresponse → misc/examples/scripts/serresponse


+ 0 - 0
misc/examples/sr → misc/examples/scripts/sr


+ 0 - 0
misc/examples/web_im/README → misc/examples/scripts/web_im/README


+ 0 - 0
misc/examples/web_im/click_to_dial.html → misc/examples/scripts/web_im/click_to_dial.html


+ 0 - 0
misc/examples/web_im/click_to_dial.php → misc/examples/scripts/web_im/click_to_dial.php


+ 0 - 0
misc/examples/web_im/send_im.html → misc/examples/scripts/web_im/send_im.html


+ 0 - 0
misc/examples/web_im/send_im.php → misc/examples/scripts/web_im/send_im.php


+ 0 - 0
misc/examples/websocket.cfg → misc/examples/webrtc/websocket.cfg