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
Код: Выделить всё
[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