Elastix и Ericsson MD110 через H323
Состыковал Elastix и MD110 через ooh323.
При звонке с elastix на телефон MD вызов проходит, но при поднятии трубки происходит обрыв соединения.
ooh323.conf
[general]
port=1720
bindaddr=172.22.197.22
disallow=all
allow=g729
allow=ulaw
gatekeeper = DISABLE
faststart=yes
h245inSetup=yes
dtmfmode=rfc2833
accountCode=H323
context=test
extensions_custom.conf
[test]
exten => 9600,1,Dial(OOH323/${EXTEN}@172.22.208.159)
Вот лог:
-- Executing [9600@test:1] Dial("SIP/200-095d0f68", "OOH323/9600@172.22.208.159") in new stack
--- ooh323_request - data 9600@172.22.208.159 format 0x4 (ulaw)
--- find_peer "172.22.208.159"
+++ find_peer "172.22.208.159"
+++ ooh323_request
--- ooh323_call- 9600@172.22.208.159
--- onNewCallCreated ooh323c_o_5
--- find_call
+++ find_call
setting callid number 200
Outgoing call 172.22.208.159(ooh323c_o_5) - Codec prefs - (g729|ulaw)
Adding capabilities to call(outgoing, ooh323c_o_5)
Adding g729A capability to call(outgoing, ooh323c_o_5)
Adding g729 capability to call(outgoing, ooh323c_o_5)
Adding g711 ulaw capability to call(outgoing, ooh323c_o_5)
--- configure_local_rtp
+++ configure_local_rtp
+++ onNewCallCreated ooh323c_o_5
+++ ooh323_call
-- Called 9600@172.22.208.159
--- onAlerting ooh323c_o_5
--- find_call
+++ find_call
+++ onAlerting ooh323c_o_5
-- OOH323/172.22.208.159-2180 is ringing
--- onCallEstablished ooh323c_o_5
--- find_call
+++ find_call
-- OOH323/172.22.208.159-2180 answered SIP/200-095d0f68
----- ooh323_indicate 20 on call ooh323c_o_5
++++ ooh323_indicate 20 on ooh323c_o_5
-- Packet2Packet bridging SIP/200-095d0f68 and OOH323/172.22.208.159-2180
+++ onCallEstablished ooh323c_o_5
--- onCallCleared ooh323c_o_5
--- find_call
+++ find_call
--- ooh323_hangup
hanging 172.22.208.159
+++ ooh323_hangup
== Spawn extension (test, 9600, 1) exited non-zero on 'SIP/200-095d0f68'
--- ooh323_destroy
Destroying 172.22.208.159
+++ ooh323_destroy
[test]
exten => 9,1,Answer()
exten => 9,n,Dial(SIP/202)
exten => 9699,1,Answer()
;exten => 9699,n,Set(LANGUAGE()=ru)
exten => 9699,n,Playback(zdravstujte)
exten => 9699,n,Hangup()
;exten => 202,n,Wait(5)
;exten => 202,n,Hangup()
;exten => 9699,1,Dial(SIP/203)
;exten => 9600,1,Set(CALLERID(all)=8600 <8600>)
exten => 9600,1,Dial(OOH323/${EXTEN}@172.22.208.159)
В чем может быть причина обрыва?
Заранее спасибо.
|