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

Rich Adamson radamson at routers.com
Fri Jul 8 12:52:14 MST 2005


> Ha!  (again)
> 
> Hopefully this helps you guys a bit (to help me )
> 
> Ta yet again,
> Zoltan
> 
>  From the wiki page about my phone, I changed my iax.conf to:
> (note 6 lines after CallerID)
> 
> ************* sip.conf **********************
> [general]
> port=4569
> bindaddr=0.0.0.0
> bandwidth=medium
> disallow=LPC10
> ;deny=all
> ;all0w=ulaw
> ;all0w=alaw
> ;all0w=gsm
> jitterbuffer=yes
> 
> ;   register => zoltan:geograph at iaxtel.com
> 
> 
> [z1]
> type=friend
> host=192.168.0.201
> mailbox=1201
> context=geograph
> callerid="Zoltan1" <201>
> qualify=yes
> disallow=all
> allow=ulaw
> allow=alaw
> allow=g729
> dtmfmode=info
> 
> [z2]
> type=friend
> host=192.168.0.202
> mailbox=1202
> context=geograph
> callerid="Zoltan2" <202>
> qualify=yes
> disallow=all
> allow=ulaw
> allow=alaw
> allow=g729
> dtmfmode=info
> 
> ************** end sip.conf ************************
> 
> 
> ************ asterisk -vvvvvvvvvvvc ***********
> 
> Asterisk Ready.
> *CLI> Jul  8 19:46:21 NOTICE[6826]: chan_iax2.c:6198 iax2_poke_noanswer: 
> Peer 'z2' is now UNREACHABLE!
> Jul  8 19:46:21 NOTICE[6826]: chan_iax2.c:6198 iax2_poke_noanswer: Peer 
> 'z1' is now UNREACHABLE!
> 
> *CLI> iax2 show peers
> Name/Username    Host                 Mask             Port      Status   
> z2               192.168.0.202   (S)  255.255.255.255  4569      UNREACHABLE
> z1               192.168.0.201   (S)  255.255.255.255  4569      UNREACHABLE
> *CLI>
> 

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.





More information about the asterisk-users mailing list