J. Oquendo
2007-May-01 05:02 UTC
[asterisk-users] Autoattendant press 1 collides with extension numbers...
So I have whose autoattendant is colliding with their extensions... Quick fix anyone? Second someone presses say a person's extension (101) ... Autoattendant sends them to the first context... [companyx-main-aa] exten => s,1,Background(companyx/companyx-main) exten => s,2,Background(silence/10) exten => s,3,Background(companyx/companyx-main) exten => s,4,Background(silence/10) exten => s,5,Hangup exten => 0,1,Dial(companyx-cust-svce,s,1) exten => 1,1,Goto(companyx-cust-svce,s,1) exten => 2,1,Goto(companyx-shipping,s,1) exten => 3,1,Goto(companyx-accounting,s,1) exten => 4,1,Goto(companyx-sales,s,1) ;exten => 5,1,Goto(companyx-directory,s,1) exten => i,1,Playback(invalid) exten => i,2,Goto(companyx-aa,s,1) [companyx-cust-svce] exten => s,1,Dial(SIP/companyx103,15,tr) exten => s,2,Dial(SIP/companyx100&SIP/companyx103,15,tr) exten => s,3,Voicemail(u100@companyx) exten => s,4,Voicemail(b100@companyx) exten => s,5,Hangup -- ===================================================J. Oquendo http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1383A743 echo infiltrated.net|sed 's/^/sil@/g' "Wise men talk because they have something to say; fools, because they have to say something." -- Plato -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5157 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070501/bded42bc/smime-0001.bin
C F
2007-May-01 06:21 UTC
[asterisk-users] Autoattendant press 1 collides with extension numbers...
You need to include the context to the extensions (10x) On 5/1/07, J. Oquendo <sil@infiltrated.net> wrote:> So I have whose autoattendant is colliding with their extensions... > Quick fix anyone? > > Second someone presses say a person's extension (101) ... Autoattendant > sends them to the first context... > > [companyx-main-aa] > exten => s,1,Background(companyx/companyx-main) > exten => s,2,Background(silence/10) > exten => s,3,Background(companyx/companyx-main) > exten => s,4,Background(silence/10) > exten => s,5,Hangup > exten => 0,1,Dial(companyx-cust-svce,s,1) > exten => 1,1,Goto(companyx-cust-svce,s,1) > exten => 2,1,Goto(companyx-shipping,s,1) > exten => 3,1,Goto(companyx-accounting,s,1) > exten => 4,1,Goto(companyx-sales,s,1) > ;exten => 5,1,Goto(companyx-directory,s,1) > exten => i,1,Playback(invalid) > exten => i,2,Goto(companyx-aa,s,1) > > [companyx-cust-svce] > exten => s,1,Dial(SIP/companyx103,15,tr) > exten => s,2,Dial(SIP/companyx100&SIP/companyx103,15,tr) > exten => s,3,Voicemail(u100@companyx) > exten => s,4,Voicemail(b100@companyx) > exten => s,5,Hangup > > -- > ===================================================> J. Oquendo > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1383A743 > echo infiltrated.net|sed 's/^/sil@/g' > > "Wise men talk because they have something to say; > fools, because they have to say something." -- Plato > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
Stephen Bosch
2007-May-01 07:39 UTC
[asterisk-users] Autoattendant press 1 collides with extension numbers...
J. Oquendo wrote:> So I have whose autoattendant is colliding with their extensions... > Quick fix anyone? > > Second someone presses say a person's extension (101) ... Autoattendant > sends them to the first context...Two things: 1 -- your include statement is missing. Asterisk doesn't even know about the extension 101. 2 -- even if you include the other extension, you will have problems, because Asterisk will match in the current context before it checks the included contexts. What this means is that there is no quick fix for your problem. The best thing to do is to make sure that your extensions use a first digit that isn't part of the auto attendant at all. So, for example, your extensions might start with 6 (as in 6XX), since 6 isn't part of the auto attendant menu. Alternatively, you can take the 1 out of the auto attendant. Either way, it will change the caller experience -- but if this is a new setup and it's not working anyway, so what? -Stephen-