[asterisk-users] T1 incoming connects, but no sound

Nathan Bell nathanb at actarg.com
Wed Oct 4 10:45:03 MST 2006


Mark Farver wrote:

> Nathan Bell wrote:
>
>> extensions.conf:
>> [from-ptsn]
>> exten => s,1,Answer()
>> exten => s,2,Playback(vm-goodbye)
>> exten => s,3,Hangup()
>>
> You might try adding a "wait(3)" command after the answer.  Some 
> analog lines do not pass audio immediately after being answered.  
> (Something to do with how toll processing is handled)
>
> Mark
>
After adding in a "wait(3)" to the extensions.conf, at s,2, I still get 
no audo be passed to me. However, I noticed that each time I place a 
call, asterisk thinks that two calls are happening. Here's the log 
output of what happens (all with no audio):

Oct  3 17:16:48 NOTICE[10763] chan_zap.c: Got event 18 (Ring Begin)...
Oct  3 17:16:48 VERBOSE[10763] logger.c:     -- Executing 
Answer("Zap/1-1", "") in new stack
Oct  3 17:16:48 DEBUG[10763] chan_zap.c: Took Zap/1-1 off hook
Oct  3 17:16:48 DEBUG[10763] chan_zap.c: Enabled echo cancellation on 
channel 1
Oct  3 17:16:48 DEBUG[10763] chan_zap.c: Engaged echo training on channel 1
Oct  3 17:16:48 VERBOSE[10763] logger.c:     -- Executing 
Wait("Zap/1-1", "3") in new stack
Oct  3 17:16:48 VERBOSE[10766] logger.c:     -- Starting simple switch 
on 'Zap/2-1'
Oct  3 17:16:51 VERBOSE[10763] logger.c:     -- Executing 
Playback("Zap/1-1", "vm-goodbye") in new stack
Oct  3 17:16:51 DEBUG[10763] channel.c: Scheduling timer at 160 sample 
intervals
Oct  3 17:16:51 VERBOSE[10763] logger.c:     -- Playing 'vm-goodbye' 
(language 'en')
Oct  3 17:16:52 DEBUG[10763] channel.c: Scheduling timer at 0 sample 
intervals
Oct  3 17:16:52 DEBUG[10763] channel.c: Scheduling timer at 0 sample 
intervals
Oct  3 17:16:52 VERBOSE[10763] logger.c:     -- Executing 
Hangup("Zap/1-1", "") in new stack
Oct  3 17:16:52 VERBOSE[10763] logger.c:   == Spawn extension 
(from-ptsn, s, 4) exited non-zero on 'Zap/1-1'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '(null)'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '(null)'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is 's'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is 'from-ptsn'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is 'Zap/1-1'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '(null)'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is 'Hangup'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '(null)'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '2006-10-03 17:16:48'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '2006-10-03 17:16:48'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '2006-10-03 17:16:52'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '4'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '4'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is 'ANSWERED'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is 'DOCUMENTATION'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '(null)'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '1159917403.6'
Oct  3 17:16:52 DEBUG[10763] pbx.c: Function result is '(null)'
Oct  3 17:16:52 DEBUG[10763] chan_zap.c: Hangup: channel: 1 index = 0, 
normal = 17, callwait = -1, thirdcall = -1
Oct  3 17:16:52 DEBUG[10763] chan_zap.c: disabled echo cancellation on 
channel 1
Oct  3 17:16:52 DEBUG[10763] chan_zap.c: Set option TDD MODE, value: 
OFF(0) on Zap/1-1
Oct  3 17:16:52 DEBUG[10763] chan_zap.c: Updated conferencing on 1, with 
0 conference users
Oct  3 17:16:52 VERBOSE[10763] logger.c:     -- Hungup 'Zap/1-1'
Oct  3 17:16:53 NOTICE[10766] chan_zap.c: Got event 18 (Ring Begin)...
Oct  3 17:16:53 VERBOSE[10766] logger.c:     -- Executing 
Answer("Zap/2-1", "") in new stack
Oct  3 17:16:53 DEBUG[10766] chan_zap.c: Took Zap/2-1 off hook
Oct  3 17:16:53 DEBUG[10766] chan_zap.c: Enabled echo cancellation on 
channel 2
Oct  3 17:16:53 DEBUG[10766] chan_zap.c: Engaged echo training on channel 2
Oct  3 17:16:53 VERBOSE[10766] logger.c:     -- Executing 
Wait("Zap/2-1", "3") in new stack
Oct  3 17:16:56 VERBOSE[10766] logger.c:     -- Executing 
Playback("Zap/2-1", "vm-goodbye") in new stack
Oct  3 17:16:56 DEBUG[10766] channel.c: Scheduling timer at 160 sample 
intervals
Oct  3 17:16:56 VERBOSE[10766] logger.c:     -- Playing 'vm-goodbye' 
(language 'en')
Oct  3 17:16:57 DEBUG[10766] channel.c: Scheduling timer at 0 sample 
intervals
Oct  3 17:16:57 DEBUG[10766] channel.c: Scheduling timer at 0 sample 
intervals
Oct  3 17:16:57 VERBOSE[10766] logger.c:     -- Executing 
Hangup("Zap/2-1", "") in new stack
Oct  3 17:16:57 VERBOSE[10766] logger.c:   == Spawn extension 
(from-ptsn, s, 4) exited non-zero on 'Zap/2-1'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '(null)'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '(null)'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is 's'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is 'from-ptsn'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is 'Zap/2-1'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '(null)'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is 'Hangup'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '(null)'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '2006-10-03 17:16:53'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '2006-10-03 17:16:53'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '2006-10-03 17:16:57'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '4'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '4'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is 'ANSWERED'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is 'DOCUMENTATION'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '(null)'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '1159917408.7'
Oct  3 17:16:57 DEBUG[10766] pbx.c: Function result is '(null)'
Oct  3 17:16:57 DEBUG[10766] chan_zap.c: Hangup: channel: 2 index = 0, 
normal = 18, callwait = -1, thirdcall = -1
Oct  3 17:16:57 DEBUG[10766] chan_zap.c: disabled echo cancellation on 
channel 2
Oct  3 17:16:57 DEBUG[10766] chan_zap.c: Set option TDD MODE, value: 
OFF(0) on Zap/2-1
Oct  3 17:16:57 DEBUG[10766] chan_zap.c: Updated conferencing on 2, with 
0 conference users
Oct  3 17:16:57 VERBOSE[10766] logger.c:     -- Hungup 'Zap/2-1'

Notice that "Starting simple switch on 'Zap/2-1'" happens almost 
immediatly after it starts on Zap/1-1. Caling in multiple times results 
in nearly identical output, with the only difference being which line 
Zap/2-1 starts at.

>
>> Testing my setup from a channel bank seems to work just fine 
>> (slightly different zaptel.conf and zapata.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
>
>
> _______________________________________________
> --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



More information about the asterisk-users mailing list