Commit Graph
45 Commits
Author SHA1 Message Date
Alexey Melnichuk 46bbc28220 Change. Use toll_allow of extension who set call forward. 2015-08-14 13:27:47 +04:00
Alexey Melnichuk ce9e2cc4d1 Fix. Allow intercept only outbound calls.
Now it is possible intercept call from local extension to the world.

Fix. intercept channels also in EARLY state.

One of my softphones return 180 Ringing with SDP (no 183 Progress).
And FreeSWITCH shows such channel as `EARLY` not as `RINGING`)
2015-08-12 10:09:56 +04:00
Alexey Melnichuk 4639001ca3 Fix. Include config file. 2015-08-11 14:40:02 +04:00
Alexey Melnichuk c19b6cc7ee Fix. Group intercept extension with number alias 2015-08-11 14:18:25 +04:00
Alexey Melnichuk 3e16e69adb Revert "Revert "Change. Use require "resources.functions.config" to load co…" 2015-08-11 05:06:33 +03:00
Alexey Melnichuk d8b2ec5271 Fix. add functions/count.lua to preview commit. 2015-08-10 13:01:49 +04:00
Alexey Melnichuk 703b61636a Change. Use only require to load function.
Fix. Remove multiple definition of same function.
2015-08-10 12:43:06 +04:00
Alexey Melnichuk b5cacea373 Fix. Allow monitoring page conferences via Active Conferences app. 2015-08-10 11:43:32 +04:00
Alexey Melnichuk b97ae86283 Fix. Use number-alias as caller_id_number variable. 2015-08-07 16:17:25 +04:00
Alexey Melnichuk bfa72cc78a Fix. Use number_alias in dial-string. 2015-08-07 15:18:52 +04:00
Alexey Melnichuk 630d9e020c Fix. Always use / separator on FS command.
Fix. Override `temp_dir` from `config.lua` file.
2015-08-07 12:11:27 +04:00
Alexey Melnichuk 785136eca9 Fix. Use temp_dir variable instead of hard coded /tmp 2015-08-07 11:52:18 +04:00
Alexey Melnichuk 2f6994a9ce Fix. Empty comma in dialstring 2015-08-05 13:41:27 +04:00
Alexey Melnichuk 85d3c1346d Add. Option to ignore busy from destination in follow me dial-string. 2015-07-30 16:21:50 +04:00
Alexey Melnichuk 2b98c86050 Fix. Can not enable follow me via *21 if it was disabled via web.
Problem is that php code clear `dial_string` field in DB.
And Lua code on enable try use it.
2015-07-30 11:48:01 +04:00
Alexey Melnichuk 565395c44f Fix. Correct path when user on group_confirm_file 2015-07-28 15:59:04 +04:00
Alexey Melnichuk 19d05b3aed Fix. Override dialplan_uuid. 2015-07-24 14:46:31 +04:00
Alexey Melnichuk 6f28a7123b Add. Support windows services. 2015-07-24 11:26:11 +04:00
Alexey Melnichuk 3da348fff0 Change. Use require "resources.functions.config" to load config file.
Change. Move `script_dir` definition into config file.
2015-07-22 13:20:51 +04:00
Alexey Melnichuk 26fe054581 Fix. Edit dialplan without running FS may load too long. 2015-07-21 11:44:13 +04:00
Alexey Melnichuk 953462f400 Merge branch 'master' into no_default_domain
Conflicts:
	app/hot_desking/extension_edit.php
2015-07-21 11:24:59 +04:00
Alexey Melnichuk c556498dae Fix. remove hot_desking app. 2015-07-21 11:22:16 +04:00
Alexey Melnichuk 57808740ef Merge branch 'master' into number_alias_as_vm_id
Conflicts:
	app/hot_desking/extension_edit.php
2015-07-21 11:19:13 +04:00
Alexey Melnichuk 4b30e652b4 Fix. Concat conf name in page.lua 2015-07-20 12:44:05 +04:00
Alexey Melnichuk 61f5e77cfb Fix. Use temp_dir to debug dialplan xml file 2015-07-16 12:56:13 +04:00
Alexey Melnichuk 78541b67ce Fix. Use correct conf name on originate 2015-07-16 12:11:57 +04:00
Alexey Melnichuk 8fbbbda5a4 Fix. Make page extension domain specific. 2015-07-16 11:50:07 +04:00
Alexey Melnichuk 3a805e1870 Change. Use predefined phrases in vm menu.
Current implementation produces not correct phrases e.g. on Russian language.
2015-07-14 13:42:05 +04:00
Alexey Melnichuk 243dffe949 Change. Use odbc connector if there exists odbc database
It needs because on windows FreeSWITCH builds without native support PostgreSQL.
2015-07-13 15:04:33 +04:00
Alexey Melnichuk acec54be57 Fix. Use OS specific copy function. 2015-07-13 10:44:47 +04:00
Alexey Melnichuk 3c394e8fc3 Fix. Remove debug output. 2015-07-13 10:42:14 +04:00
Alexey Melnichuk a6440ac0aa Fix. Send fax via web on Windows.
* tiffXXX utils did not work with paths like `C:/xxx/ddd.tif`
 * using `gswin32c` instead of `gs`
 * using `copy` function instead of `cp` command
2015-07-09 16:12:27 +04:00
Alexey Melnichuk fec3b0f14c Fix. xml_handler/directory generate vm params based on number_alias 2015-07-07 18:16:21 +04:00
Alexey Melnichuk 1d5bb75f2d Fix. Use extension to generate dial-string in xml_handler
When uses number_alias contact should be searched by extension name.
2015-07-07 17:47:50 +04:00
Alexey Melnichuk 3e8284c36e Use existed variable. 2015-07-07 13:46:25 +04:00
Alexey Melnichuk 86a961e46b Fix. Show registrations to sip profile with force-XXX-domain.
When on profile set `force-register-db-domain` realm on xmlstatus is just IP but user is like 101@domain.name.
2015-07-07 13:39:57 +04:00
Alexey Melnichuk 130394ff01 Use non greedy match. 2015-07-02 19:12:12 +04:00
Alexey Melnichuk 90d91c8b5a Fix. Escape <> in all fields in CDR xml.
When using redirect cdr also can contain e.g. `sip_redirect_contact_0` / `sip_redirected_to`.
I use `preg_replace_callback` to proceed all fields.
May be it more correct use urlencode because if we get xml with non UTF8 char we lost CDR.
```php
$xml_string = preg_replace_callback("/<([^><]+)>(.*?)<\/\g1>/",
	function ($matches) {
		// var_dump($matches);
		return '<' . $matches[1] . '>' .
			urlencode($matches[2]).
		'</' . $matches[1] . '>';
	},
	$xml_string
);
```
2015-07-02 19:08:48 +04:00
Alexey Melnichuk cdc4b670d2 Change. Use number_alias as voicemail_id. 2015-07-02 18:49:58 +04:00
Alexey Melnichuk 5059613a40 Change. Does not use default dialplan/directory.
I think it more consistent that it allows edit domain in single place.
Also on my Windows machine while installing all users/context creates not in `default` directory.
And I have problem because remove users did not work, `default.xml` file contain `$${v_domain}` variables.
2015-07-02 13:14:35 +04:00
Alexey Melnichuk 526b6e6b7f Remove using feature context.
Default dilplan context contains all needed extension to does not use `feature` context.
2015-07-02 12:35:34 +04:00
Alexey Melnichuk f04798654a Fix. indent. 2015-07-02 12:24:58 +04:00
Alexey Melnichuk 0825eba324 Add. Allow edit domain name while installing.
On my Windows machine default domain now is `127.0.0.1` which is quite useless.
2015-07-02 12:21:53 +04:00
Alexey Melnichuk e97ab47c98 Disable of sip profile does not work
Close #1008
2015-07-02 12:09:09 +04:00
Alexey Melnichuk a7eb1f12d0 Use long string syntax to generate config.lua file.
Close #1006
2015-07-02 11:39:48 +04:00