I have two freepbx SIP trunks, and a ZAP trunk (dahdi actually), to my verizon landline. The SIP trunks show up fine in FOP, but the ZAP trunk shows up as “MyLabel”. Looking in the /var/www/html stuff, I see this:
The trunk name in the freepbx config is “Verizon”. Any ideas why it does the above?
I would look in /usr/local/fop2 at autoconfig-buttons-freepbx.php and see what it is creating for buttons…
FreePBX erroneously assumes that FOP does not parse comments in chan_dahdi.conf. Quite to the contrary, it ignores the “;#” and proceeds with parsing “;
The last “comment” happens to be “;# ;AMPWILDCARDLABEL(x):MyLabel” which instructs FOP to create a generic “MyLabel” trunk to reflect all “other”, i.e. not enumerated as extensions that far, Zap/* channels. I meant “Zap/*” since this is hard coded…
I developed a patch to fix that and other FOP Zap/DAHDI trunk buttons generation problems. See http://www.freepbx.org/trac/ticket/4462 for more technical details.