keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about B100/200/400/800 ISDN BRI Cards

B800p with bristuff

15 years 5 months ago #2133 by sebek72
i tried with the new version, but still the same...
i also have no genzaptelconf command.

I can only do this:
/bristuff-0.3.0-PRE-1v/zaptel-1.2.10/xpp/utils# ./genzaptelconf -dv
Unloading zaptel modules:

Temporarily moving zaptel.conf aside to work around broken modprobe.conf
Test Loading modules:
- zaphfc
- qozap
- ztgsm
- wctdm
- wctdm24xxp
- wcfxo
- wcfxs
ERROR: Module wcfxs does not exist in /proc/modules
- pciradio
- tor2
- torisa
- wct1xxp
- wct4xxp
- wcte11xp
- wanpipe
- wcusb
- xpp_usb
Generating '/etc/zaptel.conf and /etc/asterisk/zapata-channels.conf'
Reconfiguring identified channels

Zaptel Configuration
======================


Channel map:


0 channels configured.


Any clues?
15 years 5 months ago #2134 by james.zhu
hello:
in the user manual, we use bristuff-0.3.0-PRE-1y-j and the patch should for that. i think the problem, here is:
1) zaptel and asterisk are mismatched or conflict, therefore, it generates errors
2) some load a extra channels for bri or dummy channel.
regards!
James.zhu

15 years 5 months ago #2137 by sebek72
It worked with version y-j and qozap patch.

now i get:
root@telman:/usr/src/bristuff-0.3.0-PRE-1y-j/qozap# cat /proc/zaptel/*
Span 1: ztqoz/1/1 "octoBRI PCI ISDN Card 1 Span 1 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS

1 ztqoz1/1/1 Clear (In use)
2 ztqoz1/1/2 Clear (In use)
3 ztqoz1/1/3 HDLCFCS (In use)
Span 2: ztqoz/1/2 "octoBRI PCI ISDN Card 1 Span 2 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS

4 ztqoz1/2/1 Clear (In use)
5 ztqoz1/2/2 Clear (In use)
6 ztqoz1/2/3 HDLCFCS (In use)
Span 3: ztqoz/1/3 "octoBRI PCI ISDN Card 1 Span 3 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS

7 ztqoz1/3/1 Clear (In use)
8 ztqoz1/3/2 Clear (In use)
9 ztqoz1/3/3 HDLCFCS (In use)
Span 4: ztqoz/1/4 "octoBRI PCI ISDN Card 1 Span 4 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS

10 ztqoz1/4/1 Clear (In use)
11 ztqoz1/4/2 Clear (In use)
12 ztqoz1/4/3 HDLCFCS (In use)
Span 5: ztqoz/1/5 "octoBRI PCI ISDN Card 1 Span 5 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS

13 ztqoz1/5/1 Clear
14 ztqoz1/5/2 Clear
15 ztqoz1/5/3 HDLCFCS
Span 6: ztqoz/1/6 "octoBRI PCI ISDN Card 1 Span 6 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS

16 ztqoz1/6/1 Clear
17 ztqoz1/6/2 Clear
18 ztqoz1/6/3 HDLCFCS
Span 7: ztqoz/1/7 "octoBRI PCI ISDN Card 1 Span 7 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS

19 ztqoz1/7/1 Clear
20 ztqoz1/7/2 Clear
21 ztqoz1/7/3 HDLCFCS
Span 8: ztqoz/1/8 "octoBRI PCI ISDN Card 1 Span 8 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS

22 ztqoz1/8/1 Clear
23 ztqoz1/8/2 Clear
24 ztqoz1/8/3 HDLCFCS


But no lights a lit on the card is this ok?? (no isdn attached to card)

When i reboot the machine i have to run insmod qozap.ko and ztcfg -vvvvv for modules to launch...how do i make it to run at boot??

Thank you.
15 years 5 months ago #2138 by james.zhu
hello:
yes, if you attach a isdn cable, it will light on. you have to add the task to auto boot. make sure it is load insmod /path/qozap.ko.
regards!
James.zhu

15 years 5 months ago #2163 by sebek72
thanks now it works...
15 years 5 months ago #2165 by sebek72
Hi....now more problems...
I'm able to call from outside to inside, but a cannot call from
inside -> out

log:
Nov 11 14:19:55 DEBUG[24552] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM sip_buddies WHERE name = '2'
Nov 11 14:19:55 DEBUG[24552] res_config_mysql.c: MySQL RealTime: Everything is fine.
Nov 11 14:19:55 DEBUG[24552] chan_sip.c: Setting NAT on RTP to 0
Nov 11 14:19:55 DEBUG[24552] chan_sip.c: Stopping retransmission on 'This email address is being protected from spambots. You need JavaScript enabled to view it.' of Response 831: Match Found
Nov 11 14:19:55 DEBUG[24552] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM sip_buddies WHERE name = '2'
Nov 11 14:19:55 DEBUG[24552] res_config_mysql.c: MySQL RealTime: Everything is fine.
Nov 11 14:19:55 DEBUG[24552] chan_sip.c: Setting NAT on RTP to 0
Nov 11 14:19:55 DEBUG[24552] chan_sip.c: Checking SIP call limits for device 2
Nov 11 14:19:55 DEBUG[24552] chan_sip.c: build_route: Contact hop: <sip:[email protected]>
Nov 11 14:19:55 DEBUG[24536] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM sip_buddies WHERE name = '2'
Nov 11 14:19:55 DEBUG[24536] res_config_mysql.c: MySQL RealTime: Everything is fine.
Nov 11 14:19:55 VERBOSE[24536] logger.c: -- SIP Seeding peer from astdb: '2' at [email protected]:5060 for 3600
Nov 11 14:19:55 VERBOSE[24880] logger.c: -- Executing MixMonitor("SIP/2-081dbad8", "asterisk-24528-1226409595.3.wav|a|/usr/local/bin/postrecording asterisk-24528-1226409595.3") in new stack
Nov 11 14:19:55 DEBUG[24880] channel.c: Spy MixMonitor added to channel SIP/2-081dbad8
Nov 11 14:19:55 VERBOSE[24880] logger.c: -- Executing Dial("SIP/2-081dbad8", "Zap/g1/04216144") in new stack
Nov 11 14:19:55 VERBOSE[24880] logger.c: -- Requested transfer capability: 0x00 - SPEECH
Nov 11 14:19:55 VERBOSE[24880] logger.c: -- Called g1/04216144
Nov 11 14:19:55 VERBOSE[24882] logger.c: == Begin MixMonitor Recording SIP/2-081dbad8
Nov 11 14:19:55 DEBUG[24880] channel.c: Building translator from alaw to SLINEAR for spies on channel SIP/2-081dbad8
Nov 11 14:19:55 DEBUG[24880] channel.c: Building translator from alaw to SLINEAR for spies on channel SIP/2-081dbad8
Nov 11 14:19:55 DEBUG[24556] chan_zap.c: Queuing frame from PRI_EVENT_PROCEEDING on channel 0/1 span 1
Nov 11 14:19:55 VERBOSE[24880] logger.c: -- Zap/1-1 is proceeding passing it to SIP/2-081dbad8
Nov 11 14:19:55 VERBOSE[24880] logger.c: -- Zap/1-1 is making progress passing it to SIP/2-081dbad8
Nov 11 14:19:55 VERBOSE[24556] logger.c: -- Channel 0/1, span 1 got hangup request, cause 28
Nov 11 14:19:55 VERBOSE[24556] logger.c: -- Channel 0/1, span 1 received AOC-E charging 0 units
Nov 11 14:19:55 WARNING[24880] app_dial.c: Unable to forward voice
Nov 11 14:19:55 DEBUG[24880] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/1-1
Nov 11 14:19:55 DEBUG[24880] chan_zap.c: Hangup: channel: 1 index = 0, normal = 18, callwait = -1, thirdcall = -1
Nov 11 14:19:55 DEBUG[24880] chan_zap.c: Not yet hungup... Calling hangup once with icause, and clearing call
Nov 11 14:19:55 DEBUG[24880] chan_zap.c: disabled echo cancellation on channel 1
Nov 11 14:19:55 DEBUG[24880] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/1-1
Nov 11 14:19:55 DEBUG[24880] chan_zap.c: Updated conferencing on 1, with 0 conference users
Nov 11 14:19:55 DEBUG[24880] chan_zap.c: Set option AUDIO MODE, value: OFF(0) on Zap/1-1
Nov 11 14:19:55 DEBUG[24880] chan_zap.c: disabled echo cancellation on channel 1
Nov 11 14:19:55 VERBOSE[24880] logger.c: -- Hungup 'Zap/1-1'
Nov 11 14:19:55 VERBOSE[24880] logger.c: == Everyone is busy/congested at this time (1:0/0/1)
Nov 11 14:19:55 DEBUG[24880] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL.
Nov 11 14:19:55 VERBOSE[24880] logger.c: == Auto fallthrough, channel 'SIP/2-081dbad8' status is 'CHANUNAVAIL'
Nov 11 14:19:55 DEBUG[24880] channel.c: Spy MixMonitor removed from channel SIP/2-081dbad8
Nov 11 14:19:55 DEBUG[24880] chan_sip.c: update_call_counter(2) - decrement call limit counter
Nov 11 14:19:55 VERBOSE[24882] logger.c: == End MixMonitor Recording SIP/2-081dbad8
Nov 11 14:19:55 VERBOSE[24882] logger.c: == Executing [/usr/local/bin/postrecording asterisk-24528-1226409595.3]

I'm not sure what's the problem...didn't change my dialplan.

Thanks.
Time to create page: 0.043 seconds
Powered by Kunena Forum