So I have my extensions.conf (http://www.infiltrated.net/exten.stupidity.conf) shortened in case someone wants to look. Has someone encountered the following? I've racked my brain on this for too long... I have two contexts, day and night... Caller (Daytime) --> Dials an extension --> Caller hears extension ring on receiver --> Call goes through Caller (Night) --> Dials an extension --> Caller hears silence until vm picks up --> Leaves a voicemail... Significant albeit insanely stupid Asstricks message: 2007-01-30 09:22:57 DEBUG[9946]: pbx.c:2300 __ast_pbx_run: Oooh, got something to jump out with ('2')! (Oooh how about creating errors we can figure out Digium!) Any thoughts -- ===================================================J. Oquendo http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1383A743 sil . infiltrated @ net http://www.infiltrated.net The happiness of society is the end of government. John Adams -------------- 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/20070130/dcb39663/smime.bin
You seem to have to many s,3's [main-night-aa] exten => s,1,Answer exten => s,2,Background(/etc/asterisk/night) exten => s,3,Directory(foobarcorp,internal,l) exten => s,3,Wait(3) exten => s,4,Voicemail(u201@foobarcorp) exten => s,5,Hangup exten => 1,1,Directory(foobarcorp,internal,l) exten => 00,1,VoicemailMain(s@foobarcorp) include => retardonightfix Bails J. Oquendo wrote:> So I have my extensions.conf > (http://www.infiltrated.net/exten.stupidity.conf) shortened > in case someone wants to look. Has someone encountered the following? > I've racked my > brain on this for too long... > > I have two contexts, day and night... > > Caller (Daytime) --> Dials an extension --> Caller hears extension ring > on receiver --> Call goes through > Caller (Night) --> Dials an extension --> Caller hears silence until vm > picks up --> Leaves a voicemail... > > Significant albeit insanely stupid Asstricks message: > > 2007-01-30 09:22:57 DEBUG[9946]: pbx.c:2300 __ast_pbx_run: Oooh, got > something to jump out with ('2')! > (Oooh how about creating errors we can figure out Digium!) > > Any thoughts > > > ------------------------------------------------------------------------ > > _______________________________________________ > --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
Yes, there are duplicate 3 lines, which can cause havoc. For this reason it is recommend you use 'n' in your contexts. Such as: [main-night-aa] exten => s,1,Answer exten => s,n,Background(/etc/asterisk/night) exten => s,n,Directory(foobarcorp,internal,l) 'n' allows for the addition and deletions of lines in the contexts without getting the numbering all messed up.>>> bails@westcomuk.com 1/30/2007 10:06:09 AM >>>You seem to have to many s,3's [main-night-aa] exten => s,1,Answer exten => s,2,Background(/etc/asterisk/night) exten => s,3,Directory(foobarcorp,internal,l) exten => s,3,Wait(3) exten => s,4,Voicemail(u201@foobarcorp) exten => s,5,Hangup exten => 1,1,Directory(foobarcorp,internal,l) exten => 00,1,VoicemailMain(s@foobarcorp) include => retardonightfix Bails J. Oquendo wrote:> So I have my extensions.conf > (http://www.infiltrated.net/exten.stupidity.conf) shortened > in case someone wants to look. Has someone encountered the following? > I've racked my > brain on this for too long... > > I have two contexts, day and night... > > Caller (Daytime) --> Dials an extension --> Caller hears extension ring > on receiver --> Call goes through > Caller (Night) --> Dials an extension --> Caller hears silence until vm > picks up --> Leaves a voicemail... > > Significant albeit insanely stupid Asstricks message: > > 2007-01-30 09:22:57 DEBUG[9946]: pbx.c:2300 __ast_pbx_run: Oooh, got > something to jump out with ('2')! > (Oooh how about creating errors we can figure out Digium!) > > Any thoughts > > > ------------------------------------------------------------------------ > > _______________________________________________ > --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_______________________________________________ --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 -------------- next part -------------- ------------------------------------------------- This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, printing, distributing or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. The Evangelical Lutheran Good Samaritan Society. ---------------------------------------------------------
On Tue, 2007-01-30 at 10:11 -0500, J. Oquendo wrote:> So I have my extensions.conf > (http://www.infiltrated.net/exten.stupidity.conf) shortened > in case someone wants to look. Has someone encountered the following? > I've racked my > brain on this for too long... > > I have two contexts, day and night... > > Caller (Daytime) --> Dials an extension --> Caller hears extension ring > on receiver --> Call goes through > Caller (Night) --> Dials an extension --> Caller hears silence until vm > picks up --> Leaves a voicemail... > > Significant albeit insanely stupid Asstricks message: > > 2007-01-30 09:22:57 DEBUG[9946]: pbx.c:2300 __ast_pbx_run: Oooh, got > something to jump out with ('2')! > (Oooh how about creating errors we can figure out Digium!) > > Any thoughts > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersIt would seem to me that you placed your call on Sat or Sunday and the debug message is telling you that it (got) a response for priority 2 in the context [main-aa]. So, did you make the test call on Sat or Sunday? db
Eric "ManxPower" Wieling
2007-Jan-30 16:18 UTC
[asterisk-users] Asterisk dual contexts stupidity
J. Oquendo wrote:> Eric "ManxPower" Wieling wrote: >> >> Make sure you have /etc/asterisk/indications.conf > > Thx that did it ... >You and everyone else seemed to be stuck on contexts. Ringback issues have nothing to do with contexts. BEFORE a call is answered, Asterisk just sends a message back to the calling device that basically says "the destination is ringing". AFTER a call has been answered (by playback, background, etc), then Asterisk can no longer send that message (those messages can only be sent before a call is answered) and so must consult /etc/asterisk/indications.conf to find out what tone to send. The CLI should have complained that it did not know how to indicate something and that indications.conf was missing. I thought the developers added that message sometime in 1.2, but apparently I was wrong.
> Significant albeit insanely stupid Asstricks message: > > 2007-01-30 09:22:57 DEBUG[9946]: pbx.c:2300 __ast_pbx_run: Oooh, got > something to jump out with ('2')! > (Oooh how about creating errors we can figure out Digium!) > > Any thoughtsWhat Error ? it says DEBUG This just tell you that the user pressed '2' Actually, the first time I read that message I was laughing :) Only in opensource product you have the priviledge of having funny message hth