"THAT IS NOT A VALID EXTENSION" Error
Posted: Thu Mar 05, 2015 12:54 am
I configured my dialplan entry correctly, but every time I make an outbound call it gives the error "THAT IS NOT A VALID EXTENSION" How do I fix this?
Dialplan Entry
exten => _1[2-9]xxxxxxxxx.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1[2-9]xxxxxxxxx.,2,Dial(SIP/AlcazarNetIDID1/${EXTEN})
exten => _1[2-9]xxxxxxxxx.,3,Hangup
CLI Output
[Mar 5 00:48:52] == Using SIP RTP CoS mark 5
[Mar 5 00:48:56] > Channel SIP/8001-00000030 was answered.
[Mar 5 00:48:56] -- Executing [8600051@default:1] MeetMe("SIP/8001-00000030", "8600051,F") in new stack
[Mar 5 00:48:56] == Parsing '/etc/asterisk/meetme.conf': [Mar 5 00:48:56] == Found
[Mar 5 00:48:56] == Parsing '/etc/asterisk/meetme-vicidial.conf': [Mar 5 00:48:56] == Found
[Mar 5 00:48:56] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 5 00:48:56] -- Created MeetMe conference 1022 for conference '8600051'
[Mar 5 00:48:56] -- <SIP/8001-00000030> Playing 'conf-onlyperson.gsm' (language 'en')
[Mar 5 00:48:58] NOTICE[9092]: res_rtp_asterisk.c:2361 ast_rtp_read: Unknown RTP codec 126 received from '65.94.166.90:56690'
[Mar 5 00:49:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 5 00:49:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 5 00:49:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 5 00:49:02] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 5 00:49:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 5 00:49:06] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 5 00:49:25] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 5 00:49:25] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-00000040;2", "8600051,F") in new stack
[Mar 5 00:49:25] > Channel Local/8600051@default-00000040;1 was answered.
[Mar 5 00:49:25] == Starting Local/8600051@default-00000040;1 at default,119514500121,1 failed so falling back to exten 's'
[Mar 5 00:49:25] == Starting Local/8600051@default-00000040;1 at default,s,1 still failed so falling back to context 'default'
[Mar 5 00:49:25] -- Sent into invalid extension 's' in context 'default' on Local/8600051@default-00000040;1
[Mar 5 00:49:25] -- Executing [i@default:1] Playback("Local/8600051@default-00000040;1", "invalid") in new stack
[Mar 5 00:49:25] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 5 00:49:25] -- <Local/8600051@default-00000040;1> Playing 'invalid.gsm' (language 'en')
[Mar 5 00:49:29] -- Executing [i@default:2] Hangup("Local/8600051@default-00000040;1", "") in new stack
[Mar 5 00:49:29] == Spawn extension (default, i, 2) exited non-zero on 'Local/8600051@default-00000040;1'
[Mar 5 00:49:29] -- Executing [h@default:1] AGI("Local/8600051@default-00000040;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Mar 5 00:49:29] -- <Local/8600051@default-00000040;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Mar 5 00:49:29] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000040;2'
[Mar 5 00:49:29] -- Executing [h@default:1] AGI("Local/8600051@default-00000040;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Mar 5 00:49:29] -- <Local/8600051@default-00000040;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
Dialplan Entry
exten => _1[2-9]xxxxxxxxx.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1[2-9]xxxxxxxxx.,2,Dial(SIP/AlcazarNetIDID1/${EXTEN})
exten => _1[2-9]xxxxxxxxx.,3,Hangup
CLI Output
[Mar 5 00:48:52] == Using SIP RTP CoS mark 5
[Mar 5 00:48:56] > Channel SIP/8001-00000030 was answered.
[Mar 5 00:48:56] -- Executing [8600051@default:1] MeetMe("SIP/8001-00000030", "8600051,F") in new stack
[Mar 5 00:48:56] == Parsing '/etc/asterisk/meetme.conf': [Mar 5 00:48:56] == Found
[Mar 5 00:48:56] == Parsing '/etc/asterisk/meetme-vicidial.conf': [Mar 5 00:48:56] == Found
[Mar 5 00:48:56] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 5 00:48:56] -- Created MeetMe conference 1022 for conference '8600051'
[Mar 5 00:48:56] -- <SIP/8001-00000030> Playing 'conf-onlyperson.gsm' (language 'en')
[Mar 5 00:48:58] NOTICE[9092]: res_rtp_asterisk.c:2361 ast_rtp_read: Unknown RTP codec 126 received from '65.94.166.90:56690'
[Mar 5 00:49:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 5 00:49:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 5 00:49:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 5 00:49:02] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 5 00:49:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 5 00:49:06] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 5 00:49:25] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 5 00:49:25] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-00000040;2", "8600051,F") in new stack
[Mar 5 00:49:25] > Channel Local/8600051@default-00000040;1 was answered.
[Mar 5 00:49:25] == Starting Local/8600051@default-00000040;1 at default,119514500121,1 failed so falling back to exten 's'
[Mar 5 00:49:25] == Starting Local/8600051@default-00000040;1 at default,s,1 still failed so falling back to context 'default'
[Mar 5 00:49:25] -- Sent into invalid extension 's' in context 'default' on Local/8600051@default-00000040;1
[Mar 5 00:49:25] -- Executing [i@default:1] Playback("Local/8600051@default-00000040;1", "invalid") in new stack
[Mar 5 00:49:25] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 5 00:49:25] -- <Local/8600051@default-00000040;1> Playing 'invalid.gsm' (language 'en')
[Mar 5 00:49:29] -- Executing [i@default:2] Hangup("Local/8600051@default-00000040;1", "") in new stack
[Mar 5 00:49:29] == Spawn extension (default, i, 2) exited non-zero on 'Local/8600051@default-00000040;1'
[Mar 5 00:49:29] -- Executing [h@default:1] AGI("Local/8600051@default-00000040;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Mar 5 00:49:29] -- <Local/8600051@default-00000040;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Mar 5 00:49:29] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000040;2'
[Mar 5 00:49:29] -- Executing [h@default:1] AGI("Local/8600051@default-00000040;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Mar 5 00:49:29] -- <Local/8600051@default-00000040;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0