[asterisk-users] iax2 peer become UNREACHABLE

MCelo mcelooliveira at gmail.com
Wed Jul 11 07:40:18 CDT 2007


Why don´t you try to change this line:

qualify=yes

to this one:

qualify=3000 or 4000

I think that the problem could be in the time that Asterisk uses to look at
the another peer.

Try it and tell us.


MCelo.




2007/7/11, Jonathan Unai Marquez <jmarquez at ibada.es>:
>
> Hi, I have 2 Asterisk connected over a VPN with iax2 and has been
> working perfectly for the last two weeks, but now, one of the boxes has
> decided stop seeing the other, so now I can only place calls on one
> direction:
>
> bart*CLI> iax2 show peers
> Name/Username    Host                 Mask
> Port          Status
> moe/bart         192.168.1.201   (S)  255.255.255.255  4569 (T)
> UNREACHABLE
> 1 iax2 peers [0 online, 1 offline, 0 unmonitored]
>
>
> moe*CLI> iax2 show peers
> Name/Username    Host                 Mask
> Port          Status
> bart/moe         192.168.2.201   (S)  255.255.255.255  4569 (T)      OK
> (43 ms)
> 1 iax2 peers [1 online, 0 offline, 0 unmonitored]
>
> This is my iax.conf file:
> [general]
> bindport=4569
> bindaddr=0.0.0.0
> language=es
> bandwidth=low
> disallow=all
> allow=gsm
> allow=lpc10
>
> [moe]
> type=friend
> host=192.168.1.201
> context=extensions
> username=bart
> secret=secret
> auth=plaintext
> peercontext=extensions
> qualify=yes
> trunk=yes
>
> The other:
>
> [general]
> bindport=4569
> bindaddr=0.0.0.0
> language=es
> bandwidth=low
> disallow=all
> allow=gsm
> allow=lpc10
>
> [bart]
> type=friend
> host=192.168.2.201
> context=extensions
> peercontext=extensions
> auth=plaintext
> username=moe
> secret=secret
> qualify=yes
> trunk=yes
>
> I have restarted both Asterisk with no luck, any clues to where should I
> search for the soluton?
>
> thanks,
> Jonathan.
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070711/0253163d/attachment.htm 


More information about the asterisk-users mailing list