23147 Commits

Author SHA1 Message Date
David Yat Sin
088a564c02 changed mod_megaco to mod_media_gateway 2012-06-12 20:26:15 -04:00
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
Travis Cross
f8be71ac6d Use perl for portability
FS-4303 --resolve
2012-06-12 17:40:10 +00:00
Anthony Minessale
9470c079dd FS-4298 see if you can see the sip_reinvite_sdp variable with this patch 2012-06-12 10:15:14 -05: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
Tamas Cseke
794f8cfb8b reply state seems to be unnecessary FS-3432 2012-06-12 11:37:35 +02:00
Tamas Cseke
44fb1d00d7 fix session hash rwlock vs reply mutex order FS-3432 2012-06-12 11:34:20 +02:00
dschreiber
3858e625a4 The fix for FS-3577 causes instabilities if multiple listeners are connected it seems. Undoing this change for now until I can figure out the root cause. 2012-06-11 21:59:47 -07:00
Travis Cross
c85c8d7bbd
Add mechanism to set OpenSSL session timeout
In a sofia profile, you can now set the parameter tls-timeout to a
positive integer value which represents the maximum time in seconds
that OpenSSL will keep a TLS session (and its ephemeral keys) alive.

This value is passed to OpenSSL's SSL_CTX_set_timeout(3).

OpenSSL's default value is 300 seconds, but the relevant standard
(RFC 2246) suggests that much longer session lifetimes are
acceptable (it recommends values less than 24 hours).

Longer values can be useful for extending battery life on mobile
devices.

Signed-off-by: Travis Cross <tc@traviscross.com>
2012-06-11 21:46:05 +00:00
Travis Cross
45fdf0db19 Add a .version file to nightly tarballs 2012-06-11 21:25:05 +00:00
Anthony Minessale
a10ec2b991 FS-4299 --resolve regression from 23f8967c the code was not making sure both endpoints were type 'sofia' and dereferencing dingaling channel into sofia and causing memory corruption 2012-06-11 13:30:00 -05:00
David Yat Sin
91f9374a9f Added code to treat sngss7_config section (same as sng_isup) 2012-06-11 13:23:37 -04:00
Anthony Minessale
56325e8c71 FS-4079 possible fix 2012-06-11 11:15:41 -05:00
Travis Cross
b735735ea1 gitignore a symlink we're creating in ldns 2012-06-11 18:06:00 +00:00
Travis Cross
034d4153c4
Improve SWITCH_VERSION_REVISION generation
The revision was no longer picking up the last git commit.  Instead,
it was showing the last release.  This commit appends the last git
commit hash to the last release if a git repository is available.
Further, it checks whether there are uncommitted changes in the git
repository and adds an unclean tag to the version if this is the case.

Note that currently this will append the git commit hash even on a
tagged release if built directly from a git repository.  Perhaps this
isn't such a bad thing, but if it turns out not to be desired, I have
an idea on how to squelch this without making unwarranted assumptions
about the remote layout of someone's local repository.
2012-06-11 17:19:25 +00:00
Tamas Cseke
3f6b5a5c01 fix reply timeout: move hash and pid to session pool FS-3432 2012-06-11 17:25:28 +02:00
Michael Jerris
ec27618fc8 don't segfault after starting sofia, upon xml_open_config lookup failure for the profile from launch_sofia_worker_thread 2012-06-11 10:43:55 -04:00
kapil
8102c1603c adding src/peer port into xml config 2012-06-11 18:45:56 +05:30
Christopher Rienzo
187fe4e14e update name/e-mail address 2012-06-11 13:05:29 +00:00
Tamas Cseke
d2e9e46eb6 move session destroy to one place and hangup in others to eliminate races and minimize session hash wrlocks FS-3432 2012-06-11 15:03:58 +02:00
Tamas Cseke
83f230cce6 fix possible memory leak FS-3432 2012-06-11 15:00:32 +02:00
kapil
69bada7025 removign sctp/peer id from <m2ua_interface> config xml block 2012-06-11 12:43:08 +05:30
Anthony Minessale
fc2bb00eb1 FS-4298 --resolve var is called execute_on_sip_reinvite 2012-06-08 12:43:50 -05:00
Anthony Minessale
a17027959d use a dummy event here 2012-06-08 12:06:40 -05:00
Christopher Rienzo
9c94ac312e Fix Ubuntu 11.10 compiler error on unchecked write() return value. 2012-06-08 18:12:33 +00:00
Travis Cross
086f617442 increase buffer size for local SDP
There are a lot of codecs these days, and some clients offer all of
them.  If we run out of space in this buffer our local SDP will get
silently truncated, which will cause a difficult to diagnose error in
Sofia-SIP.

Thanks to Anthony Minessale.

FS-4293 --resolve
2012-06-08 16:14:21 +00:00
Travis Cross
dc30013360 fix buffer length calculation in call to generate_m
This error was causing us to call generate_m with a buffer length that
was less than the strlen of the buffer we were passing.  The result
was truncated local SDP which would cause sofia to fail if the
truncation was in a particularly bad place.

Thanks to Anthony Minessale for the fix and working with me to
diagnose the issue.

FS-4293 --resolve
2012-06-08 16:14:20 +00:00
Tamas Cseke
ae4d3acbb3 cleanup FS-3432 2012-06-08 17:24:23 +02:00
Tamas Cseke
19db96d2ba channel private is already removed we don't need to remove the state handler FS-3432 2012-06-08 17:23:07 +02:00
Travis Cross
9c463fdbdc fix typo
This amends commit a6bb4545ebf7ffc773e6bc7ab399a3863ca09246.
2012-06-07 20:12:04 +00:00
Travis Cross
49666cee8d add some sofia debugging for the local SDP
Related to issue FS-4293.
2012-06-07 20:09:06 +00:00
Anthony Minessale
a6bb4545eb FS-4293 2012-06-07 13:00:52 -05:00
Jeff Lenk
20f20c8a5c FS-4248 prevent seg for unsupported say method 2012-06-07 10:06:09 -05:00
David Yat Sin
07a1093cf4 Fix for NFAS when one of the d-channels are down 2012-06-06 20:41:48 -04:00
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 f49fb271daa6d1c26892a12c221f8287fb03f7b3.
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
Viktor Krykun
2c9e1454fe various bug fixes in libzrtp
* fixed bug with remote hello-hash buffer being too small
 * removed unused hello-hash storage in zrtp stream context
 * fixed bug with libzrtp rendered "empty" SAS hash from incoming
   SasRelay packet
 * incremented libzrtp version number to 1.15

Signed-off-by: Travis Cross <tc@traviscross.com>
2012-06-06 00:20:15 +00:00