2
0
Jiri Kuthan 22 жил өмнө
parent
commit
7e6a8b9f72
1 өөрчлөгдсөн 4 нэмэгдсэн , 3 устгасан
  1. 4 3
      examples/ctd.sh

+ 4 - 3
examples/ctd.sh

@@ -20,7 +20,8 @@
 #
 # Requirements: 
 # -------------
-# SER with FIFO server turned on and TM module loaded
+# - SER with FIFO server turned on and TM module loaded
+# - gawk >= 3.1
 #
 # Limitations: 
 # ------------
@@ -63,7 +64,7 @@ fi
 
 #---------------------------------
 # fixed config data
-FIFO="/tmp/ser_fifo"
+FIFO="/tmp/ser_fifox"
 # address of controller
 FROM="<sip:[email protected]>"
 CSEQ="1"
@@ -83,7 +84,7 @@ FIXED_DLG=`printf "From: $FROM;tag=$CALLIDNR\nCall-ID: $CALLID\nContact: <sip:ca
 filter_fl()
 {
 
-awk -F ' ' '
+gawk -F ' ' '
 BEGIN { IGNORECASE=1; rri=0; line=0; ret=1;eoh=0 }
 END { # print dialog information a la RFC3261, S. 12.2.1.1
 	# calculate route set