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

Zoltan Szecsei zoltans at geograph.co.za
Fri Jul 8 14:26:54 MST 2005


Rich Adamson wrote:

>Yes, the above indicates the phones did in fact register "at least
>one time", as indicated by the IP address in the Host colume.
>
>The Status = Unreachable is saying the phones no longer are 
>reachable by asterisk. So, either the phone is going to sleep
>on its own, or, for whatever reason asterisk cannot send a 
>packet to the phone and get any reasonable response.
>
>Now is the time to do a 'iax2 debug' and reboot the phone. You
>should see the registration occur again, followed by asterisk
>trying to send the phone something (some time later). We need
>to see the copy/paste results of that.
>
>  
>

I was browsing through the phone menus (browser to 192.168.0.201:9999) 
and I found a few settings that I fiddled with:


1) Protocol: SIP, IAX or BOTH (both was set so I left it so)
2) Phone Display Number (was SIP, I changed it to IAX)
3) IAX dial prefix:  (was set to *1 but I wasn't using it)
4) IAX Server (was blank, I set it to asterisk: 192.168.0.100)
5)IAX Server port & local port are (and were) both at 4569
6) IAX Number - still left blank
7) IAXname - still left blank
8) IAX username - still left blank
9) IAX password - still left blank
10) IAX refresh interval - still left as 60 seconds
11) UPnP - still left disabled

*but*  even though I still cannot get the other phone to ring, look at 
asterisks response:
(I now dial *1202 instead of just 202 - if just 202 then asterisk does 
not respond at all)

Asterisk Ready.
*CLI> Jul  8 23:23:11 NOTICE[10202]: chan_iax2.c:6198 
iax2_poke_noanswer: Peer 'z2' is now UNREACHABLE!
Jul  8 23:23:11 NOTICE[10202]: chan_iax2.c:6198 iax2_poke_noanswer: Peer 
'z1' is now UNREACHABLE!
Jul  8 23:23:13 NOTICE[10202]: chan_iax2.c:3891 register_verify: Empty 
registration from 192.168.0.201
Jul  8 23:23:18 NOTICE[10202]: chan_iax2.c:3891 register_verify: Empty 
registration from 192.168.0.202
    -- Accepting unauthenticated call from 192.168.0.202, requested 
format = 4, actual format = 4
    -- Executing Dial("IAX2/z2 at z2/7", "IAX/z1|20|tr") in new stack
Jul  8 23:23:24 WARNING[10202]: channel.c:1913 ast_request: No channel 
type registered for 'IAX'
Jul  8 23:23:24 NOTICE[10202]: app_dial.c:764 dial_exec: Unable to 
create channel of type 'IAX'
  == Everyone is busy/congested at this time
Jul  8 23:23:34 WARNING[10202]: pbx.c:1948 ast_pbx_run: Timeout, but no 
rule 't' in context 'geograph'
    -- Hungup 'IAX2/z2 at z2/7'
Jul  8 23:23:45 NOTICE[10202]: chan_iax2.c:3891 register_verify: Empty 
registration from 192.168.0.201
Jul  8 23:23:50 NOTICE[10202]: chan_iax2.c:3891 register_verify: Empty 
registration from 192.168.0.202
Jul  8 23:23:50 NOTICE[10202]: chan_iax2.c:5468 socket_read: Rejected 
connect attempt from 192.168.0.201, request '2 at geograph' does not exist
    -- Accepting unauthenticated call from 192.168.0.201, requested 
format = 4, actual format = 4
    -- Executing Dial("IAX2/z2 at z1/17", "IAX/z2|20|tr") in new stack
Jul  8 23:24:06 WARNING[10202]: channel.c:1913 ast_request: No channel 
type registered for 'IAX'
Jul  8 23:24:06 NOTICE[10202]: app_dial.c:764 dial_exec: Unable to 
create channel of type 'IAX'
  == Everyone is busy/congested at this time
Jul  8 23:24:16 WARNING[10202]: pbx.c:1948 ast_pbx_run: Timeout, but no 
rule 't' in context 'geograph'
    -- Hungup 'IAX2/z2 at z1/17'
Jul  8 23:24:17 NOTICE[10202]: chan_iax2.c:3891 register_verify: Empty 
registration from 192.168.0.201
Jul  8 23:24:22 NOTICE[10202]: chan_iax2.c:3891 register_verify: Empty 
registration from 192.168.0.202

*CLI> stop now
Beginning asterisk shutdown....
Executing last minute cleanups
  == Destroying any remaining musiconhold processes
Asterisk cleanly ending (0).
gl0:/home/zls #




More information about the asterisk-users mailing list