This info came from Achmad Taufik who was kind enough to share the setup, should make it alot easier for anyone integrating the siemens hipath HG1500 with Asterisk.
If you want to do the same integration using PRI TSM2 card instead of SIP see http://joekane.eu/siemens-hipath-3750-to-asterisk-te110p
The HG1500 is an expansion card for the Hipath that enables SIP extensions and in this case Trunks.
This it the System Config
Once you installed the hg1500 card, go the web based configuration panel. Create a node for the asterisk pbx. Explorers -> Voice Gateways -> Nodes
Create call address for the node. All my asterisk extension start with digit 6XX.
On the asterisk box, create sip trunk, the host=10.0.1.7 is the IP address of hipath hg1500 card.
This the outbound route from asterisk to the hipath. It routes asterisk users dialing XX to the hipath SIP trunk.
On the hipath create a dialplan for asterisk extensions.
I had to create a virtual port on the hipath for all asterisk extensions (all extensions 6XX are virtual ports). Whenever I dial this extension on the hipath it forwards the calls to the SIP trunk. I did try using the dial plan without creating all virtual stations but it didn’t work.
This is how I create a virtual port (see check sign on “Virtual Station”). Forward all calls to this station to SIP trunk.
Thats it, Thanks again to Achmad Taufik for the guide and screenshots. Any issues post a comment and we can try to fix.
Some extra screenshots for the Route config