Re: [asterisk-users] Asterisk dual contexts stupidity

2007-01-31 Thread Time Bandit

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

What 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
___
--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


Re: [asterisk-users] Asterisk dual contexts stupidity

2007-01-31 Thread Lee Jenkins

Time Bandit wrote:

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

What 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


I was once working on tracking down a particularly elusive bug in one of 
our products and put a small piece of code showing a message when 
testing a value that said Sh*t still doesn't work if a certain value 
was true.


I guess you already know that I forgot to remove this little tidbit 
before distributing the update.


Needless to say, another update was fast following...

--

Warm Regards,

Lee

___
--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


Re: [asterisk-users] Asterisk dual contexts stupidity

2007-01-31 Thread Ira

At 09:20 AM 1/31/2007, you wrote:
I was once working on tracking down a particularly elusive bug in 
one of our products and put a small piece of code showing a message 
when testing a value that said Sh*t still doesn't work if a 
certain value was true.


I guess you already know that I forgot to remove this little tidbit 
before distributing the update.


I've always been more inclined to use horse, cow, fish and 
truck.  Confuses the heck out of the users but you never get calls 
from the CEO of a Fortune 500 wondering why your application is 
creating files called sh??.tmp on his secretary's hard drive. A 
friends boss at a Big 8 accounting firm got that call, not a good thing!


Ira  


___
--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


[asterisk-users] Asterisk dual contexts stupidity

2007-01-30 Thread J. Oquendo
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=getsearch=0x1383A743
sil . infiltrated @ net http://www.infiltrated.net 


The happiness of society is the end of government.
John Adams



smime.p7s
Description: S/MIME Cryptographic Signature
___
--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


Re: [asterisk-users] Asterisk dual contexts stupidity

2007-01-30 Thread bails

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([EMAIL PROTECTED])
exten = s,5,Hangup
exten = 1,1,Directory(foobarcorp,internal,l)
exten = 00,1,VoicemailMain([EMAIL PROTECTED])
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


Re: [asterisk-users] Asterisk dual contexts stupidity

2007-01-30 Thread john beaman
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.



 [EMAIL PROTECTED] 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([EMAIL PROTECTED])
exten = s,5,Hangup
exten = 1,1,Directory(foobarcorp,internal,l)
exten = 00,1,VoicemailMain([EMAIL PROTECTED])
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 

-

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.

-
___
--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


Re: [asterisk-users] Asterisk dual contexts stupidity

2007-01-30 Thread J. Oquendo

john beaman wrote:

Yes, there are duplicate 3 lines, which can cause havoc.  For this reason it is 
recommend you use 'n' in your contexts.  Such as:

  
You seem to have to many s,3's
  



Thanks but no dice. I removed them and re-tried, still the same error. 
Asterisk shows the phone is ringing, I see the phone ringing, only thing 
is, I don't hear the phone ring on the receiver.


TIA
___
--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


Re: [asterisk-users] Asterisk dual contexts stupidity

2007-01-30 Thread Eric \ManxPower\ Wieling

J. Oquendo wrote:

john beaman wrote:
Yes, there are duplicate 3 lines, which can cause havoc.  For this 
reason it is recommend you use 'n' in your contexts.  Such as:


  You seem to have to many s,3's
  



Thanks but no dice. I removed them and re-tried, still the same error. 
Asterisk shows the phone is ringing, I see the phone ringing, only thing 
is, I don't hear the phone ring on the receiver.


Make sure you have /etc/asterisk/indications.conf
___
--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


Re: [asterisk-users] Asterisk dual contexts stupidity (more debugging)

2007-01-30 Thread J. Oquendo

john beaman wrote:

Yes, there are duplicate 3 lines, which can cause havoc.  For this reason it is 
recommend you use 'n' in your contexts.  Such as:
  


More debug logs... When I dial the main-night-aa number this is what 
Asterisk sees via debug... The call DOES GO THROUGH just fine, the 
caller though hears silence, not the phone ringing.


2007-01-30 11:52:14 DEBUG[11126]: rtp.c:193 send_dtmf: Sending dtmf: 51 
(3), at 13x.250.110.14
2007-01-30 11:52:14 DEBUG[11126]: channel.c:1761 ast_settimeout: 
Scheduling timer at 0 sample intervals
2007-01-30 11:52:14 DEBUG[11126]: channel.c:2409 set_format: Set channel 
SIP/5060-0a146e40 to write format g729
2007-01-30 11:52:14 DEBUG[11126]: pbx.c:2300 __ast_pbx_run: Oooh, got 
something to jump out with ('3')!
2007-01-30 11:52:15 DEBUG[11126]: rtp.c:193 send_dtmf: Sending dtmf: 51 
(3), at 13x.250.110.14
2007-01-30 11:52:16 DEBUG[11126]: rtp.c:193 send_dtmf: Sending dtmf: 51 
(3), at 13x.250.110.14


Phone rings, I can see it in front of me ringing, Asterisk sees it 
ringing, only someone calling will hear nothing.



___
--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


Re: [asterisk-users] Asterisk dual contexts stupidity

2007-01-30 Thread J. Oquendo

Eric ManxPower Wieling wrote:


Make sure you have /etc/asterisk/indications.conf
___
--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




Thx that did it ...

___
--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


Re: [asterisk-users] Asterisk dual contexts stupidity

2007-01-30 Thread Asterisk
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-users



It 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

___
--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


Re: [asterisk-users] Asterisk dual contexts stupidity

2007-01-30 Thread Eric \ManxPower\ Wieling

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.


___
--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