mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
set network_addr of caller profile to signaling ip address. (requested by Steven Ayre)
This commit is contained in:
parent
77e2dccf72
commit
072bf5ad14
@ -1,3 +1,4 @@
|
||||
set network_addr of caller profile to signaling ip address. (requested by Steven Ayre)
|
||||
move PTrace level set to FSH323EndPoint::Initialise
|
||||
partially apply patch from from Peter Olsson, Remove UnLock() when TryLock() failed and DEBUG_RTP_PACKETS directive.
|
||||
apply changes from mod_h323-patch.diff by Peter Olsson.
|
||||
|
@ -871,6 +871,9 @@ H323Connection::AnswerCallResponse FSH323Connection::OnAnswerCall(const PString
|
||||
}
|
||||
}
|
||||
|
||||
PIPSocket::Address remote_network_addr;
|
||||
GetSignallingChannel()->GetRemoteAddress().GetIpAddress(remote_network_addr);
|
||||
|
||||
switch_caller_profile_t *caller_profile = switch_caller_profile_new(switch_core_session_get_pool(m_fsSession),
|
||||
NULL,
|
||||
/** username */
|
||||
@ -880,7 +883,7 @@ H323Connection::AnswerCallResponse FSH323Connection::OnAnswerCall(const PString
|
||||
/** caller_id_name */
|
||||
GetRemotePartyNumber(),
|
||||
/** caller_id_number */
|
||||
NULL,
|
||||
remote_network_addr.AsString(),
|
||||
/** network addr */
|
||||
NULL,
|
||||
/** ANI */
|
||||
|
Loading…
x
Reference in New Issue
Block a user