Dear all,
I need help in fixing a call issue between Elastix 4 and Alcatel OmniPCX using an H323 trunk.
When i call an extension on the Alcatel OmniPCX using a sip extension on Elastix, i hear a ring on my side but the receiver on the alcatel end does not hear any rings. Eventually i get an all circuits are busy message after several rings.
When an extension from the Alcatel side calls my sip extension on Elastix, i hear the ring but when i pick up the call, i dont hear anything on from the caller.
My /etc/asterisk/ooh323.conf looks like this:
[general]
port = 1720
bindaddr = xx.xx.xx.xxx ; My Elastix sever IP
disallow = all
allow = g729
allow = alaw
allow = ulaw
allow = gsm
allow = g723
dtmfmode=rfc2833
context = from-internal
progress_setup = 8
progress_alert = 8
gatekeeper = disable
h245tunneling = yes
faststart = no
h245inSetup = yes
silenceSuppression=no
h323id=ObjSysAsterisk
e164=100
callerid=asterisk
[NMG_HQ_PBX]
type = friend
context = from-internal
host = 172.16.5.152
ip = 172.16.5.152
port = 1720
disallow = all
allow = g729
allow = alaw
allow = ulaw
allow = gsm
allow = g723
dtmfmode=rfc2833
tail -f /var/log/asterisk/h323_log
Stack trace:21:03:00:246 Error:Failed to encode H245 message. (incoming, ooh323c_1)
21:03:00:246 Error:Failed to enqueue TCS message to outbound queue. (incoming, ooh323c_1)
21:03:00:246 ERROR:Sending Terminal capability message (incoming, ooh323c_1)
21:03:00:246 Asn1Error: -24 at ooh323c/src/encode.c:350
21:03:00:246 ERROR: H245 Message encoding failed (incoming, ooh323c_1)
21:03:00:246 ASN.1 ERROR: Status -24
Stack trace:21:03:00:246 Error:Failed to encode H245 message. (incoming, ooh323c_1)
21:03:00:246 Error:Failed to enqueue TCS message to outbound queue. (incoming, ooh323c_1)
C
[root@abulcoms ~]# tail -20 /var/log/asterisk/h323_log
21:02:59:943 Asn1Error: -24 at ooh323c/src/encode.c:350
21:02:59:943 ERROR: H245 Message encoding failed (incoming, ooh323c_1)
21:02:59:943 ASN.1 ERROR: Status -24
Stack trace:21:02:59:943 Error:Failed to encode H245 message. (incoming, ooh323c_1)
21:02:59:943 Error:Failed to enqueue TCS message to outbound queue. (incoming, ooh323c_1)
21:02:59:943 ERROR:Sending Terminal capability message (incoming, ooh323c_1)
21:03:00:246 Asn1Error: -24 at ooh323c/src/encode.c:350
21:03:00:246 ERROR: H245 Message encoding failed (incoming, ooh323c_1)
21:03:00:246 ASN.1 ERROR: Status -24
Stack trace:21:03:00:246 Error:Failed to encode H245 message. (incoming, ooh323c_1)
21:03:00:246 Error:Failed to enqueue TCS message to outbound queue. (incoming, ooh323c_1)
21:03:00:246 ERROR:Sending Terminal capability message (incoming, ooh323c_1)
21:03:00:246 Asn1Error: -24 at ooh323c/src/encode.c:350
21:03:00:246 ERROR: H245 Message encoding failed (incoming, ooh323c_1)
21:03:00:246 ASN.1 ERROR: Status -24
Stack trace:21:03:00:246 Error:Failed to encode H245 message. (incoming, ooh323c_1)
21:03:00:246 Error:Failed to enqueue TCS message to outbound queue. (incoming, ooh323c_1)
[root@abulcoms ~]# tail -30 /var/log/asterisk/h323_log
Stack trace:21:02:59:943 Error:Failed to encode H245 message. (incoming, ooh323c_1)
21:02:59:943 Error:Failed to enqueue TCS message to outbound queue. (incoming, ooh323c_1)
21:02:59:943 ERROR:Sending Terminal capability message (incoming, ooh323c_1)
21:02:59:943 Asn1Error: -24 at ooh323c/src/encode.c:350
21:02:59:943 ERROR: H245 Message encoding failed (incoming, ooh323c_1)
21:02:59:943 ASN.1 ERROR: Status -24
Stack trace:21:02:59:943 Error:Failed to encode H245 message. (incoming, ooh323c_1)
21:02:59:943 Error:Failed to enqueue TCS message to outbound queue. (incoming, ooh323c_1)
21:02:59:943 ERROR:Sending Terminal capability message (incoming, ooh323c_1)
21:02:59:943 Asn1Error: -24 at ooh323c/src/encode.c:350
21:02:59:943 ERROR: H245 Message encoding failed (incoming, ooh323c_1)
21:02:59:943 ASN.1 ERROR: Status -24
Stack trace:21:02:59:943 Error:Failed to encode H245 message. (incoming, ooh323c_1)
21:02:59:943 Error:Failed to enqueue TCS message to outbound queue. (incoming, ooh323c_1)
21:02:59:943 ERROR:Sending Terminal capability message (incoming, ooh323c_1)
21:03:00:246 Asn1Error: -24 at ooh323c/src/encode.c:350
21:03:00:246 ERROR: H245 Message encoding failed (incoming, ooh323c_1)
21:03:00:246 ASN.1 ERROR: Status -24
Stack trace:21:03:00:246 Error:Failed to encode H245 message. (incoming, ooh323c_1)
21:03:00:246 Error:Failed to enqueue TCS message to outbound queue. (incoming, ooh323c_1)
21:03:00:246 ERROR:Sending Terminal capability message (incoming, ooh323c_1)
21:03:00:246 Asn1Error: -24 at ooh323c/src/encode.c:350
21:03:00:246 ERROR: H245 Message encoding failed (incoming, ooh323c_1)
21:03:00:246 ASN.1 ERROR: Status -24
Stack trace:21:03:00:246 Error:Failed to encode H245 message. (incoming, ooh323c_1)
21:03:00:246 Error:Failed to enqueue TCS message to outbound queue. (incoming, ooh323c_1)
Asterisk -vvvvr
Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:31] NoOp("SIP/600-0000000b", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 111") in new stack
-- Executing [s@macro-dialout-trunk:32] GotoIf("SIP/600-0000000b", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/600-0000000b", "RC=111") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/600-0000000b", "111,1") in new stack
-- Goto (macro-dialout-trunk,111,1)
-- Executing [111@macro-dialout-trunk:1] Goto("SIP/600-0000000b", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/600-0000000b", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 111 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("SIP/600-0000000b", "CALLERID(number)=600") in new stack
-- Executing [8257@from-internal:7] Macro("SIP/600-0000000b", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/600-0000000b", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/600-0000000b", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/600-0000000b", "1?intracompany,1") in new stack
-- Goto (macro-outisbusy,intracompany,1)
-- Executing [intracompany@macro-outisbusy:1] Playback("SIP/600-0000000b", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/600-0000000b> Playing 'all-circuits-busy-now.gsm' (language 'en')
> 0x7f0ee001d020 -- Probation passed - setting RTP source address to 172.17.240.106:5004
[2017-02-03 21:25:40] WARNING[19520][C-00000039]: file.c:701 ast_openstream_full: File pls-try-call-later does not exist in any format
[2017-02-03 21:25:40] WARNING[19520][C-00000039]: file.c:1017 ast_streamfile: Unable to open pls-try-call-later (format (alaw)): No such file or directory
[2017-02-03 21:25:40] WARNING[19520][C-00000039]: app_playback.c:484 playback_exec: ast_streamfile failed on SIP/600-0000000b for all-circuits-busy-now&pls-try-call-later, noanswer
-- Executing [intracompany@macro-outisbusy:2] Congestion("SIP/600-0000000b", "20") in new stack
[2017-02-03 21:25:40] WARNING[19520][C-00000039]: channel.c:4863 ast_prod: Prodding channel 'SIP/600-0000000b' failed
== Spawn extension (macro-outisbusy, intracompany, 2) exited non-zero on 'SIP/600-0000000b' in macro 'outisbusy'
== Spawn extension (from-internal, 8257, 7) exited non-zero on 'SIP/600-0000000b'
-- Executing [h@from-internal:1] Hangup("SIP/600-0000000b", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/600-0000000b'