diff -u --new-file chan_ss7-1.0.0/ASTERISK_VARIABLES chan_ss7-1.0.0-h324m/ASTERISK_VARIABLES
--- chan_ss7-1.0.0/ASTERISK_VARIABLES 1970-01-01 01:00:00.000000000 +0100
+++ chan_ss7-1.0.0-h324m/ASTERISK_VARIABLES 2008-03-05 19:24:40.000000000 +0100
@@ -0,0 +1,33 @@
+chan_ss7 variables:
+===================
+
+variables read by chan_ss7:
+---------------------------
+ ISDN_H324M: If this variable is set, then chan_ss7 signals
+ H324M (3G Video aka H.223 and H.245) in outgoing IAM
+ messages. Allowed values (case sensitive):
+ USI signal H324M in User Service Information field
+ LLC signal H324M in Access Transport field using Low
+ Layer Compatibility
+ USI+LLC signal H324M in User Service Information field AND
+ Access Transport
+
+ Note: chan_ss7 read the variable from the outgoing channel. As in
+ extensions.conf only the incoming channel variables can be set, you
+ have to set the variable as a global variable by prefixing with __
+ (double underscore). Usage example:
+
+ [from-sip-phone]
+ exten => _videoX.,1,h324m_call(${EXTEN}@tomobile)
+ [tomobile]
+ exten => _videoX.,1,Set(CALLERID(num)=0043123456)
+ exten => _videoX.,n,Set(__ISDN_H324M=USI+LLC)
+ exten => _videoX.,n,Dial(ss7/siuc/${EXTEN:5}|90|)
+
+
+
+
+variables set by chan_ss7:
+--------------------------
+ none (there should be a variable which indicates if the incoming call
+ is a H324M video call, but this is not implemented yet)
Binary files chan_ss7-1.0.0/chan_ss7.o and chan_ss7-1.0.0-h324m/chan_ss7.o differ
Binary files chan_ss7-1.0.0/chan_ss7.so and chan_ss7-1.0.0-h324m/chan_ss7.so differ
Binary files chan_ss7-1.0.0/chan_ss7.so.orig and chan_ss7-1.0.0-h324m/chan_ss7.so.orig differ
diff -u --new-file chan_ss7-1.0.0/INSTALL chan_ss7-1.0.0-h324m/INSTALL
--- chan_ss7-1.0.0/INSTALL 2007-11-22 09:45:47.000000000 +0100
+++ chan_ss7-1.0.0-h324m/INSTALL 2008-03-05 19:08:46.000000000 +0100
@@ -47,5 +47,24 @@
load chan_ss7.so
-in the Asterisk console.
+in the Asterisk console. Read the file "ASTERISK_VARIABLES" to find out which
+variables are read/set by chan_ss7.
+
+
+Debugging
+---------
+
+chan_ss7 allows dumping of MTP2 packets into a capture
+file in pcap format (wireshark) using the
+ ss7 dump start /path/to/filename
+command.
+
+If you want "live" decoding you could dump into a FIFO
+file and use tshark to capture from the FIFO, e.g.:
+
+ # mkfifo /tmp/mtp2fifo.pcap
+ # asterisk -r
+ > ss7 dump start /tmp/mtp2fifo.pcap
+ > quit
+ # tshark -V -i /tmp/mtp2fifo.pcap
ast_log(LOG_DEBUG, "SS7 request (%s/%s) format = 0x%X.\n", type, arg, format);
- if(format != AST_FORMAT_ALAW) {
- ast_log(LOG_NOTICE, "Audio format 0x%X not supported by SS7 channel.\n",
+//kd
+// if(format != AST_FORMAT_ALAW) {
+ if(!(format & AST_FORMAT_ALAW)) {
+ ast_log(LOG_NOTICE, "Audio format 0x%X not supported by SS7 channel...missing ALAW.\n",
format);
return NULL;
}
@@ -887,7 +892,7 @@
pvt->cic, pvt->has_inband_ind);
ss7_send_call_progress(pvt, 0x01);
ast_setstate(chan, AST_STATE_RINGING);
- res = !pvt->has_inband_ind; /* If there is no indication of in-band information, tell asterisk to generate ringing indication tone */
+ res = !pvt->has_inband_ind && !pvt->is_digital; /* If there is no indication of in-band information, tell asterisk to generate ringing indication tone */
break;
case AST_CONTROL_PROGRESS:
@@ -900,7 +905,7 @@
default:
/* Not supported. */
- res = - !pvt->has_inband_ind; /* If there is no indication of in-band information, tell asterisk to generate ringing indication tone */
+ res = !pvt->has_inband_ind && !pvt->is_digital; /* If there is no indication of in-band information, tell asterisk to generate ringing indication tone */
}
case EC_31SPEECH:
Binary files chan_ss7-1.0.0/l4isup.o and chan_ss7-1.0.0-h324m/l4isup.o differ
Binary files chan_ss7-1.0.0/mtp3d and chan_ss7-1.0.0-h324m/mtp3d differ
Binary files chan_ss7-1.0.0/mtp3d.o and chan_ss7-1.0.0-h324m/mtp3d.o differ
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum