Re: [Astlinux-users] USB2Serial-adapter with Soekris or Alix board

2008-12-23 Thread Michael Keuter
Michael Keuter wrote:
  494ee92e.1030...@redfish-solutions.com
  p06240800c57538cf3...@[192.168.2.210]
  494fe2f4.4030...@redfish-solutions.com
  p06240803c5759b4e4...@[192.168.2.210]
  Message-ID: d20e99f5e6efdcea94b210c1f9808...@localhost
  X-Sender: dhart...@djhsolutions.com
  Received: from 64.246.240.54 [64.246.240.54] 
with HTTP/1.1 (POST); Mon, 22 Dec
 2008 15:12:56 -0600
  User-Agent: RoundCube Webmail/0.1
  Content-Type: text/plain; charset=UTF-8
  Content-Transfer-Encoding: 8bit



  On Mon, 22 Dec 2008 20:49:01 +0100, Michael Keuter mkeu...@web.de wrote:

  Michael Keuter wrote:

kd85.com makes a case with two serial port cut-outs...  I wouldn't

   get
  
too attached to the net4801... it's EOL'd.

-Philip
  

Hi Philip,
I know kd85.com but that wouldn't help with Alix boards - they only
have one COM port.
I read that the PL-2303 driver is already
  included into the Linux 2.6 kernel:

http://www.prolific.com.tw/eng/downloads.asp?ID=31
  

 Would it be possible to include it/activate it in Astlinux?


  Been there all along:

  pbx ~ # modinfo plusb
  filename:
  /lib/modules/2.6.25.19-astlinux/kernel/drivers/net/usb/plusb.ko
  license:GPL
  description:Prolific PL-2301/2302 USB Host to Host Link Driver
  author: David Brownell
  alias:  usb:v067Bp0001d*dc*dsc*dp*ic*isc*ip*
  alias:  usb:v067Bpd*dc*dsc*dp*ic*isc*ip*
  depends:usbnet
  vermagic:   2.6.25.19-astlinux preempt mod_unload GEODE
  pbx ~ #

   Hi Philip,

   thanks for your answer.
   But that is NOT a USB-to-serial port driver.
   That is an USB-to-USB network cable (or bridge
   controller), that's why it's under Š/net/usb/
   :-).

   On my Debian 4 server it is in
   /lib/modules/2.6.18-6-686/kernel/drivers/usb/serial/pl2303.ko and
   /lib/modules/2.6.18-6-686/kernel/drivers/usb/serial/usbserial.ko
  
  Michael,

  Yes, that's correct.  Those two modules would need to be added.  I'm saying
  it's worth the size of the modules.  We'll put it on the list to do.  The
  Prolific usb/serial device is one of the more popular ones that's
  compatible with Linux and it should only add a few hundred kb to the total
  build.

  Darrick


  Thanks Darrick,

  that would make some of my projects MUCH easier,
  not to have to fiddle with much too short serial
  adapter cables, drilling, and so on.

  Maybe usbcore is also needed. Can't find it on 0.6.2.

  Michael
  

Committing to trunk...  #2229.  I didn't enable everything.  Just:

+CONFIG_USB_SERIAL=m
+CONFIG_USB_SERIAL_GENERIC=y
+CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
+CONFIG_USB_SERIAL_FTDI_SIO=m
+CONFIG_USB_SERIAL_IR=m
+CONFIG_USB_SERIAL_GARMIN=m
+CONFIG_USB_SERIAL_PL2303=m
+CONFIG_USB_SERIAL_OTI6858=m
+CONFIG_USB_SERIAL_OPTION=m
+CONFIG_USB_SERIAL_DEBUG=m


Already forgotten what USB_SERIAL_OPTION does...  Oh, hang on.  That's
not very handy.  I'll back that last one out...

-Philip

Hi Philip + Darrick,

thanks for including it.

BTW: here is some doku I found:

http://www.kernel.org/doc/menuconfig/drivers-usb-serial-Kconfig.html#USB_SERIAL

Michael

--
Email: mailto:mkeu...@web.de

--
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Direct In Dial

2008-12-23 Thread Cleveland Electronic Services
Hi Clara,

 

Engin I believe would send your number depending on your location, which is
part of your DID number have a look at this link hope it helps
http://packetman.com.au/kb/?CategoryID=74
http://packetman.com.au/kb/?CategoryID=74browse=Go browse=Go

 

Cheers

 

Cleve 

 

From: Clara Chan [mailto:cla...@tc.com.au] 
Sent: Tuesday, 23 December 2008 1:38 PM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] Direct In Dial

 

Thanks, Cleve

 

 

My ITSP is sending them as individual numbers, I just can't figure out how
to configure it in Asterisk yet. I've been able to do this with a Linksys
SPA9000 previously (so was hoping I can do the same thing in Asterisk).

 

Cheers,

Clara

 

  _  

From: Cleveland Electronic Services
[mailto:i...@clevelandelectronicservices.com] 
Sent: Tuesday, 23 December 2008 12:52 PM
To: 'AstLinux Users Mailing List'
Subject: [Astlinux-users] Direct In Dial

 

Hi Clara,

 

It would be a good idea to speak to your VSP and see how they pass your DID
numbers, if they have pointed all your did numbers to your sip number and
only passing your sip number through then you have no hope of separating
your calls as per individual DID numbers.

 

Cheers

 

Cleve

 

 

 

From: Tod Fitch [mailto:t...@fitchdesign.com] 
Sent: Tuesday, 23 December 2008 11:56 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] Direct In Dial

 

Hi Clara,

 

My extensions.conf is fairly convoluted so I would rather not just post a
bit out of it as the explanation would take this pretty far off topic.

 

That said, I don't see any glaringly obvious issues with the extract you
provided...

 

When debugging something like that, I'd be tempted to make the context for
calls from my provider something like:

 

[fromvoipprovider]

exten = s,1,NoOp(Number dialed was ${EXTEN})

 

And see from the log what I am getting from my provider.

 

Regards,

Tod

 

On Dec 22, 2008, at 4:41 PM, Clara Chan wrote:

 

Sorry, to add one other comment, DNIS should be activated already as I can
get this to work on a Linksys 9000 by :201;:202;:203.

 

 

  _  

From: Clara Chan 
Sent: Tuesday, 23 December 2008 11:40 AM
To: 'AstLinux Users Mailing List'
Subject: RE: [Astlinux-users] Direct In Dial

 

Tod,

 

From your description, that is what I am after.

 

I have multiple DIDs from a single account eg x.  This account has
three separate direct-in-dial numbers, , . I have registered to that
account, but any number being forwarded

 

I have configured my extensions.conf to

 

Exten = ,1,Dial(SIP/201)

exten = ,1,Dial(SIP/202)

exten = ,1,Dial(SIP/203)

 

but all numbers dialled gets sent to SIP/201.

 

Having had a further read, I understand it's possible to use sipgetheader,
and trying

exten = ,1,SIPGetHeader(Testing=To)

exten = ,n,GotoIf($[${Testing}=]?dial1)

exten = ,n(dial1),Dial(SIP/201)

 

but this does not appear to be working.

 

Any suggestions??

 

  _  

From: Tod Fitch [mailto:t...@fitchdesign.com] 
Sent: Tuesday, 23 December 2008 11:33 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] Direct In Dial

 

On Dec 22, 2008, at 2:20 PM, Clara Chan wrote:

 

Hi all,

 

Has anybody here been able to configure multiple Direct In Dial in
Astlinux for a single account??

 

Cheers,

Clara

I don't think I understand what you are looking for. If you mean multiple
direct inward dialing from a single SIP account at a ITSP, it is possible.
I have one account with my provider but have three numbers and have Asterisk
on my AstLinux box sending those three numbers off to three different
phones.

 

To make this work you need several things:

 

1. Your provider to send the number dialed when it sets up the call my
provider calls it DNIS and there is a check box on their web page to
enable it on a per number basis. Your provider may have different names or
ways to set that up.

2. You need the SIP context for your account to send the call to an
extension that can handle the number string

3. You need your extensions.conf setup to handle the dialed number.

 

Tod

 

 


--
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.

 

--
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Problems getting started

2008-12-23 Thread Phil McKerracher
 Hmmm... There are a few different versions of physdiskwrite.exe floating
 around out there... Make sure you get the right one...

I got it recently from the m0n0wall site - I'll see if I can find some
others to try, but just using Ubuntu is probably the answer. I'm intending
to write all this up when I get it working though, and it would be nice to
say something other than I couldn't get this to work on Windows. I'm
tempted to experiment with cygwin, but I've had bad experiences in the
past (needing a reinstallation of windows to recover) so it's a bit of a
last resort.

By the way, cleaning the CF card using diskpart did seem to make a
difference - without it, the CF card is left blank (but partitioned).

 But I have done it [on Vista]...

That's useful to know, thanks. At least I'm not barking up an empty tree.

 You're limited to 12Mb/s on USB 1.1...

I'm on USB 2 - but maybe Ubuntu is dropping back, at least on a
wubi-style installation?

-- 
Phil McKerracher
www.mckerracher.net





--
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Dynamic DNS

2008-12-23 Thread David Kerr
Thanks, I'll try that.   I hopefully will not need this permanently, I want
to transition from dyndns to freedns because the latter will let me use my
own domain name with their free service... whereas dyndns will charge for
that. So for some period of time I want to have both live.
David.

On Mon, Dec 22, 2008 at 10:25 PM, Darrick Hartman dhart...@djhsolutions.com
 wrote:

 David Kerr wrote:

 Is it possible to run inadyn twice?  I'd like to update both dyndns.org 
 http://dyndns.org and freedns.afraid.org http://freedns.afraid.org.
  Is this possible, and if so is it easy to setup?  I currently have astlinux
 set to update dyndns by configuring through the GUI.

 Thanks,
 David


 Short answer is yes.

 Long answer is yes, but...  The 'but' part is you'll have to do it
 manually.  Take a look at what's created in /tmp/etc/inadyn.conf, make a
 copy of that and place it somewhere else (perhaps /mnt/kd/inadyn2.conf.
  Alternatively, make a copy with one provider, updated through the gui using
 the second provider.  Either way, when you have the config file, you'll need
 to start inadyn manually.  This can be done by creating a file called
 /mnt/kd/rc.local and placing your custom command in there. Make sure
 rc.local is set to executable.

 I don't see enough of a need to update two dynamic dns services to make
 this a standard feature.

 Darrick


--
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] USB2Serial-adapter with Soekris or Alix board

2008-12-23 Thread Michael Keuter
   Yes, that's correct.  Those two modules would need to be added. 
I'm saying
   it's worth the size of the modules.  We'll put it on the list to do.  The
  Prolific usb/serial device is one of the more popular ones that's
  compatible with Linux and it should only add a few hundred kb to the total
  build.

  Darrick


  Thanks Darrick,

  that would make some of my projects MUCH easier,
  not to have to fiddle with much too short serial
  adapter cables, drilling, and so on.

  Maybe usbcore is also needed. Can't find it on 0.6.2.

  Michael
  

Committing to trunk...  #2229.  I didn't enable everything.  Just:

+CONFIG_USB_SERIAL=m
+CONFIG_USB_SERIAL_GENERIC=y
+CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
+CONFIG_USB_SERIAL_FTDI_SIO=m
+CONFIG_USB_SERIAL_IR=m
+CONFIG_USB_SERIAL_GARMIN=m
+CONFIG_USB_SERIAL_PL2303=m
+CONFIG_USB_SERIAL_OTI6858=m
+CONFIG_USB_SERIAL_OPTION=m
+CONFIG_USB_SERIAL_DEBUG=m


Already forgotten what USB_SERIAL_OPTION does...  Oh, hang on.  That's
not very handy.  I'll back that last one out...

-Philip

Hi Philip + Darrick,

I successfully built myself a svn (rev. 2234) image from the 
0.6-branch (couldn't get trunk running).
The usb2serial-adapter works well (geni586 + net4801) when you plug 
it into the RUNNING box.
It is then attached to /dev/ttyUSB0 (with 9600 baud).
--
usb 1-1: new full speed USB device using ohci_hcd and address 4
usb 1-1: configuration #1 chosen from 1 choice
pl2303 1-1:1.0: pl2303 converter detected
usb 1-1: pl2303 converter now attached to ttyUSB0
-
But after a reboot it is gone. You have to replug it to make it work again.

Michael

--
Email: mailto:mkeu...@web.de

--
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] USB2Serial-adapter with Soekris or Alix board

2008-12-23 Thread Philip A. Prindeville
Michael Keuter wrote:
   Yes, that's correct.  Those two modules would need to be added. 
 I'm saying
   it's worth the size of the modules.  We'll put it on the list to do.  The
 
  Prolific usb/serial device is one of the more popular ones that's
  compatible with Linux and it should only add a few hundred kb to the total
  build.

  Darrick

 
  Thanks Darrick,

  that would make some of my projects MUCH easier,
  not to have to fiddle with much too short serial
  adapter cables, drilling, and so on.

  Maybe usbcore is also needed. Can't find it on 0.6.2.

  Michael
  
   
 Committing to trunk...  #2229.  I didn't enable everything.  Just:

 +CONFIG_USB_SERIAL=m
 +CONFIG_USB_SERIAL_GENERIC=y
 +CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
 +CONFIG_USB_SERIAL_FTDI_SIO=m
 +CONFIG_USB_SERIAL_IR=m
 +CONFIG_USB_SERIAL_GARMIN=m
 +CONFIG_USB_SERIAL_PL2303=m
 +CONFIG_USB_SERIAL_OTI6858=m
 +CONFIG_USB_SERIAL_OPTION=m
 +CONFIG_USB_SERIAL_DEBUG=m


 Already forgotten what USB_SERIAL_OPTION does...  Oh, hang on.  That's
 not very handy.  I'll back that last one out...

 -Philip
 

 Hi Philip + Darrick,

 I successfully built myself a svn (rev. 2234) image from the 
 0.6-branch (couldn't get trunk running).
 The usb2serial-adapter works well (geni586 + net4801) when you plug 
 it into the RUNNING box.
 It is then attached to /dev/ttyUSB0 (with 9600 baud).
 --
 usb 1-1: new full speed USB device using ohci_hcd and address 4
 usb 1-1: configuration #1 chosen from 1 choice
 pl2303 1-1:1.0: pl2303 converter detected
 usb 1-1: pl2303 converter now attached to ttyUSB0
 -
 But after a reboot it is gone. You have to replug it to make it work again.

 Michael
   

Try adding it to /etc/rc.modules and see if that helps.

What issues did you have with trunk?

-Philip


--
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Problems getting started

2008-12-23 Thread Philip A. Prindeville
Phil McKerracher wrote:
 Yay! I got it to boot! I have my Christmas present. :-)

 I had to jump through all sorts of hoops, which I will document later -
 basically, clean and reformat the CF card in windows, THEN clean and
 reformat it in Ubuntu, run DD, create and format the secondary partition
 in Ubuntu then run genunion in astlinux.
   

I'm a little skeptical about this...  the dd is known to blow away the 
formatting and partitioning of your disk...

So anything that happens before this is obliterated (and therefore can 
safely be left out).


 I can see the web interface and everything - the only problem is, config
 changes are not sticking but I'm sure I can solve that.
   

Sounds like you need to mount your ASTURW filesystem, and then generated 
your kd...

Running genunion from the CLI should do this.



 The next step is to put some calls through, then I can order some more
 VoIP phones and help get the economy moving again. :-)

   


--
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.