[asterisk-users] Dialtone when automatically picking up.
Peter Hessler
phessler at theapt.org
Wed Jul 25 17:06:26 CDT 2007
On 2007 Jul 25 (Wed) at 14:57:27 -0700 (-0700), Peter Hessler wrote:
:On 2007 Jul 25 (Wed) at 17:39:11 -0400 (-0400), Jared Smith wrote:
::On Wed, 2007-07-25 at 14:05 -0700, Peter Hessler wrote:
::> -- Executing BackGround("Zap/10-1", "enter-ext-of-person") in new stack
::> -- Playing 'enter-ext-of-person' (language 'en')
::> -- Executing WaitExten("Zap/10-1", "10") in new stack
::> ;; dialed '305' from the calling phone
::> -- Invalid extension '0' in context 'from-zaptel' on Zap/10-1
::
::You seem to be having DTMF recognition problems here... If I'm reading
::this right, Asterisk only saw the 0 when you dialed 305.
:
:Correct. However, when Asterisk loops back around and plays
:Background() again, there is no dial tone, and no DTMF problems. I can
:ring '305' with no issues.
Additionally, here is some extended Asterisk debug output
-- Starting simple switch on 'Zap/10-1'
-- Executing Answer("Zap/10-1", "") in new stack
-- Executing NoOp("Zap/10-1", "CALLERID is "HESSLER PETER "
<4155551212>") in new stack
-- Executing DumpChan("Zap/10-1", "10") in new stack
Dumping Info For Channel: Zap/10-1:
================================================================================
Info:
ame= Zap/10-1
Type= Zap
UniqueID= 1185400877.117
CallerID= 4155551212
CallerIDName= HESSLER PETER
DNIDDigits= (N/A)
State= Up (6)
Rings= 1
NativeFormat= 68
WriteFormat= 4
ReadFormat= 4
1stFileDescriptor= 17
Framesin= 0
Framesout= 0
TimetoHangup= 0
ElapsedTime= 0h0m0s
Context= from-zaptel
Extension= s
Priority= 3
CallGroup=
ickupGroup=
Application= DumpChan
Data= 10
Blocking_in= (Not Blocking)
Variables:
================================================================================
-- Executing BackGround("Zap/10-1", "enter-ext-of-person") in new
stack
-- Playing 'enter-ext-of-person' (language 'en')
-- Executing WaitExten("Zap/10-1", "10") in new stack
;; dialed '305'
-- Invalid extension '5' in context 'from-zaptel' on Zap/10-1
== CDR updated on Zap/10-1
-- Executing Playback("Zap/10-1", "pbx-invalid") in new stack
-- Playing 'pbx-invalid' (language 'en')
-- Executing Goto("Zap/10-1", "from-zaptel|s|1") in new stack
-- Goto (from-zaptel,s,1)
-- Executing Answer("Zap/10-1", "") in new stack
-- Executing NoOp("Zap/10-1", "CALLERID is "HESSLER PETER "
<4155551212>") in new stack
-- Executing DumpChan("Zap/10-1", "10") in new stack
Dumping Info For Channel: Zap/10-1:
================================================================================
Info:
Name= Zap/10-1
Type= Zap
UniqueID= 1185400877.117
CallerID= 4155551212
CallerIDName= HESSLER PETER
DNIDDigits= (N/A)
State= Up (6)
Rings= 1
NativeFormat= 68
WriteFormat= 4
ReadFormat= 4
1stFileDescriptor= 17
Framesin= 467
Framesout= 348
TimetoHangup= 0
ElapsedTime= 0h0m9s
Context= from-zaptel
Extension= s
Priority= 3
CallGroup=
PickupGroup=
Application= DumpChan
Data= 10
Blocking_in= (Not Blocking)
Variables:
PLAYBACKSTATUS=SUCCESS
INVALID_EXTEN=5
================================================================================
-- Executing BackGround("Zap/10-1", "enter-ext-of-person") in new
stack
-- Playing 'enter-ext-of-person' (language 'en')
;; dialtone in the background isn't there any more
;; dialed '305'
;; everything from here is exactly as expected.
== CDR updated on Zap/10-1
-- Executing Macro("Zap/10-1", "user|SIP/phessler") in new stack
-- Executing Dial("Zap/10-1", "SIP/phessler|20|r") in new stack
-- Called phessler
-- SIP/phessler-08b1c0a8 is ringing
-- Got SIP response 480 "Temporarily Unavailable" back from
172.17.1.97
-- SIP/phessler-08b1c0a8 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Goto("Zap/10-1", "s-CONGESTION|1") in new stack
-- Goto (macro-user,s-CONGESTION,1)
-- Executing VoiceMail("Zap/10-1", "b305") in new stack
-- Playing '/var/spool/asterisk/voicemail/default/305/busy'
(language 'en')
-- Playing 'vm-intro' (language 'en')
-- Playing 'beep' (language 'en')
-- Recording the message
-- x=0, open writing:
/var/spool/asterisk/voicemail/default/305/tmp/c4aKZg format: wav,
0x8b14a58
-- User hung up
== Spawn extension (macro-user, s-CONGESTION, 1) exited non-zero on
'Zap/10-1' in macro 'user'
== Spawn extension (macro-user, s-CONGESTION, 1) exited non-zero on
'Zap/10-1'
-- Hungup 'Zap/10-1'
--
Jone's Motto:
Friends come and go, but enemies accumulate.
More information about the asterisk-users
mailing list