How to add the route header

Hi All,

In my requirement, I want to add a route header to the INVITE message which is sent out from the Asterisk server,

Basically I will be making a call and that INVITE will reach the Asterisk, then the Asterisk will send the INVITE to another node, here at this situation when the asterisk is sending the INVITE to the next node, I want to add a route header in INVITE.

Please let me know how can I hard code a route header to the outgoing INVITE from Asterisk server,

Kindly help me

Kind Regards
SenthilK

SIPAddHeader()

thanks David,

my purpose has solved

many thanks