ChanIsAvail with IAX2

Hi,

I’m currently meeting a problem with the ChanIsAvail on a IAX2 connection.
I have 2 asterisks and the remote one is down so I’d like that the redirected call to this PBX are made locally.
Unfortunately, the ChanIsAvail function seems to not work and the call are always redirected on the unavailable asterisk…

When I type iax2 show peers in the console, I see that the status of the host is unmonitored… I don’t know if it’s a requirement for

Here is the part of extensions.conf:
exten => _00352.,1,ChanIsAvail(IAX2/LILUPBX001)
exten => _00352.,2,Dial(IAX2/LILUPBX001/${EXTEN:5},180,r)
exten => _00352.,3,Hangup
exten => _00352.,102,Dial(ZAP/g1/${EXTEN},180,r)
exten => _00352.,103,Congestion
exten => _00352.,104,Hangup

Thanks for your help !