Re: [asterisk-users] Re: asterisk-users Digest, Vol 29, Issue 71
On Wed, 2006-12-20 at 16:12 -0800, Anthony Rodgers wrote: Here's how to unsubscribe: First, ask your Internet Provider to mail you an Unsubscribing Kit. Then follow these directions. The kit will most likely be the standard no-fault type. Depending on requirements, System A and/or System B can be used. When operating System A, depress lever and a plastic dalkron unsubscriber will be dispensed through the slot immediately underneath. When you have fastened the adhesive lip, attach connection marked by the large X outlet hose. Twist the silver-coloured ring one inch below the connection point until you feel it lock. The kit is now ready for use. The Cin-Eliminator is activated by the small switch on the lip. When securing, twist the ring back to its initial condition, so that the two orange lines meet. Disconnect. Place the dalkron unsubscriber in the vacuum receptacle to the rear. Activate by pressing the blue button. The controls for System B are located on the opposite side. The red release switch places the Cin-Eliminator into position; it can be adjusted manually up or down by pressing the blue manual release button. The opening is self-adjusting. To secure after use, press the green button, which simultaneously activates the evaporator and returns the Cin-Eliminator to its storage position. You may log off if the green exit light is on over the evaporator. If the red light is illuminated, one of the Cin-Eliminator requirements has not been properly implemented. Press the List Guy call button on the right of the evaporator. He will secure all facilities from his control panel. To use the Auto-Unsub, first undress and place all your clothes in the clothes rack. Put on the velcro slippers located in the cabinet immediately below. Enter the shower, taking the entire kit with you. On the control panel to your upper right upon entering you will see a Shower seal button. Press to activate. A green light will then be illuminated immediately below. On the intensity knob, select the desired setting. Now depress the Auto-Unsub activation lever. Bathe normally. The Auto-Unsub will automatically go off after three minutes unless you activate the Manual off override switch by flipping it up. When you are ready to leave, press the blue Shower seal release button. The door will open and you may leave. Please remove the velcro slippers and place them in their container. If you prefer the ultrasonic log-off mode, press the indicated blue button. When the twin panels open, pull forward by rings A B. The knob to the left, just below the blue light, has three settings, low, medium or high. For normal use, the medium setting is suggested. After these settings have been made, you can activate the device by switching to the ON position the clearly marked red switch. If during the unsubscribing operation you wish to change the settings, place the manual off override switch in the OFF position. You may now make the change and repeat the cycle. When the green exit light goes on, you may log off and have lunch. Please close the door behind you. Ouch! ___ --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
Re: [asterisk-users] Need help getting started with asterisk
Now for some reason instead of giving me an error on the caller ID, it's not mentioning the caller ID at all. Is there some explicit thing I need to put in to get the caller ID? ___ --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
[asterisk-users] Is logic right?
OK. My basic asterisk install seems to be working. I can get caller ID. My dialplan says: [incoming] ; incoming calls from the FXO port are directed to this context from zapata.conf exten = s/9185415897,1,Set(CALLERID(name)=Michael Sullivan) exten = s/9185415897,1,HANGUP(1) exten = s,1,Set(CALLERID(name)=Someone Else) This is for testing. It's supposed to check the caller ID to see who is calling, and if it's my cell phone, hang up, but let any other number through to ring on our handsets. Instead it rewrites the caller ID name to Michael Sullivan and allows the call to pass through. Here is the output of the call to the CLI: -- Starting simple switch on 'Zap/1-1' -- Executing Set(Zap/1-1, CALLERID(name)=Michael Sullivan) in new stack == Auto fallthrough, channel 'Zap/1-1' status is 'UNKNOWN' -- Hungup 'Zap/1-1' -- Starting simple switch on 'Zap/1-1' Dec 19 16:51:37 NOTICE[7413]: chan_zap.c:6073 ss_thread: Got event 18 (Ring Begin)... -- Executing Set(Zap/1-1, CALLERID(name)=Someone Else) in new stack == Auto fallthrough, channel 'Zap/1-1' status is 'UNKNOWN' -- Hungup 'Zap/1-1' In fact, the hang up on my number clause isn't even shown in the dialplan in the CLI: camille*CLI show dialplan incoming [ Context 'incoming' created by 'pbx_config' ] 's' =1. Set(CALLERID(name)=Michael Sullivan) [pbx_config] 's' =1. Set(CALLERID(name)=Someone Else) [pbx_config] camille*CLI -= 2 extensions (2 priorities) in 1 context. =- camille*CLI What am I doing wrong? ___ --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
Re: [asterisk-users] Need help getting started with asterisk
On Wed, 2006-12-13 at 14:21 +1100, Paul Hales wrote: I would be very surprised if your modem is supported by Asterisk - but I suppose it's worth a try. What does 'zap show status' and 'zap show channels' show in the Asterisk CLI? PaulH OK. I got the Motorola X100P put in: Relevant lspci -v output: 05:01.0 Communication controller: Motorola Wildcard X100P Subsystem: Motorola Unknown device Flags: bus master, medium devsel, latency 32, IRQ 22 I/O ports at b800 [size=256] Memory at ff90 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 However, although I can modprobe wctdm successfully, ztcfg still balks: camille ~ # modprobe wctdm camille ~ # /sbin/ztcfg -vv Zaptel Configuration == Channel map: Channel 02: FXS Kewlstart (Default) (Slaves: 02) 1 channels configured. ZT_CHANCONFIG failed on channel 2: No such device or address (6) zap show channels comes back with encouraging results though: camille*CLI zap show channels Chan Extension Context Language MusicOnHold pseudodefault Do I need to moprobe something else or alter my kernel config for ztcfg not to error? -Michael Sullivan- ___ --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
Re: [asterisk-users] Need help getting started with asterisk
On Mon, 2006-12-18 at 22:19 +0200, Tzafrir Cohen wrote: On Mon, Dec 18, 2006 at 02:10:23PM -0600, Michael Sullivan wrote: On Wed, 2006-12-13 at 14:21 +1100, Paul Hales wrote: I would be very surprised if your modem is supported by Asterisk - but I suppose it's worth a try. What does 'zap show status' and 'zap show channels' show in the Asterisk CLI? PaulH OK. I got the Motorola X100P put in: Relevant lspci -v output: 05:01.0 Communication controller: Motorola Wildcard X100P Subsystem: Motorola Unknown device Flags: bus master, medium devsel, latency 32, IRQ 22 I/O ports at b800 [size=256] Memory at ff90 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 However, although I can modprobe wctdm successfully, ztcfg still balks: camille ~ # modprobe wctdm You need the module wcfxo. But maybe it was hotplugged/ camille ~ # /sbin/ztcfg -vv Zaptel Configuration == Channel map: Channel 02: FXS Kewlstart (Default) (Slaves: 02) 02? Are you sure? Is that not right? That's what the pdf said - to put fxsks=2 in /etc/zaptel.conf 1 channels configured. That is: this is what ztcfg tries to do. ZT_CHANCONFIG failed on channel 2: No such device or address (6) But it fails. zap show channels comes back with encouraging results though: camille*CLI zap show channels Chan Extension Context Language MusicOnHold pseudodefault Do I need to moprobe something else or alter my kernel config for ztcfg not to error? -Michael Sullivan- What do you see on /proc/zaptel/* camille ~ # cat /proc/zaptel/* Span 1: WCFXO/0 Wildcard X100P Board 1 1 WCFXO/0/0 Span 2: ZTDUMMY/1 ZTDUMMY/1 1 Try genzaptelconf ... Where do I get that? camille ~ # genzaptelconf bash: genzaptelconf: command not found ___ --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
Re: [asterisk-users] Need help getting started with asterisk
I changed fxsks=2 to fxsks=1 and now ztcfg works: camille ~ # ztcfg -vv Zaptel Configuration == Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) 1 channels configured. camille ~ # I bought the card on ebay. The seller sent some configuration lines, but didn't say where to put them: From the seller's email: here is some config. [channels] busydetect=yes busycount=6 language=en context=from-pstn signalling=fxs_ks rxwink=300 ; Atlas seems to use long (250ms) winks ;usedistinctiveringdetection=yes usecallerid=yes hidecallerid=no useincomingcalleridonzaptransfer=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=no echotraining=800 rxgain=0.0 txgain=0.0 group=0 callgroup=1 pickupgroup=1 immediate=no ;faxdetect=both ___ --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
Re: [asterisk-users] Need help getting started with asterisk
Here's where I stand: camille asterisk # ztcfg -vv Zaptel Configuration == Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) 1 channels configured. camille*CLI zap show status Description Alarms IRQbpviol CRC4 Wildcard X100P Board 1 OK 0 0 0 ZTDUMMY/1 1 UNCONFIGUR 0 0 0 camille*CLI zap show channels Chan Extension Context Language MusicOnHold pseudofrom-pstn en camille*CLI I entered all the configuration the seller from ebay sent me into /etc/asterisk/zapata.conf and continues with the pdf file. The pdf said to add the following lines to /etc/asterisk/extensions.conf: [incoming] ; incoming calls from the FXO port are directed to this context from zapata.conf exten = s,1,Answer( ) exten = s,2,Echo( ) This seemed strange to me because there was no incoming context explicitly declared in zapata.conf, but I added it to extensions.conf and restarted asterisk so that the new options would take effect. I called my home number (the number that's going into my computer) from my cell phone. I let it ring ten times. Nothing. I went back into extensions.conf and changed [incoming] to [from-pstn], restarted asterisk and tried again. Same results. What am I doing wrong? Why won't asterisk pick up? The pdf says it should... ___ --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
Re: [asterisk-users] Need help getting started with asterisk
On Tue, 2006-12-19 at 00:09 +0200, Tzafrir Cohen wrote: On Mon, Dec 18, 2006 at 03:53:55PM -0600, Michael Sullivan wrote: Here's where I stand: camille asterisk # ztcfg -vv Zaptel Configuration == Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) 1 channels configured. camille*CLI zap show status Description Alarms IRQbpviol CRC4 Wildcard X100P Board 1 OK 0 0 0 ZTDUMMY/1 1 UNCONFIGUR 0 0 0 rmmod ztdummy, while you're at it. camille*CLI zap show channels Chan Extension Context Language MusicOnHold pseudofrom-pstn en camille*CLI I entered all the configuration the seller from ebay sent me into /etc/asterisk/zapata.conf and continues with the pdf file. The pdf said to add the following lines to /etc/asterisk/extensions.conf: [incoming] ; incoming calls from the FXO port are directed to this context from zapata.conf exten = s,1,Answer( ) exten = s,2,Echo( ) This seemed strange to me because there was no incoming context explicitly declared in zapata.conf, but I added it to extensions.conf and restarted asterisk so that the new options would take effect. I called my home number (the number that's going into my computer) from my cell phone. I let it ring ten times. Nothing. I went back into extensions.conf and changed [incoming] to [from-pstn], restarted asterisk and tried again. Same results. next time use 'reload' What am I doing wrong? Why won't asterisk pick up? The pdf says it should... You seem to be trying to follow installation instructions that assume a number of things about your installation. You can set the context in zapata.conf to 'incoming' context = incoming before the line 'channel = 1' Anyway: show dialplan from-pstn camille*CLI zap show channels Chan Extension Context Language MusicOnHold pseudoincomingen camille*CLI show dialplan incoming [ Context 'incoming' created by 'pbx_config' ] 's' =1. Answer( ) [pbx_config] 2. Echo( )[pbx_config] camille*CLI -= 1 extension (2 priorities) in 1 context. =- camille*CLI ___ --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
Re: [asterisk-users] Need help getting started with asterisk
Could the fact that asterisk isn't aswering the phone be a firewall issue? What port(s) on TCP and UDP do I need to open for incoming calls to be allowed to go to asterisk? ___ --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
Re: [asterisk-users] Need help getting started with asterisk
On Mon, 2006-12-18 at 22:03 -0500, Time Bandit wrote: camille*CLI zap show channels Chan Extension Context Language MusicOnHold pseudoincomingen This should show something like this : panoramix*CLI zap show channels Chan Extension Context Language MusicOnHold pseudofrom-pstn en 1from-pstn en so something is missing as Asterisk doesn't see your Zap channel what does your zapata.conf looks like ? I have removed the commented out lines for conciseness: [trunkgroups] [channels] language=en context=incoming switchtype=national signalling=fxs_ks rxwink=300 ; Atlas seems to use long (250ms) winks usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=no echotraining=yes echotraining=800 rxgain=0.0 txgain=0.0 group=0 callgroup=1 pickupgroup=1 immediate=no busydetect=yes busycount=6 useincomingcalleridonzaptransfer = yes Is this right for my situation with the X100P? ___ --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
Re: [asterisk-users] Need help getting started with asterisk
On Wed, 2006-12-13 at 15:53 +1100, Paul Hales wrote: What does zttool show? And after you 'modprobe wctdm' what does your dmesg read? /var/log/messages? You should see something about a card being recognised PaulH After I modprobe wctdm, nothing new shows up in /var/log/messages and dmesg is just notices about my firewall. zttool doesn't show much of anything... :( ___ --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
[asterisk-users] Question about hardware
IF I wanted to do the whole sophisticated telephony VoIP stuff asterisk, what hardware would I need? I have a feeling that my fax modem is probably not going to work out. My wife and I have an income of $650 a month. After the first-of-the-month bills are payed, we're lucky if we have $100 left for food and gasoline. I need a solution that's as economical as possible. What exactly do I need in terms of hardware (preferrably specific as in brand names and model numbers)? ___ --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
Re: [asterisk-users] Question about hardware
On Wed, 2006-12-13 at 08:29 -0600, jason wrote: cheapy PC (throw away PII is fine) and if you want to use the PSTN, a X100P FXO card. These can be had on ebay for 11 bucks, but I understand that even that pushes the bank some days. You don't need the card, you only need it if you want to receive or place calls on the PSTN. You can use asterisk to do all sorts of ip telephony with just the box that it runs on. Also, be sure to grab the free Oreily book, Asterisk the Future of Telephony. A link to it was posted recently. I ordered the card off ebay. Is there anything else I'd need - special cords, phones, etc? I'd have to try for them next month or after, but I'd prefer to know what they are now so that I can be looking for them... ___ --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
[asterisk-users] Need help getting started with asterisk
I am new to asterisk. I need help getting started, if it's even worth getting started. I say if it's worth getting started because I'm not sure if my hardware will even work with asterisk. I have a US ROBOTICS 56K V.90 PCI SOFT MODEM. I have standard twisted pair telephone wire. I can't afford to alter my hardware. I know I won't be able to do any sophistocated VoIP stuff. All I want is for asterisk to provide caller ID information for my Gentoo box and to drop calls for certain phone numbers I specify. Someone on the Gentoo list told me that for the caller ID bit I should check my modem's manual to find out how; my modem did not come with a manual. I've emerged asterisk on my Gentoo system, as well as the zaptel driver package. I issued /etc/init.d/asterisk start and confirmed with ps that it was running. I got a command console with asterisk -r. I then called my home line that the computer is plugged into from my cell phone. I heard my wife's cordless ringing in the other room, and I heard some breaks on the phone line, but nothing else. I let it ring ten times. What would I have to do to get asterisk to realize that the PC is connected to the phone line? I know it is because I can dial out with kppp. Also, I've been trying to follow the AsteriskTFOT.pdf file. On page 79 it says to add a few lines to /etc/zaptel.conf and then modprobe wctdm. I did that. I then ran /sbin/ztcnf -vv to make sure everything was right. I got this: camille ~ # modprobe wctdm camille ~ # /sbin/ztcfg -vv Zaptel Configuration == Channel map: Channel 02: FXS Kewlstart (Default) (Slaves: 02) 1 channels configured. ZT_CHANCONFIG failed on channel 2: No such device or address (6) What does that mean? What device was it looking for? Please help! -Michael Sullivan- ___ --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
Re: [asterisk-users] Need help getting started with asterisk
On Wed, 2006-12-13 at 14:21 +1100, Paul Hales wrote: I would be very surprised if your modem is supported by Asterisk - but I suppose it's worth a try. What does 'zap show status' and 'zap show channels' show in the Asterisk CLI? PaulH camille*CLI zap show status No Zaptel interface found. Dec 12 21:23:17 WARNING[26372]: chan_zap.c:9774 zap_show_status: Unable to open /dev/zap/ctl: Permission denied camille*CLI zap show channels Chan Extension Context Language MusicOnHold pseudodefault camille*CLI I checked the perms of /dev/zap/ctl: camille ~ # ls -l /dev/zap/ctl crw-rw 1 root dialout 196, 0 Dec 12 21:23 /dev/zap/ctl Is this not correct? ___ --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