[Asterisk-Users] IAXphone -> ip address -> extension number.

Zoltan Szecsei zoltans at geograph.co.za
Sun Jul 10 03:18:05 MST 2005


Carlos Alperin wrote:

>Zoltan,
>
>If you don't mind, can you explain me a little more the ztcfg problem. My
>experience with that is null, but I need to setup a box for testing purposes
>only, and I don't want to but a TDM card only for make it work.
>
>I know people that has asterisk running on SIP that don't use zaptel &
>Zapata just they do sip also to their provider (which is not my my case) but
>I never did that.
>
>So I plan to install it with Ztdummy on top of FC2.
>  
>
I only tried once to make zaprtc - this was whilst ztdummy was not 
loading for me. I'll go through what I did in a later email.
For now, the ztdummy thing:
FC2 is 2.4 and not 2.6 kernel.
I remember seeing somewhere that ztdummy reacts better on 2.6 kernels. 
(is this true anyone???)
The thing that killed my ztdummy was that, at make time, I did not 
have/see/notice and udev errors (so although having read it, I ignored 
the README.udev file), however whenever I modprobed zaptel before 
modprobe ztdummy (this is the order it must be done in), it would not load.

> gl0:/home/zls # modprobe zaptel
> gl0:/home/zls # lsmod | grep z
> Module                  Size  Used by
> zaptel                239620  0
> crc_ccitt               6144  1 zaptel
> gl0:/home/zls # modprobe ztdummy
> Notice: Configuration file is /etc/zaptel.conf
:-( > line 142: Unable to open master device '/dev/zap/ctl'
> gl0:/home/zls # lsmod | grep z
> Module                  Size  Used by
> ztdummy                 7744  0
> zaptel                239620  1 ztdummy
> crc_ccitt               6144  1 zaptel
> gl0:/home/zls #

Tzafrir Cohen picked up this error on /dev and pointed me to 
/usr/src/zaptel-1.0.9/README.udev and once I had dumped those 6 lines 
into /etc/udev/rules.d/50-udev.rules the modprobe sequence worked.
You need to find out if FC2 uses udev or not.

(I'll re-run my attempts at zaprtc & sort out the emails I got - and 
email you again just now)

Cheers,
Zoltan

>Regarding Ethereal, you should do tcpdump -I ethx (x=number of the port) -W
>filename, when you finish close it with Ctrl-z, and then you can see the
>file on the Asterisk or move it to another computer with Etherreal and open
>it (That is the way I do, so I see what Asterisk gets).
>
>Have a great weekend.
>
>Carlos
>
>  
>





More information about the asterisk-users mailing list