2516 Commits

Author SHA1 Message Date
David Yat Sin
24a458683a Skip filling locPtyNum if caller_data->loc.digits is NULL 2012-06-29 12:54:09 -04:00
James Zhang
80f72823b3 ss7: add ss7_iam_nature_connection_hex to support Nature of Connection
Indicator in IAM message.
     - ss7_iam_nature_connection_hex is the channel variable to carry
       HEX value from/to IAM message
     - X-FreeTDM-IAM-NATURE-CONN-HEX is the x-header string to carry
       HEX value from/to sip invite message
     - This IE is 8 bit hex, which turns into 2 chars
     - Only Satellite indicator, Continuity check indicator, and Echo
       control device indicator are supported. Spare value are not taken.
       Spare value is always set to all zero.
     - example:
       To set 00010101 (bit H-A), set X-FreeTDM-IAM-NATURE-CONN-HEX string
       value to 15 in the sip invite message to NSG.
       When NSG send out sip invite, if the incoming IAM message comes with
       Nature of Connection IE, NSG will put X-FreeTDM-IAM-NATURE-CONN-HEX
       in the invite x-header. For example, if the IE value is 00001010 in
       the IAM, NSG will send X-FreeTDM-IAM-NATURE-CONN-HEX with value string
       of "0A".
     - Two characters are madatory. "0A" must be specified rather than "A". If
       invalid format or characters are found, this x-header will be ommited.
     - Valid characters include 0-9, A-F, and a-f
2012-06-27 12:31:35 -04:00
Stefan Knoblich
c92a55d3f1 ftmod_libpri: Add MSN/DDI filter for incoming calls.
This feature allows ftmod_libpri to ignore calls with non-matching destination number.

You may want to use this on BRI PTMP lines (Point-to-MultiPoint),
to avoid conflicts between your FreeSWITCH server and other devices connected to the line.

The filter is disabled by default (all calls will be accepted),
setting one (or more) "local-number" parameters on the span configuration enables it.

Example configuration snippet:

   <libpri_spans>
      <span name="example01">
         <!-- ... other span settings omitted ... -->
         <param name="local-number" value="123456"/>
         <param name="local-number" value="654321"/>
      </span>
   </libpri_spans>

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-06-26 21:53:20 +02:00
Stefan Knoblich
1ae88d51d0 ftmod_libpri: Move service_change_status_t down into #include guard area.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-06-26 21:53:20 +02:00
James Zhang
607da0f56c ss7: adding ss7_iam_fwd_ind_hex as x-header and channel variables in hex format.
Read the forward call indicator IE and print it into channel variable
     ss7_iam_fwd_ind_hex. If this variable exists, put it in the x-header.
     This implementation takes bits of A, CB, D, E, F, HG, I from the hex
     value. Bits of KJ, L, P-M are not taken and set to 0.
     The hex value is H-A-P-I, H is the highest bit to A, and next is P-I.
     I is the lowest bit in the whole field, and H is the highest bit in
     the whole field. Refer to Q.763 chapter 3.23.
2012-06-22 17:05:15 -04:00
Mathieu Rene
294ab3880f fix conflict 2012-06-21 10:40:57 -04:00
Mathieu Rene
79702bc0d2 start implementing command handlers 2012-06-20 21:34:04 -04:00
David Yat Sin
b44bcd5763 Added core spanflag CLI command 2012-06-20 16:28:00 -04:00
David Yat Sin
b980f47097 Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-06-20 13:21:22 -04:00
David Yat Sin
8da3d119ab Added display of M2UA signalling channels for CLI command show status 2012-06-20 13:20:35 -04:00
Mathieu Rene
1720e4f072 Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3 2012-06-20 12:31:07 -04:00
Mathieu Rene
43ffafcb4b wrong operand to sizeof 2012-06-20 12:30:37 -04:00
Mathieu Rene
166249b0b9 Check in TDM and RTP controllable channels (incomplete) 2012-06-20 12:30:08 -04:00
kapil
7b97ff470f adding "xmlshow m2ua <m2ua_interface_name> clusterstatus" CLI command. 2012-06-20 13:53:51 +05:30
kapil
2512694e43 removing warnings 2012-06-20 12:12:28 +05:30
David Yat Sin
a54ec05fdb fix for compilation error on 64-bit 2012-06-20 02:06:31 -04:00
David Yat Sin
6aa8c9b80d freetdm: Improvements to ftdm core flag CLI command 2012-06-19 22:35:37 -04:00
David Yat Sin
0a9f34aa09 Fixed compile issues again on 32-bit 2012-06-18 15:27:45 -04:00
David Yat Sin
0cefb8d633 Fixed compile issues again on 32-bit 2012-06-18 15:01:08 -04:00
David Yat Sin
56c8534827 Fixed compile issues again on 32-bit 2012-06-18 14:34:12 -04:00
David Yat Sin
32106afc43 Fixed compile issues again on 32-bit 2012-06-18 12:51:38 -04:00
kapil
3b4c725b1c fixing cli issues 2012-06-18 17:41:05 +05:30
kapil
6b542763d9 Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_cli.c
2012-06-14 15:45:51 +05:30
kapil
69197b1d0c fixing cli issues 2012-06-14 15:40:57 +05:30
David Yat Sin
2112375e07 re-adjusted parameter names 2012-06-12 20:19:37 -04:00
David Yat Sin
143fb61bdb re-adjusted parameter names 2012-06-12 20:12:27 -04:00
David Yat Sin
feaadd2f43 re-adjusted parameter names 2012-06-12 19:29:07 -04:00
David Yat Sin
055dc8bc4b re-adjusted parameter names 2012-06-12 19:15:14 -04:00
David Yat Sin
8880793174 Removed include for switch_utils.h 2012-06-12 18:47:53 -04:00
David Yat Sin
ba17ae3f10 Fix for compile warnings 2012-06-12 18:32:58 -04:00
David Yat Sin
bdaead271d Fix for compile warnings 2012-06-12 18:18:14 -04:00
David Yat Sin
b22a4b566a Fix for some compile warnings 2012-06-12 18:07:42 -04:00
kapil
58dc659fbb adding code based on modified xml and cli code changes (rename the m2ua cli command to
"xmlshow" and adding cli code to show sctp state also in m2ua peerstatus command)
2012-06-12 18:43:01 +05:30
David Yat Sin
91f9374a9f Added code to treat sngss7_config section (same as sng_isup) 2012-06-11 13:23:37 -04:00
kapil
8102c1603c adding src/peer port into xml config 2012-06-11 18:45:56 +05:30
kapil
69bada7025 removign sctp/peer id from <m2ua_interface> config xml block 2012-06-11 12:43:08 +05:30
David Yat Sin
07a1093cf4 Fix for NFAS when one of the d-channels are down 2012-06-06 20:41:48 -04:00
kapil
e4bd524b7d adding peerstatus and logging enable/disable CLI command 2012-06-05 21:33:13 +05:30
kapil
2b5875a258 adding M2UA/NIF CLI commands 2012-06-05 17:12:16 +05:30
kapil
117cbc1bf5 adding SCTP status CLI command 2012-06-04 22:52:26 +05:30
David Yat Sin
eb0404d025 Merge remote branch 'fsorig/master' into releases.3.5
Conflicts:
	build/modules.conf.in
	libs/freetdm/mod_freetdm/mod_freetdm.c
2012-05-31 13:57:42 -04:00
David Yat Sin
e05bd3fae8 Some changes to ss7 variables to be more consistent 2012-05-30 13:10:04 -04:00
kapil
a3995ad16e Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-05-30 20:22:08 +05:30
kapil
f1f78a8653 adding m2ua stack free code while unloading freetdm module 2012-05-30 20:20:58 +05:30
Kapil
889a0be2b3 issue fix 2012-05-30 16:41:31 +05:30
kapil
69501d091c adding M2UA configuration/alarm handling code 2012-05-30 12:31:25 +05:30
kapil
d3c8429af9 Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-05-30 07:47:07 +05:30
kapil
076d9fbe67 M2UA xml configuration parsing code 2012-05-30 07:45:59 +05:30
Anthony Minessale
8bb55ed4bf abstract out originate_signal_bond to a function to avoid confustion and regressions 2012-05-29 13:10:15 -05:00
Kapil
a941cad15d adding M2UA SG open endpoint request code 2012-05-29 15:06:25 +05:30