@ru_freeswitch

Страница 324 из 430
енот
12.06.2018
11:54:16
разве что сериалы начать смотреть

в оригинале))

с сабами

Pavel
12.06.2018
11:57:01
разве что сериалы начать смотреть
Только так и смотрю уже последние лет 10. Ещё ТВ выкинул. Кстати, в Москве, можно отказаться от антенны в ЕПД. Чуть съэкономить.

Google
енот
12.06.2018
11:57:26
Pavel
12.06.2018
11:59:23
1) не москва 2) тв не смотрю лет 10 3) ну напрягаться то не хочется, надо расслабляться
Хехе - напрягают как раз горе-озвучатели. Некоторые современные актёры ещё играют голосом. От озвучателей этого не дождёшься.

Xeon
13.06.2018
07:41:23
Hello , I was trying to play a sound file in conference for a member not able to find how can I play it in loop using fs_cli

I am using conference <call_uuid> sound_file member_id

@kvishnivetsky

Vad
13.06.2018
08:09:20
Hello , I was trying to play a sound file in conference for a member not able to find how can I play it in loop using fs_cli
i am not sure if it could be used for conference, but for loop playback you can use endless_playback command

Vad
13.06.2018
08:15:52
:( such specific case, try to ask guru into FS mail list directly

Xeon
13.06.2018
10:32:28
:( such specific case, try to ask guru into FS mail list directly
I don't know why hold option is not available in conference i mute and deaf a caller to make him on hold

Yuriy
13.06.2018
10:33:58
Hello , I was trying to play a sound file in conference for a member not able to find how can I play it in loop using fs_cli
Hi Actually herer is a bgapi commant that will give you posibility t play some file I suppose Like this As I understood this is something like your case? (dont see it in the specific js code res={bla bla} looks like that you need) xml.ele('action').att('application', 'set').att('data', 'res=${bgapi conference ' + conference.id + ' play file_string://${namefile}!conference/conf-has_joined.wav}');

Vad
13.06.2018
10:37:21
seems to be one time playback, for loop you can inject loop in your code if you use some code, but clear api command maybe don't exist or try to ask fs mail list

Google
Yuriy
13.06.2018
10:53:22
any better way to do this
I just think that it is not availible because of you always can join back to the confierece if you are local for example Otherwhise controle it via phone using mute and swuitching to other line

Xeon
13.06.2018
11:01:08
I just think that it is not availible because of you always can join back to the confierece if you are local for example Otherwhise controle it via phone using mute and swuitching to other line
Actually i need this functionality that being a moderator of conference, i want to hold/unhold some specific members as an when needed from conference. Or someway where i can choose some member to go out of conference and then join back when i decide that being moderator of conference

Yuriy
13.06.2018
11:11:34
here actually a way to redifine some needed extensions to do some actions Like here: session:execute("bind_digit_action","moderator,*1,exec:execute_extension,add") session:execute("bind_digit_action","moderator,*2,exec:execute_extension,remove") some kind of this example as I remember existsi in the docs

Alexandru
13.06.2018
12:02:03
alernatively just use uuid_hold

but never tried with conference

but im pretty sure you can manage each member of the conference separately with uuid_* commands

at least i remember i was doing that when making dialers

Xeon
13.06.2018
12:21:27
alernatively just use uuid_hold
I am not able to play hold music in conference with uuid hold

Alexandru
13.06.2018
12:22:23
You need to play it to entire conference?

Xeon
13.06.2018
12:23:01
Pavel
13.06.2018
12:36:13
See conference <conf num> play command. You can play to some particular participant. Docs at confluence.

Alexandru
13.06.2018
12:58:46
then transfer that member to another extension

i've already told you the solution

Xeon
13.06.2018
13:01:08
then transfer that member to another extension
doing that only transfering it to another conference ( this method looks dirty)

Google
Alexandru
13.06.2018
13:01:24
what for?

i don't understand

you transfer that guy to another extension

and transfer him back when you need it

and Yuriy gave you another method

here actually a way to redifine some needed extensions to do some actions Like here: session:execute("bind_digit_action","moderator,*1,exec:execute_extension,add") session:execute("bind_digit_action","moderator,*2,exec:execute_extension,remove") some kind of this example as I remember existsi in the docs

Xeon
13.06.2018
13:06:49
thankyou @acovalschi will try and ask if getting stuck

and Yuriy gave you another method
that method is not useful for my exact usecase

Henaro
14.06.2018
10:43:20
FusionPBX для обратного вызова использует скрипт /app/click_to_call/click_to_call.php А можно такой же коллбэк организовать с помощью mod_event_socket?

Александр
14.06.2018
10:47:28
можно

глянул в код - там именно он и используется у них

Bogdan
14.06.2018
12:26:46
Добрый день. Нужна помощь. У меня фрисвитч начал регулярно, раз в минут 5, перезагружаться.

Bogdan
14.06.2018
12:26:50


Что можно проверить?

Borik
14.06.2018
12:28:00
сначала логи

а еще можно включить в ОС запись core dumps и посмотреть в корки

это осмысленно, если в логах тишина

Victor_sc120
14.06.2018
12:39:29
если версия слишком старая и порт открыт наружу для всех - могут валить какой нибуть уязвимостью

Alexandru
14.06.2018
13:24:04
могут валить эмоджами в cli

вроде 1.4 уязвима к этому

Google
Bogdan
14.06.2018
13:27:29
Вроде 1,6,20

По идее не страя

Наружу открыт xml_rpc

Александр
14.06.2018
14:28:29
пастебин лог перед падением

S
14.06.2018
15:24:00
Наружу открыт xml_rpc
если не секрет, зачем?

Admin
ERROR: S client not available

Bogdan
14.06.2018
16:03:50
пастебин лог перед падением
https://pastebin.freeswitch.org/view/14442f29

если не секрет, зачем?
Я только изучаю freeswitch. Я планирую через этот модуль выполнять действия с внешнего скрипта. Может если есть лучше варианты - буду презнателен, если подскажете.

Александр
14.06.2018
16:06:42
последнее действаи перед падением

mod_odbc_cdr.c:309 sql INSERT INTO cdr_table_both (CallId, TEST_id) VALUES (90a68334-3c45-405d-9294-26c28ed50630, 0961952966@natsip.datagroup.com.ua)

я бы посмотрел логи базы

Bogdan
14.06.2018
16:25:17
последнее действаи перед падением
Спасибо. Похоже именно с этим проблема. Отключил модуль и перестал вылетать. Буду разбираться.

Александр
14.06.2018
16:29:22
вангую на неподходящий тип или размер поля

Bogdan
14.06.2018
17:11:19
Пока в тестовом режиме. А потом фаервол настрою

Артем
15.06.2018
07:25:47
Привет. Вроде простая задача: curl ом дернуть скрипт который возвращает два значения: "0" и "1". Если "1" нужно делать hangup, иначе - дальше по диалплану.

Сделал 2 extension: <extension name="number_check" continue="true"> <condition field="destination_number" expression="^(from_)"> <action application="curl" data="https://127.0.0.1/services/pbx/checkphone.php?number=${caller_id_number}"/> <action application="set" data="checked=${curl_response_data}"/> </condition> </extension> <extension name="number_check_fail" continue="true"> <condition field="checked" expression="^1$"> <action application="hangup" /> </condition> </extension>

Но звонок пролетает мимо, хотя curl возвращает что надо...

Нужно делать вложенные condition после curl?

Anton
15.06.2018
07:32:40
Но звонок пролетает мимо, хотя curl возвращает что надо...
https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/3966106 Поиск по странице по слову inline

Google
Артем
15.06.2018
07:37:44
Спасибо.

Henaro
15.06.2018
08:22:56
в api originate можно в параметрах указать что-то типа rec=true?

Виталий
15.06.2018
08:23:20
можно - на канале

Henaro
15.06.2018
08:23:38
в противном случае приходится делать `api uuid_record $uuid start $record_path`

можно - на канале
а можно чуть подробнее?

Виталий
15.06.2018
08:25:21
ну а как ты указываешь остальные параметры - типа кодеков.

это будет просто переменная которую нужно будет после обработать в диалплане

Serge
15.06.2018
09:33:47
Пришлось первый раз столкнуться с ФС за натом и появились вопросы: - у меня прокинуты всего около 1к udp портов - этого же должно хватить для беспроблемной работы примерно 10 одновременных звонков? - есть некоторая особенность: нат может быть в разные адреса(уход на запасной канал), вероятно понадобится stun - оно вообще нормально работает в таком виде? Или же всё-таки добиваться проброса белого адреса?

Виталий
15.06.2018
09:34:57
1 - один звонок - 4 порта

Alexey
15.06.2018
09:35:01
4 порта на звонок хватит в любом случае

Виталий
15.06.2018
09:35:22
2 - стун не всегда успевает определить и отдать этот новый ип

Alexey
15.06.2018
09:35:23
не забудьте поправить диапазон в switch.conf.xml

Serge
15.06.2018
09:35:38
это я знаю, меня больше интересует оборачиваемость портов

Виталий
15.06.2018
09:35:42
лучше белый ип поищите

Serge
15.06.2018
09:37:45
искать адреса не надо, надо купить и заморочиться пробросом на серверную ферму, а ради 10 (почти недостижимый максимум) звонков возиться не хочется

Vad
15.06.2018
14:17:02
подскажие пожалуйста кто в курсе, sched_api - блокирующая или нет ?

Страница 324 из 430