Commit Graph
5494 Commits
Author SHA1 Message Date
Dušan Dragić a9b2e061dc mod_gsmopen: clean up "gsm list" output a little
Replace tabs with spaces and add two columns, operator and imei.
2014-09-21 20:14:13 +02:00
Dušan Dragić 4aa7c98d5a mod_gsmopen: convert reported RSSI from AT+CSQ to dBm.
Add to gsmopen_dump and events.
2014-09-21 20:14:12 +02:00
Dušan Dragić 13a595a15e mod_gsmopen: get device manufacturer, model and firmware version info. 2014-09-21 20:14:05 +02:00
Dušan Dragić 79d962f38e mod_gsmopen: add support for reading own number from ON phonebook using AT+CNUM 2014-09-21 20:04:04 +02:00
Nathan Neulinger 1f5bb3470d mod_skinny: avoid truncation of non-null-terminated strings in protocol 2014-09-17 11:13:15 -05:00
Anthony Minessale b2917e06db improve ssl errors 2014-09-17 02:14:43 +05:00
Seven Du 36addd5b61 bytes is signed 2014-09-16 19:15:12 +08:00
Nathan Neulinger 04269fdf19 mod_skinny: additional logging 2014-09-15 16:42:31 -05:00
Dušan Dragić f262dbce94 FS-6821 mod_gsmopen: fix interface name in log
Fix interface name for logs emitted from mod_gsmopen.cpp during startup
2014-09-14 13:06:31 +02:00
Dušan Dragić 9423953e02 FS-6820 mod_gsmopen: fix total interfaces count when executing gsm reload 2014-09-14 12:24:19 +02:00
Anthony Minessale efe0ebd318 FS-6818 #resolve 2014-09-12 18:49:58 +05:00
Dušan Dragić d5f9de4fa3 mod_gsmopen: add AT+COPS support to get operator name.
For now expose the info in gsmopen_dump and events.
2014-09-11 22:33:28 +02: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
Nathan Neulinger 574d19e56e mod_skinny: fix behavior of transfer when target extension falls through to voicemail - keep bridge from dropping out during that operation 2014-09-09 15:58:56 -05:00
Antonio 69d5cda6d6 resolve FS-6809 2014-09-09 15:33:19 +02:00
Nathan Neulinger 8973ffcc35 mod_skinny: improvements to error handling/detection 2014-09-09 08:30:46 -05:00
Nathan Neulinger 3c7e7c757a mod_skinny: more logging during transfer operations 2014-09-08 17:35:30 -05: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
Dušan Dragić 9cf72b541e FS-6799 fix reading sms in index 0 2014-09-07 16:43:00 +02:00
Seven Du a845755ea8 http 1.1 keepalive support 2014-09-07 12:21:42 +08:00
Seven Du 4e07845f2d fix incorrect string termination
if read multi times when waiting for a slow client, then bytes is much shorter than datalen
so it could incorrectly terminate the string and data could be lost
2014-09-07 11:45:12 +08:00
Seven Du c02b2427e8 refactor http parsing and prevent read body more than content-length 2014-09-06 19:35:05 +08:00
Seven Du 7be60474ab respond to OPTIONS and only allows GET and HEAD on static resources 2014-09-06 17:21:58 +08:00
Seven Du f3616557b6 parse x-www-form-urlencoded post body 2014-09-06 17:21:58 +08:00
Seven Du a9b91550e9 add HTTP Basic auth 2014-09-06 17:21:57 +08:00
Seven Du 7f8cc54cfb add basic http virtual host support and fix some leaks 2014-09-06 17:21:57 +08: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
Seven Du a8522ff3c2 remove debug 2014-09-04 10:38:37 +08:00
Seven Du b2554848a1 initial support of http handing in mod_verto 2014-09-04 10:25:27 +08:00
Seven Du 602e82d483 add param to let the socket stay open even if not websockt, thanks Anthony 2014-09-04 10:21:22 +08:00
Travis Cross acb439ca03 Avoid leaking memory while iterating hash tables
`switch_core_hash_first` allocates an iterator on each call that is
never freed except when the hash table is empty.

By using `switch_core_hash_first_iter` we allocate only one iterator,
and that iterator is freed after the last item is processed.
2014-08-30 03:49:51 +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
Nathan Neulinger 2db039bc5f mod_skinny: FS-6720 - fix issue with SLA - had to do with answering in wrong state 2014-08-27 10:38:16 -05:00
Brian West 6e4cea308d Merge pull request #28 in FS/freeswitch from ~STANGOR/freeswitch:master to master
* commit 'c736cf2f22e4f0a5d490db995ebaed69b9963daa':
  Add sofia gateway parameter "destination-prefix"
  FS-5497 add sofia gateway parameter destination-prefix in case you need to send Invites with prefix only to this gateway
2014-08-21 13:59:37 -05:00
Giovanni Maruzzelli 2ada8286f3 skypopen: new skype client in install/install.pl 2014-08-21 20:52:14 +02:00
Nathan Neulinger 5f6db1db3e mod_skinny: roll back, these are not expected to be null terminated, they are fixed length 2014-08-20 14:50:46 -05:00
Nathan Neulinger 84bc50e4ad mod_skinny: fix potential buffer size issue CID: 1214145 1214146 2014-08-20 14:32:02 -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 7bbdbadb42 tweak some cid display issues 2014-08-19 03:25:28 +05:00
Giovanni Maruzzelli eccf505a3b testing new hook FS-6677 #Waiting #comment this is a test 2014-08-18 21:55:03 +02:00
Giovanni Maruzzelli c086f9647b testing new hook TKT-6677 #Waiting #comment this is a test 2014-08-18 21:46:40 +02:00
Giovanni Maruzzelli 733db22f1d testing new hook FS-6677 #new_state #comment this is a test 2014-08-18 21:39:56 +02:00
Seven Du ecbf662ce7 FS-6738 #comment fix mac build introduced by 0ee48c2 2014-08-16 10:08:39 +08:00
Anthony Minessale 0ee48c2210 FS-6738 #comment can you test this patch and see if the tcp keepalive can detect the timeout 2014-08-16 00:43:25 +05:00