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

Zoltan Szecsei zoltans at geograph.co.za
Sat Jul 9 01:42:59 MST 2005


Tzafrir Cohen wrote:

>On Fri, Jul 08, 2005 at 11:12:37PM +0200, Zoltan Szecsei wrote:
>  
>
>>Is this how the modprobes are supposed to respond??
>>
>>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 #
>>    
>>
>
>
>If you use 2.4, consider 2.6, as its ztdummy works better. If you use
>2.6, you may be using udev, and need to read README.udev .
>
>  
>

Bingo!

I had read the README.udev, but had not noticed any make-time udev 
related messages so chose to ignore its contents.

Bad, bad boy - naughty me.

Anyway, dumping those lines into the 50-udev-rules file has solved this 
issue perfectly. I can now modprobe zaptel then ztdummy with no errors 
and asterisk loads & opens all the IAX stuff & confirms that it is 
listening on port 4569.

Cool - well spotted.

Now to get rid of these darn issues:

*CLI> Jul  9 10:23:46 NOTICE[8102]: chan_iax2.c:3891 register_verify: 
Empty registration from 192.168.0.201
Jul  9 10:23:48 NOTICE[8102]: chan_iax2.c:3891 register_verify: Empty 
registration from 192.168.0.202
Jul  9 10:23:48 NOTICE[8102]: chan_iax2.c:6198 iax2_poke_noanswer: Peer 
'z2' is now UNREACHABLE!
Jul  9 10:23:48 NOTICE[8102]: chan_iax2.c:6198 iax2_poke_noanswer: Peer 
'z1' is now UNREACHABLE!
    -- Accepting unauthenticated call from 192.168.0.201, requested 
format = 4, actual format = 4
    -- Executing Dial("IAX2/z2 at z1/5", "IAX/z2|20|tr") in new stack
Jul  9 10:23:57 WARNING[8102]: channel.c:1913 ast_request: No channel 
type registered for 'IAX'
Jul  9 10:23:57 NOTICE[8102]: app_dial.c:764 dial_exec: Unable to create 
channel of type 'IAX'
  == Everyone is busy/congested at this time
Jul  9 10:24:07 WARNING[8102]: pbx.c:1948 ast_pbx_run: Timeout, but no 
rule 't' in context 'geograph'
    -- Hungup 'IAX2/z2 at z1/5'
Jul  9 10:24:18 NOTICE[8102]: chan_iax2.c:3891 register_verify: Empty 
registration from 192.168.0.201
Jul  9 10:24:20 NOTICE[8102]: chan_iax2.c:3891 register_verify: Empty 
registration from 192.168.0.202


I'm sure its now possibly a phone setup, but being green at this 
asterisk stuff, I let them sell me the phones without setup manuals or 
anything. grrrrrrr.

In response to the ethereal queries I was asked:
All PCs & phones on this network plug into the same 3com switch, port 8 
of this switch links to a netgear DG834 (my ADSL modem/router/firewall). 
The three remaining ports on the netgear are unused, but if I plug 
anything into them, the netgear DHCP offers them a compatible IP and 
they can see everything plugged into the 3COM. Note that *all* equipment 
that is permanently connected has a *fixed* IP and does not get one from 
the netgear DHCP service.
In short, the fact that ethereal saw nothing coming from the phones 
suggest a phone setup issue.

However

the fact that when I dial *1202 (*1 being the phones IAX dial-prefix), 
asterisk responds to the request, shows that the phones do however 
communicate in some recognisable way.

Maybe I should also fiddle with a minimum iax.conf and extensions.conf.

Chat soon & thanks,
Zoltan





More information about the asterisk-users mailing list