Getting a message "this is not a valid extension"

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Getting a message "this is not a valid extension"

Postby harshit_tandon2004 » Thu Jun 03, 2010 3:31 am

Hello


I am Getting a message "this is not a valid extension" whenver we are trying to login as a agent instead of normal message "you are the only person in the room"


logs coming on asterisk are like this

== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
> Channel SIP/cc100-08272288 was answered.
== Starting SIP/cc100-08272288 at default,,1 failed so falling back to exten ' s'
== Starting SIP/cc100-08272288 at default,s,1 still failed so falling back to context 'default'
-- Sent into invalid extension 's' in context 'default' on SIP/cc100-0827228 8
-- Executing Playback("SIP/cc100-08272288", "invalid") in new stack
-- Playing 'invalid' (language 'en')
== 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
-- Executing DeadAGI("SIP/cc100-08272288", "agi://127.0.0.1:4577/call_log--H Vcauses--PRI-----NODEBUG-----16---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----1 6--------------- completed, returning 0



uname -a

Linux vici.vicidialnow.org 2.6.18-164.el5.vnow #1 SMP Mon Nov 16 03:11:26 PHT 2009 i686 i686 i386 GNU/Linux
You have new mail in /var/spool/mail/root
harshit_tandon2004
 
Posts: 6
Joined: Mon Mar 15, 2010 4:29 am

Postby gardo » Thu Jun 03, 2010 11:55 am

Is this a fresh install of VicidialNOW? Did you change the IP address? Have you run the "update_server_ip" script?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby williamconley » Thu Jun 03, 2010 3:34 pm

when you post, please post your entire configuration including (but not limited to) your installation method, vicidial version and build, asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box.

Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X Build XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

same problem. . .

Postby zeek » Wed Jun 30, 2010 2:27 am

Hi,

I do have the same problem when logging in the webclient.

VICIDIALNOW 1.3 from iso | running on CENTOS5 |ver. 2.0.5-174 BUILD: 90522-0506 | single server | no hardware | no additional software

CLI:

== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
> Channel SIP/cc109-08f763e8 was answered.
== Starting SIP/cc109-08f763e8 at default,860057,1 failed so falling back to exten 's'
== Starting SIP/cc109-08f763e8 at default,s,1 still failed so falling back to context 'default'
-- Sent into invalid extension 's' in context 'default' on SIP/cc109-08f763e8
-- Executing Playback("SIP/cc109-08f763e8", "invalid") in new stack
-- Playing 'invalid' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
-- Timeout on SIP/cc109-08f763e8
== CDR updated on SIP/cc109-08f763e8
-- Executing Goto("SIP/cc109-08f763e8", "#|1") in new stack
-- Goto (default,#,1)
-- Executing Playback("SIP/cc109-08f763e8", "invalid") in new stack
-- Playing 'invalid' (language 'en')
== 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
-- Executing Hangup("SIP/cc109-08f763e8", "") in new stack
== Spawn extension (default, #, 2) exited non-zero on 'SIP/cc109-08f763e8'
-- Executing DeadAGI("SIP/cc109-08f763e8", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== 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
== 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
Jun 30 03:05:14 NOTICE[27946]: chan_local.c:526 local_alloc: No such extension/context 5555860057@default creating local channel
Jun 30 03:05:14 NOTICE[27946]: channel.c:2514 __ast_request_and_dial: Unable to request channel Local/5555860057@default
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1


thanks in advance
zeek
 
Posts: 9
Joined: Wed Jun 30, 2010 1:46 am

Postby gardo » Wed Jun 30, 2010 2:53 pm

Same question - is this a fresh install of VicidialNOW? Did you change the IP address? Have you run the "update_server_ip" script?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby williamconley » Wed Jun 30, 2010 4:29 pm

has cc109 successfully registered his phone?

try "sip show peers"
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby zeek » Wed Jun 30, 2010 9:16 pm

gardo wrote:Same question - is this a fresh install of VicidialNOW? Did you change the IP address? Have you run the "update_server_ip" script?



yes, this is a fresh install of VicidialNOW, already changed the IP address to 192.168.1.251, and already run the "update_server_ip" script
zeek
 
Posts: 9
Joined: Wed Jun 30, 2010 1:46 am

Postby zeek » Wed Jun 30, 2010 9:17 pm

williamconley wrote:has cc109 successfully registered his phone?

try "sip show peers"


yes, cc109 successfully registered his phone. . .
zeek
 
Posts: 9
Joined: Wed Jun 30, 2010 1:46 am

Postby williamconley » Wed Jun 30, 2010 9:26 pm

ok, is there a 860057?
Starting SIP/cc109-08f763e8 at default,860057,1 failed so falling back to exten 's'
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby zeek » Wed Jun 30, 2010 9:31 pm

williamconley wrote:ok, is there a 860057?
Starting SIP/cc109-08f763e8 at default,860057,1 failed so falling back to exten 's'


yes, there's 860057. . .i created it in vicidial conferences
zeek
 
Posts: 9
Joined: Wed Jun 30, 2010 1:46 am

Postby williamconley » Wed Jun 30, 2010 9:39 pm

if you did a "standard installation" it would already have been there.

since you created it, it must not be a standard installation?

it is not enough to just create it in the GUI. The conference must also actually be created in the .conf file

is it there?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby zeek » Wed Jun 30, 2010 10:05 pm

williamconley wrote:if you did a "standard installation" it would already have been there.

since you created it, it must not be a standard installation?

it is not enough to just create it in the GUI. The conference must also actually be created in the .conf file

is it there?


i already deleted it as it was not part of the list of default conferences. . .
zeek
 
Posts: 9
Joined: Wed Jun 30, 2010 1:46 am

Postby williamconley » Wed Jun 30, 2010 10:11 pm

pushing the buttons you don't understand :) tsk. tsk.

When you created it, did you create it in "vicidial_conferences" or just in "conferences"?

What ELSE did you do to "clean up" things on the server?

You may want to reinstall and NOT clean up this time, VICIdial is not something that has "extraneous" entries in it, as a rule. If it's there ... it's necessary.

But you did not answer whether the conference in question was in the .conf file ... or did you not delete it from the .conf file?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby zeek » Thu Jul 01, 2010 10:27 am

williamconley wrote:pushing the buttons you don't understand :) tsk. tsk.

When you created it, did you create it in "vicidial_conferences" or just in "conferences"?

What ELSE did you do to "clean up" things on the server?

You may want to reinstall and NOT clean up this time, VICIdial is not something that has "extraneous" entries in it, as a rule. If it's there ... it's necessary.

But you did not answer whether the conference in question was in the .conf file ... or did you not delete it from the .conf file?


hi,

i was already able to log in from the webclient. . .i am hearing the "you are the only peron in this conference" message.
my problem now is that i am not able to dial out. . .

cli:

== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/8600051@default-ffa9,2", "8600051|F") in new stack
> Channel Local/8600051@default-ffa9,1 was answered.
-- Executing AGI("Local/8600051@default-ffa9,1", "agi://192.168.1.251:4577//call_log") in new stack
-- AGI Script agi://192.168.1.251:4577//call_log completed, returning 0
-- Executing Dial("Local/8600051@default-ffa9,1", "SIP/14846828884@voiphils-outbound||o") in new stack
Jul 1 11:25:40 NOTICE[19942]: app_dial.c:1076 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("Local/8600051@default-ffa9,1", "") in new stack
== Spawn extension (default, 914846828884, 3) exited non-zero on 'Local/8600051@default-ffa9,1'
-- Executing DeadAGI("Local/8600051@default-ffa9,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----3-----CHANUNAVAIL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-ffa9,2'
-- Executing DeadAGI("Local/8600051@default-ffa9,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== 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
== 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
zeek
 
Posts: 9
Joined: Wed Jun 30, 2010 1:46 am

Postby williamconley » Thu Jul 01, 2010 10:43 am

-- Executing Dial("Local/8600051@default-ffa9,1", "SIP/14846828884@voiphils-outbound||o") in new stack
Jul 1 11:25:40 NOTICE[19942]: app_dial.c:1076 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
what do you have in the globals, account, and dial plan for this carrier?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby zeek » Thu Jul 01, 2010 10:53 am

williamconley wrote:
-- Executing Dial("Local/8600051@default-ffa9,1", "SIP/14846828884@voiphils-outbound||o") in new stack
Jul 1 11:25:40 NOTICE[19942]: app_dial.c:1076 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
what do you have in the globals, account, and dial plan for this carrier?



global:
no entry



acount entry:
[voiphils-outbound]
username = XXXXXXXXXXXXX
fromuser = XXXXXXXXXXXXX
secret = XXXXXX

dialplan:
exten = _9.,1,AGI(agi://192.168.1.251:4577//call_log)
exten = _9.,2,Dial(SIP/${EXTEN:1}@voiphils-outbound,,o)
exten = _9.,3,Hangup
zeek
 
Posts: 9
Joined: Wed Jun 30, 2010 1:46 am

Postby williamconley » Thu Jul 01, 2010 11:49 am

1) sorry, forgot to ask if it registers successfully
2) your account entry is ... missing some stuff.

here is a "sample":
context=trunkinbound
type=friend
auth=md5
host=xxxx
user=xxxx
username=xxxx
secret=xxxx
disallow=all
allow=ulaw
insecure=very


For instance: how does your asterisk server know where to send this call? ip? host name? crystal ball?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby zeek » Thu Jul 01, 2010 11:56 am

williamconley wrote:1) sorry, forgot to ask if it registers successfully
2) your account entry is ... missing some stuff.

here is a "sample":
context=trunkinbound
type=friend
auth=md5
host=xxxx
user=xxxx
username=xxxx
secret=xxxx
disallow=all
allow=ulaw
insecure=very


For instance: how does your asterisk server know where to send this call? ip? host name? crystal ball?




VICIDIAL Carrier: voiphils - voiphilippines
[voiphils-outbound]
username = xxxxxxxxxxxx
fromuser = xxxxxxxxxxxx
secret = xxxxxxx
type=friend
host=dynamic
canreinvite=no
trustpid=yes
sendpid=yes
disallow=all
allow=alaw
allow=ulaw
dtmfmode=auto
context=vicidial-auto
zeek
 
Posts: 9
Joined: Wed Jun 30, 2010 1:46 am

Postby williamconley » Thu Jul 01, 2010 12:09 pm

zeek wrote:
williamconley wrote:1) sorry, forgot to ask if it registers successfully
?

AND

Still no "host". Your server has NO IDEA where to send this call. (Dynamic only works if they register with you ... which no provider of which i am aware does)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby zeek » Thu Jul 01, 2010 1:03 pm

williamconley wrote:
zeek wrote:
williamconley wrote:1) sorry, forgot to ask if it registers successfully
?

AND

Still no "host". Your server has NO IDEA where to send this call. (Dynamic only works if they register with you ... which no provider of which i am aware does)



it was able to register succesfully:
vici*CLI> sip show registry
Host Username Refresh State
878013663400 105 Registered

my problem is if i dial manually using the sip phone, i can make a call but if i dial from vicidial, i can't get through. . .
zeek
 
Posts: 9
Joined: Wed Jun 30, 2010 1:46 am

Postby williamconley » Thu Jul 01, 2010 3:06 pm

ok, zeek. you've lost me.

your account entry was all but empty, now it has stuff in it. that's a good start.

your host was "dynamic", but somehow magically registers ... or you changed it to a real ip/host name.

have you made these changes? if so ... i would expect your CLI has changed somewhat ... what does it look like now?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 28 guests