Re: [asterisk-users] Ringing on Console after a page

2008-09-03 Thread Josiah Bryan
Good questions - the only answer to the Goto is that this was a legacy 
dialplan that I first wrote 3+ years ago when I first set up asterisk - 
and I havn't gone go back and re-work it after learning more about 
asterisk - it worked up till the upgrade to 1.4 and that was that.

However, you're right - simpler is better anyway. I changed it to the 
249,n,Dial(Console/dsp) format (as you described below) and it still 
plays the ringing indicator over the console after I hangup my phone.

As an aside, In the 3+ years that the system has been online, users know 
that when they dialed 249 and heard "Goodbye!" right away, they weren't 
going to be able to page and "Something was wrong." (Usually, someone 
had put 249 on hold or something like that.) Thats the primary reason I 
left the goodbye in there.

Anyway, thoughts on how to debug?

Thanks for your help and your suggestions.
-josiah



Barry L. Kline wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Josiah Bryan wrote:
> 
>> [paging]
>> exten => 249,1,Goto(paging,s,1)
>> exten => s,1,Playback(beep)
>> exten => s,n,Dial(Console/dsp)
>> exten => s,n,Playback(vm-goodbye)
>> exten => s,n,Hangup
> 
> If the caller has hung up, to whom are you playing the "vm-goodbye"
> message?  Also, why the Goto?
> 
> [paging]
> exten => 249,1,Playback(beep)
> exten => 249,n,Dial(Console/dsp)
> 
> Barry
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.5 (GNU/Linux)
> 
> iD8DBQFIvvVQCFu3bIiwtTARAp9XAJ0Ra8LLo2COS89loyBFgWutV5SxcgCbB6Md
> 54ve7snza6SLYZ1ufR4BVJY=
> =Y8MF
> -END PGP SIGNATURE-
> 
> ___
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 

-- 
Josiah Bryan
IT Manager
Productive Concepts, Inc.
[EMAIL PROTECTED]
(765) 964-6009, ext. 224


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Ringing on Console after a page

2008-09-03 Thread Barry L. Kline
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Josiah Bryan wrote:

> [paging]
> exten => 249,1,Goto(paging,s,1)
> exten => s,1,Playback(beep)
> exten => s,n,Dial(Console/dsp)
> exten => s,n,Playback(vm-goodbye)
> exten => s,n,Hangup

If the caller has hung up, to whom are you playing the "vm-goodbye"
message?  Also, why the Goto?

[paging]
exten => 249,1,Playback(beep)
exten => 249,n,Dial(Console/dsp)

Barry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFIvvVQCFu3bIiwtTARAp9XAJ0Ra8LLo2COS89loyBFgWutV5SxcgCbB6Md
54ve7snza6SLYZ1ufR4BVJY=
=Y8MF
-END PGP SIGNATURE-

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Ringing on Console after a page

2008-09-03 Thread Josiah Bryan
Hello, all -

Alright, after my fun with Asterisk crashing, I'm onto my next item in 
my checklist of stuff-to-fix-after-upgrading. I've noticed a very 
troubling problem when "paging" over Console/dsp.

(I'm not sure if this has anything to do with the "Dial" oddities that I 
experienced with the "Crashing" problem in my other thread or not...)

The problem is that after the user dials the extension, connects, speaks 
their page, hangsup, ringing is heard over the paging system (as in, the 
tone heard when you dial a person and you hear the phone ringing - that 
ringing tone - I don't know the "proper" term for it, but you get the 
drift.)

I've gone through the source code, trying to figure out what it could be 
doing - however, since this is the first time I've really looked at the 
source for asterisk, I really didn't know what to look for.

Here's the relevant context (which is included in a general context for 
all users):

[paging]
exten => 249,1,Goto(paging,s,1)
exten => s,1,Playback(beep)
exten => s,n,Dial(Console/dsp)
exten => s,n,Playback(vm-goodbye)
exten => s,n,Hangup

Here's the console output when I dial extension 249 to page. (I dial, 
paging answers, I say whatever (or even just hangup immediately) - then, 
right after the call termination, I hear the ringing over the paging 
system. I have to *manually* issue then hangup command seen below to 
stop it from ringing - however, the oddest thing is asterisk tells me 
that there is no call to hangup. Its not like the console got transfered 
to any extension - literally no channels active while the ringing is 
taking place (core show channels reports 0 active channels even while 
the ringing is heard.)

asterisk*CLI> set verbose 99
Verbosity is at least 99
 -- Zap/1-1 answered SIP/236-09f0ea20
asterisk*CLI> set debug 99
Core debug was  and is now 99
asterisk*CLI>
 -- Executing [EMAIL PROTECTED]:1] Goto("SIP/josiah2-09f0ea20", 
"paging|s|1") in new stack
 -- Goto (paging,s,1)
 -- Executing [EMAIL PROTECTED]:1] Playback("SIP/josiah2-09f0ea20", "beep") 
in new stack
 --  Playing 'beep' (language 'en')
 -- Executing [EMAIL PROTECTED]:2] Dial("SIP/josiah2-09f0ea20", 
"Console/dsp") in new stack
  << Call placed to 'dsp' on console >>
  << Auto-answered >>
 -- Called dsp
 -- ALSA/default answered SIP/josiah2-09f0ea20
  << Hangup on console >>
   == Spawn extension (paging, s, 2) exited non-zero on 
'SIP/josiah2-09f0ea20'
Really destroying SIP dialog '[EMAIL PROTECTED]' 
Method: BYE
asterisk*CLI>  hangup
No call to hangup up


I'm open to any and all suggestions.

Thanks for your time and patience!

-- 
Josiah Bryan
IT Manager
Productive Concepts, Inc.
[EMAIL PROTECTED]
(765) 964-6009, ext. 224


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users