demo-congrats from every device

pcorrigan's picture

I can connect to Asterisk from all devices, but all I get is the demo-congrats script. mo-congrats script. The configuration through FreePBX is identical to my working test system.

I am running PBX in a Flash 1.4 with asterisk 1.4.21.2. using Zaptel. I have applied the FreePBX 2.6 updates. I have done update-scripts and update-fixes twice and, since this is a 64-bit system, allowed the kernel recompile to continue. Each phone can receive the Congrat message but not call the other extensions.

I have Aastra 57i phones, a 3CX VOIP Client, two POTS phones connected to a Sangoma A200 and a Adtran Atlas 550 Wan emulator connected as PRI to a Sangoma A102D PRI card. I have one POTS phone connected to the Adtran. All have the same issue.

One more thing - there are definitions for my extensions in:

zapata_additional.conf
extensions_additional.conf
sip_additional.conf

but I can't find these files included in what should be their parent conf files.

I have looked at every forum posting here and in the PBX in a Flash forums that seemed relevant but have found nothing. Any ideas?


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Asterisk log file

pcorrigan's picture

Here is the relevant part of the asterisk log file:

[2010-02-10 12:36:21] VERBOSE[29045] logger.c: -- Executing [1200@from-internal:3] Hangup("SIP/1235-1dc8b290", "") in new stack
[2010-02-10 12:36:21] VERBOSE[29045] logger.c: == Spawn extension (from-internal, 1200, 3) exited non-zero on 'SIP/1235-1dc8b290'
[2010-02-10 12:36:21] VERBOSE[29045] logger.c: -- Executing [h@from-internal:1] Macro("SIP/1235-1dc8b290", "hangupcall") in new stack
[2010-02-10 12:36:21] VERBOSE[29045] logger.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1235-1dc8b290", "1?skiprg") in new stack
[2010-02-10 12:36:21] VERBOSE[29045] logger.c: -- Goto (macro-hangupcall,s,4)
[2010-02-10 12:36:21] DEBUG[29045] app_macro.c: Executed application: GotoIf
[2010-02-10 12:36:21] VERBOSE[29045] logger.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/1235-1dc8b290", "1?skipblkvm") in new stack
[2010-02-10 12:36:21] VERBOSE[29045] logger.c: -- Goto (macro-hangupcall,s,7)
[2010-02-10 12:36:21] DEBUG[29045] app_macro.c: Executed application: GotoIf
[2010-02-10 12:36:21] VERBOSE[29045] logger.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/1235-1dc8b290", "1?theend") in new stack
[2010-02-10 12:36:21] VERBOSE[29045] logger.c: -- Goto (macro-hangupcall,s,9)
[2010-02-10 12:36:21] DEBUG[29045] app_macro.c: Executed application: GotoIf
[2010-02-10 12:36:21] VERBOSE[29045] logger.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/1235-1dc8b290", "") in new stack
[2010-02-10 12:36:21] VERBOSE[29045] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/1235-1dc8b290' in macro 'hangupcall'
[2010-02-10 12:36:21] VERBOSE[29045] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/1235-1dc8b290'
[2010-02-10 12:36:21] VERBOSE[7693] logger.c: Extension Changed 1235[ext-local] new state Idle for Notify User 1200
[2010-02-10 12:36:21] VERBOSE[29575] logger.c: == Parsing '/etc/asterisk/manager.conf': [2010-02-10 12:36:21] VERBOSE[29575] logger.c: Found
[2010-02-10 12:36:21] VERBOSE[29575] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [2010-02-10 12:36:21] VERBOSE[29575] logger.c: Found
[2010-02-10 12:36:21] VERBOSE[29575] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [2010-02-10 12:36:21] VERBOSE[29575] logger.c: Found
[2010-02-10 12:36:21] VERBOSE[29575] logger.c: == Manager 'admin' logged on from 127.0.0.1
[2010-02-10 12:36:22] VERBOSE[29575] logger.c: == Manager 'admin' logged off from 127.0.0.1


Resolved!

pcorrigan's picture

I ran the console command:

asterisk -rx "dialplan show 1235@from-internal"

and compared the output to another system. The following lines were output by the problem system but not the other system:

[ Context 'from-internal' created by 'pbx_config' ]
'_X.' => 1. noop() [pbx_config]
2. Playback(demo-congrats) [pbx_config]
3. Hangup() [pbx_config]

When I installed the Sangoma drivers the instructions said to say "yes" to everything for a standard install. Unfortunately I apparently said "yes" to installing sample configuration parameters, which appeared at the bottom of extensions.conf. I commented these out and every thing is working. I contacted Sangoma support and they will be changing their install instructions.