* [Sysadmins] Asterisk SIP VideoCall Step by Step @ 2010-06-28 13:45 ` Anton A. Vinogradov 2010-06-29 3:35 ` Eugene Prokopiev 2010-06-30 7:26 ` Anton A. Vinogradov 0 siblings, 2 replies; 5+ messages in thread From: Anton A. Vinogradov @ 2010-06-28 13:45 UTC (permalink / raw) To: Michael Bochkaryov; +Cc: enp, mithraen, ALT Linux sysadmin discuss Доброго времени суток! Дабы наука не пропала даром, попробую собирать грабли в прямом эфире. Опять же, может кто пнёт в нужном направлении. Задача: Запустить Asteriks в качестве SIP сервера с видео на ALT. Дано: Сизиф. PC без всяческих специализированных плат. Действия: 1. apt-get install asterisk-full 2. service asterisk start Статус: Думаю над содержимым /etc/asterisk в целом и /etc/asterisk/sip.conf (который, видимо, надо создавать вручную) в частности. -- С уважением, Антон Виноградов arc@ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Sysadmins] Asterisk SIP VideoCall Step by Step 2010-06-28 13:45 ` [Sysadmins] Asterisk SIP VideoCall Step by Step Anton A. Vinogradov @ 2010-06-29 3:35 ` Eugene Prokopiev 2010-06-30 7:26 ` Anton A. Vinogradov 1 sibling, 0 replies; 5+ messages in thread From: Eugene Prokopiev @ 2010-06-29 3:35 UTC (permalink / raw) To: Anton A. Vinogradov; +Cc: mithraen, ALT Linux sysadmin discuss > Думаю над содержимым /etc/asterisk в целом > и /etc/asterisk/sip.conf (который, видимо, надо создавать вручную) в > частности. См. дефолтную конфигурацию callweaver - http://admdev.blogspot.com/2008/08/callweaver.html - все кроме t38udptlsupport должно работать и в asterisk -- С уважением, Прокопьев Евгений ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Sysadmins] Asterisk SIP VideoCall Step by Step 2010-06-28 13:45 ` [Sysadmins] Asterisk SIP VideoCall Step by Step Anton A. Vinogradov 2010-06-29 3:35 ` Eugene Prokopiev @ 2010-06-30 7:26 ` Anton A. Vinogradov 2010-06-30 7:39 ` Dmitriy Kruglikov 2010-07-04 10:20 ` Anton A. Vinogradov 1 sibling, 2 replies; 5+ messages in thread From: Anton A. Vinogradov @ 2010-06-30 7:26 UTC (permalink / raw) To: Michael Bochkaryov; +Cc: enp, mithraen, ALT Linux sysadmin discuss 28.06.2010 17:45, Anton A. Vinogradov пишет: > Доброго времени суток! > > Дабы наука не пропала даром, попробую собирать грабли в прямом эфире. > Опять же, может кто пнёт в нужном направлении. > > Задача: > > Запустить Asteriks в качестве SIP сервера с видео на ALT. > > Дано: > > Сизиф. > PC без всяческих специализированных плат. > > Действия: > > 1. apt-get install asterisk-full > 2. service asterisk start > > Статус: > > Думаю над содержимым /etc/asterisk в целом > и /etc/asterisk/sip.conf (который, видимо, надо создавать вручную) в > частности. > Действия: 1. Создать sip.conf # cat /etc/asterisk/sip.conf [general] videosupport=yes bindaddr=0.0.0.0 bindport=5060 disallow=all allow=ulaw allowsubscribe=yes notifyringing=yes notifyhold=yes limitonpeer=yes counteronpeer=yes subscribecontext=default [2000] type=friend host=dynamic context=default dtmfmode=rfc2833 secret=123 callcounter=yes busylevel=1 disallow=all allow=alaw allow=ulaw allow=h261 canreinvite=no [2001] type=friend host=dynamic context=default dtmfmode=rfc2833 secret=123 callcounter=yes busylevel=1 disallow=all allow=alaw allow=ulaw allow=h261 canreinvite=no 2. Создать extensions.conf # cat /etc/asterisk/extensions.conf [default] exten=2000,hint,SIP/2000 exten=2001,hint,SIP/2001 exten=_20XX,1,dial(SIP/${EXTEN}) exten=_20XX,n,Hangup() ;exten => 502,1,Konference(502) exten => 502,1,Konference(temp,SVDA,VADSTART,VADCONTINUE) ;exten => 502,1,Konference(2001,temp,XR,1) Статус: 1. Видеозконки между 2000 и 2001 с использованием ekiga (всплыл https://bugzilla.altlinux.org/show_bug.cgi?id=21741) 2. Конференция на номере 502. Звук смешивается, но каждый видит только свою картинку. 3. Думаю над содержимым http://asterisk-support.ru/forum/topics/4359/ и, в частности, над тем что/где такое "диалплан" ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Sysadmins] Asterisk SIP VideoCall Step by Step 2010-06-30 7:26 ` Anton A. Vinogradov @ 2010-06-30 7:39 ` Dmitriy Kruglikov 2010-07-04 10:20 ` Anton A. Vinogradov 1 sibling, 0 replies; 5+ messages in thread From: Dmitriy Kruglikov @ 2010-06-30 7:39 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 30 июня 2010 г. 10:26 пользователь Anton A. Vinogradov написал: > > [2000] > type=friend Если клиент за NAT, то добавить nat=yes > 3. Думаю над содержимым http://asterisk-support.ru/forum/topics/4359/ и, в > частности, над тем что/где такое "диалплан" "диалплан" - это святое ... Номерной план ... Обработка по мере набора ... Например, если набрана "9", то маршрутизировать звонок в линию "Межгород"... И так далее ... На сколько я понял, это частично в sip.conf, и частично в extensions.conf Например: [macro-Time] exten => s,1,Answer() exten => s,n,Playback(ru/zdravstujte) exten => s,n,Playback(ru/one-moment-please) exten => s,n,Playback(ru/v-dannyj-moment) exten => s,n,SayUnixTime(,,H) exten => s,n,Playback(ru/hours) exten => s,n,SayUnixTime(,EEST,M) exten => s,n,Playback(ru/minutes) exten => s,n,SayUnixTime(,EEST,S) exten => s,n,Playback(ru/seconds) exten => s,n,Playback(ru/auth-thankyou) exten => s,n,Hangup() и exten => 9999,1,Macro(Time) Если добавить русский голос с http://ivrvoice.ru/downloader, то получится служба точного времени ... Это на пальцах ... Более знающие поправят и/или добавят ... -- Best regards, Dmitriy Kruglikov. QString at, dot, mail, XMPP; at = "@"; dot = "."; mail = "Dmitriy.Kruglikov" + $at +"gmail" + $dot + "com"; XMPP = $mail; ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Sysadmins] Asterisk SIP VideoCall Step by Step 2010-06-30 7:26 ` Anton A. Vinogradov 2010-06-30 7:39 ` Dmitriy Kruglikov @ 2010-07-04 10:20 ` Anton A. Vinogradov 1 sibling, 0 replies; 5+ messages in thread From: Anton A. Vinogradov @ 2010-07-04 10:20 UTC (permalink / raw) To: Michael Bochkaryov, ALT Linux sysadmin discuss 30.06.2010 11:26, Anton A. Vinogradov пишет: > 28.06.2010 17:45, Anton A. Vinogradov пишет: >> Доброго времени суток! >> >> Дабы наука не пропала даром, попробую собирать грабли в прямом эфире. >> Опять же, может кто пнёт в нужном направлении. >> >> Задача: >> >> Запустить Asteriks в качестве SIP сервера с видео на ALT. >> >> Дано: >> >> Сизиф. >> PC без всяческих специализированных плат. >> >> Действия: >> >> 1. apt-get install asterisk-full >> 2. service asterisk start >> >> Статус: >> >> Думаю над содержимым /etc/asterisk в целом >> и /etc/asterisk/sip.conf (который, видимо, надо создавать вручную) в >> частности. >> > Действия: > 1. Создать sip.conf > # cat /etc/asterisk/sip.conf > [general] > videosupport=yes > bindaddr=0.0.0.0 > bindport=5060 > disallow=all > allow=ulaw > allowsubscribe=yes > notifyringing=yes > notifyhold=yes > limitonpeer=yes > counteronpeer=yes > subscribecontext=default > > [2000] > type=friend > host=dynamic > context=default > dtmfmode=rfc2833 > secret=123 > callcounter=yes > busylevel=1 > disallow=all > allow=alaw > allow=ulaw > allow=h261 > canreinvite=no > > [2001] > type=friend > host=dynamic > context=default > dtmfmode=rfc2833 > secret=123 > callcounter=yes > busylevel=1 > disallow=all > allow=alaw > allow=ulaw > allow=h261 > canreinvite=no > > 2. Создать extensions.conf > # cat /etc/asterisk/extensions.conf > [default] > exten=2000,hint,SIP/2000 > exten=2001,hint,SIP/2001 > exten=_20XX,1,dial(SIP/${EXTEN}) > exten=_20XX,n,Hangup() > ;exten => 502,1,Konference(502) > exten => 502,1,Konference(temp,SVDA,VADSTART,VADCONTINUE) > ;exten => 502,1,Konference(2001,temp,XR,1) > > Статус: > 1. Видеозконки между 2000 и 2001 с использованием ekiga (всплыл > https://bugzilla.altlinux.org/show_bug.cgi?id=21741) > 2. Конференция на номере 502. Звук смешивается, но каждый видит только > свою картинку. > 3. Думаю над содержимым http://asterisk-support.ru/forum/topics/4359/ и, > в частности, над тем что/где такое "диалплан" Действия: 1. устанавливаем ark-server 2. создаем виртуальную машину с астерикс 3. настраиваем vpn-server 4. настаиваем клиенты lin и win Статус: 1. Имеем контейнер с рабочим астерикс в качестве sip (видеозвонки и аудиоконференции) 2. имеем защищенный корпоративный sip-server :) 3. проблема переключения видео до сих пор актуальна: konference не переключает видео даже через cli (подозреваю что оно хочет исключительно астериск 1.4), нет возможности использовать asterikast (в нашем репозитории отсутствуют несколько классов perl) 4. подбор ограничений для контейнера ovz ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-07-04 10:20 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-06-28 13:45 ` [Sysadmins] Asterisk SIP VideoCall Step by Step Anton A. Vinogradov 2010-06-29 3:35 ` Eugene Prokopiev 2010-06-30 7:26 ` Anton A. Vinogradov 2010-06-30 7:39 ` Dmitriy Kruglikov 2010-07-04 10:20 ` Anton A. Vinogradov
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git