Actually more than a channel, what i’m lokking for is to check the status of a trunk (connection) with a specific provider, the one who actually terminates the call for me.
[quote=“pepehammer”]What you’re saying it’s very reasonable.
Actually more than a channel, what i’m lokking for is to check the status of a trunk (connection) with a specific provider, the one who actually terminates the call for me.
you think that something like this will work?
exten => s,1,ChanIsAvail(SIP/MyProvidersTrunk)
Will it make the trick?
Thanks[/quote]
I would try SIPPEER function.
make sure you have quakify=yes in sip.conf for your peer.