Commit Graph

21120 Commits

Author SHA1 Message Date
kapil 69197b1d0c fixing cli issues 2012-06-14 15:40:57 +05:30
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 8b017f6c01 Renamed mod_megaco to mod_media_gateway 2012-06-06 16:36:22 -04:00
David Yat Sin abc1e1e42b Revert "Renamed files from megaco* media_gateway*"
This reverts commit f49fb271da.
2012-06-06 16:24:36 -04:00
David Yat Sin f49fb271da Renamed files from megaco* media_gateway* 2012-06-06 16:21:22 -04:00
kapil 0fc6ccff7a adding "peerxmlstatus" CLI command to show the peer status for requested
profile
2012-06-06 18:03:07 +05:30
kapil ba051e1007 reorgnazing code , adding below two files
* megaco_cli.c 		- contains CLI commands APIs
   * megaco_stack_alarms.c      - contains Alarm indication APIs from Trillium MEGACO layer
2012-06-06 15:11:55 +05:30
kapil acfbbc9e73 Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-06-06 14:46:30 +05:30
kapil 293a65c9c0 updating final xml config file 2012-06-06 14:45:39 +05:30
kapil d535563abb modifying XML parsing / configuration code 2012-06-06 14:44:20 +05:30
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 d147dcd504 Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-06-04 22:53:47 +05:30
kapil 117cbc1bf5 adding SCTP status CLI command 2012-06-04 22:52:26 +05:30
kapil 67373e787d fixing ip address cli print 2012-06-04 22:48:12 +05:30
kapil d914d99abe fixing typo error 2012-06-04 17:29:07 +05:30
kapil cffe95a978 adding "xmlstatus" CLI command to dump MEGACO Stack data 2012-06-04 17:23:33 +05:30
kapil bac3b3bd36 adding status CLI command to fetch peer/sap/transport-server information from Trillium MEGACO stack. 2012-06-01 20:35:38 +05:30
kapil a16ee36187 adding code to handle TUCL/MEGACO Status(Alarm) Indication from MEGACO
Stack
2012-05-31 20:20:51 +05:30
kapil 529e7fd24a adding code to make "version" as configurable parameter 2012-05-31 18:36:10 +05:30
kapil a7ac272595 adding MEGACO Stack STOP/SHUTDOWN code 2012-05-31 17:31:06 +05:30
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
Kapil a941cad15d adding M2UA SG open endpoint request code 2012-05-29 15:06:25 +05:30
kapil c36b5f0cca fixing megaco conf xml error 2012-05-18 13:46:50 +05:30
kapil 412a2721c5 Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-05-18 13:04:24 +05:30
kapil 4a99dc7fc7 added code to ftdm_sangoma_ss7_run api to avoid code execution for M2UA
SG
2012-05-18 12:24:27 +05:30
kapil 23ca7f8fed adding m2ua stack config/control code 2012-05-18 12:05:25 +05:30
kapil df76709e95 Adding code to bring up MEGACO stack 2012-05-17 16:14:05 +05:30
kapil 32c5100e62 Adding megaco stack configuration code and "megaco.conf.xml" 2012-05-16 18:36:26 +05:30
Mathieu Rene f3fe2232f3 Remove stuff that should've been gitignored 2012-05-15 19:52:57 -04:00
Mathieu Rene dbd90db719 Add mod_megaco to modules.conf.in 2012-05-15 19:51:58 -04:00
Mathieu Rene bb875ce6ff mod_megaco: add sample config file and refuse to start a profile without a configuration 2012-05-15 19:45:36 -04:00
Mathieu Rene 6a32e98c49 Add mod_megaco skeleton with basic profile support and a lot of todos for Kapil 2012-05-15 19:37:41 -04:00
David Yat Sin 67c43a0759 Initial commit 2012-05-04 18:42:59 -04:00
David Yat Sin d56aebcc13 Changed error message from CRIT to ERROR, because message is not CRITICAL 2012-04-30 14:22:42 -04:00
David Yat Sin 5226489c39 Merge branch 'releases.3.4' into releases.3.5
Conflicts:
	libs/freetdm/mod_freetdm/mod_freetdm.c
	libs/freetdm/src/ftdm_state.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_handle.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.h
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_out.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_xml.c
2012-04-26 16:13:26 -04:00
James Zhang 4f5a6557fc freetdm: fix queue full problem
- restore flushing queue when channel state goes to down
2012-04-18 10:52:01 -04:00
James Zhang e2f1b4ab27 freetdm: fix REL receiving leg always stay in TERMINATING stae in
native bridge mode
         - This is supposed to be included in commit of
           b324f86797. Somehow it's
           not included in that commit. Without this change, the
           REL receiving leg always stay in TERMINATING state when
           received an incoming REL message.
2012-04-16 13:48:35 -04:00
James cd2d67ace1 freetdm: fixed group block/unblock state dead lock when signal link
is down and recovered later
         To re-produce this bug:
             1. do CGB on one side
             2. unplug signaling link cable
             3. plug signaling link cable back
             4. do CGU on the blocking side
             5. cic state stay in RESTART for ever
         Fix this problem by sending cic to SUSPENDED state after
         receiving/sending CGU message
2012-04-13 17:26:48 -04:00
James Zhang a796c6849c freetdm: fixed no ACM/CPG sending in some situations after native bridge
- clear up ACM_SENT & CPG_SENT flag in DOWN state in native
           bridge state machine
2012-04-13 11:18:53 -04:00
James Zhang 8d1c382632 freetdm: INR/INF implementation
- fill in IEs in INF according to INR request
         - print debug information if IE requested but not supported
2012-04-11 15:14:29 -04:00
James Zhang 16d4f1f063 freetdm: INR/INF implementation
- When NSG receives INR from network, send back INF with calling
         party category information IE and calling number information IE.
         - Introduced a new global setting of "force-inr" for testing
         purpose. Stinga generated INR/INF packets are not acceptable by
         trillium stack since it misses call related information in the
         packets. If configure force-inr to true in freetdm.conf.xml, when
         NSG receives an incoming IAM, it'll send out INR packet regardless
         of incoming IAM's IEs, and keep waiting for INF response from the
         calling side.
         - T.39 timer is introduced in order to handle INR timeout. The
         default value of T.39 is 12 seconds and is configurable according
         to spec.
         - Only supports calling number IE and calling party category IE in
         current fix. The customer only needs the calling number IE right now.
         In ISUP spec, there are 6 optional IEs. NSG only supports calling
         party number and calling category information IE since the other
         IEs are not configurable in freetdm.conf.xml or included in IAM
         message.
         - In collect state, INR/INF implementation needs to work with existed
         SAM messages. If NSG sent out INR and wait for SAM, collect state
         check both INF received and enough dialed numbers received. If one
         of these conditions are not met, it'll stay in collect state and wait
         until either conditions met or timeout. After received INF and enough
         dailed number, state moves to dailing and proceed as regular calls.
2012-04-11 11:20:32 -04:00