Php code needed to breakdown channel components


#1

I need some php code to break down the parts of an inbound channel like, type, username, ipaddress, unique identifier etc, and place them in an array.

Does anyone have some code?

I have been looking at some regular expression code, but I don’t think I am about to understand it yet


#2

If you attach to the manager interface you will see all of this info right there, go to voip-info. and look up the manager api you will see examples of how to parse the output. Hope this helps.