[asterisk-users] H323 Trunk Problem calling from Asterisk to Avaya PBX

Shina Owolabi shinacalypse at gmail.com
Wed Jun 16 10:38:44 CDT 2010


On Wed, Jun 16, 2010 at 4:35 PM, Shina Owolabi <shinacalypse at gmail.com>wrote:

> Hi!
> I've installed Asterisk 1.4.32 with freepbx-2.6.0 in an attempt to provide
> a conference bridge for an existing Avaya PBX. I have no control over the
> Avaya system, but I am able to speak with the admin in charge when I need
> stuff done. I am running all this in a VirtualBox virtual instance, with
> CentOS 5.4 as the asterisk's host operating system.
>
> I configured a h323 trunk asterisk based on a few guides I discovered
> online, and I created a single sip extension (to test), and I am able to
> make a call from the Avaya PBX extensions successfully to my
> asterisk-freepbx virtual machine.
>
> The problem is when I try to make calls from Asterisk to Avaya, I get no
> sound whatsover and the call just keeps trying indefinitely until I end it.
> (I've used Twinkle and Ekiga softphones).
>
> This is what I find in the logs:
>
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: Macro
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:12] ExecIf("SIP/16000-00000002",
> "0|AGI|fixlocalprefix") in new stack
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: ExecIf
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:13] Set("SIP/16000-00000002", "OUTNUM=18151") in
> new stack
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: Set
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:14] Set("SIP/16000-00000002", "custom=AMP") in new
> stack
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: Set
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:15] ExecIf("SIP/16000-00000002",
> "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: ExecIf
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:16] Macro("SIP/16000-00000002",
> "dialout-trunk-predial-hook|") in new stack
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk-predial-hook:1] MacroExit("SIP/16000-00000002", "")
> in new stack
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: Macro
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:17] GotoIf("SIP/16000-00000002", "0?bypass|1") in
> new stack
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: GotoIf
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:18] GotoIf("SIP/16000-00000002", "1?customtrunk")
> in new stack
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Goto
> (macro-dialout-trunk,s,21)
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: GotoIf
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:21] Set("SIP/16000-00000002",
> "pre_num=AMP:h323/Avaya/") in new stack
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: Set
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:22] Set("SIP/16000-00000002", "the_num=OUTNUM") in
> new stack
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: Set
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:23] Set("SIP/16000-00000002", "post_num=@
> 10.100.7.15:1720") in new stack
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: Set
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:24] GotoIf("SIP/16000-00000002",
> "1?outnum:skipoutnum") in new stack
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Goto
> (macro-dialout-trunk,s,25)
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: GotoIf
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:25] Set("SIP/16000-00000002", "the_num=18151") in
> new stack
> [Jun 16 15:29:27] DEBUG[8721] app_macro.c: Executed application: Set
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Executing
> [s at macro-dialout-trunk:26] Dial("SIP/16000-00000002",
> "h323/Avaya/18151 at 10.100.7.15:1720|300|") in new stack
> [Jun 16 15:29:27] VERBOSE[8721] logger.c:     -- Requested transfer
> capability: 0x00 - SPEECH
>
> my h323.conf file is below:
> [general]
> port = 1720
> bindaddr = 10.101.4.224
> amaflags = AVAYA
> progress_setup = 8
> progress_alert = 8
> faststart = yes
> h245tunneling = yes
> gatekeeper = DISABLE
> disallow=all
> allow=g729
> allow=g723
> dtmfmode=rfc2833
> context=from-internal
> h323id=ObjSysAsterisk
> callerid=testbridge
> logfile=/var/log/asterisk/h323_log
>
> [Avaya]
> type=friend
> context=from-internal
> host=10.100.7.15
> port=1720
> disallow=all
> allow=g729
> allow=g723
> canreinvite=no
> dtmfmode=rfc2833
>
> Please help me find out why the call isn't going through.
> --
> best regards,
>
> Sina Owolabi
> 2348034022578
> 23417203257
> 23417420690
>



-- 
best regards,

Sina Owolabi
2348034022578
23417203257
23417420690
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100616/e22993a4/attachment.htm 


More information about the asterisk-users mailing list