Page 1 of 1

chan_local.c: No such extension/context

PostPosted: Wed Jul 04, 2012 4:31 pm
by james989
I am new to go auto dial 2.1 please help.

my carrier settings:
register => xxxxCTRIX:xxxxx@xxx.147.91.xx:5060/xxxxCTRIX

allow=g729
allow=g723
allow=ulaw
allow=alaw
type=friend
username=xxxxCTRIX
Fromuser=xxxxCTRIX
secret=xxxx
host=xxx.147.91.xx
FromDomain=xxx.147.91.xx
dtmfmode=rfc2833

SIP

ANANDSIP = SIP/anand

exten => _4646.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _4646.,2,Dial(${ANANDSIP}/${EXTEN:2},,tTo)
exten => _4646,3,Hangup

exten => _11XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _11XXXXXXXXXX,2,Dial(${ANANDSIP}/${EXTEN:1},,tTo)
exten => _11XXXXXXXXXX,3,Hangup

my cli output:

Jul 5 02:06:24] VERBOSE[11056] logger.c: [Jul 5 02:06:24] == Manager 'sendcron' logged on from 127.0.0.1
[Jul 5 02:06:24] NOTICE[11056] chan_local.c: No such extension/context 4613142321@default while calling Local channel
[Jul 5 02:06:24] NOTICE[11056] channel.c: Unable to call channel Local/4613142321@default
[Jul 5 02:06:24] VERBOSE[11058] logger.c: [Jul 5 02:06:24] == Parsing '/etc/asterisk/manager.conf': [Jul 5 02:06:24] VERBOSE[11058] logger.c: [Jul 5 02:06:24] Found
[Jul 5 02:06:24] VERBOSE[11058] logger.c: [Jul 5 02:06:24] == Manager 'sendcron' logged on from 127.0.0.1
[Jul 5 02:06:24] NOTICE[11058] chan_local.c: No such extension/context 4613147875@default while calling Local channel
[Jul 5 02:06:24] NOTICE[11058] channel.c: Unable to call channel Local/4613147875@default
[Jul 5 02:06:26] VERBOSE[11057] logger.c: [Jul 5 02:06:26] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 5 02:06:26] VERBOSE[11056] logger.c: [Jul 5 02:06:26] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 5 02:06:26] VERBOSE[11058] logger.c: [Jul 5 02:06:26] == Manager 'sendcron' logged off from 127.0.0.1

SIP SHOW PEERS:

Name/username Host Dyn Nat ACL Port Status
103/103 (Unspecified) D N 0 UNKNOWN
102/102 xxx.29.206.xxx D N 28764 OK (107 ms)
101/101 (Unspecified) D N 0 UNKNOWN
anand/xxxxCTRIX XXX.147.91.XX N 5060 OK (1 ms)
4 sip peers [Monitored: 2 online, 2 offline Unmonitored: 0 online, 0 offline]

Re: chan_local.c: No such extension/context

PostPosted: Thu Jul 05, 2012 9:43 pm
by williamconley
Your problem lies here:

Code: Select all
No such extension/context 4613142321@default

This shows the number being dialed is "4613142321"

Code: Select all
exten => _11XXXXXXXXXX

This does not have a "pattern match" for "4613142321".

Your numbers must match a defined exten pattern to route through that exten.

The dial_prefix field (from the campaign) + the the phone_code field (from each lead) + the phone_number field (also from each lead) will form the final number dialed.

IF you set your Campaign "Dial Prefix" field to "1" and you set the phone_code field on ALL your leads to "1", this will supply the "11" that is missing from the front of your numbers being dialed. And get you to the "next barrier" ...