Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / Asterisk<->Skype Segmentation fault

Asterisk<->Skype Segmentation fault

Сообщений: 9

Asterisk<->Skype Segmentation fault

Добрый день!
Поставил chan_skype, настроил, звонки проходят в обе стороны, но после снятия трубки астериск вываливается в segmentation fault.
Asterisk Ready.
== Parsing '/etc/asterisk/cli.conf': == Found
*CLI> [Feb 14 09:53:11] DEBUG[5562]: chan_skype.c:3625 do_monitor: poll returned 1
[Feb 14 09:53:11] NOTICE[5562]: core.cpp:591 transport_log: TRANSPORT: Got message (len=23) "c 1463 1552 1649="1241""
[Feb 14 09:53:11] NOTICE[5562]: core.cpp:591 transport_log: TRANSPORT: Wrote message "#14 a 1463 2062"
[Feb 14 09:53:11] NOTICE[5562]: core.cpp:591 transport_log: TRANSPORT: Got message (len=11) "#14 b 0="0""
[Feb 14 09:53:11] DEBUG[5562]: chan_skype.c:3615 do_monitor: entering poll for 2 fds
[Feb 14 09:53:55] NOTICE[5533]: chan_sip.c:19368 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 2202
[Feb 14 09:56:58] NOTICE[5533]: chan_sip.c:19368 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 2202
== Using SIP RTP CoS mark 5
-- Executing [7555@sip:1] Dial("SIP/2202-096d36c0", "Skype/zabodaj") in new stack
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Wrote message "#15 a 1132 1938"
[Feb 14 09:59:49] DEBUG[5562]: chan_skype.c:3625 do_monitor: poll returned 1
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Got message (len=12) "#15 b 0="26""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Wrote message "#16 a 1132 1875 1136="26" 1853="1264,1064""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Got message (len=21) "c 1132 1121 1136="26""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Got message (len=34) "#16 b 1264="1" 1064="abitel-skype""
[Feb 14 09:59:49] NOTICE[5562]: core.cpp:591 transport_log: TRANSPORT: Wrote message "#17 a 1132 1875 1136="26" 1853="1156""
[Feb 14 09:59:49] NOTICE[5562]: core.cpp:591 transport_log: TRANSPORT: Got message (len=14) "#17 b 1156="0""
[Feb 14 09:59:49] DEBUG[5562]: chan_skype.c:3615 do_monitor: entering poll for 2 fds
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Wrote message "#18 a 1796 1477 1968="zabodaj""
[Feb 14 09:59:49] DEBUG[5562]: chan_skype.c:3625 do_monitor: poll returned 1
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Got message (len=14) "#18 b 0="1463""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Wrote message "#19 a 1132 1033 1136="26" 1968="zabodaj" 1086="0""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Got message (len=12) "#19 b 0="27""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Wrote message "#1A a 1985 1875 1136="27" 1853="1928,1530,2051,1060,1261,1641""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:587 transport_log: Ignoring binary property
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Wrote message "#1B a 1796 1723 1968="zabodaj""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Got message (len=11) "#1B b 0="3""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Wrote message "#1C a 1796 1875 1136="3" 1853="1701,1838,2104,1073,1404""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Got message (len=45) "c 1985 2070 1136="27" 1549="1530" 1664="1684""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:587 transport_log: Ignoring binary property
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Wrote message "#1D a 1132 1344 1136="26""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Got message (len=12) "#1D b 0="27""
[Feb 14 09:59:49] NOTICE[5597]: core.cpp:2119 sfa_call_ring: calling create_control_socket for oid 27
[Feb 14 09:59:49] DEBUG[5597]: core.cpp:315 create_control_socket: creating socket sfa-control-0x96ba548-0000001b
[Feb 14 09:59:49] DEBUG[5562]: chan_skype.c:3615 do_monitor: entering poll for 2 fds
-- Called zabodaj
[Feb 14 09:59:50] DEBUG[5562]: chan_skype.c:3625 do_monitor: poll returned 1
[Feb 14 09:59:50] NOTICE[5562]: core.cpp:591 transport_log: TRANSPORT: Got message (len=45) "c 1985 2070 1136="27" 1549="1530" 1664="1115""
[Feb 14 09:59:50] DEBUG[5562]: chan_skype.c:3615 do_monitor: entering poll for 2 fds
[Feb 14 09:59:50] DEBUG[5597]: chan_skype.c:876 queue_event: got control event type 4 with subclass 3.
-- Skype/abitel-skype-09741d90 is ringing
[Feb 14 09:59:53] DEBUG[5597]: core.cpp:1652 sfa_call_process: accepting socket connection from voice engine
[Feb 14 09:59:53] DEBUG[5562]: chan_skype.c:3625 do_monitor: poll returned 1
[Feb 14 09:59:53] NOTICE[5562]: core.cpp:591 transport_log: TRANSPORT: Got message (len=45) "c 1985 2070 1136="27" 1549="1530" 1664="1409""
[Feb 14 09:59:53] DEBUG[5562]: chan_skype.c:3615 do_monitor: entering poll for 2 fds
[Feb 14 09:59:53] NOTICE[5597]: core.cpp:591 transport_log: TRANSPORT: Wrote message "a 1132 1572 1136="26" 1898="1937""
[Feb 14 09:59:53] DEBUG[5597]: chan_skype.c:876 queue_event: got control event type 4 with subclass 4.
[Feb 14 09:59:53] DEBUG[5562]: chan_skype.c:3625 do_monitor: poll returned 1
[Feb 14 09:59:53] NOTICE[5562]: core.cpp:591 transport_log: TRANSPORT: Got message (len=1) "b"
[Feb 14 09:59:53] DEBUG[5562]: chan_skype.c:3615 do_monitor: entering poll for 2 fds
[Feb 14 09:59:53] DEBUG[5597]: core.cpp:1625 process_ve_frame: received audio socket address 127.0.0.1:40580
[Feb 14 09:59:53] DEBUG[5597]: core.cpp:1777 sfa_call_set_audio_socket_address: sending audio socket address 127.0.0.1:12212
-- Skype/abitel-skype-09741d90 answered SIP/2202-096d36c0
Segmentation fault
[root@localhost asterisk]#

если запускать через дебаг, то выдает следующее:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x1c47b90 (LWP 7076)]
ast_rtp_read (rtp=0x9ebb4c8) at rtp.c:1458
1458 if (rtp->rtcp->rxjitter_count == 1)
Missing separate debuginfos, use: debuginfo-install gcc.i386 glibc.i686 libtermcap.i386

Помогите пожалуйста разобраться. Спасибо!
2010-11-25 15:29

Avatara of zzuz
Откуда: SPb
Сообщений: 1307

Re: Asterisk<->Skype Segmentation fault

как астериск и скайп собраны?
http://линия24.рф - Астериск и прочие бубны!
2010-11-25 16:29

Сообщений: 9

Re: Asterisk<->Skype Segmentation fault

asterisk 1.6.1.1 собирался до меня. но судя по архивам ставился в ручную, т.е. не через apt или yum.
skype - скачал sfa, зарегистрировал канал, настроил.

chan_skype.conf:

[general]
engine_directory=/home/skype
debug=yes

[дочерний_аккаунт]
secret=ххххх
context=sip
disallow=all
allow=ulaw
allow=alaw


[sip]
exten => дочерний_аккаунт,1,Dial(SIP/2202)
exten => 7666,1,Dial(Skype/дочерний_акк@удаленный_аккаунт_skype)
2010-11-25 16:41

Avatara of zzuz
Откуда: SPb
Сообщений: 1307

Re: Asterisk<->Skype Segmentation fault

SFA разные бывают!
http://линия24.рф - Астериск и прочие бубны!
2010-11-25 17:05

Сообщений: 9

Re: Asterisk<->Skype Segmentation fault

skypeforasterisk-1.6.1_1.1.2-x86_32.tar.gz
2010-11-25 17:18

Avatara of zzuz
Откуда: SPb
Сообщений: 1307

Re: Asterisk<->Skype Segmentation fault

в папочке если собрать его снова , ошибки не вываливаются?
http://линия24.рф - Астериск и прочие бубны!
2010-11-26 11:50

Сообщений: 9

Re: Asterisk<->Skype Segmentation fault

Была ошибка, что часы неправильно стоят посему chan_skype может быть неправильно установлен. через date часы отредактировал, еще раз собрал ошибка перестала валиться, но результат тот же.
2010-11-26 11:56

Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru