Project

General

Profile

Im sorry that's not a valid extension

Added by Jeffrey delacruz over 8 years ago

Hi,

I install GoAutodial 3.0 and everytime I do manual call it says "Im sorry that's not a valid extension".

Please see log.

[Aug 18 19:10:22] VERBOSE13539 pbx.c: [Aug 18 19:10:22] Starting Local/8600051@default-00000024;1 at default,9118773505288,1 failed so falling back to exten 's'
[Aug 18 19:10:22] VERBOSE[13539] pbx.c: [Aug 18 19:10:22] Starting Local/8600051@default-00000024;1 at default,s,1 still failed so falling back to context 'default'

Is it normal the number is 9118773505288? Please help me , Im stuck in here :(


Replies (4)

RE: Im sorry that's not a valid extension - Added by Jeffrey delacruz over 8 years ago

My dialplan is

exten => _91XXXXXXXXXX,1,AGI
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:2}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup

account entry

[goautodial]
disallow=all
allow=g729
allow=gsm
allow=ulaw
type=friend
secret=xxx
username=86xxx
host=dal.justgovoip.com
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
nat=yes

RE: Im sorry that's not a valid extension - Added by Jeffrey delacruz over 8 years ago

[Aug 18 23:39:09] Starting Local/8600051@default-00000014;1 at default,918773505288,1 failed so falling back to exten 's'
[Aug 18 23:39:09] Starting Local/8600051@default-00000014;1 at default,s,1 still failed so falling back to context 'default'
[Aug 18 23:39:09] -- Sent into invalid extension 's' in context 'default' on Local/8600051@default-00000014;1
[Aug 18 23:39:09] -- Executing [i@default:1] Playback("Local/8600051@default-00000014;1", "invalid") in new stack
[Aug 18 23:39:09] -- <Local/8600051@default-00000014;1> Playing 'invalid.gsm' (language 'en')
[Aug 18 23:39:09] Manager 'sendcron' logged off from 127.0.0.1
[Aug 18 23:39:13] -- Executing [i@default:2] Hangup("Local/8600051@default-00000014;1", "") in new stack
[Aug 18 23:39:13] Spawn extension (default, i, 2) exited non-zero on 'Local/8600051@default-00000014;1'
[Aug 18 23:39:13] -- Executing [h@default:1] AGI in new stack
[Aug 18 23:39:13] -- <Local/8600051@default-00000014;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
[Aug 18 23:39:13] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000014;2'
[Aug 18 23:39:13] -- Executing [h@default:1] AGI in new stack
[Aug 18 23:39:13] -- <Local/8600051@default-00000014;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0

RE: Im sorry that's not a valid extension - Added by Levy Ryan Nolasco over 8 years ago

Hi,

Your EXTEN should be set to 1 only. Having the EXTEN:2 will remove the first 2 digits on your dial plan. That is why it is not passing through. Change your dial plan

FROM
exten => _91XXXXXXXXXX,1,AGI
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:2}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup

TO
exten => _91XXXXXXXXXX,1,AGI
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup

    (1-4/4)
    Go to top