Not a valid extension / No route to destination

All installation and configuration problems and questions

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

Not a valid extension / No route to destination

Postby dspaan » Tue Aug 25, 2009 11:41 pm

Hello,

I have recently installed VICIbox. This includes VICIdial V2.0.51-173.
I have succesfully made a sip trunk with this dialplan:

[goandcall]
exten => _0.,1,SetCIDNum(721105)
exten => _0.,2,Dial(SIP/0${EXTEN:1}@goandcall-out,60)
exten => _0.,3,Hangup()

I am trying to call numbers in the netherlands. I read the stickies and also the manager manual. I succesfully loaded the leads and used country code 31 for the netherlands and used standard VICIdial file layout. When i login with an agent the leads show up fine.

When i look at the CLI the carrier is registered correctly:

VICIbox*CLI> sip show registry
Host Username Refresh State
81.26.212.150:5060 721105 105 Registered

When i try to make an outbound call via the agent window i get to hear an asterisk message 'Not a valid extension' and i see this in the CLI:

-- Executing MeetMe("Local/8600051@default-b413,2", "8600051|F") in new stack
> Channel Local/8600051@default-b413,1 was answered.
== Starting Local/8600051@default-b413,1 at default,931205881881,1 failed so falling back to exten 's'
== Starting Local/8600051@default-b413,1 at default,s,1 still failed so falling back to context 'default'
-- Sent into invalid extension 's' in context 'default' on Local/8600051@default-b413,1
-- Executing Playback("Local/8600051@default-b413,1", "invalid") in new stack
-- Playing 'invalid' (language 'en')
Aug 26 01:23:34 WARNING[3283]: file.c:1045 ast_waitstream: Unexpected control subclass '-1'

When i try with the softphone directly a phone number in the Netherlands (this should be possible right?) i get the error message 'No route to destination' (i am using zoiper).

Please help me. What do i need to do to fix this?
dspaan
 
Posts: 1379
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Postby mflorell » Tue Aug 25, 2009 11:59 pm

What zaptel timer are you using on your system?

What is the output of "show application meetme" in the Asterisk CLI?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

zaptel & meetme

Postby dspaan » Wed Aug 26, 2009 7:06 am

I can't login right now but what is the command for getting info about zaptel?

I will do the meetmee check later today when i have access to the server again. This is what it says on the VICIbox site:

VICIbox Server includes:

* 2.0.5 astguiclient (VICIDIAL)
* 1.2.30.4 Asterisk
* 1.2.27 Zaptel
* 3.2.7.1 Wanpipe (for Sangoma TDM Cards)
* 1.2.8 Libpri
dspaan
 
Posts: 1379
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

meetme & zaptel

Postby dspaan » Wed Aug 26, 2009 12:47 pm

root@VICIbox:~# modinfo zaptel
filename: /lib/modules/2.6.24-24-server/misc/zaptel.ko
version: 1.2.27
license: GPL
description: Zapata Telephony Interface
author:
srcversion: 08B42AA3DB045827748DC2D
depends: crc-ccitt
vermagic: 2.6.24-24-server SMP mod_unload 686
parm: debug:int
parm: deftaps:int



root@VICIbox:~# ztcfg -vv

Zaptel Configuration
======================


Channel map:


0 channels configured.



VICIbox*CLI> show application meetme
VICIbox*CLI>
-= Info about application 'MeetMe' =-

[Synopsis]
MeetMe conference bridge

[Description]
MeetMe([confno][,[options][,pin]]): Enters the user into a specified MeetMe conference.
If the conference number is omitted, the user will be prompted to enter
one.
User can exit the conference by hangup, or if the 'p' option is specified, by pressing '#'.
Please note: The Zaptel kernel modules and at least one hardware driver (or ztdummy)
must be present for conferencing to operate properly. In addition, the chan_zap
channel driver must be loaded for the 'i' and 'r' options to operate at all.

The option string may contain zero or more of the following characters:
'a' -- set admin mode
'A' -- set marked mode
'b' -- run AGI script specified in ${MEETME_AGI_BACKGROUND}
Default: conf-background.agi
(Note: This does not work with non-Zap channels in the same conference)
'c' -- announce user(s) count on joining a conference
'd' -- dynamically add conference
'D' -- dynamically add conference, prompting for a PIN
'e' -- select an empty conference
'E' -- select an empty pinless conference
'F' -- Pass DTMF through the conference.
'i' -- announce user join/leave
'm' -- set monitor only mode (Listen only, no talking)
'M' -- enable music on hold when the conference has a single caller
'p' -- allow user to exit the conference by pressing '#'
'P' -- always prompt for the pin even if it is specified
'q' -- quiet mode (don't play enter/leave sounds)
'r' -- Record conference (records as ${MEETME_RECORDINGFILE}
using format ${MEETME_RECORDINGFORMAT}). Default filename is
meetme-conf-rec-${CONFNO}-${UNIQUEID} and the default format is wav.
's' -- Present menu (user or admin) when '*' is received ('send' to menu)
't' -- set talk only mode. (Talk only, no listening)
'T' -- set talker detection (sent to manager interface and meetme list)
'w[(<secs>)]'
-- wait until the marked user enters the conference
'x' -- close the conference when last marked user exits
'X' -- allow user to exit the conference by entering a valid single
digit extension ${MEETME_EXIT_CONTEXT} or the current context
if that variable is not defined.
dspaan
 
Posts: 1379
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Postby mflorell » Wed Aug 26, 2009 6:55 pm

Ok, then you need to check your meetme.conf and extensions.conf to make sure that you have the entries in there for 8600051 or 8600XXX
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby dspaan » Wed Aug 26, 2009 7:29 pm

What are the entries 8600051 or 8600XXX you are referring at? What are those numbers?

when i open extensions.conf with vi and do a search with / for 8600051 i get: E486: Pattern not found.

I do find this when i search for pattern 8600:

; Local agent alert extensions
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
; Local blind monitoring
exten => _08600XXX,1,Dial(${TRUNKblind}/6${EXTEN:1},55,To)

exten => _X48600XXX,1,MeetMeAdmin(${EXTEN:2},T,${EXTEN:0:1})
exten => _X48600XXX,2,Hangup

exten => _X38600XXX,1,MeetMeAdmin(${EXTEN:2},t,${EXTEN:0:1})
exten => _X38600XXX,2,Hangup

exten => _X28600XXX,1,MeetMeAdmin(${EXTEN:2},m,${EXTEN:0:1})
exten => _X28600XXX,2,Hangup

exten => _X18600XXX,1,MeetMeAdmin(${EXTEN:2},M,${EXTEN:0:1})
exten => _X18600XXX,2,Hangup

exten => _55558600XXX,1,MeetMeAdmin(${EXTEN:4},K)
exten => _55558600XXX,2,Hangup
exten => 8300,1,Hangup

; astGUIclient conferences
exten => _86000[0-4]X,1,Meetme,${EXTEN}|q
; VICIDIAL conferences
exten => _86000[5-9]X,1,Meetme,${EXTEN}|F
exten => _8600[1-2]XX,1,Meetme,${EXTEN}|F
; quiet entry and leaving conferences for VICIDIAL (inbound announce and SendDTMF)
exten => _78600XXX,1,Meetme,${EXTEN:1}|Fq
; quiet monitor-only extensions for meetme rooms (for room managers)
exten => _68600XXX,1,Meetme,${EXTEN:1}|Fmq
; quiet monitor-only entry and leaving conferences for VICIDIAL (recording)
exten => _58600XXX,1,Meetme,${EXTEN:1}|Fmq

; voicelab exten
exten => _86009XX,1,Meetme,${EXTEN}|Fmq
; voicelab exten moderator
exten => _986009XX,1,Meetme,${EXTEN:1}


In meetme.conf i see 319 lines with numbers beginning with 8600001 and ending with 8600909
dspaan
 
Posts: 1379
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Postby mflorell » Thu Aug 27, 2009 8:40 am

I'm sorry I misread the error, it is having trouble dialing this:
931205881881

That does not look like it's a real number, what country are you in?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Number to dial

Postby dspaan » Thu Aug 27, 2009 8:44 am

We are located in Suriname, South America and we want to dial numbers in the Netherlands.

The actual number below is of a bank in Amsterdam i allways use to do these tests. The numer is 0205881881. The country code for the Netherlands is 31. I don't know where the 9 comes from.
dspaan
 
Posts: 1379
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Postby mflorell » Fri Aug 28, 2009 1:24 am

Well, you need to add a dialplan entry to handle that kind of formatting for numbers to dial. How have you configured your carriers?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

carrier config

Postby dspaan » Fri Aug 28, 2009 4:03 am

Hi,

The carrier is configured like this:

;# sip.conf
[goandcall-out]
type=friend
username=7XXXXX ;# 7XXXXX Number you received while registering.
fromuser=7XXXXX ;# Same number as above. Without fromuser field it will not work!
secret=******* ;# Put here the password you received while registering.
host=sip.goandcall.com
port=5060 ;(or 6060 when you are behind nasty NAT networks)
insecure=very
disallow=all
allow=g723
allow=g729 ; XELOQ allows g723 and g729 over SIP protocol.

Now register your SIP endpoint with us like:
Format:
register => user[:secret[:authuser]]@host[:port][/extension]
In our case an example using this variables would be:
register => 70XXXX:password@sip.goandcall.com/1234 ; Register 70XXXX with sip.goandcall.comas 1234 here.

Now adjust your dial plan so outgoing PSTN calls follow the correct context;
;# example in extensions.conf
[goandcall]
exten => _0.,1,SetCIDNum(7XXXXX) ;# Put your registration number (SIP account) here
exten => _0.,2,Dial(SIP/0${EXTEN:1}@goandcall-out,60)
exten => _0.,3,Hangup()
dspaan
 
Posts: 1379
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Postby mflorell » Fri Aug 28, 2009 9:24 am

To remove the 9 just set the dial prefix in your campaign to X
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Dial prefix

Postby dspaan » Fri Aug 28, 2009 1:46 pm

Ok i have set the dial prefix to X under campaign details. But i still get to hear 'I'm sorry this is not a valid extension' when i dial a number. This is what is see in the CLI:


-- Executing MeetMe("Local/8600051@default-4a7c,2", "8600051|F") in new stack
> Channel Local/8600051@default-4a7c,1 was answered.
== Starting Local/8600051@default-4a7c,1 at default,31205881881,1 failed so falling back to exten 's'
== Starting Local/8600051@default-4a7c,1 at default,s,1 still failed so falling back to context 'default'
-- Sent into invalid extension 's' in context 'default' on Local/8600051@default-4a7c,1
-- Executing Playback("Local/8600051@default-4a7c,1", "invalid") in new stack
-- Playing 'invalid' (language 'en')
Aug 28 15:40:08 WARNING[6066]: file.c:1045 ast_waitstream: Unexpected control subclass '-1'


Could my problem be codec related?
dspaan
 
Posts: 1379
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Postby mflorell » Fri Aug 28, 2009 9:05 pm

Your dialplan is looking for a 0 to begin the number, doesn't look like you are dialing with that (31205881881)
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

a zero?

Postby dspaan » Fri Aug 28, 2009 9:43 pm

So what should i do? place two 00 before the phone code in the leads list?

I removed the phone code and added a 0 in front of the phone number but i still get the same message. I have also tried dialing directly from my softphone with the following combinations:

31205881881
0031205881881
0205881881
dspaan
 
Posts: 1379
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

please help

Postby dspaan » Wed Sep 02, 2009 11:50 am

Please help me, i'm still stuck with this.
dspaan
 
Posts: 1379
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

help

Postby dspaan » Mon Sep 07, 2009 9:31 am

Can anyone help me?
dspaan
 
Posts: 1379
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Solved

Postby dspaan » Wed Sep 23, 2009 7:43 am

I contacted another carrier provider who was more skilled with asterisk. Instead of making a carrier from within the webinterfaces he made an IAX2 trunk connection on asterisk level.

After that i could still not make calls but these were dialplan related. I had to put a 0 in the Dial Prefix setting under campaign settings and i had to set Omit Country code to Yes.

We only make calls to the netherlands but when we call the number has to be 10 digits like when your calling from within the Netherlands (while we aren't :) ).
dspaan
 
Posts: 1379
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands


Return to Support

Who is online

Users browsing this forum: No registered users and 90 guests