Commit Graph

21888 Commits

Author SHA1 Message Date
Anthony Minessale 02e5eaefec FS-4118 --resolve 2012-04-16 16:14:20 -05: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
Anthony Minessale 6e512f1a89 FS-4053 --resolve 2012-04-16 11:57:19 -05:00
Anthony Minessale ecfe3263e2 FS-4114 --resolve this bug is actually in libsndfile, if its not fixed in the latest version we probably should report it upstream 2012-04-16 11:55:52 -05:00
Anthony Minessale e1db065195 FS-4115 possible workaround for sipura bug + recording 2012-04-16 11:14:22 -05:00
Michael S Collins 044d802cf0 Suggested new phrases: day mode, night mode, lunch mode, etc. 2012-04-16 08:53:18 -07:00
Giovanni Maruzzelli 4ff99df417 gsmopen: Makefile.am updated 2012-04-16 16:23:24 +02:00
Giovanni Maruzzelli e6689bada9 gsmopen: using non volatile memoty for storage (vs SIM), new reading with timeout from serial port 2012-04-16 15:18:08 +02:00
Stefan Knoblich 997550c511 ftmod_libpri: Check for required features in configure and remove old-style log callbacks
Non-PRI_NEW_SET_API logging callbacks were only available in libpri-1.0 and older,
which also lacks PRI_IO_FUNCS (required) and wouldn't work anyway.

Explicitly check for both PRI_* feature defines at configure time and reject libpri
versions that lack them.

Remove the non-PRI_NEW_SET_API logging callbacks in ftmod_libpri.c.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-04-14 01:39:25 +02:00
Stefan Knoblich 020724e103 ftmod_libpri: Improve libpri message logging.
Use the PRI_NEW_SET_API define provided by >=libpri-1.2 to distinguish
between old style and new style pri_set_error() and pri_set_message()
callback functions.

Improve message logging by using ftdm_log_chan() if per-span
data with a valid (d-)channel object is available.
NOTE: pri_get_userdata() returns NULL if pri is NULL.

This will reduce the horizontal space for libpri output a bit, but allows
us to see which span the message/error came from.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-04-14 01:13:22 +02: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
Anthony Minessale 9c288870e2 FS-3994 --resolve regression from FS-3596:b2d2353c 2012-04-13 15:58:49 -05:00
Brian West 1454cdf15a send the name and number in the right order 2012-04-13 15:33:42 -05:00
Anthony Minessale ab0736127a FS-4043 --resolve 2012-04-13 12:47:30 -05:00
Anthony Minessale 0eb9b0101f FS-4110 --resolve yes this block is wrong we can't guess the right presence id here 2012-04-13 11:37:06 -05:00
Anthony Minessale f6c9e19639 FS-3750 2012-04-13 11:19:08 -05:00
Anthony Minessale 1145905513 FS-4106 --resolve 2012-04-13 11:18:16 -05:00
Giovanni Maruzzelli 11bf6f468d Merge branch 'gsmopen01' 2012-04-13 18:32:21 +02:00
Brian West f263c0518e up this limit 2012-04-13 11:39:03 -05:00
Giovanni Maruzzelli 59af24747e gsmopen: workaround for reading with timeout, need something to simulate the poll. Next week :) 2012-04-13 18:30:48 +02: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
Giovanni Maruzzelli f74ba1ae61 Merge branch 'master' into gsmopen01 2012-04-13 17:18:03 +02:00
Giovanni Maruzzelli 9fb2c7f25a gsmopen: hardwired SMS unicode test now works 2012-04-13 16:09:54 +02:00
Anthony Minessale a76a252514 FS-4109 --resolve 2012-04-13 08:57:34 -05:00
Giovanni Maruzzelli d3a11b56b3 gsmopen: make huawei 1550 work with SMS in text UCS2: if you give CSMP after CSCS will die, let's do the opposite, first csmp then cscs. Two days catching this one. Bah :/ 2012-04-13 15:46:26 +02:00
Anthony Minessale 6a3478f2f1 FS-3750 --resolve 2012-04-13 08:43:46 -05:00
Anthony Minessale 44e5691223 FS-4107 --resolve 2012-04-13 07:33:00 -05:00
Anthony Minessale a00e9afe92 swig 2012-04-12 16:28:50 -05:00
Anthony Minessale f9aec85b76 FS-4105 --resolve 2012-04-12 10:00:37 -05:00
Anthony Minessale ca27465020 FS-4104 --resolve 2012-04-12 09:53:53 -05:00
Anthony Minessale 76fcaf4c35 doh 2012-04-12 09:36:23 -05:00
Anthony Minessale ccf01a6d30 FS-4066 --resolve pidf and its many varieties FTW 2012-04-12 09:35:09 -05:00
Jeff Lenk 7e69fd8fd7 vs2010 reswig 2012-04-12 10:35:26 -05:00
Anthony Minessale f9b3266720 endless recursion loop protection to go with new recursive variable expansion feature 2012-04-12 07:23:08 -05:00
Stefan Knoblich 5f38a7f857 ftmod_misdn: Remove unused timerfd code.
Timer-based b-channel tx gating won't work anyway, so remove all those
"#if 0"-ed bits of cruft.

Also remove the mISDN-specific timerfd_create() check in configure.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-04-12 13:08:57 +02:00
Giovanni Maruzzelli d31b3e488c gsmopen: signal low alarm is now at < than 11 RSSI 2012-04-12 11:41:31 +02:00
Anthony Minessale 9ced4a353b FS-4037 --resolve 2012-04-11 15:31:56 -05:00
Anthony Minessale 385a92cec7 add origination_nested_vars=true to allow vars within vars in originate strings e.g. [originate {origination_nested_vars=true,TEST=,var=,recur=W00t}user/1004 3000] will end up as w00t 2012-04-11 15:30:37 -05: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
Anthony Minessale febb9cc07e FS-4037 revert 4817768299 causing audio issues with speex 2012-04-11 09:59:55 -05:00
Anthony Minessale a4de359df4 FS-4077 --resolve this is unrelated, we had to move the network list loader before the modules load because some people using static configs would have mod_sofia load before the acl were in place and it would prevent mod_sofia from doing proper nat detection. This commit should fix it by loading acl both before and after module load 2012-04-11 09:53:35 -05:00
Anthony Minessale 2f998764c8 FS-4101 --resolve 2012-04-11 08:39:01 -05:00
Anthony Minessale 098f196298 FS-4088 2012-04-11 08:16:15 -05:00
Anthony Minessale 8954b44e9e FS-4088 2012-04-11 08:16:15 -05:00
Ken Rice 4307bee1e5 FS-4100 --resolve 2012-04-11 09:10:56 -05:00
Jeff Lenk 40c255b4d2 FS-4077 add missing 2012-04-11 08:17:39 -05:00
Anthony Minessale 62c14df322 FS-3774 --resolve 2012-04-10 16:19:23 -05:00
Anthony Minessale 995ae2621c FS-3769 --resolve 2012-04-10 16:17:16 -05:00
Anthony Minessale a40f304990 ESL-45 --resolve 2012-04-10 16:11:36 -05:00