Commit Graph

534 Commits

Author SHA1 Message Date
Mike Jerris da49b042ba FS-11506: [mod_sofia] Handle multiple History-Info headers in MESSAGE 2018-11-06 20:56:11 +00:00
Mike Jerris 94a094c5ef FS-10926: [mod_sofia] fix crash from malformed as-feature-event subscribe messae with malformed xml 2018-07-24 07:21:39 +00:00
Brian West 352cc3526d FS-10903: [mod_sofia,mod_valet_parking] Fix Issue with subscriptions and Valet Parking #resolve 2018-07-24 07:21:39 +00:00
Bob McCarthy bdfc02f227 FS-10808 [mod_sofia] Fix memory leak in SLA 2018-05-02 14:06:01 -06:00
Alexey Melnichuk dd913d1bb5 FS-10268. Set correct Event-Name for RECV_EVENT event in sofia endpoint 2017-04-26 17:15:51 +03:00
Anthony Minessale 778190ffaf FS-10180: [mod_sofia] Move debug line to higher level #resolve 2017-03-26 10:58:28 -04:00
Brian West 9e971e5602 FS-10035: [mod_sofia] Outbound calls use progressing not alerting #resolve 2017-02-13 08:08:56 -06:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Brian West c0423c5877 FS-9855: [mod_spandsp] Refused T38 reinvite on b-leg breaks T38 negotiation on a-leg when using T38 gateway mode #resolve 2017-01-05 16:34:11 -06:00
Brian West f54c7f9f34 FS-9855: [mod_spandsp] Refused T38 reinvite on b-leg breaks T38 negotiation on a-leg when using T38 gateway mode #resolve 2017-01-05 15:51:52 -06:00
Mike Jerris e1b3ee1efd FS-9652: improve sql sanitization 2016-11-11 11:27:35 -06:00
Mike Jerris 654cf8c5ef Merge pull request #1030 in FS/freeswitch from ~LUIZTELLES/bf-fs-9671:bugfix/FS-9671-wrong-cseq-is-sent-in-notify-after to master
* commit '4c45f529f8b193d6bb2535ae5d42dc0c86f2960f':
  FS-9671 fix wrong cseq in notify Expires 0
2016-11-11 09:52:41 -06:00
Brian West 6076e0c7e9 FS-9204: complte the urls so that snom can execute the pickup, It used to probably send it to the proxy, but now needs the host in the packet or throws network error 2016-11-09 16:27:15 -06:00
luiztelles 4c45f529f8 FS-9671 fix wrong cseq in notify Expires 0 2016-10-31 09:57:07 -02:00
Mike Jerris 2c86910092 FS-9381: [mod_sofia] fix leak in sofia_presence_chat_send 2016-07-25 14:01:52 -04:00
Armen Babikyan e23aa12a2d FS-8643: fix mod_sofia memory leaks 2015-12-10 22:42:55 -08:00
Mike Jerris 5c59a0159d FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:08:52 -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
Michael Jerris 302a339fdf FS-7294: Enable -Werror when building with clang compiler #resolve 2015-02-17 12:20:33 -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 c460c00b55 FS-7134 #resolve 2015-01-06 16:29:38 -06:00
Michael Jerris 067cb0f0f2 FS-7100: make buffer for sub contact big enough 2014-12-22 17:19:08 -05: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
Brian West 75815877d6 FS-6688 #resolve 2014-10-27 14:14:21 -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
Anthony Minessale 77c99b6306 FS-6806 #resolve #comment off by 1 error in last fix 2014-09-10 20:32:36 +05:00
Anthony Minessale a73583b5f3 FS-6806 #resolve 2014-09-09 00:09:31 +05:00
Anthony Minessale 5075d4af0d fix typo that can lead to seg 2014-07-30 22:17:47 +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 c58e64bf6d add some more headers to sip messages 2014-07-16 00:55:46 +05:00
François e3b0d7219e Fix BLF confusion when dealing with the same extension in multiple domains 2014-07-06 16:57:50 +02:00
Anthony Minessale 3ab1044d6e FS-6562 --resolve 2014-06-03 15:16:45 -04:00
Russell Treleaven 3666029ff0 add auth-subscriptions flag. sofia ua can now optionally challenge subscrition requests 2014-05-16 19:05:35 +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
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
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
Anthony Minessale c02a5e67b8 FS-6413 --resolve with this patch you will need to make sure the boxes have the clocks synced and both started inside the same occurence of the most recent new year. 2014-03-31 15:23:50 -05:00
Anthony Minessale e37616e36d do not retry so fast on failed outbound subs 2014-03-14 12:55:50 -05:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
William King fd38a255f8 FS-6167 --resolve 2014-03-04 13:41:34 -08:00
Brian West 45e19b75dd FS-6270 add client_port to SIP Registration events 2014-02-25 21:49:35 -06:00
Anthony Minessale c46bc9d565 FS-6223 --resolve 2014-02-13 22:11:34 +05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale 386a95f47d FS-6208 --resolve that patch is correct but this other code will protect the seg in either case 2014-02-10 21:44:19 +05:00
Anthony Minessale a121665b14 FS-6190 --resolve slightly modified, please test 2014-02-06 02:31:56 +05:00