Jose Fco. Irles
b36cef731c
FS-9216: [mod_sofia] Add Cisco SPA30X and Grandstream GXP user agents to send UPDATE
2016-06-01 16:58:40 +02:00
Mike Jerris
a838c29e41
Merge pull request #862 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9188 to master
...
* commit '08199210c1f548a1aa9a302c32eb89fabbf90301':
[mod_sofia] [FS-9188] added channel var to suppress auto-answer notify
2016-05-26 16:28:07 -05:00
Mike Jerris
d8164a95f2
Merge pull request #633 in FS/freeswitch from ~LAZEDO/freeswitch:FS-8652 to master
...
* commit 'dc7753f51667e235ec7171a697f14989c9759e6f':
FS-8652 handle early-only param in replaces header
2016-05-23 14:27:27 -05:00
Luis Azedo
dc7753f516
FS-8652 handle early-only param in replaces header
2016-05-23 18:59:42 +01:00
karl anderson
08199210c1
[mod_sofia] [FS-9188] added channel var to suppress auto-answer notify
2016-05-20 10:49:40 +01:00
Ken Rice
2b10500231
FS-9160 #resolve tweak sip_invite_failure_* chan vars for properly reporting last outbound call failure when there are multiple bridge attempts on a single call
2016-05-18 15:29:59 -05:00
Antonio
465a0b6f1d
FS-9034 revert commit in sofia.c that prevents register in new thread
2016-05-17 18:40:27 +02:00
Anthony Minessale
0a8e115b98
FS-9060: [mod_sofia] correct issues with hold and broken soa negotiations after performing a bypass media reinvite
2016-04-22 12:26:13 -05:00
Giacomo Vacca
252f0e2618
FS-9083 [mod-sofia] Pass On SIP headers from leg A to B
2016-04-19 10:28:12 +02:00
Anthony Minessale
93d45b3bce
FS-9049
2016-04-10 11:39:28 -05:00
Michael Jerris
f71ed897f8
FS-8562: [mod_sofia] add update support for Mitel user agents
2016-04-04 15:42:53 -04:00
Mike Jerris
a74fc71b67
Merge pull request #687 in FS/freeswitch from freetdm_patch to master
...
* commit '320d5f2015976fed9ca282dfeeb2bd3e977e6f76':
Applied the Sangoma patch to FS version 1.2 in order to port to FS v1.6+
2016-04-04 13:51:09 -05:00
Anthony Minessale
647cc257fd
FS-8913 #resolve [Problem with transfer when using bypass_media + SRTP + Inbound late negotiation]
2016-03-31 16:45:34 -05:00
Mike Jerris
9ec3253563
Merge pull request #771 in FS/freeswitch from ~SAFAROV/freeswitch2:FS-7125 to master
...
* commit 'ff1c384e13f07afaac98334532667ebf8093a1f1':
FS-7125 Added sofia event "wrong_calls_state". This is for fail2ban logging
2016-03-29 14:06:54 -05:00
Sergey Safarov
ff1c384e13
FS-7125 Added sofia event "wrong_calls_state". This is for fail2ban logging
2016-03-29 21:21:38 +03:00
Anthony Minessale
0335cc3291
FS-8918 #resolve [10 Second timeout after Notify during Proxy refer.]
2016-03-28 13:14:38 -05:00
Anthony Minessale
e3ccb0385a
FS-8964 #resolve [Make it possible to disable picture_fast_update INFO requests]
2016-03-21 12:58:34 -05:00
Flavio Grossi
d1680d7b3b
FS-7915 parse and store multiple path fields
2016-03-18 09:52:43 +01:00
Anthony Minessale
8423f28d43
FS-8841 #resolve [Debian - FS Hang ]
2016-03-17 18:48:59 -05:00
Brian West
2c031e4b91
FS-8879 #resolve [SIP UPDATE and attended transfer]
2016-02-26 17:44:33 -06:00
Anthony Minessale
f96e016135
FS-6544
2016-02-05 11:56:44 -06:00
Anthony Minessale
dd2ad0e300
FS-6833
2016-02-04 15:25:33 -06:00
Anthony Minessale
46ebf3cea7
FS-6833 #resolve [Allow Freeswitch to initiate Late offer calls.] #comment Regression from addition of custom variables
2016-02-02 17:15:27 -06:00
William King
320d5f2015
Applied the Sangoma patch to FS version 1.2 in order to port to FS v1.6+
...
Sourced from:
http://gitlab.sangoma.com/projects/CORE/repos/freetdm/browse/public_freeswitch/sangoma-FS-1.2.patch
2016-01-26 20:20:34 -08:00
Ken Rice
ce62c06241
update my email address
2016-01-22 16:43:29 -06:00
Kathleen King
e5b5b9b2d8
FS-8111 [mod_sofia] 'sofia' API command auto-complete cleanup
2016-01-21 18:35:32 -08:00
Mike Jerris
93f0da09d3
Merge pull request #674 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-8763 to master
...
* commit 'f80d6cc5517c6886dc15dc446c0519811c55d04e':
FS-8763 [mod_sofia] set is_auth on switch_ivr_set_user result
2016-01-21 12:00:14 -06:00
Anthony Minessale
cffb310f3f
FS-8759 #resolve [segfault on 1.7] #comment please update to master
2016-01-20 11:56:18 -06:00
Luis Azedo
f80d6cc551
FS-8763 [mod_sofia] set is_auth on switch_ivr_set_user result
2016-01-20 16:09:17 +00:00
François
b17602be09
FS-8735 display update support for Panasonic devices
2016-01-15 12:00:57 +01:00
Brian West
e39605dc2c
FS-8715: [mod_sofia] make the oubound_proxy on the profile consistent with how we do the same thing on the gateway
2016-01-08 11:06:12 -06:00
Raphael Lechner
507bc265bd
FS-8679: [mod_sofia] no missed call if call is anwered by someone else
...
sofia is sending Call completed elsewhere to the other involved phones if not disabled by the option ignore_completed_elsewhere
2016-01-04 21:33:24 +01:00
Anthony Minessale
6c17410c25
add parsing for userLocation header
2015-12-22 16:57:41 -06:00
Anthony Minessale
0a4e394cc8
add parsing for userLocation header
2015-12-22 16:54:56 -06:00
Armen Babikyan
e23aa12a2d
FS-8643: fix mod_sofia memory leaks
2015-12-10 22:42:55 -08:00
Mike Jerris
5a56c89791
Merge pull request #587 in FS/freeswitch from ~VIPKILLA/fs-8433:master to master
...
* commit '728d960017c510c8108ce6c62cfbdd691a0c8831':
FS-8433: allow hangup cause to be set inside redirect data
2015-11-27 13:11:40 -06:00
Emmanuel Schmidbauer
728d960017
FS-8433: allow hangup cause to be set inside redirect data
2015-11-27 13:52:50 -05:00
Anthony Minessale
1868859638
FS-8573 #resolve [unidirectional audio after resuming from hold in bypass media mode]
2015-11-25 13:56:25 -06:00
Anthony Minessale
de7a123c8b
FS-8536 #resolve [Send Keyframe when getting SIP INFO with picture_fast_update]
2015-11-13 14:15:39 -06:00
Marcel Haldemann
7c3aed290d
FS-8415 #resolve [support early with 180 using early_use_180=true]
2015-11-05 11:13:33 +01:00
Mike Jerris
6b5b1a3d86
FS-8389: [build] Fix msvc 2015 build warnings
2015-10-26 13:45:48 -04:00
Anthony Minessale
e351f3565d
FS-8115 #comment test latest patch
2015-10-22 15:37:21 -05:00
Anthony Minessale
4e1ec89009
FS-6833 FS-6834 fix regression
2015-10-13 12:17:29 -05:00
Anthony Minessale
aa7bc32375
FS-7834 #resolve [MOH doesn't work with inbound-bypass-media and resume-media-on-hold]
2015-10-13 11:51:51 -05:00
Anthony Minessale
dc8f2b2044
FS-6833 FS-6834 found a few missing content-types in requests/resonses with sdp that were outside the norm
2015-10-12 12:38:25 -05:00
Anthony Minessale
6837062563
FS-6833 add content-type header to ack with sdp
2015-10-09 10:28:02 -05:00
Anthony Minessale
e5f31310db
FS-7911 #resolve
2015-09-24 16:00:39 -05:00
Anthony Minessale
43ef01fbbe
correct version of proposed patch
2015-09-23 11:58:57 -05:00
Anthony Minessale
f8b19b7485
FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command]
2015-09-21 18:00:32 -05:00
Michael Jerris
5509a62706
FS-8042, FS-8182: add ping time (in ms) to sip_registrations table, displays as part of the show commands that show registration details, add force_ping=true user var to force options ping on individual registered endpoints
2015-09-21 12:13:28 -05:00
Anthony Minessale
882e6feaf2
FS-6833 FS-6834 add support for X-headers in this 3p mode
2015-09-16 16:12:16 -05:00
Anthony Minessale
eea76c8856
FS-8130
...
Port video buffer to also support audio and remove original STFU jitter buffer
Add some more resilience to video packet loss
Add codec control mechanism for both call-specific debug and codec/call specfic params
Make opus function better in packet loss and latent situations
Use new codec control prams to make JB lookahead FEC optionally enabled or disabled mid-call
Add Param to allow JB lookahead to be enabled.
2015-09-14 13:30:08 -05:00
Anthony Minessale
331cde3c92
FS-8053: handle a=sendonly, a=sendrecv, a=recvonly to change who is sending video during a call
2015-09-09 18:10:52 -05:00
Artur Zaprzała
7e2082a55a
FS-8140 Fix user_name typo in sofia_handle_sip_i_invite
2015-09-09 10:33:23 +02:00
Anthony Minessale
2feae3fc69
FS-6833 #comment please test this branch
2015-09-01 16:31:23 -05:00
Mike Jerris
5c59a0159d
FS-7966: fix more msvc 2015 warnings.
2015-08-31 17:08:52 -04:00
Michael Jerris
164c6111a1
FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead
2015-08-31 10:19:10 -05:00
Mike Jerris
5de2f7d7bd
FS-7966: multiple fixes for msvc 2015 build, silence multiple warnings
2015-08-27 18:49:13 -06:00
Mike Jerris
7efc1f3bfb
FS-7135: [mod_sofia] fix response to re-invite with duplicate sdp (such as we get from seesion refresh) when soa is disabled to include an sdp. Fixes t.38 fax failure on session refresh
2015-08-27 11:42:40 -05:00
Brian West
fb383f247b
FS-8037 #resolve [zrtp-passthru shouldn't activate unless the zrtp-hash is in the SDP.]
2015-08-25 11:44:05 -05:00
Michael Jerris
f929a9ccbf
FS-7966: we still need to do declarations first until we fully switch to 2015 and change the flags on other builds to not error on code before declaration
2015-08-21 18:47:58 -04:00
Michael Giagnocavo
5e456fe9a6
FS-7966. First pass at moving to Visual Studio 2015.
...
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Michael Jerris
58f1272490
FS-7955: [mod_sofia] fix crash caused by invalid contact when using event to send a notify message
2015-08-14 12:51:12 -05:00
Brian West
13b840e75c
FS-7917 #resolve Fixed default config, original patch was correct but we really shouldn't be setting ext-*-ip settings for ipv6 profiles
2015-07-30 11:45:46 -05:00
Michael Jerris
351a8ca34c
Revert "FS-7917 add check for ipv6 in sofia_glue_create_via"
...
This reverts commit 4c8bf297fb
.
This behavior change was incorrect, sorry
2015-07-30 11:44:38 -04:00
Luis Azedo
4c8bf297fb
FS-7917 add check for ipv6 in sofia_glue_create_via
2015-07-30 16:09:56 +01:00
Anthony Minessale
7644b6834f
FS-7760 add some more params
2015-07-29 15:53:29 -05:00
Anthony Minessale
2751039784
add dial-prefix and absolute-dial-string to the nightmare xml
2015-07-15 16:57:05 -05:00
Michael Jerris
e910e86bfb
FS-7760: revise channel fetch on nightmare transfer
2015-07-15 16:28:29 -05:00
karl anderson
58043483cd
FS-7773 [mod_sofia] transfer events #resolve
2015-07-10 19:46:10 +01:00
Mark Lipscombe
97394bd679
FS-7778 Fix ALTER TABLE statement to use single quotes.
...
sofia_glue.c tries to issue an SQL "ALTER TABLE" statement to add the
ping_status column to sip_registrations, but fails because the default
is incorrectly quoted (double quotes vs single quotes).
2015-07-06 12:10:08 -03:00
Brian West
f0417cdf57
FS-7760 test_pflag not test_flag
2015-07-03 16:35:52 -05:00
karl anderson
b2b9555d34
FS-7760 #resolve
...
added xml fetch for channels to externally support nightmare transfer
depends on channel-xml-fetch-on-nightmare-transfer profile param (default is disabled)
2015-07-03 19:28:17 +01:00
William King
20be305b1c
Merge pull request #263 in FS/freeswitch from ~LAZEDO/freeswitch-fs-7463:FS-7463 to master
...
* commit 'e12608bd11c62de715c1d6eecf05a8fe8b8becb0':
FS-7463 #resolve
2015-07-03 12:28:16 -05:00
Brian West
41067cc7b7
FS-7767 #resolve
2015-07-02 13:19:01 -05:00
karl anderson
46d98d4a19
FS-7759 #resolve added a channel var to suppress setting the completed elsewhere cause
2015-07-02 17:02:47 +01:00
Michael Giagnocavo
f116387443
FS-7644. Change 2013.vcxproj references to 2013
2015-06-18 04:17:53 -06:00
Travis Cross
1d726c1d91
Fix docs on enabling cert CN/SAN validation
...
The correct incantations to enable certification common name / subject
alternative name verification, per our code, are `subjects_all`,
`subjects_in`, and `subjects_out` in a Sofia profile's
`tls-verify-policy`. What we've had in our examples and documentation
for years are `all_subjects`, `in_subjects`, and `out_subjects`.
The result of this is that we've almost certainly confused people into
using the incorrect forms. Those poor people will believe that they
are verifying the CN/SAN of the received host certificate against the
list in `tls-verify-in-subjects` when in fact they are not.
One clear issue in this case was that the incorrect forms failed to
have any effect without providing any warning or error. This issue
could not have persisted if we had made more noise about incorrect
input.
Given how long this has been broken, it's tempting to alias the
incorrect forms to the correct ones. However this would certainly
break many existing installations that have, because of this error,
never actually tested their setup with CN/SAN validation enabled.
In this commit, we fix the examples and documentation, and add an
error-level log output when unknown values are passed to
`tls-verify-policy`.
Thanks-to: Andrew Patrikalakis <anrp+freeswitch@anrp.net>
2015-06-17 17:10:29 +00:00
Anthony Minessale
9d40e1397d
FS-7641
2015-06-12 15:59:02 -05:00
Jeff Lenk
345e50d25a
FS-7644
2015-06-11 15:29:28 -05:00
Michael Jerris
2cc0348422
FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used.
2015-06-10 16:33:14 -04:00
Anthony Minessale
2e47abc9e6
FS-7602 regression from c9065a85b6
(typo)
2015-06-09 15:58:46 -05:00
Mike Jerris
40254d322e
Merge pull request #245 in FS/freeswitch from ~SAFAROV/freeswitch-mod-radius-cdr_improvement:FS-7311 to master
...
* commit 'd5cc4a1d87cee1c56b54403affd23feb86cead80':
FS-7311: Updating display name is disabled when caller_id equal "_undef_"
2015-06-05 14:18:37 -05:00
Sergey Safarov
d5cc4a1d87
FS-7311: Updating display name is disabled when caller_id equal "_undef_"
2015-06-05 21:36:10 +03:00
Anthony Minessale
c9065a85b6
FS-7602 add some of 3b2d00f3e6
from verto to sip and refactor some code to keep sip working like verto
2015-06-02 21:20:03 -05:00
Mike Jerris
95c387315e
Merge pull request #33 in FS/freeswitch from ~MOY/freeswitch:sip-watch-headers to master
...
* commit '3df55b9bb5325ed0f7273576264c5aa94a8a6810':
Add sip_watched_headers variable to launch events when a SIP message contains a given SIP header
2015-06-02 11:19:05 -05:00
Moises Silva
3df55b9bb5
Add sip_watched_headers variable to launch events when a SIP message contains a given SIP header
...
FS-6801 #resolve
2015-06-02 00:47:18 -04:00
Luis Azedo
e12608bd11
FS-7463 #resolve
...
allow intercept of replaced call-id when processing the replaces header by providing a a-leg parameter in replaces header.
without this change one leg calls could not be picked because there is no bridge_uuid
2015-06-01 20:11:40 +01:00
Mike Jerris
641fc1f18e
Merge pull request #169 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-7204:master to master
...
* commit '441dd9128862ce741a56a01acfa3e862949d1347':
FS-7204, Allow to force a per-account send-message-query-on-register
2015-06-01 13:54:15 -05:00
Mike Jerris
bbad395866
Merge pull request #174 in FS/freeswitch from ~FLAVIO/freeswitch:origin/bugfix/FS-7196 to master
...
* commit 'f135232ef5ab3f53f76cfa8ec2a1225f7700de90':
FS-7196: add recording_follow_transfer support for semi attended transfers
2015-06-01 13:52:05 -05:00
Mike Jerris
bd02432d03
Merge pull request #232 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-7242-delayed-bye-after-REFER to master
...
* commit 'beeea0172411f6274effdac8b90f970fa317b159':
FS-7242 Waiting for state CS_PARK when receiving REFER.
2015-06-01 13:10:43 -05:00
Artur Zaprzała
0c4f85111f
FS-7337: Add support for Remote-Party-ID header in UPDATE request.
2015-06-01 12:25:13 -05:00
Anthony Minessale
bc152ed9d8
FS-7500: set 500ms min on retransmit of outdated xml based intraframe request that EVERYTHING still seems to use
2015-05-28 12:47:31 -05:00
Anthony Minessale
a08a89af3d
FS-7500: re-enable sip info video refresh
2015-05-28 12:47:30 -05:00
Anthony Minessale
02cac73d37
FS-7499 FS-7513 try to avoid storm of refreshes in heavy usage
2015-05-28 12:47:29 -05:00
Michael Jerris
200199e05f
CID:1023990: remove unused code
2015-05-28 12:47:23 -05:00
Brian West
379950f523
FS-7500: video introp tweaks
2015-05-28 12:47:15 -05:00
Anthony Minessale
7c294f242f
FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec
2015-05-28 12:47:13 -05:00
Anthony Minessale
d8241a12ea
FS-7499: comment out sip based picture update
2015-05-28 12:46:57 -05:00
Brian West
4811ec9d6a
FS-7562 --resolve
2015-05-20 14:52:23 -05:00
Michael Jerris
9fc8772aef
FS-7463: revert commits c2c04632f3
b33563138b
and 6bf74877b5f0. Future pull requests should be verified that they compile before submitting.
2015-05-14 13:55:32 -04:00
Luis Azedo
64c7fee8ca
conditionally allow intercept of replaced call-id when processing replaces header
...
without this change one leg calls inhaled could not be picked because there is no bridge_uuid.
FS-7463 #resolve
2015-05-14 17:43:09 -05:00
Anthony Minessale II
c2c04632f3
Merge pull request #241 in FS/freeswitch from ~LAZEDO/freeswitch-fs-7463:FS-7463 to master
...
* commit 'b33563138b0953693dbe0d32a439c533ea8b4316':
conditionally allow intercept of replaced call-id when processing replaces header
2015-05-14 11:37:51 -05:00
Brian
518d74a4bc
FS-7492 fix copy paste typo
2015-04-30 07:35:40 -05:00
Anthony Minessale
6e588b551b
FS-7472
2015-04-28 16:12:37 -05:00
Luis Azedo
b33563138b
conditionally allow intercept of replaced call-id when processing replaces header
...
without this change one leg calls inhaled could not be picked because there is no bridge_uuid.
FS-7463 #resolve
2015-04-22 20:11:12 +01:00
Michael Jerris
a4d877c189
FS-7460: don't force ice in 3pcc-mode=proxy
2015-04-21 19:58:28 -04:00
Michael Jerris
3bbfa9f341
FS-7407: when using proxy, make sure to pick the right transport to the proxy
2015-04-13 22:54:02 +00:00
Italo Rossi
beeea01724
FS-7242 Waiting for state CS_PARK when receiving REFER.
2015-04-07 22:11:27 -03:00
Brian West
36e1840d63
Merge pull request #207 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-6954-freeswitch-adds-additional-m-audio to master
...
* commit 'ca2dd2f3ba80924567472c0516ee8bac2af34d6a':
FS-6954 Detect when we have T.38 in nomedia or proxy media mode and apply same fixups as in media mode.
2015-03-26 10:00:48 -05:00
Matteo Brancaleoni
ca2dd2f3ba
FS-6954 Detect when we have T.38 in nomedia or proxy media mode and apply same fixups as in media mode.
2015-03-26 15:33:30 +01:00
William King
ed0a434b95
Fail the call with 502 bad gateway if the outbound leg returns a redirect with an invalid URI.
...
FS-7385 #resolve
2015-03-25 12:46:59 -07:00
Mike Jerris
3c4c64a9de
Merge pull request #200 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-7192-expires-header-included-in-gateway to master
...
* commit '54f16398310846a6b793491d21778e0961b48712':
FS-7192: [mod_sofia] do not include Expires header in INVITEs responding to a auth challenge
2015-02-20 13:19:26 -06:00
Mike Jerris
d562bc601a
Merge pull request #201 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-7308-cannot-disable-sofia-sla-sql-query to master
...
* commit 'cc61f11fb7001ad7a7882e6591b3e89740dce2e9':
FS-7308: [mod_sofia] Only log SLA SQL query SQL when debugging is enabled
2015-02-20 13:12:40 -06:00
Spencer Thomason
74e8db736f
FS-7309: [mod_sofia] Allow removal of User-Agent header
...
In certain deployments it might be desirable to remove the User-Agent header from the SIP message.
Set the sofia profile parameter "user-agent-string" to "none" to suppress this header.
2015-02-20 08:36:44 -08:00
Spencer Thomason
cc61f11fb7
FS-7308: [mod_sofia] Only log SLA SQL query SQL when debugging is enabled
2015-02-19 15:52:44 -08:00
Spencer Thomason
54f1639831
FS-7192: [mod_sofia] do not include Expires header in INVITEs responding to a auth challenge
2015-02-19 15:36:54 -08:00
Michael Jerris
302a339fdf
FS-7294: Enable -Werror when building with clang compiler #resolve
2015-02-17 12:20:33 -05:00
Rajesh Panicker
5db8a0c16b
FS-7228 - Max Register Refresh before the Register is challenged for credentials
2015-02-06 10:16:36 -08:00
Flavio Grossi
f135232ef5
FS-7196: add recording_follow_transfer support for semi attended transfers
2015-02-02 15:48:26 +01:00
Brian West
4ed7b4811a
FS-7217: #resolve #comment use upper when you query
2015-01-30 10:53:44 -06:00
Brian West
ded05d1cc9
FS-7211 #comment another exception #resolve
2015-01-28 14:16:12 -06:00
Brian West
e5a711af24
FS-7205 #comment do not url encode unless an at sign is in the uri #resolve
2015-01-27 14:35:18 -06:00
François
441dd91288
FS-7204, Allow to force a per-account send-message-query-on-register
2015-01-27 17:14:54 +01:00
Anthony Minessale
f795acbff2
FS-7193 #resolve
2015-01-26 17:02:03 -06:00
Anthony Minessale
76370f4d17
auto urlencode user portion of sip uri
2015-01-23 21:06:02 -06:00
E. Schmidbauer
01dcb74f33
FS-7187 add switch_cache_db_create_schema() to test for SCF_AUTO_SCHEMAS flag
2015-01-22 15:41:22 -05:00
Michael Jerris
6afc2b5a2e
FS-6688: #resolve fix resubscribe through proxy with record route when the resub does not have a record route and the route has uri params
2015-01-07 17:41:19 -05:00
Anthony Minessale II
25404c121e
Merge pull request #153 in FS/freeswitch from ~JONHEIER/freeswitch-fs-7137:master to master
...
* commit '165f54216c47a5343ac0c7a6ac62fd6a9de57b5f':
mod_sofia: Set sip_to_tag on ringing indication for inbound channels.
2015-01-06 10:32:21 -06:00
Anthony Minessale
c460c00b55
FS-7134 #resolve
2015-01-06 16:29:38 -06:00
Jon Bergli Heier
165f54216c
mod_sofia: Set sip_to_tag on ringing indication for inbound channels.
...
When bridging a call, the to-tag used in the outgoing 180 Ringing
message for the inbound channel is unavailable until the channel has
been answered. For the outgoing channel this value is already available
through the sip_to_tag variable via the event socket.
This is solved this by setting sip_to_tag to the local leg's tag when
receiving a ringing indication for inbound channels. This will also make
the variable available in the CHANNEL_PROGRESS event through event
socket.
FS-7137 #resolve
2015-01-06 17:20:22 +01:00
Michael Jerris
067cb0f0f2
FS-7100: make buffer for sub contact big enough
2014-12-22 17:19:08 -05:00
Dmitriy N. Borisov
c96d64e7e1
invalid type cast correction
2014-12-19 11:13:55 +03:00
Michael Jerris
5376e82669
FS-6688: don't update the contact when the original had fs_path, the new one doesnt, and the contact didn't change. This will fix the normal case of record route from a proxy without breaking normal changing of a contact
2014-12-10 10:33:43 -05:00
Michael Jerris
21458f85cc
FS-7062: [mod_sofia] on redirect, when uri are passed in without <> with multiple uris, automatically add the q= header param in decending order. This should make 300 Multiple Choices work well with devices that require the q param. If you would like to specify explicit q-values, please use the syntax of redirect where you specify the entire header using the <>
2014-12-08 10:47:47 -05:00
Anthony Minessale
bad5dc3022
FS-7037 #resolve
2014-12-01 15:10:00 -06:00
Anthony Minessale
5bbef7f1e5
FS-7015 #comment please test
2014-11-25 17:02:10 -06:00
Brian West
5127b64df8
FS-7014: [mod_sofia] don't touch the tech_pvt when a call has just ended, leaving us with a null tech_pvt
2014-11-18 10:22:13 -06:00
Michael Jerris
75473a70b6
FS-6531: #resolve set to tag on uuid_phone_event notify to make grandstream happy, even tho they could have matched the dialog fine off the from tag like every other phone does.
2014-11-12 21:55:31 -06:00
Michael Jerris
82aa33140e
FS-6531: #resolve set to tag on auto answer notify to make grandstream happy, even tho they could have matched the dialog fine off the from tag like every other phone does.
2014-11-12 21:37:14 -06:00
Anthony Minessale
65502293cf
FS-6890 #comment revert
2014-11-12 13:09:39 -06:00
Anthony Minessale
a279bf38af
FS-6890 #comment please test
2014-11-11 12:56:40 -06:00
Brian West
9e9c4378de
Merge branch 'master' of ssh://stash.freeswitch.org:7999/fs/freeswitch
2014-11-06 18:26:28 -06:00
Anthony Minessale
415f82fe93
FS-6954 #resolve #comment please test
2014-11-06 18:26:16 -06:00
Anthony Minessale
f66f2cae8c
FS-6890 #comment please test
2014-11-06 17:13:02 -06:00
Brian West
1190e59adf
FS-6965 #resolve
2014-11-06 09:47:54 -06:00
Mike Jerris
78cab12dd2
Merge pull request #48 in FS/freeswitch from ~ANTONIO/freeswitch-fs-6809:master to master
...
* commit '69d5cda6d67074d6e5c1b7038b4dd7cab0adf60f':
resolve FS-6809
2014-11-05 16:05:00 -06:00
Anthony Minessale
9c1e6037c9
FS-6954 #comment we fixed another bug and this is the side effect which is completely valid, too bad you can never fix broken t38 endpoints. Can you please test this patch
2014-11-05 11:51:30 -06:00
Anthony Minessale
a4971693d3
FS-6890 #comment please test
2014-11-05 11:35:16 -06:00
Brian West
32a9ff3d39
Merge pull request #60 in FS/freeswitch from ~SJTHOMASON/freeswitch:FS-6823 to master
...
* commit 'afb00b2ecc8a9b049801f3f475c80e1111070fa8':
Force rport on ADTRAN TA Devices
2014-11-04 07:36:36 -06:00
Brian West
39be877760
One place we said Failed Registration, the other we said Registration Failed, lets try to be consistent.
2014-10-30 10:40:52 -05:00
Anthony Minessale
52ae551d1a
FS-6954 #resolve #comment technically the new way is more correct but there is no hope for making fax endpoints follow a real spec. This should take care of it.
2014-10-30 10:15:10 -05:00
Brian West
3b9f0c32e6
FS-6927 #comment allow sub millisecond resolution for option ping times
2014-10-29 16:01:28 -05:00
Anthony Minessale
443ab8a8db
FS-5949 #resolve
2014-10-28 13:38:06 -05:00
Brian West
75815877d6
FS-6688 #resolve
2014-10-27 14:14:21 -05:00
Brian West
f772b400bf
FS-6939 please do pull request next time. ;)
2014-10-27 14:12:55 -05:00
Brian West
26af9c3d67
FS-6939 #resolve
2014-10-27 12:23:44 -05:00
Brian West
f1ee4ba4d7
Merge branch 'master' of ssh://stash.freeswitch.org:7999/fs/freeswitch
2014-10-16 17:03:57 -05:00
Brian West
15e9e68064
FS-6927 #resolve #comment This display option ping times in the gateway status on sofia status gateways or individual gateway status output
2014-10-16 17:03:37 -05:00
Anthony Minessale
2e10407336
actual fix for commit cff5209ca3
which was in the wrong place
2014-10-16 16:04:15 -05:00
Anthony Minessale
3bdbdd4abf
revert cff5209ca3
2014-10-16 14:39:59 -05:00
Matteo Brancaleoni
beb1d17921
FS-6400 Improve sip ping generation by distributing them across an interval
2014-10-14 14:24:21 +02:00
Anthony Minessale
cff5209ca3
fix leak of nua handle due to reference counting that must be between 3 to 7 years old. Effects all calls with auth/challenge on INVITE
2014-10-13 18:06:32 -05:00
Anthony Minessale
e4e9b1b9f9
have resume media on hold not send invite back out at the holder but rather enable media in the 200ok
2014-10-10 16:09:43 -05:00
Travis Cross
b5294c53d6
Fix crash on transport=tls with non-TLS profile
...
We use the transport of the Contact header of the remote UAC to decide
which of our own Contact addresses we should use when replying to a
SUBSCRIBE or sending a presence NOTIFY.
If TLS is not enabled on a Sofia profile, then the TLS Contacts for
that profile are NULL. Unfortunately we were using these NULL values
uncritically when the remote UAC sent us a Contact header with a TLS
transport and our own Sofia profile did not have TLS enabled.
With this commit we fall back to our TCP Contact address when the
remote Contact is TLS and our Sofia profile does not have TLS enabled.
2014-10-10 18:36:37 +00:00
Michael Jerris
855cc4b4e0
add 908-retry-seconds gateway param to set reg retry time when getting a 908 for backup interfaces to connect quickly
2014-10-09 14:43:23 -04:00
Mike Jerris
34bc98cafa
Merge pull request #47 in FS/freeswitch from ~FLAVIO/freeswitch-fs-5106:master to master
...
* commit '56535519043201c723467c66c772d7519a2b6f62':
FS-5106 fire an event when a sip client doesn't respond to option-ping
2014-10-07 14:06:34 -05:00
Anthony Minessale
2051a86df2
FS-6889 #resolve
2014-10-07 13:47:44 -05:00
Mike Jerris
6860b41763
Merge pull request #83 in FS/freeswitch from ~MKVONARX/freeswitch-fs-6710:FS-6710 to master
...
* commit '490efb7177ddcd3e61018f02c1435362937e8b15':
FS-6710: fix incorrect comparison for Min-SE values between SIP INVITE and local configuration
2014-10-07 11:50:19 -05:00
Mike Jerris
d4929443f9
Merge pull request #59 in FS/freeswitch from ~SJTHOMASON/freeswitch:FS-5868 to master
...
* commit '747322dcc6f4db1bffc985c9bcff0bd32a2682a9':
Remove Contact header from BYE and CANCEL requests.
2014-10-07 11:47:40 -05:00
Markus von Arx
490efb7177
FS-6710: fix incorrect comparison for Min-SE values between SIP INVITE and local configuration
2014-10-07 10:41:36 +02:00
Anthony Minessale
b2ae5f4cc2
few bugs on recent new features
2014-10-03 15:36:23 -05:00
Anthony Minessale
bde2e2da51
FS-6889 #resolve
2014-10-03 11:34:42 -05:00
Jeff Lenk
ae5d86515a
FS-6884 #comment these were mostly simple warnings
2014-10-02 19:20:35 -05:00
Anthony Minessale
10a3fa55ef
%FEATURE add bypass_media_resume_on_hold and bypass_media_after_hold variables to be set to true to enable these functions on a per channel basis
2014-10-02 17:49:09 -05:00
Anthony Minessale
43733a6166
FS-6886 #comment addition of ignoring unhold as well
2014-10-02 15:48:29 -05:00
Spencer Thomason
afb00b2ecc
Force rport on ADTRAN TA Devices
...
ADTRAN Total Access devices do not support sending the rport parameter in
the Via header. This allows us to detect the device and force rport when
using the "safe" parameter, enabling the device to be used behind NAT.
FS-6823 #resolve
2014-10-02 13:09:15 -07:00
Spencer Thomason
747322dcc6
Remove Contact header from BYE and CANCEL requests.
...
Per rfc3261 the Contact header is not applicable and MUST not appear in
the request.
FS-5868 #resolve
2014-10-02 12:24:46 -07:00
Anthony Minessale
9e9175321a
FS-6886 #resolve
2014-10-02 11:30:13 -05:00
Flavio Grossi
5653551904
FS-5106 fire an event when a sip client doesn't respond to option-ping
...
When all-reg-options-ping is enabled, this adds a new custom event to mod_sofia
(sofia::sip_user_state), which is fired when a client stops responding to such
ping packets (or when it is reachable again).
Add two needed new columns to the sip_registrations table:
- ping_status, which is "Reachable" or "Unreachable" depending on the client
status;
- ping_count, which tracks the number of ping responses received and is used
to provide some kind of hysteresis to avoid firing the event in case of
transitory network failures.
Then ping_count is checked against two threshold values, sip-user-ping-min
and sip-user-ping-max in a similar fashion as the ping-{max,min} options for
the gateways. These two values are configurable in the profile's xml
configuration file.
Also, if unregister-on-options-fail is enabled, the client is unregistered
based on the number of OPTIONS failure which is also checked against the
sip-user-ping-{min,max} values.
2014-10-02 12:34:47 +02:00
Anthony Minessale
789e1481ed
FS-6880 #resolve #comment I would think that in real life once the call agreed on a codec it would only offer the negotiated codecs but we can fix this to always filter for good measure. I am not sure what the ramifications are of filtering responses but I think this patch will do so as well.
2014-10-01 13:03:50 -05:00
Brian West
644b41f792
FS-6874 #resolve
2014-09-30 17:05:06 -05:00
Anthony Minessale
24084adf77
%FEATURE Add new feature to filter the SDP on bypass_media calls to remove or limit codecs.
...
VARIABLE: bypass_media_sdp_filter
Can be set globally or per leg on the inbound side of a bypass_media bridge.
VALID FILTERS:
remove(): Removes the specified codec if it exists in the SDP.
only(): Removes all codecs besides the one specified (providing that it exists in the sdp) (will not remove telephone-event))
EXAMPLE 1 (remove everything leaving only g729):
<action application="set" data="bypass_media_sdp_filter=only(g729)"/>
<action application="set" data="bypass_media=true"/>
<action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>
EXAMPLE 2 (remove everything leaving only g729 and also remove dtmf):
<action application="set" data="bypass_media_sdp_filter=only(g729)|remove(telephone-event)"/>
<action application="set" data="bypass_media=true"/>
<action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>
EXAMPLE 3 (remove alaw and speex):
<action application="set" data="bypass_media_sdp_filter=remove(pcma)|remove(speex)"/>
<action application="set" data="bypass_media=true"/>
<action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>
2014-10-01 01:28:10 +05:00
Travis Cross
5bd35471f7
Add var to suppress `Privacy: none` header
...
Apparently the MetaSwitch guys incorrectly interpret `Privacy: none`
as `Privacy: id`.
ref: RFC 3325
Reported-by: Stéphane Alnet <stephane@shimaore.net>
FS-6817 #resolve
2014-09-11 19:56:19 +00:00
Anthony Minessale
7144b25254
obey sip_copy_custom_headers on bye
2014-09-12 00:37:19 +05:00
Anthony Minessale
77c99b6306
FS-6806 #resolve #comment off by 1 error in last fix
2014-09-10 20:32:36 +05:00
Antonio
69d5cda6d6
resolve FS-6809
2014-09-09 15:33:19 +02:00
Mike Jerris
98c8a9b508
Merge pull request #38 in FS/freeswitch from ~ALEXDG/freeswitch-event-for-gateway-ping:master to master
...
* commit '388e9638de7c14e00272777245dacc87cf09fc1c':
F-5946 add the patches. if in the sofia gateway config the param pin-monitoring is true, then every ping result raise an sofia::gateway-state event
2014-09-08 14:35:47 -05:00
Anthony Minessale
a73583b5f3
FS-6806 #resolve
2014-09-09 00:09:31 +05:00
Alexander Haugg
388e9638de
F-5946 add the patches. if in the sofia gateway config the param pin-monitoring is true, then every ping result raise an sofia::gateway-state event
2014-09-05 10:57:01 +02:00
Travis Cross
5c29d8d4fa
Show gateway uptime in seconds
...
In `sofia status gateway ...` let's show the uptime in seconds rather
than in microseconds. We'll output the uptime in microseconds in
`xmlstatus` and we'll label it as such.
2014-09-04 05:39:26 +00:00
Steven Ayre
93bd5833c2
Add uptime property to mod_sofia gateways
...
The 'UP' status indicates a gateway is online as determined by
registration and/or SIP OPTIONS pinging.
The time the gateway has been in the 'UP' status is recorded,
and can be monitored using 'sofia status' and 'sofia xmlstatus'.
This can be used to detect and graph when there are outages.
ref: FS-6772
Reviewed-by: Travis Cross <tc@traviscross.com>
2014-09-04 03:43:36 +00:00
Travis Cross
5a209a9680
Remove misleading `tport` example from configs
...
As an example of using mod_sofia's gateway parameter `contact-params`
we'd used the value `tport=tcp`. Looking around, it's clear this has
misled people into believing you can specify `tport=tcp` to make the
gateway use TCP or `tport=tls` to make the gateway use TLS. This does
not work.
The actual contact parameter is named `transport` rather than `tport`,
and you shouldn't use `transport` in `contact-params` because we
automatically add a `transport` to the Contact: based on the value of
`register-transport` (even if the gateway is set to not register).
It's clear why this would be confusing, so we'll just remove this as
an example.
2014-08-27 23:15:45 +00:00
Brian West
1dc44067cd
FS-6770 #resolve
2014-08-27 13:28:15 -05:00
Stan Gor
64060c7dbd
Add sofia gateway parameter "destination-prefix"
...
FS-5497 add sofia gateway parameter destination-prefix in case you need to send Invites to your provider with prefix only to this gateway
2014-08-19 11:54:09 -07:00
Anthony Minessale
e3e84a7820
FS-6679 #resolve
2014-08-09 02:13:00 +05:00
Anthony Minessale
5075d4af0d
fix typo that can lead to seg
2014-07-30 22:17:47 +05:00
Anthony Minessale
49700ecf0f
fix extraneous < in sip url parser
2014-07-30 22:13:57 +05:00
Brian West
940171c623
FS-6670 #resolve #comment Doh, see this one is dangerous
2014-07-21 16:04:36 -05:00
Brian West
c15663cba2
FS-6670 #resolve #comment This should resolve this fun stuff.
2014-07-21 15:58:32 -05:00
Anthony Minessale II
83a4305003
Merge pull request #6 in FS/freeswitch from ~FRANCOIS/fs-6568:master to master
...
* commit 'e3b0d7219e1ea269ccd7c5f04747ad21f62c73b2':
Fix BLF confusion when dealing with the same extension in multiple domains
2014-07-18 12:27:19 -05:00
Anthony Minessale
3ce4ae962b
FS-6540 #comment please test this patch for the added notify functionality
2014-07-17 22:35:04 -05:00
Anthony Minessale
91d405a2c1
call recovery_track on recovering channels once the recovery has completed and fix race condition with repeated recovery
2014-07-16 21:40:23 +05:00
Travis Cross
1b7360159a
Associate "sending early media" log with session
2014-07-16 04:57:39 +00:00
Anthony Minessale
c58e64bf6d
add some more headers to sip messages
2014-07-16 00:55:46 +05:00
Mike Jerris
6dca24bb2a
Merge pull request #5 in FS/freeswitch from ~KATHLEEN.KING/freeswitch-fork:clang-warnings-werror to master
...
* commit '1affff9db4aaa29ab66f9f5db76f575eeabd86b5':
Fixed a clang-3.5 missing-prototype warning and added doxygen documentation for switch_channel_set_presence_data_vals. #doxygen
Fixed dead code.
Fixed trucation of value warning.
Removed a useless called to abs.
Removed an autological-pointer-compare from src/switch_utils.c.
Fixed trucation of value warning.
2014-07-14 17:38:21 -05:00
Brian West
a0a8a66525
FS-6420
2014-07-10 10:17:54 -05:00
Brian West
36fd87a67a
Merge pull request #7 in FS/freeswitch from ~PFOURNIER/freeswitch:bugfix/t38_require_timer to master
...
* commit '21ae587063eb3b55c690f47cf9299a539ec25415':
Disabling Require timer for T.38 re-Invites cause problems
2014-07-09 10:49:04 -05:00
Brian West
28e90addf2
FS-5501 fire event on profile start
2014-07-09 08:53:14 -05:00
Patrice Fournier
21ae587063
Disabling Require timer for T.38 re-Invites cause problems
...
Disabling Require timer for T.38 re-Invites tells the remote side it
doesn't need to refresh the session but FreeSwitch will still terminate
the call if the remote session doesn't refresh.
2014-07-08 01:00:52 -04:00
François
e3b0d7219e
Fix BLF confusion when dealing with the same extension in multiple domains
2014-07-06 16:57:50 +02:00
Kathleen King
85699480b3
Fixed trucation of value warning.
...
There was a parameter mismatch between abs(), which expects an int,
and atol() which returns a long. Since max_drift is defined as an int,
there is no need to pars q as a long rather than an int.
2014-07-03 14:41:24 -07:00
Anthony Minessale
2423fc7d0f
FS-6540 This should proxy all refers now, the param has changed to proxy-refer
2014-06-30 12:53:22 -05:00
Travis Cross
52fb53cba4
Allow reincarnation from mod_sofia's shutdown-on-fail
...
mod_sofia's parameter shutdown-on-fail now accepts the value
"reincarnate-now". This will cause the switch to exit immediately
with a non-zero exit code so that the supervisor can recover the
switch. For this to work you have to pass in -reincarnate or
-reincarnate-reexec to freeswitch.
2014-06-27 22:18:39 +00:00
Travis Cross
80ed14ab3e
Ensure mod_sofia params can be unset or reset
...
This is the result of auditing each mod_sofia profile parameter to
ensure that it can be unset or reset after being set. One use-case
for this being done correctly is so a later parameter in a
configuration file can reliably override an earlier one, which is
useful for setups with layered include files.
2014-06-26 09:04:56 +00:00
Travis Cross
75feed68fc
Avoid leaking memory on sofia profile reload
...
We were leaking the string values of apply-candidate-acl parameters.
2014-06-26 08:39:55 +00:00
Travis Cross
f7b4ec617a
Allow SIP UPDATE messages without display updates
...
Previously if send-display-update was set to false we would also
remove UPDATE from our Allow: headers. This is unnecessary. The
UPDATE message is useful in SIP transactions even if we're not sending
display updates.
With this commit, we add a new boolean profile flag, allow-update. If
set to true we'll send Allow: UPDATE. If set to false, we will not.
If there is a conflict with another setting that requires UPDATE
support, the allow-update parameter will win and a warning will be
printed.
ref: RFC 3311
2014-06-25 20:43:29 +00:00
Brian West
8f47f403fd
FS-6612: Don't use rport in tcp or tls
2014-06-20 10:23:05 -05:00
Anthony Minessale
49ee6781a5
FS-6540 please test
2014-06-05 23:49:50 +05:00
Anthony Minessale
3ab1044d6e
FS-6562 --resolve
2014-06-03 15:16:45 -04:00
Brian West
6722e3dfea
fix regression from regression
2014-06-02 19:25:04 -05:00
Brian West
f358c35b67
remove debug line
2014-06-02 19:21:02 -05:00
Anthony Minessale
a7b9329a08
FS-6446 regression fixed
2014-06-02 19:09:48 -05:00
Anthony Minessale
956da6d689
Modify sofia profile to attempt to bind to the interface up to 3 tries with a 5 second wait between attempts.
...
Add new profile params bind-attempts and bind-attempt-interval to modify default behavior.
--NEEDSDOCS
2014-06-02 22:47:26 +05:00
Anthony Minessale
7c2b4381cf
FS-6446 --resolve
2014-05-27 20:40:00 +05:00
Marc Olivier Chouinard
ed6dd184f7
FS-6482 Commit 7e15c938e2
broke MWI for device having no transport parameters (plain UDP connection)
2014-05-23 08:42:16 -04:00
Anthony Minessale
bedf8327b6
FS-6418 FS-6427 add profile param NDLB-proxy-never-patch-reinvites to solve both issues
2014-05-21 03:31:50 +05:00
William King
c19aa584cc
CID: 1214222
...
sofia_glue_get_url_from_contact to strdup the value so before
overwriting the value signal to sofia that we have finished with the
raw header.
2014-05-16 17:01:03 -07:00
William King
388e119e55
CID: 1214221,1214222
...
sip_header_as_string returns new memory alloc'd on the nua_handle's memory pool. This memory would not be freed until
the handle was destroyed. Since there is no usage of the call-info header after it is added to the event as a header value,
we should make sure to both su_free the sofia returned string, but also more cleanly create the event header value to reduce a strdup.
2014-05-16 16:35:49 -07:00
Russell Treleaven
3666029ff0
add auth-subscriptions flag. sofia ua can now optionally challenge subscrition requests
2014-05-16 19:05:35 +00:00
William King
7d5434f57c
CID: 1214223-1214230 If sent an invalid registration authentication header with multiple params of the same name, then only use the first of the params instead of leaking memory
2014-05-16 11:50:18 -07:00
Michael Jerris
ebc0a99f1c
CID:1024250 Dereference before null check. CID:1024251 Dereference before null check, we don't need tto check these, as they are already used above in all cases
2014-05-15 18:34:25 +00:00
Michael Jerris
4653d78154
CID:1087387 Unused pointer value
2014-05-15 18:30:03 +00:00
Anthony Minessale
0a2ba8869a
sofia is treating all notify sending as if they were natted rather than when nat is detected. This causes issues on some polycoms that use strange ports in their contact for getting notifies that do not match the port the calls come from
2014-05-06 04:10:19 +05:00
Anthony Minessale
607247397c
FS-6413 update presence_epoch to lock to midnite
2014-05-02 23:49:46 +05:00
Brian West
d06b137abd
FS-6498 --resolve
2014-05-01 15:20:28 -05:00
William King
af32ca00e3
Correction to commit 0ba59aa6c2
using the correct variable in tel uri param parsing for mod_sofia
2014-04-29 15:23:24 -07:00
Michael Jerris
4828ecd7fd
remove unused variable
2014-04-28 15:00:22 -04:00
Anthony Minessale
cc06d9181b
FS-4779 FS-6467 the behaviour from 4479 is now masked behind the param 3pcc-reinvite-bridged-on-ack FS-6467 please test master
2014-04-28 22:10:14 +05:00
Michael Jerris
1affd78204
we only call this with values, and it would crash if you passed it null anyways, just assert to make it 100% clear
2014-04-26 15:41:34 -04:00
Michael Jerris
abd7882d18
contact->m_url is an array, don't check array for zero as its useless
2014-04-26 15:35:27 -04:00
William King
0ba59aa6c2
Expanding on 052638186b
to support boolean tel url params in mod_sofia
2014-04-25 13:49:59 -07:00
Brian West
7e15c938e2
FS-6482 --resolve
2014-04-24 14:05:18 -05:00
Travis Cross
175c9eebca
Remove extraneous abort(3) when sending chat
...
This appears to have been accidentally added in commit
79ebcb104b
which sought to provide a
mechanism for disabling Sofia's chat interface. The abort(3) here
achieved that a bit too well.
2014-04-19 19:26:27 +00:00
Anthony Minessale
79ebcb104b
add enable-chat sofia profile param which defaults to true when not present, set to false to turn off the chat interface in sofia
2014-04-19 12:29:10 -05:00
Anthony Minessale
bce51017fb
FS-6462 --resolve
...
I found a problem here but it may not completely match your expectations.
I reviewed the RFC 4028 and checked against the code and I discovered we should not be putting a Min-SE in any response at all besides a 422:
section 5:
The Min-SE header field MUST NOT be used in responses except for
those with a 422 response code. It indicates the minimum value of
the session interval that the server is willing to accept.
I corrected this problem and implemented the 422 response so if you request a value lower than the minimum specified for the profile.
If the value is equal or higher to the minimum, it will be reflected in the Session-Expires header in the response and no Min-SE will be present.
2014-04-17 04:26:43 +05:00
Anthony Minessale
a4a792488b
add generic keepalive system and implement it in sofia to send MESSAGE or INFO packets in-dialog at specified interval.
...
Adds app: enable_keepalive 0|<seconds>
This app can be run in the dialplan or with execute_on_* type variables for B-legs.
Adds sofia param: keepalive-method : defaults to MESSAGE can also be "INFO"
This param sets which SIP method to use.
2014-04-16 06:10:25 +05:00
Raymond Chandler
052638186b
add parsing of user params on invite
2014-04-15 12:48:07 -04:00
Travis Cross
12af80d6b2
Condense styling a bit
2014-04-12 05:06:51 +00:00
Travis Cross
3f8cf4a59d
Fix memory leak in subscription handling
...
We were leaking one event (~539 bytes) for every subscribe packet
received with both an "event: as-feature-event" and an authorization
header.
2014-04-12 05:00:41 +00:00