View previous topic :: View next topic |
Author |
Message |
gtr_1000 planetFreshman
Joined: 23 Apr 2005 Posts: 3 Location: Netherlands
|
Posted: Tue Apr 26, 2005 5:53 pm Post subject: config corruption??? |
|
|
Hi All,
Somehow I have a mess up in my queue config. One way or another I was able to add an empty queue (no number, no name)
Now when I go into the queue config I see an error message:
Warning: strpos(): Empty delimiter. in /var/www/html/admin/functions.php on line 1811
My config in the /etc/asterisk/extensions_additional looks like:
[ext-queues]
include => ext-queues-custom
exten => ,1,Answer() ;
exten => ,2,SetCIDName(${CALLERIDNAME}) ;
exten => ,3,Queue(|t|||0) ;
exten => *,1,Macro(agent-add,,) ;
exten => **,1,Macro(agent-del,) ;
exten => 305,1,Answer() ;
exten => 305,2,SetCIDName(${CALLERIDNAME}) ;
exten => 305,3,Queue(305|t|||0) ; test
exten => 305,4,Goto(ext-queues,306,1) ;
exten => 305*,1,Macro(agent-add,305,) ;
exten => 305**,1,Macro(agent-del,305) ;
exten => 306,1,Answer() ;
exten => 306,2,SetCIDName(${CALLERIDNAME}) ;
exten => 306,3,Queue(306|t|||0) ; 306
exten => 306*,1,Macro(agent-add,306,) ;
exten => 306**,1,Macro(agent-del,306) ;
I already tried to add a number 307 the same way as 305 and 306 in this screen, but so far no luck.
Anyone know how to fix it, or will be a new install be the easiest way?
Thanks,
John |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
ScaredyCat planetFreshman
Joined: 23 Mar 2005 Posts: 4
|
Posted: Tue Apr 26, 2005 8:28 pm Post subject: |
|
|
Quote: |
exten => ,1,Answer() ;
exten => ,2,SetCIDName(${CALLERIDNAME}) ;
exten => ,3,Queue(|t|||0)
|
Where are your extension numbers for these entries?
SC |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
gtr_1000 planetFreshman
Joined: 23 Apr 2005 Posts: 3 Location: Netherlands
|
Posted: Thu Apr 28, 2005 4:37 am Post subject: |
|
|
That is the problem, that is the empty queue. In the AMP screen I can click on the ":" but there is no link than to remove this queue.
I tried to fill on the empty extension 307, but it didn't show on the AMP screen.
So I was trying to find a way to solve this problem
John |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
planetWayne Site Admin
![](images/avatars/218783e3c1ccb54daa.gif)
Joined: 30 Jan 2003 Posts: 280
|
Posted: Thu May 05, 2005 8:57 pm Post subject: |
|
|
Someone jump in if I'm wrong - but the extention lines should not have blank or non existant extention numbers...
have you tried taking these rouge lines out altogether - vi or whatever editor you like?
Wayne. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
gtr_1000 planetFreshman
Joined: 23 Apr 2005 Posts: 3 Location: Netherlands
|
Posted: Sat May 07, 2005 4:22 pm Post subject: |
|
|
Yes that is what I tried, via putty and the using vi or in the maintenance pages in the edit config.
But the entrances of the empty queue were very hard to get rid off. Finally I just reinstalled my system.
John |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|