[Asterisk-Users] How to configure asterisk to emulate FXO signaling ?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Jun 22 13:01:17 MST 2006


On Thu, Jun 22, 2006 at 11:38:42AM -0700, Carlos Munoz wrote:
> Tzafrir Cohen wrote:
> 
> >On Wed, Jun 21, 2006 at 05:21:17PM -0700, Carlos Munoz wrote:
> > 
> >
> >>Tzafrir Cohen wrote:
> >>
> >>   
> >>
> >>>On Wed, Jun 21, 2006 at 03:46:15PM -0700, Carlos Munoz wrote:
> >>>
> >>>
> >>>     
> >>>
> >>>>I'm unable to configure asterisk to provide dial tone, busy tone, 
> >>>>detect dtmf digits, etc to an analog phone connected to a FXS port. 
> >>>>Unfortunately, this particular  hardware does not provide FXO 
> >>>>signaling. Incoming calls work perfect, the phone rings and voice flows 
> >>>>on both directions. However, I can't place outgoing calls, there is no 
> >>>>dial tone and dialing out makes no difference.
> >>>>
> >>>>Does anyone know how to configure asterisk to emulate FXO signaling or 
> >>>>point me in the right direction ?
> >>>> 
> >>>>
> >>>>       
> >>>>
> >>>What hardware is it, exactly?
> >>>
> >>>
> >>>
> >>>     
> >>>
> >>It is a small SOHO router from LinkSys that has 2 FXS ports, an ethernet 
> >>switch with 4 ports and a wireless interface. It came with Linux 2.6.14 
> >>installed and a VOIP application which uses 40% CPU when a call is up. 
> >>I'm trying to replace this VOIP application with asterisk configured as 
> >>TA (basically asterisk is a VOIP phone). I think the phone hardware is 
> >>based on legarity slics.
> >>   
> >>
> >
> >Did you actually get Asterisk running on it?
> >
> >Are there free drivers for the wireless innterface (so you won't depend
> >on the specific kernel version)? 
> >
> >You can't simply use the existing zaptel drivers, as the adapters don't
> >even sit on a PCI bus. If the slics are indeed the same ProSlics used by
> >the TDM400P, it could help. But some driver rewriting would probably be
> >needed.
> >
> >Are there any existing free drivers that use those adapters?
> >
> > 
> >
> Yes, I got asterisk to come up. I can receive calls with no problems. It 
> is outgoing calls that doesn't work. I think the VOIP application that 
> came with the router generates the dial tone and detects dtmf digits. It 
> looks like asterisk is not doing that. I'm going through the asterisk 
> code to see if I can find out how to enable dial tone generation and 
> dtmf digit detection.

channels/chan_zap.c (the horrors). zaptel/chan_zap generally does not
rely on the chip to generate/detect DTMF.

Alternatively, there is chan_unicall (not part of the standard Asterisk
codebase).

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-users mailing list