Asterisk Recording to Remote Server

How to record a call to remote server wihch support ed137b standard. I can handle rtp packets but also need call information for each rtp packets to establish connection between recorder and asterisk. I need a guide to implement this ability to asterisk.

This is not a feature that currently exists and there is no explicit guide for implementing it. You would need to find something similar, implement it differently, or learn core parts.