mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 15:18:11 +00:00
implement sal_op_get_remote_contact()
This commit is contained in:
parent
d25af961ab
commit
c98fa12a3e
2 changed files with 6 additions and 5 deletions
|
|
@ -407,3 +407,9 @@ void sal_op_assign_recv_headers(SalOp *op, belle_sip_message_t *incoming){
|
|||
op->base.recv_custom_headers=(SalCustomHeader*)incoming;
|
||||
}
|
||||
}
|
||||
|
||||
const char *sal_op_get_remote_contact(const SalOp *op){
|
||||
return sal_custom_header_find(op->base.recv_custom_headers,"Contact");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -345,11 +345,6 @@ const SalAddress *sal_op_get_to_address(const SalOp *op){
|
|||
return ((SalOpBase*)op)->to_address;
|
||||
}
|
||||
|
||||
|
||||
const char *sal_op_get_remote_contact(const SalOp *op){
|
||||
return ((SalOpBase*)op)->remote_contact;
|
||||
}
|
||||
|
||||
const char *sal_op_get_route(const SalOp *op){
|
||||
#ifdef BELLE_SIP
|
||||
ms_fatal("sal_op_get_route not supported, use sal_op_get_route_addresses instead");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue