Undefined offset: 1 in [...]/asteriskInfo_functions.php

I’m getting:
Notice: Undefined offset: 1 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 92

Notice: Undefined offset: 3 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 95

Notice: Undefined offset: 1 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 115

Notice: Undefined offset: 2 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 118

Notice: Undefined offset: 4 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 119

at http://pbx.geekho.com/maint/

The lines in that file seem to be referencing {trunks, extensions}? I used to have but deleted?:

92 $sipPeerInfo_arr3 = explode(’ ‘,$sipPeerInfo_arr2[1]);
95 $sipPeerInfo_arr[‘offline’] = $sipPeerInfo_arr3[3];
115 $iax2PeerInfo_arr3 = explode(’ ',$iax2PeerInfo_arr2[1]);
118 $iax2PeerInfo_arr[‘offline’] = $iax2PeerInfo_arr3[2];
119 $iax2PeerInfo_arr[‘unmonitored’] = $iax2PeerInfo_arr3[4];

It’s doing it on both boxes that I’ve done a lot of trunk fiddling with, is there an easy way to rebuild that file?


Sorry about that, I’ll post this in the TrixBox forum.

It would appear you are running trixbox. Those don’t have anything to do with freepbx. There is and asteriskinfo module in freepbx - but that would not be coming from it.

otherwise I’m confused.