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

Входящие

Сообщений: 15

Входящие

Добрый день!

буду признателен за любую помощь
не получаеться добиться приема входящего (920010) на софтфон SIP/200
исходящая связь рабатает!
система Asterisk@Home, Cisco5300
астериск выдает такую ошибку:

-- Executing AbsoluteTimeout("SIP/920010-6860", "15") in new stack
-- Set Absolute Timeout to 15
-- Executing Congestion("SIP/920010-6860", "") in new stack
== Spawn extensoin (from-sip-external, 920010, 2) exited non-zero on 'SIP/920010-6860'
-- Executing AbsoluteTimeout("SIP/920010-6860", "15") in new stack
-- Set Absolute Timeout to 15
-- Executing Congestion("SIP/920010-6860", "") in new stack
== Spawn extensoin (from-sip-external, h, 2) exited non-zero on 'SIP/920010-6860'

в чем тут проблема?
заранее спасибо!
2006-04-03 10:48

Сообщений: 33

Re: Входящие

совершенно непонятная схема.
2006-04-03 11:48

Сообщений: 15

Re: Входящие

оператор отдает в поток (PRI) номера на 92XXXX
поток идет в Cisco 5300 оттуда в локальную сеть
на PC пользователей установлены Softphone eyeBeam
между собой и на город могут без проблем выходить
а вот входящие на софтфон не идут
2006-04-03 12:28

Avatara of litnimax
Откуда: Москва
Сообщений: 3421

Re: Входящие

А вы дайте весь лог.
Можно сюда, тогда не забудьте сделать Disable emoticons внизу.
Либо на http://www.pastebin.ca со ссылкой сюда.
http://pbxware.ru - все для Asterisk! || Switchvox - сделано на Asterisk! Подробности на http://switchvox.ru
2006-04-03 13:50

Сообщений: 15

Re: Входящие

часть лога
Apr 3 17:27:24 NOTICE[2328] chan_sip.c: -- Registration for '920190@212.XXX.XXX.XXX' timed out, trying again (Attempt #13722)
Apr 3 17:27:24 DEBUG[2328] chan_sip.c: Stopping retransmission on '754fbc3f0327496938180cc64f24ca8d@127.0.0.1' of Request 13823: Match Found
Apr 3 17:27:24 DEBUG[2328] chan_sip.c: Scheduled a registration timeout for 212.XXX.XXX.XXX id #138898
Apr 3 17:27:24 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:24 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 754fbc3f0327496938180cc64f24ca8d@127.0.0.1
Apr 3 17:27:24 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:24 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 2a1d39636faf9ddf258fb24d1f36dfb8@127.0.0.1
Apr 3 17:27:24 NOTICE[2328] chan_sip.c: -- Registration for '920190@212.XXX.XXX.XXX' timed out, trying again (Attempt #13801)
Apr 3 17:27:24 DEBUG[2328] chan_sip.c: Stopping retransmission on '0510615d5e59f56c779d09b029c39cf6@127.0.0.1' of Request 13902: Match Found
Apr 3 17:27:24 DEBUG[2328] chan_sip.c: Scheduled a registration timeout for 212.XXX.XXX.XXX id #138900
Apr 3 17:27:24 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:24 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 0510615d5e59f56c779d09b029c39cf6@127.0.0.1
Apr 3 17:27:24 NOTICE[2328] chan_sip.c: -- Registration for '920190@212.XXX.XXX.XXX' timed out, trying again (Attempt #13798)
Apr 3 17:27:24 DEBUG[2328] chan_sip.c: Stopping retransmission on '4c48d2f9788dab5a3190783636a0d994@127.0.0.1' of Request 13899: Match Found
Apr 3 17:27:24 DEBUG[2328] chan_sip.c: Scheduled a registration timeout for 212.XXX.XXX.XXX id #138902
Apr 3 17:27:24 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:24 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 4c48d2f9788dab5a3190783636a0d994@127.0.0.1
Apr 3 17:27:25 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:25 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 754fbc3f0327496938180cc64f24ca8d@127.0.0.1
Apr 3 17:27:25 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:25 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 6df7078341bf0bc22d3e939912b5e561@127.0.0.1
Apr 3 17:27:25 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:25 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 0510615d5e59f56c779d09b029c39cf6@127.0.0.1
Apr 3 17:27:25 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:25 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 4c48d2f9788dab5a3190783636a0d994@127.0.0.1
Apr 3 17:27:26 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:26 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 754fbc3f0327496938180cc64f24ca8d@127.0.0.1
Apr 3 17:27:26 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:26 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 0510615d5e59f56c779d09b029c39cf6@127.0.0.1
Apr 3 17:27:26 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:26 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 4c48d2f9788dab5a3190783636a0d994@127.0.0.1
Apr 3 17:27:26 DEBUG[2328] chan_sip.c: Setting NAT on RTP to 0
Apr 3 17:27:26 DEBUG[2328] chan_sip.c: Checking SIP call limits for device 920010
Apr 3 17:27:26 DEBUG[2328] chan_sip.c: build_route: Contact hop:
Apr 3 17:27:26 VERBOSE[8683] logger.c: -- Executing AbsoluteTimeout("SIP/920010-1981", "15") in new stack
Apr 3 17:27:26 VERBOSE[8683] logger.c: -- Set Absolute Timeout to 15
Apr 3 17:27:26 VERBOSE[8683] logger.c: -- Executing Congestion("SIP/920010-1981", "") in new stack
Apr 3 17:27:26 DEBUG[2328] chan_sip.c: Stopping retransmission on '3560655C-C23311DA-8BACC716-CF831204@212.XXX.XXX.XXX' of Response 101: Match Not Found
Apr 3 17:27:26 VERBOSE[8683] logger.c: == Spawn extension (from-sip-external, 920010, 2) exited non-zero on 'SIP/920010-1981'
Apr 3 17:27:26 VERBOSE[8683] logger.c: -- Executing AbsoluteTimeout("SIP/920010-1981", "15") in new stack
Apr 3 17:27:26 VERBOSE[8683] logger.c: -- Set Absolute Timeout to 15
Apr 3 17:27:26 VERBOSE[8683] logger.c: -- Executing Congestion("SIP/920010-1981", "") in new stack
Apr 3 17:27:26 VERBOSE[8683] logger.c: == Spawn extension (from-sip-external, h, 2) exited non-zero on 'SIP/920010-1981'
Apr 3 17:27:26 DEBUG[8683] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Apr 3 17:27:26 DEBUG[8683] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES ('2006-04-03 17:27:26','\"920190\" <920190>','920190','920010','from-sip-external', 'SIP/920010-1981','','Congestion','',0,0,'NO ANSWER',3,'','1144099646.167')
Apr 3 17:27:26 DEBUG[8683] chan_sip.c: update_call_counter(920010) - decrement call limit counter
Apr 3 17:27:28 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:28 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 754fbc3f0327496938180cc64f24ca8d@127.0.0.1
Apr 3 17:27:28 NOTICE[2328] chan_sip.c: -- Registration for '920190@212.XXX.XXX.XXX' timed out, trying again (Attempt #13811)
Apr 3 17:27:28 DEBUG[2328] chan_sip.c: Stopping retransmission on '2a1d39636faf9ddf258fb24d1f36dfb8@127.0.0.1' of Request 13912: Match Found
Apr 3 17:27:28 DEBUG[2328] chan_sip.c: Scheduled a registration timeout for 212.XXX.XXX.XXX id #138904
Apr 3 17:27:28 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:28 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 2a1d39636faf9ddf258fb24d1f36dfb8@127.0.0.1
Apr 3 17:27:28 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:28 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 0510615d5e59f56c779d09b029c39cf6@127.0.0.1
Apr 3 17:27:28 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:28 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 4c48d2f9788dab5a3190783636a0d994@127.0.0.1
Apr 3 17:27:29 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:29 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 2a1d39636faf9ddf258fb24d1f36dfb8@127.0.0.1
Apr 3 17:27:29 NOTICE[2328] chan_sip.c: -- Registration for '920190@212.XXX.XXX.XXX' timed out, trying again (Attempt #13724)
Apr 3 17:27:29 DEBUG[2328] chan_sip.c: Stopping retransmission on '6df7078341bf0bc22d3e939912b5e561@127.0.0.1' of Request 13825: Match Found
Apr 3 17:27:29 DEBUG[2328] chan_sip.c: Scheduled a registration timeout for 212.XXX.XXX.XXX id #138906
Apr 3 17:27:29 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:29 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 6df7078341bf0bc22d3e939912b5e561@127.0.0.1
Apr 3 17:27:30 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:30 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 2a1d39636faf9ddf258fb24d1f36dfb8@127.0.0.1
Apr 3 17:27:30 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:30 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 6df7078341bf0bc22d3e939912b5e561@127.0.0.1
Apr 3 17:27:31 ERROR[2328] chan_sip.c: Missing Cseq. Dropping this SIP message, it's incomplete.
Apr 3 17:27:31 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 6df7078341bf0bc22d3e939912b5e561@127.0.0.1
Apr 3 17:27:31 DEBUG[2328] chan_sip.c: SIP message could not be handled, bad request: 6df7078341bf0bc22d3e939912b5e561@127.0.0.1
2006-04-03 14:33

Сообщений: 6521

Re: Входящие

А прописаны у тебя Inbound routing?
DID number = 920010
Set Destination - Extension 200
2006-04-03 21:49

Сообщений: 15

Re: Входящие

Я пробовал разные варианты в Inbound routing
ошибка остаеться неизменной
лог ошибки именно при таких установках
DID number = 920010
Set Destination - Extension 200
2006-04-04 11:15

Сообщений: 6521

Re: Входящие

Судя по первому посту у тебя исполняется контекст

[from-sip-external]
exten => _.,1,AbsoluteTimeout(15)
exten => _.,2,Goto(ext-group,1,1)
exten => _.,3,Congestion
exten => _.,4,Hangup

который находится в extensions.confб туда попадают звонки с входящих СИП транков, которые описаны статическими пирами, а не динамическими sip-ua. Если так, то игнорируется значение контекста, котоорое ты указал для этого пира, и всё валится в from-sip-external. Варианты - написать там руками include => ext-did или ext-local; другой вариант ещё тупее - exten => 920010,1,Goto(ext-local,200,1) а выше указаные exten => _.,1, замаркерить.

Судя по логу - видны периодические попытки регистрации у провайдера которые неправильно сформированы - Dropping this SIP message, у тебя какая то кривота в настройках, прописано типа register e164 на циске? Или ты свой ИД регистрируешь в СИПнете? Registration for '920190@212.XXX.XXX.XXX'
2006-04-04 23:45

Сообщений: 15

Re: Входящие

СПАСИБО ded, помогло !
я грешил на CISCO
считал из-за нее нет входящих
2006-04-05 10:58

Добавить страницу в закладки:  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