Press 1. sorry thats not a valid extension

All installation and configuration problems and questions

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

Press 1. sorry thats not a valid extension

Postby rajivtech22 » Thu Oct 03, 2019 1:12 am

hello,
i made a press 1 campaign. while doing test calls, i faced some errors. i am trying with my own DID number. i recieved the call in my number, heard voice prompt, and pressed 1. then i heard this voice "sorry thats not a valid extension"
i checked in my astersik log. i can see "Channel 'SIP/LOGIC-000076be' sent to invalid extension: context,exten,priority=default,9999999,1"

I have 2 campaigns. one is for outbound(AUSCamp) - sending calls, second is for inbound(Camp_Inb) - recieving call after press 1.
I have remote agent which is logged in oubound camp.
I have a Ingroup which forwards the call to inbound campaign.
Agents are logged in "inbound campaign"

Installation information
Code: Select all
Vicibox 8.1.2 from .iso | VERSION: 2.14-718a BUILD: 190902-0839| SVN Version: 3136 | Asterisk 13.21.1 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Dell PowerEdge CS24-SC | Intel Xeon 5420 |


Remote Agnet setting
Image

Survery Setting
Image

Here is my configuration
------------------------------
Carrier setting - Account entry

Code: Select all
[LOGIC]
type=peer
dtmfmode=rfc2833
context=trunkibound
disallow=all
allow=ulaw
allow=alaw
username=XXXXX
secret=XXXXX
host=10.10.10.1
port=5060
insecure=port,invite
qualify=yes


Here is the Asterisk CLI Log

Code: Select all
[Oct  3 10:37:43]     -- Called SIP/LOGIC/61270156521
[Oct  3 10:37:43]     -- Local/2261270156521@default-00007849;1 is ringing
[Oct  3 10:37:45]        > 0x7fc30809cb60 -- Strict RTP learning after remote address set to: 161.202.135.84:10590
[Oct  3 10:37:45]     -- SIP/LOGIC-000076be is making progress passing it to Local/2261270156521@default-00007849;2
[Oct  3 10:37:45]        > 0x7fc30809cb60 -- Strict RTP switching to RTP target address 161.202.135.84:10590 as source
[Oct  3 10:37:48]     -- SIP/LOGIC-000076be answered Local/2261270156521@default-00007849;2
[Oct  3 10:37:48]     -- Local/2261270156521@default-00007849;1 answered
[Oct  3 10:37:48]     -- Executing [138373@default:1] AGI("Local/2261270156521@default-00007849;1", "agi-VDAD_local_optimize.agi,V0031037                                                                                                    430000430414") in new stack
[Oct  3 10:37:48]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_local_optimize.agi
[Oct  3 10:37:48]     -- Channel SIP/LOGIC-000076be joined 'simple_bridge' basic-bridge <3fb855a8-2596-46bf-9808-1b4d65df3b9a>
[Oct  3 10:37:48]     -- Channel Local/2261270156521@default-00007849;2 joined 'simple_bridge' basic-bridge <3fb855a8-2596-46bf-9808-1b4d                                                                                                    65df3b9a>
[Oct  3 10:37:48]     -- <Local/2261270156521@default-00007849;1>AGI Script agi-VDAD_local_optimize.agi completed, returning 0
[Oct  3 10:37:48]     -- Executing [138373@default:2] Wait("Local/2261270156521@default-00007849;1", "2") in new stack
[Oct  3 10:37:48]   == Manager 'sendcron' logged on from 127.0.0.1
[Oct  3 10:37:48]     -- Channel SIP/LOGIC-000076be left 'simple_bridge' basic-bridge <3fb855a8-2596-46bf-9808-1b4d65df3b9a>
[Oct  3 10:37:48]     -- Channel Local/2261270156521@default-00007849;2 left 'simple_bridge' basic-bridge <3fb855a8-2596-46bf-9808-1b4d65                                                                                                    df3b9a>
[Oct  3 10:37:48]   == Spawn extension (default, 2261270156521, 2) exited non-zero on 'Local/2261270156521@default-00007849;2'
[Oct  3 10:37:48]     -- Executing [h@default:1] AGI("Local/2261270156521@default-00007849;2", "agi://127.0.0.1:4577/call_log--HVcauses--                                                                                                    PRI-----NODEBUG-----16-----ANSWER-----4-----0-----SIP 200 OK)") in new stack
[Oct  3 10:37:48]     -- Executing [8373@default:1] AGI("SIP/LOGIC-000076be", "agi://127.0.0.1:4577/call_log") in new stack
[Oct  3 10:37:48]     -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=AUScamp))
[Oct  3 10:37:48]     -- <SIP/LOGIC-000076be>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct  3 10:37:48]     -- Executing [8373@default:2] Playback("SIP/LOGIC-000076be", "sip-silence") in new stack
[Oct  3 10:37:48]     -- <SIP/LOGIC-000076be> Playing 'sip-silence.gsm' (language 'en')
[Oct  3 10:37:48]     -- Executing [8373@default:3] AMD("SIP/LOGIC-000076be", "2000,2000,1000,5000,120,50,4,256") in new stack
[Oct  3 10:37:48]     -- AMD: SIP/LOGIC-000076be (N/A) (N/A) (Fmt: slin)
[Oct  3 10:37:48]     -- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLengt                                                                                                    h [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256] maximumWordLength [5000]
[Oct  3 10:37:48]     -- AMD: Channel [SIP/LOGIC-000076be]. Changed state to STATE_IN_SILENCE
[Oct  3 10:37:49]   == Manager 'sendcron' logged off from 127.0.0.1
[Oct  3 10:37:49]   == Manager 'sendcron' logged off from 127.0.0.1
[Oct  3 10:37:49]     -- <Local/2261270156521@default-00007849;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----                                                                                                    16-----ANSWER-----4-----0-----SIP 200 OK) completed, returning 0
[Oct  3 10:37:49]   == Spawn extension (default, 138373, 2) exited non-zero on 'Local/2261270156521@default-00007849;1'
[Oct  3 10:37:49] WARNING[24474][C-0000bcd8]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Oct  3 10:37:49]     -- Executing [h@default:1] AGI("Local/2261270156521@default-00007849;1", "agi://127.0.0.1:4577/call_log--HVcauses--                                                                                                    PRI-----NODEBUG-----16--------------------)") in new stack
[Oct  3 10:37:49]     -- AMD: Channel [SIP/LOGIC-000076be]. Short Word Duration: 20
[Oct  3 10:37:50]     -- <Local/2261270156521@default-00007849;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----                                                                                                    16--------------------) completed, returning 0
[Oct  3 10:37:50]     -- AMD: Channel [SIP/LOGIC-000076be]. Detected Talk, previous silence duration: 300
[Oct  3 10:37:50]     -- AMD: Channel [SIP/LOGIC-000076be]. Word detected. iWordsCount:1
[Oct  3 10:37:50]     -- AMD: Channel [SIP/LOGIC-000076be]. Changed state to STATE_IN_SILENCE
[Oct  3 10:37:50]        > 0x7fc30809cb60 -- Strict RTP learning complete - Locking on source address 161.202.135.84:10590
[Oct  3 10:37:50]     -- AMD: Channel [SIP/LOGIC-000076be]. Detected Talk, previous silence duration: 320
[Oct  3 10:37:50]     -- AMD: Channel [SIP/LOGIC-000076be]. Short Word Duration: 40
[Oct  3 10:37:53]     -- Executing [8373@default:4] AGI("SIP/LOGIC-000076be", "VD_amd.agi,8373") in new stack
[Oct  3 10:37:53]     -- Launched AGI Script /usr/share/asterisk/agi-bin/VD_amd.agi
[Oct  3 10:37:53]     -- <SIP/LOGIC-000076be>AGI Script VD_amd.agi completed, returning 0
[Oct  3 10:37:53]     -- Executing [8373@default:5] AGI("SIP/LOGIC-000076be", "agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB-----V003103743                                                                                                    0000430414") in new stack
[Oct  3 10:37:53]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Oct  3 10:37:53]     -- <SIP/LOGIC-000076be> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Oct  3 10:37:53]     -- <SIP/LOGIC-000076be> Playing 'aus.slin' (escape_digits=1234567890*#) (sample_offset 0) (language 'en')
[Oct  3 10:38:01]   == Manager 'sendcron' logged on from 127.0.0.1
[Oct  3 10:38:01]   == Manager 'sendcron' logged off from 127.0.0.1
[Oct  3 10:38:01]   == Manager 'sendcron' logged on from 127.0.0.1
[Oct  3 10:38:03]   == Manager 'sendcron' logged off from 127.0.0.1
[Oct  3 10:38:06]   == Manager 'sendcron' logged on from 127.0.0.1
[Oct  3 10:38:06]   == Manager 'sendcron' logged off from 127.0.0.1
[Oct  3 10:38:12] DTMF[24481][C-0000bcd7]: channel.c:4124 __ast_read: DTMF begin '1' received on SIP/LOGIC-000076be
[Oct  3 10:38:12] DTMF[24481][C-0000bcd7]: channel.c:4128 __ast_read: DTMF begin ignored '1' on SIP/LOGIC-000076be
[Oct  3 10:38:12] DTMF[24481][C-0000bcd7]: channel.c:4038 __ast_read: DTMF end '1' received on SIP/LOGIC-000076be, duration 240 ms
[Oct  3 10:38:12] DTMF[24481][C-0000bcd7]: channel.c:4108 __ast_read: DTMF end passthrough '1' on SIP/LOGIC-000076be
[Oct  3 10:38:12]     -- <SIP/LOGIC-000076be>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Oct  3 10:38:12]     -- Executing [147*021*109*110*9999999@default:1] Goto("SIP/LOGIC-000076be", "default,9999999,1") in new stack
[Oct  3 10:38:12]     -- Goto (default,9999999,1)
[Oct  3 10:38:12]     -- Channel 'SIP/LOGIC-000076be' sent to invalid extension: context,exten,priority=default,9999999,1
[Oct  3 10:38:12]     -- Executing [i@default:1] Playback("SIP/LOGIC-000076be", "invalid") in new stack
[Oct  3 10:38:12]     -- <SIP/LOGIC-000076be> Playing 'invalid.gsm' (language 'en')
[Oct  3 10:38:16]     -- Executing [i@default:2] Hangup("SIP/LOGIC-000076be", "") in new stack
[Oct  3 10:38:16]   == Spawn extension (default, i, 2) exited non-zero on 'SIP/LOGIC-000076be'
[Oct  3 10:38:16]     -- Executing [h@default:1] AGI("SIP/LOGIC-000076be", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----                                                                                                    16--------------------SIP 200 OK)") in new stack
[Oct  3 10:38:16]     -- <SIP/LOGIC-000076be>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16------------------                                                                                                    --SIP 200 OK) completed, returning 0
[Oct  3 10:38:18]   == Manager 'sendcron' logged on from 127.0.0.1


Please help me to fix this issue
Vicibox v11 from .iso | VERSION: 2.14b0.5 BUILD: 231227-2217 | SVN Version: 3796| Asterisk 16.30.0-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Dell PowerEdge CS24-SC | Intel Xeon E5-2697A / 512 SSD / 64 GB
rajivtech22
 
Posts: 37
Joined: Fri Jul 26, 2013 3:07 pm

Re: Press 1. sorry thats not a valid extension

Postby ambiorixg12 » Thu Oct 03, 2019 7:36 am

[Oct 3 10:38:12] -- Channel 'SIP/LOGIC-000076be' sent to invalid extension: context,exten,priority=default,9999999,1
Asterisk cant find any extension 9999999 on the default context, Where do you want to send the call after user press 1 ?
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: Press 1. sorry thats not a valid extension

Postby rajivtech22 » Thu Oct 03, 2019 8:12 am

After press 1 i want the call to send to the agent via Ingroup.
Vicibox v11 from .iso | VERSION: 2.14b0.5 BUILD: 231227-2217 | SVN Version: 3796| Asterisk 16.30.0-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Dell PowerEdge CS24-SC | Intel Xeon E5-2697A / 512 SSD / 64 GB
rajivtech22
 
Posts: 37
Joined: Fri Jul 26, 2013 3:07 pm

Re: Press 1. sorry thats not a valid extension

Postby ambiorixg12 » Thu Oct 03, 2019 10:18 am

The agi-VDAD_ALL_outbound.agi script is routing the call just fine, 9999999 is the remote agent exension but you need to make sure you can dial to that extension from the default context, which is not your case
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: Press 1. sorry thats not a valid extension

Postby rajivtech22 » Thu Oct 03, 2019 10:27 am

do i need to make changes in carrier setting or add custom dialplan in server tab.

if i need to add dial plan what should i use.
Vicibox v11 from .iso | VERSION: 2.14b0.5 BUILD: 231227-2217 | SVN Version: 3796| Asterisk 16.30.0-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Dell PowerEdge CS24-SC | Intel Xeon E5-2697A / 512 SSD / 64 GB
rajivtech22
 
Posts: 37
Joined: Fri Jul 26, 2013 3:07 pm

Re: Press 1. sorry thats not a valid extension

Postby ambiorixg12 » Thu Oct 03, 2019 12:20 pm

You need to add to the default context a way how to dial to 999999, this can be done directly on the carrier setting or editing extensions.conf directly and reloading asterisk
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: Press 1. sorry thats not a valid extension

Postby rajivtech22 » Thu Oct 03, 2019 1:35 pm

I'm bad at dial plan. Can you paste a example dial plan entry. It will be great help
Vicibox v11 from .iso | VERSION: 2.14b0.5 BUILD: 231227-2217 | SVN Version: 3796| Asterisk 16.30.0-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Dell PowerEdge CS24-SC | Intel Xeon E5-2697A / 512 SSD / 64 GB
rajivtech22
 
Posts: 37
Joined: Fri Jul 26, 2013 3:07 pm

Re: Press 1. sorry thats not a valid extension

Postby ambiorixg12 » Thu Oct 03, 2019 7:16 pm

same=>n,Dial(SIP/${TRUNKNAME}/999999) assuming it is not a local SIP device
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 101 guests