diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 54852f1019..e85215a1fe 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Tue Mar 10 14:50:56 CDT 2009 +Tue Mar 10 14:51:57 CDT 2009 diff --git a/libs/sofia-sip/libsofia-sip-ua/nta/nta.c b/libs/sofia-sip/libsofia-sip-ua/nta/nta.c index 3f6e59bdda..e3496a276c 100644 --- a/libs/sofia-sip/libsofia-sip-ua/nta/nta.c +++ b/libs/sofia-sip/libsofia-sip-ua/nta/nta.c @@ -11378,6 +11378,16 @@ int nta_outgoing_setrseq(nta_outgoing_t *orq, uint32_t rseq) #include +/** Return the master transport for the agent. + * + * @NEW_1_12_11 + */ +tport_t * +nta_agent_tports(nta_agent_t *agent) +{ + return agent ? agent->sa_tports : NULL; +} + su_inline tport_t * nta_transport_(nta_agent_t *agent, nta_incoming_t *irq, diff --git a/libs/sofia-sip/libsofia-sip-ua/nta/sofia-sip/nta_tport.h b/libs/sofia-sip/libsofia-sip-ua/nta/sofia-sip/nta_tport.h index 3d3a105990..17261bf181 100644 --- a/libs/sofia-sip/libsofia-sip-ua/nta/sofia-sip/nta_tport.h +++ b/libs/sofia-sip/libsofia-sip-ua/nta/sofia-sip/nta_tport.h @@ -59,6 +59,8 @@ struct sigcomp_udvm; #define nta_transport nta_incoming_transport +SOFIAPUBFUN tport_t *nta_agent_tports(nta_agent_t *agent); + SOFIAPUBFUN tport_t *nta_incoming_transport(nta_agent_t *, nta_incoming_t *, msg_t *msg);