Page 1 of 1

Why some extensions don't work?

PostPosted: Fri Jan 22, 2010 7:13 pm
by UltimateCollector
I am running Vicidial (2.0.4-146) and a Trixbox (2.6.2). I have a handful of extensions. The VD server basically does the call control while placing the calls through the TB. In terms of setup, both systems must contain the extension you want the operator to use.

I recently created a new extension (1017); For some reason, it does not work! My extension (3001) continues to work fine

The CLI output for a normal, working setup is as follows:

=========================================================================
Connected to Asterisk 1.2.30.2 currently running on vici (pid = 2740)
Verbosity is at least 21
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing Dial("Local/3001@default-4a31,2", "IAX2/trixbox/3001|30|Tto") in new stack
-- Called trixbox/3001
-- Call accepted by 192.168.50.201 (format ulaw)
-- Format for call is ulaw
-- IAX2/trixbox-718 is ringing
Jan 22 19:04:14 WARNING[2746]: res_musiconhold.c:426 spawn_mp3: Found no files in '/var/lib/asterisk/mohmp3'
Jan 22 19:04:14 WARNING[2746]: res_musiconhold.c:508 monmp3thread: Unable to spawn mp3player
-- IAX2/trixbox-718 stopped sounds
-- IAX2/trixbox-718 answered Local/3001@default-4a31,2
> Channel Local/3001@default-4a31,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing MeetMe("Local/3001@default-4a31,1", "8600051|F") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Spawn extension (default, 3001, 1) exited non-zero on 'Local/3001@default-4a31,2'
-- Executing DeadAGI("Local/3001@default-4a31,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----0") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---8-----0 completed, returning 0
vici*CLI>

For the nonworking extension (1017) it looks different:

=========================================================================
Connected to Asterisk 1.2.30.2 currently running on vici (pid = 2740)
Verbosity is at least 21
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
Jan 22 19:05:59 NOTICE[4454]: chan_local.c:526 local_alloc: No such extension/co ntext 1017@default creating local channel
Jan 22 19:05:59 NOTICE[4454]: channel.c:2514 __ast_request_and_dial: Unable to r equest channel Local/1017@default
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
vici*CLI>

Anybody have any ideas what I'm missing?

PostPosted: Fri Jan 22, 2010 7:41 pm
by Michael_N
Did you reload asterisk after adding extentions?

Yup...

PostPosted: Sat Jan 23, 2010 7:45 pm
by UltimateCollector
I've been using the new extensions for some time now. I also tried rebooting both servers.

I am open to suggestions.

Found the problem

PostPosted: Sun Jan 24, 2010 7:53 pm
by UltimateCollector
There was a problem in the dialplan where the extensions from the Trixbox were not defined in the Vicidial server. We changed it to include all possible extensions 1001 - 9999.