ВидеоКонф(ВКС)  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

не проходит входящий звонок overlap

Новичком считается только что прочитавший «Астериск - будущее телефонии»
http://asterisk.ru/knowledgebase/books
и пытающийся сделать большее

Модераторы: april22, Zavr2008

не проходит входящий звонок overlap

Сообщение ilya23 » 27 дек 2018, 15:47

Здравствуйте. У меня транк на астер идет через ooh323 с гибридной АТС. АТС отдает набор в сторону астера по одной цифре и астериск (в зависимости от скорости нажатия цифр) этот набор ловит частично - первые две или три цифры из четырех, после чего сообщает что такого двух-трех-значного экстеншена у него нет и сбрасывает соединение. Если передавать номер пакетом или постараться набрать очень быстро, то звонки проходят.
ooh323.conf
Код: выделить все
[general]
port=1720
bindaddr=0.0.0.0
h323id=Asterisk
e164=100
callerid=Asterisk
gateway=yes
gatekeeper = DISABLE
logfile=/var/log/asterisk/h323_log
context=from-internal
rtptimeout=60
disallow=all
allow=alaw,ulaw,g729,gsm
dtmfmode=rfc2833
faststart=no
h245tunneling=no
tos=lowdelay
;tos=none
directmedia=no
userInputMode=TONE
progress_setup=8
progress_alert=8
signaltracelevel=6
amaflags=billing
mediawaitforconnect=no
progress_audio=yes
srvlookup=no
directrtpsetup=no
canreinvite=no
UserByAlias=no
[ip1]
type=friend
context=from-internal
ip=192.168.14.61
port=1720
disalow=all
allow=alaw,ulaw,g729,gsm
rtptimeout=60
dtmfmode=rfc2833

extensions.conf
Код: выделить все
[from-internal]
exten => _19XX,1,Dial(SIP/${EXTEN})

Код: выделить все
CLI>
---   onNewCallCreated b6debb70: ooh323c_111
+++   onNewCallCreated ooh323c_111
---   ooh323_onReceivedSetup ooh323c_111
---   ooh323_alloc
+++   ooh323_alloc
---   find_user: (null), 192.168.14.61
+++   find_user
        Adding capabilities to call(incoming, ooh323c_111)
        Adding g711 alaw capability to call(incoming, ooh323c_111)
        Adding g711 ulaw capability to call(incoming, ooh323c_111)
        Adding g729A capability to call(incoming, ooh323c_111)
        Adding g729 capability to call(incoming, ooh323c_111)
        Adding g729B capability to call(incoming, ooh323c_111)
        Adding gsm capability to call(incoming, ooh323c_111)
---   ooh323_new - ip2
+++   h323_new
---   configure_local_rtp
[Dec 27 14:12:00] WARNING[32058][C-0000006e]: pbx.c:4418 __ast_pbx_run: Channel 'OOH323/ip1-110' sent to invalid extension but no invalid handler: context,exten,priority=from-internal,19,1
  == Using ooh323-rtp TOS bits 16
---   ooh323_hangup
    hanging ip2 with cause: 16
+++   ooh323_hangup
[Dec 27 14:12:00] ERROR[32057]: chan_ooh323.c:4631 configure_local_rtp: Channel has no owner
[Dec 27 14:12:00] ERROR[32057]: chan_ooh323.c:2004 ooh323_onReceivedSetup: Couldn't create rtp structure
---   onCallCleared ooh323c_111
---   find_call
+++   find_call
+++   onCallCleared
---   ooh323_destroy
Destroying ip1
Destroying ooh323c_111
---   find_user: (null), 192.168.14.62
+++   find_user
+++   ooh323_destroy

Код: выделить все
CLI>
---   onNewCallCreated b6debb70: ooh323c_110
+++   onNewCallCreated ooh323c_110
---   ooh323_onReceivedSetup ooh323c_110
---   ooh323_alloc
+++   ooh323_alloc
---   find_user: (null), 192.168.14.61
+++   find_user
        Adding capabilities to call(incoming, ooh323c_110)
        Adding g711 alaw capability to call(incoming, ooh323c_110)
        Adding g711 ulaw capability to call(incoming, ooh323c_110)
        Adding g729A capability to call(incoming, ooh323c_110)
        Adding g729 capability to call(incoming, ooh323c_110)
        Adding g729B capability to call(incoming, ooh323c_110)
        Adding gsm capability to call(incoming, ooh323c_110)
---   ooh323_new - ip1
+++   h323_new
---   configure_local_rtp
[Dec 27 14:11:20] WARNING[32055][C-0000006d]: pbx.c:4418 __ast_pbx_run: Channel 'OOH323/ip1-109' sent to invalid extension but no invalid handler: context,exten,priority=from-internal,190,1
---   ooh323_hangup
  == Using ooh323-rtp TOS bits 16
    hanging ip1 with cause: 16
+++   ooh323_hangup
[Dec 27 14:11:20] ERROR[32054]: chan_ooh323.c:4631 configure_local_rtp: Channel has no owner
[Dec 27 14:11:20] ERROR[32054]: chan_ooh323.c:2004 ooh323_onReceivedSetup: Couldn't create rtp structure
---   onCallCleared ooh323c_110
---   find_call
+++   find_call
+++   onCallCleared
---   ooh323_destroy
Destroying ip1
Destroying ooh323c_110
---   find_user: (null), 192.168.14.61
+++   find_user
+++   ooh323_destroy

Код: выделить все
CLI>
---   onNewCallCreated b6debb70: ooh323c_116
+++   onNewCallCreated ooh323c_116
---   ooh323_onReceivedSetup ooh323c_116
---   ooh323_alloc
+++   ooh323_alloc
---   find_user: (null), 192.168.14.61
+++   find_user
        Adding capabilities to call(incoming, ooh323c_116)
        Adding g711 alaw capability to call(incoming, ooh323c_116)
        Adding g711 ulaw capability to call(incoming, ooh323c_116)
        Adding g729A capability to call(incoming, ooh323c_116)
        Adding g729 capability to call(incoming, ooh323c_116)
        Adding g729B capability to call(incoming, ooh323c_116)
        Adding gsm capability to call(incoming, ooh323c_116)
---   ooh323_new - ip1
+++   h323_new
---   configure_local_rtp
    -- Executing [1900@from-internal:1] Dial("OOH323/ip1-115", "SIP/1900") in new stack
  == Using ooh323-rtp TOS bits 16
+++   configure_local_rtp
+++   ooh323_onReceivedSetup - Determined context from-internal, extension 1900
  == Using SIP RTP CoS mark 5
+++ ooh323  get_rtp_peer
ooh323_get_rtp_peer  OOH323/ip1-115 -> (null):0, 2
--- ooh323  get_rtp_peer, res = 2
    -- Called SIP/1900
----- ooh323_indicate 22 on call ooh323c_116
++++  ooh323_indicate 22 on ooh323c_116 is -1
----- ooh323_indicate 33 on call ooh323c_116
++++  ooh323_indicate 33 on ooh323c_116 is -1
----- ooh323_indicate 33 on call ooh323c_116
++++  ooh323_indicate 33 on ooh323c_116 is -1
    -- SIP/1900-00000012 is ringing
+++ ooh323  get_rtp_peer
ooh323_get_rtp_peer  OOH323/ip1-115 -> (null):0, 2
--- ooh323  get_rtp_peer, res = 2
----- ooh323_indicate 3 on call ooh323c_116
++++  ooh323_indicate 3 on ooh323c_116 is -1
---   ooh323_update_writeformat alaw/20
---   find_call
+++   find_call
Writeformat before update slin/(alaw)
+++   ooh323_update_writeformat
---   setup_rtp_connection 192.168.14.61:17264
---   find_call
+++   find_call
       > 0xb3100018 -- Strict RTP learning after remote address set to: 192.168.14.61:17264
+++   setup_rtp_connection
       > 0xb3100018 -- Strict RTP switching to RTP target address 192.168.14.61:17264 as source
       > 0xb3100018 -- Strict RTP learning complete - Locking on source address 192.168.14.61:17264
       > 0x9d31948 -- Strict RTP learning after remote address set to: 192.168.14.105:17000
----- ooh323_indicate 33 on call ooh323c_116
++++  ooh323_indicate 33 on ooh323c_116 is -1
    -- SIP/1900-00000012 answered OOH323/ip1-115
+++ ooh323  get_rtp_peer
ooh323_get_rtp_peer  OOH323/ip1-115 -> 192.168.14.61:17264, 2
--- ooh323  get_rtp_peer, res = 2
--- ooh323_answer
+++ ooh323_answer
----- ooh323_indicate -1 on call ooh323c_116
++++  ooh323_indicate -1 on ooh323c_116 is -1
    -- Channel SIP/1900-00000012 joined 'simple_bridge' basic-bridge <ac890731-9f6b-4714-9fa1-d7a4a702fc2f>
    -- Channel OOH323/ip1-115 joined 'simple_bridge' basic-bridge <ac890731-9f6b-4714-9fa1-d7a4a702fc2f>
+++ ooh323  get_rtp_peer
ooh323_get_rtp_peer  OOH323/ip1-115 -> 192.168.14.61:17264, 2
--- ooh323  get_rtp_peer, res = 2
+++ ooh323  get_codec, OOH323/ip1-115
--- ooh323  get_codec, OOH323/ip1-115
       > Bridge ac890731-9f6b-4714-9fa1-d7a4a702fc2f: switching from simple_bridge technology to native_rtp
+++ ooh323  get_rtp_peer
ooh323_get_rtp_peer  OOH323/ip1-115 -> 192.168.14.61:17264, 2
--- ooh323  get_rtp_peer, res = 2
       > Locally RTP bridged 'OOH323/ip1-115' and 'SIP/1900-00000012' in stack
----- ooh323_indicate 26 on call ooh323c_116
++++  ooh323_indicate 26 on ooh323c_116 is -1
+++ ooh323  get_rtp_peer
ooh323_get_rtp_peer  OOH323/ip1-115 -> 192.168.14.61:17264, 2
--- ooh323  get_rtp_peer, res = 2
+++ ooh323  get_codec, OOH323/ip1-115
--- ooh323  get_codec, OOH323/ip1-115
+++ ooh323  get_rtp_peer
ooh323_get_rtp_peer  OOH323/ip1-115 -> 192.168.14.61:17264, 2
--- ooh323  get_rtp_peer, res = 2
+++ ooh323  get_codec, OOH323/ip1-115
--- ooh323  get_codec, OOH323/ip1-115
---   onCallEstablished ooh323c_116
---   find_call
+++   find_call
+++   onCallEstablished ooh323c_116
       > 0x9d31948 -- Strict RTP switching to RTP target address 192.168.14.105:17000 as source
---   onCallCleared ooh323c_116
---   find_call
+++   find_call
+++   onCallCleared
    -- Channel OOH323/ip1-115 left 'native_rtp' basic-bridge <ac890731-9f6b-4714-9fa1-d7a4a702fc2f>
    -- Channel SIP/1900-00000012 left 'native_rtp' basic-bridge <ac890731-9f6b-4714-9fa1-d7a4a702fc2f>
  == Spawn extension (from-internal, 1900, 1) exited non-zero on 'OOH323/ip1-115'
---   ooh323_hangup
+++   ooh323_hangup
---   ooh323_destroy
Destroying ip1
Destroying ooh323c_116
---   find_user: (null), 192.168.14.61
+++   find_user
+++   ooh323_destroy
ilya23
 
Сообщений: 1
Зарегистрирован: 27 дек 2018, 15:31

Вернуться в Вопросы новичков

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 29

© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH