On 2/17/06, Michael Collins <[EMAIL PROTECTED]> wrote: > Nik, > > This definitely helps! Please check your dial command. You've got > "Dial(Zap/0/mynumber)" and I think you might possibly want it to be > something like this: > Dial(Zap/1/mynumber) or > Dial(Zap/g0/mynumber) > > I don't recall there being a zap channel zero, but it is common to have > a group zero. I would recommend trying Zap channel 1 - > Dial(Zap/1/mynumber) - before trying the group. Again, please get the > debug info. The "CHANUNAVAIL" message made it easier to diagnose this > issue. > > Don't give up! The education you are getting will help you in the long > run and in a few months you'll be able to help a * newbie with the same > issues! > > -MC >
ok, thanks for your help, please, be patient because now i've got many logs to post ... :-) so, i've made this new entry in extension.conf: exten => 444,1,Dial(Zap/0/0465670127) exten => 445,1,Dial(Zap/g0/0465670127) exten => 446,1,Dial(Zap/1/0465670127) exten => 447,1,Dial(Zap/g1/0465670127) and i've reloaded asterisk with: asterisk -r >reload >quit and then: tail -f /var/log/asterisk/full I CALL 444 or 447: Feb 18 04:52:54 VERBOSE[5574] logger.c: -- Executing Dial("SIP/103-c762", "Zap/0/0465670127") in new stack Feb 18 04:52:54 NOTICE[5574] app_dial.c: Unable to create channel of type 'Zap' (cause 0 - Unknown) Feb 18 04:52:54 VERBOSE[5574] logger.c: == Everyone is busy/congested at this time (1:0/0/1) Feb 18 04:52:54 DEBUG[5574] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL. I CALL 445 or 446: Feb 18 04:53:20 VERBOSE[5577] logger.c: -- Executing Dial("SIP/103-b2ea", "Zap/g0/0465670127") in new stack Feb 18 04:53:20 VERBOSE[5577] logger.c: -- Making new call for cr 32773 Feb 18 04:53:20 VERBOSE[5577] logger.c: -- Requested transfer capability: 0x00 - SPEECH Feb 18 04:53:20 VERBOSE[5577] logger.c: > Protocol Discriminator: Q.931 (8) len=43 Feb 18 04:53:20 VERBOSE[5577] logger.c: > Call Ref: len= 2 (reference 5/0x5) (Originator) Feb 18 04:53:20 VERBOSE[5577] logger.c: > Message type: SETUP (5) Feb 18 04:53:20 VERBOSE[5577] logger.c: > [Feb 18 04:53:20 VERBOSE[5577] logger.c: > [04Feb 18 04:53:20 VERBOSE[5577] logger.c: > [04 03Feb 18 04:53:20 VERBOSE[5577] logger.c: > [04 03 80Feb 18 04:53:20 VERBOSE[5577] logger.c: > [04 03 80 90Feb 18 04:53:20 VERBOSE[5 577] logger.c: > [04 03 80 90 a3Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 WARNING[3590] channel.c: Avoided initial deadlock for '0x8c34fb0', 10 retries! Feb 18 04:53:20 VERBOSE[5577] logger.c: > [04 03 80 90 a3] Feb 18 04:53:20 VERBOSE[5577] logger.c: > Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0) Feb 18 04:53:20 VERBOSE[5577] logger.c: > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) Feb 18 04:53:20 VERBOSE[5577] logger.c: > Ext: 1 User information layer 1: A-Law (35) Feb 18 04:53:20 VERBOSE[5577] logger.c: > [Feb 18 04:53:20 VERBOSE[5577] logger.c: > [18Feb 18 04:53:20 VERBOSE[5577] logger.c: > [18 03Feb 18 04:53:20 VERBOSE[5577] logger.c: > [18 03 a9Feb 18 04:53:20 VERBOSE[5577] logger.c: > [18 03 a9 83Feb 18 04:53:20 VERBOSE[5 577] logger.c: > [18 03 a9 83 81Feb 18 04:53:20 VERBOSE[5577] logger.c: > [18 03 a9 83 81] Feb 18 04:53:20 VERBOSE[5577] logger.c: > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 Feb 18 04:53:20 VERBOSE[5577] logger.c: > ChanSel: Reserved Feb 18 04:53:20 VERBOSE[5577] logger.c: > Ext: 1 Coding: 0 Number Specified Channel Type: 3 Feb 18 04:53:20 VERBOSE[5577] logger.c: > Ext: 1 Channel: 1 ] Feb 18 04:53:20 VERBOSE[5577] logger.c: > [Feb 18 04:53:20 VERBOSE[5577] logger.c: > [28Feb 18 04:53:20 VERBOSE[5577] logger.c: > [28 06Feb 18 04:53:20 VERBOSE[5577] logger.c: > [28 06 64Feb 18 04:53:20 VERBOSE[5577] logger.c: > [28 06 64 65Feb 18 04:53:20 VERBOSE[5 577] logger.c: > [28 06 64 65 76Feb 18 04:53:20 VERBOSE[5577] logger.c: > [28 06 64 65 76 69Feb 18 04:53:20 VERBOSE[5577] logger.c: > [28 06 64 65 76 69 63Feb 18 04:53:20 VERBOSE[5577] logger.c: > [28 06 64 65 76 69 63 65Feb 18 04:53:20 VERBOSE[5577] logger.c: > [28 06 64 65 76 69 63 65] Feb 18 04:53:20 VERBOSE[5577] logger.c: > Display (len= 6) ? Feb 18 04:53:20 VERBOSE[5577] logger.c: > [Feb 18 04:53:20 VERBOSE[5577] logger.c: > [6cFeb 18 04:53:20 VERBOSE[5577] logger.c: > [6c 05Feb 18 04:53:20 VERBOSE[5577] logger.c: > [6c 05 21Feb 18 04:53:20 VERBOSE[5577] logger.c: > [6c 05 21 80Feb 18 04:53:20 VERBOSE[5 577] logger.c: > [6c 05 21 80 31Feb 18 04:53:20 VERBOSE[5577] logger.c: > [6c 05 21 80 31 30Feb 18 04:53:20 VERBOSE[5577] logger.c: > [6c 05 21 80 31 30 33Feb 18 04:53:20 VERBOSE[5577] logger.c: > [6c 05 21 80 31 30 33] Feb 18 04:53:20 VERBOSE[5577] logger.c: > Calling Number (len= 7) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering P lan (E.164/E.163) (1) Feb 18 04:53:20 VERBOSE[5577] logger.c: > Presentation: Presentation permitted, user number not screened (0 ) '103' ] Feb 18 04:53:20 VERBOSE[5577] logger.c: > [Feb 18 04:53:20 VERBOSE[5577] logger.c: > [70Feb 18 04:53:20 VERBOSE[5577] logger.c: > [70 0bFeb 18 04:53:20 VERBOSE[5577] logger.c: > [70 0b a1Feb 18 04:53:20 VERBOSE[5577] logger.c: > [70 0b a1 30Feb 18 04:53:20 VERBOSE[5 577] logger.c: > [70 0b a1 30 34Feb 18 04:53:20 VERBOSE[5577] logger.c: > [70 0b a1 30 34 36Feb 18 04:53:20 VERBOSE[5577] logger.c: > [70 0b a1 30 34 36 35Feb 18 04:53:20 VERBOSE[5577] logger.c: > [70 0b a1 30 34 36 35 36Feb 18 04:53:20 VERBOSE[5577] logger.c: > [70 0b a1 30 34 36 35 36 37Feb 18 04:53:20 VERBOSE[5577] logger.c: > [70 0b a1 30 34 36 35 36 37 30Feb 18 04:53:20 VERBOSE[5577] logger. c: > [70 0b a1 30 34 36 35 36 37 30 31Feb 18 04:53:20 VERBOSE[5577] logger.c: > [70 0b a1 30 34 36 35 36 37 30 31 32Feb 18 04:53:20 V ERBOSE[5577] logger.c: > [70 0b a1 30 34 36 35 36 37 30 31 32 37Feb 18 04:53:20 VERBOSE[5577] logger.c: > [70 0b a1 30 34 36 35 36 37 30 31 32 37] Feb 18 04:53:20 VERBOSE[5577] logger.c: > Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Pl an (E.164/E.163) (1) '0465670127' ] Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 VERBOSE[3608] logger.c: < Protocol Discriminator: Q.931 (8) len=13 Feb 18 04:53:20 VERBOSE[3608] logger.c: < Call Ref: len= 2 (reference 5/0x5) (Terminator) Feb 18 04:53:20 VERBOSE[3608] logger.c: < Message type: STATUS (125) Feb 18 04:53:20 VERBOSE[3608] logger.c: < [Feb 18 04:53:20 VERBOSE[3608] logger.c: < [08Feb 18 04:53:20 VERBOSE[3608] logger.c: < [08 03Feb 18 04:53:20 VERBOSE[3608] logger.c: < [08 03 82Feb 18 04:53:20 VERBOSE[3608] logger.c: < [08 03 82 e3Feb 18 04:53:20 VERBOSE[3 608] logger.c: < [08 03 82 e3 28Feb 18 04:53:20 VERBOSE[3608] logger.c: < [08 03 82 e3 28] Feb 18 04:53:20 VERBOSE[3608] logger.c: < Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network s erving the local user (2) Feb 18 04:53:20 VERBOSE[3608] logger.c: < Ext: 1 Cause: Unknown (99), class = Protocol Error (6) ] Feb 18 04:53:20 VERBOSE[3608] logger.c: < Cause data 1: 28 (40, Display IE) Feb 18 04:53:20 VERBOSE[3608] logger.c: < [Feb 18 04:53:20 VERBOSE[3608] logger.c: < [14Feb 18 04:53:20 VERBOSE[3608] logger.c: < [14 01Feb 18 04:53:20 VERBOSE[3608] logger.c: < [14 01 01Feb 18 04:53:20 VERBOSE[3608] logger.c: < [14 01 01] Feb 18 04:53:20 VERBOSE[3608] logger.c: < Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Call Initiated ( 1) Feb 18 04:53:20 VERBOSE[3608] logger.c: -- Processing IE 8 (cs0, Cause) Feb 18 04:53:20 VERBOSE[3608] logger.c: -- Processing IE 20 (cs0, Call State) Feb 18 04:53:20 VERBOSE[3608] logger.c: < Protocol Discriminator: Q.931 (8) len=9 Feb 18 04:53:20 VERBOSE[3608] logger.c: < Call Ref: len= 2 (reference 5/0x5) (Terminator) Feb 18 04:53:20 VERBOSE[3608] logger.c: < Message type: RELEASE COMPLETE (90) Feb 18 04:53:20 VERBOSE[3608] logger.c: < [Feb 18 04:53:20 VERBOSE[3608] logger.c: < [08Feb 18 04:53:20 VERBOSE[3608] logger.c: < [08 02Feb 18 04:53:20 VERBOSE[3608] logger.c: < [08 02 82Feb 18 04:53:20 VERBOSE[3608] logger.c: < [08 02 82 acFeb 18 04:53:20 VERBOSE[3 608] logger.c: < [08 02 82 ac] Feb 18 04:53:20 VERBOSE[3608] logger.c: < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network s erving the local user (2) Feb 18 04:53:20 VERBOSE[3608] logger.c: < Ext: 1 Cause: Unknown (44), class = Network Congestion (2) ] Feb 18 04:53:20 VERBOSE[3608] logger.c: -- Processing IE 8 (cs0, Cause) Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 VERBOSE[3608] logger.c: -- Channel 0/1, span 1 got hangup Feb 18 04:53:20 VERBOSE[3608] logger.c: -- Forcing restart of channel 0/1 on span 1 since channel reported in use Feb 18 04:53:20 VERBOSE[3608] logger.c: > Protocol Discriminator: Q.931 (8) len=13 Feb 18 04:53:20 VERBOSE[3608] logger.c: > Call Ref: len= 2 (reference 0/0x0) (Originator) Feb 18 04:53:20 VERBOSE[3608] logger.c: > Message type: RESTART (70) Feb 18 04:53:20 VERBOSE[3608] logger.c: > [Feb 18 04:53:20 VERBOSE[3608] logger.c: > [18Feb 18 04:53:20 VERBOSE[3608] logger.c: > [18 03Feb 18 04:53:20 VERBOSE[3608] logger.c: > [18 03 a9Feb 18 04:53:20 VERBOSE[3608] logger.c: > [18 03 a9 83Feb 18 04:53:20 VERBOSE[3 608] logger.c: > [18 03 a9 83 81Feb 18 04:53:20 VERBOSE[3608] logger.c: > [18 03 a9 83 81] Feb 18 04:53:20 VERBOSE[3608] logger.c: > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 Feb 18 04:53:20 VERBOSE[3608] logger.c: > ChanSel: Reserved Feb 18 04:53:20 VERBOSE[3608] logger.c: > Ext: 1 Coding: 0 Number Specified Channel Type: 3 Feb 18 04:53:20 VERBOSE[3608] logger.c: > Ext: 1 Channel: 1 ] Feb 18 04:53:20 VERBOSE[3608] logger.c: > [Feb 18 04:53:20 VERBOSE[3608] logger.c: > [79Feb 18 04:53:20 VERBOSE[3608] logger.c: > [79 01Feb 18 04:53:20 VERBOSE[3608] logger.c: > [79 01 80Feb 18 04:53:20 VERBOSE[3608] logger.c: > [79 01 80] Feb 18 04:53:20 VERBOSE[3608] logger.c: > Restart Indentifier (len= 3) [ Ext: 1 Spare: 0 Resetting Indicated Channel (0) ] Feb 18 04:53:20 VERBOSE[3608] logger.c: -- Channel 0/1, span 1 received AOC-E charging 0 units Feb 18 04:53:20 DEBUG[3590] channel.c: Avoiding initial deadlock for 'Zap/1-1' Feb 18 04:53:20 VERBOSE[5577] logger.c: -- Called g0/0465670127 Feb 18 04:53:20 DEBUG[5577] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/1-1 Feb 18 04:53:20 DEBUG[5577] chan_zap.c: Hangup: channel: 1 index = 0, normal = 23, callwait = -1, thirdcall = -1 Feb 18 04:53:20 DEBUG[5577] chan_zap.c: Already hungup... Calling hangup once, and clearing call Feb 18 04:53:20 VERBOSE[5577] logger.c: NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null Feb 18 04:53:20 VERBOSE[5577] logger.c: NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null Feb 18 04:53:20 DEBUG[5577] chan_zap.c: disabled echo cancellation on channel 1 Feb 18 04:53:20 DEBUG[5577] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/1-1 Feb 18 04:53:20 DEBUG[5577] chan_zap.c: Updated conferencing on 1, with 0 conference users Feb 18 04:53:20 DEBUG[5577] chan_zap.c: disabled echo cancellation on channel 1 Feb 18 04:53:20 VERBOSE[5577] logger.c: -- Hungup 'Zap/1-1' Feb 18 04:53:20 VERBOSE[5577] logger.c: == Everyone is busy/congested at this time (1:0/0/1) Feb 18 04:53:20 DEBUG[5577] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL. Feb 18 04:53:21 VERBOSE[3608] logger.c: < Protocol Discriminator: Q.931 (8) len=13 Feb 18 04:53:21 VERBOSE[3608] logger.c: < Call Ref: len= 2 (reference 0/0x0) (Terminator) Feb 18 04:53:21 VERBOSE[3608] logger.c: < Message type: RESTART ACKNOWLEDGE (78) Feb 18 04:53:21 VERBOSE[3608] logger.c: < [Feb 18 04:53:21 VERBOSE[3608] logger.c: < [18Feb 18 04:53:21 VERBOSE[3608] logger.c: < [18 03Feb 18 04:53:21 VERBOSE[3608] logger.c: < [18 03 a9Feb 18 04:53:21 VERBOSE[3608] logger.c: < [18 03 a9 83Feb 18 04:53:21 VERBOSE[3 608] logger.c: < [18 03 a9 83 81Feb 18 04:53:21 VERBOSE[3608] logger.c: < [18 03 a9 83 81] Feb 18 04:53:21 VERBOSE[3608] logger.c: < Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 Feb 18 04:53:21 VERBOSE[3608] logger.c: < ChanSel: Reserved Feb 18 04:53:21 VERBOSE[3608] logger.c: < Ext: 1 Coding: 0 Number Specified Channel Type: 3 Feb 18 04:53:21 VERBOSE[3608] logger.c: < Ext: 1 Channel: 1 ] Feb 18 04:53:21 VERBOSE[3608] logger.c: < [Feb 18 04:53:21 VERBOSE[3608] logger.c: < [79Feb 18 04:53:21 VERBOSE[3608] logger.c: < [79 01Feb 18 04:53:21 VERBOSE[3608] logger.c: < [79 01 80Feb 18 04:53:21 VERBOSE[3608] logger.c: < [79 01 80] Feb 18 04:53:21 VERBOSE[3608] logger.c: < Restart Indentifier (len= 3) [ Ext: 1 Spare: 0 Resetting Indicated Channel (0) ] Feb 18 04:53:21 VERBOSE[3608] logger.c: -- Processing IE 24 (cs0, Channel Identification) Feb 18 04:53:21 VERBOSE[3608] logger.c: -- Processing IE 121 (cs0, Restart Indicator) Feb 18 04:53:21 VERBOSE[3608] logger.c: -- B-channel 0/1 successfully restarted on span 1 Feb 18 04:53:21 VERBOSE[3608] logger.c: > Protocol Discriminator: Q.931 (8) len=13 Feb 18 04:53:21 VERBOSE[3608] logger.c: > Call Ref: len= 2 (reference 0/0x0) (Originator) Feb 18 04:53:21 VERBOSE[3608] logger.c: > Message type: RESTART (70) Feb 18 04:53:21 VERBOSE[3608] logger.c: > [Feb 18 04:53:21 VERBOSE[3608] logger.c: > [18Feb 18 04:53:21 VERBOSE[3608] logger.c: > [18 03Feb 18 04:53:21 VERBOSE[3608] logger.c: > [18 03 a9Feb 18 04:53:21 VERBOSE[3608] logger.c: > [18 03 a9 83Feb 18 04:53:21 VERBOSE[3 608] logger.c: > [18 03 a9 83 8bFeb 18 04:53:21 VERBOSE[3608] logger.c: > [18 03 a9 83 8b] Feb 18 04:53:21 VERBOSE[3608] logger.c: > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 Feb 18 04:53:21 VERBOSE[3608] logger.c: > ChanSel: Reserved Feb 18 04:53:21 VERBOSE[3608] logger.c: > Ext: 1 Coding: 0 Number Specified Channel Type: 3 Feb 18 04:53:21 VERBOSE[3608] logger.c: > Ext: 1 Channel: 11 ] Feb 18 04:53:21 VERBOSE[3608] logger.c: > [Feb 18 04:53:21 VERBOSE[3608] logger.c: > [79Feb 18 04:53:21 VERBOSE[3608] logger.c: > [79 01Feb 18 04:53:21 VERBOSE[3608] logger.c: > [79 01 80Feb 18 04:53:21 VERBOSE[3608] logger.c: > [79 01 80] Feb 18 04:53:21 VERBOSE[3608] logger.c: > Restart Indentifier (len= 3) [ Ext: 1 Spare: 0 Resetting Indicated Channel (0) ] Feb 18 04:53:21 VERBOSE[3608] logger.c: < Protocol Discriminator: Q.931 (8) len=12 Feb 18 04:53:21 VERBOSE[3608] logger.c: < Call Ref: len= 2 (reference 0/0x0) (Terminator) Feb 18 04:53:21 VERBOSE[3608] logger.c: < Message type: STATUS (125) Feb 18 04:53:21 VERBOSE[3608] logger.c: < [Feb 18 04:53:21 VERBOSE[3608] logger.c: < [08Feb 18 04:53:21 VERBOSE[3608] logger.c: < [08 02Feb 18 04:53:21 VERBOSE[3608] logger.c: < [08 02 82Feb 18 04:53:21 VERBOSE[3608] logger.c: < [08 02 82 d2Feb 18 04:53:21 VERBOSE[3 608] logger.c: < [08 02 82 d2] Feb 18 04:53:21 VERBOSE[3608] logger.c: < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network s erving the local user (2) Feb 18 04:53:21 VERBOSE[3608] logger.c: < Ext: 1 Cause: Unknown (82), class = Invalid message (5) ] Feb 18 04:53:21 VERBOSE[3608] logger.c: < [Feb 18 04:53:21 VERBOSE[3608] logger.c: < [14Feb 18 04:53:21 VERBOSE[3608] logger.c: < [14 01Feb 18 04:53:21 VERBOSE[3608] logger.c: < [14 01 00Feb 18 04:53:21 VERBOSE[3608] logger.c: < [14 01 00] Feb 18 04:53:21 VERBOSE[3608] logger.c: < Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Null (0) Feb 18 04:53:21 VERBOSE[3608] logger.c: -- Processing IE 8 (cs0, Cause) Feb 18 04:53:21 VERBOSE[3608] logger.c: -- Processing IE 20 (cs0, Call State) now i'll read and search on the network about all this warnings and error and verbose report, but i hope that your experience will found where is the problem...thanks _______________________________________________ --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