Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

SOFIAPUBFUN sip_contact_t* nta_agent_contact ( nta_agent_t const *  agent  ) 

Return header.

Get a header, which can be used to reach agent.

agent NTA agent object
User agents can insert the header in the outgoing REGISTER, INVITE, and ACK requests and replies to incoming INVITE and OPTIONS transactions.

Proxies can use the header to create appropriate headers:

 r_r = sip_record_route_create(msg_home(msg),

A sip_contact_t object corresponding to the agent.

Definition at line 616 of file nta.c.

  return agent ? agent->sa_contact : NULL;

Generated by  Doxygen 1.6.0   Back to index