Skip to content

Commit

Permalink
Merge branch 'feature/rtp_relay_siprec'
Browse files Browse the repository at this point in the history
Port SIPREC module to use the RTP Relay module:
* define a new interface in rtp_relay for copying streams
* implement 'subscribe request' RTPEngine command
* adapt RTPProxy to new interface

Sponsored by Rob Moore, at: Dubber - PCI Comply and Call Recording
  • Loading branch information
razvancrainea committed Mar 1, 2022
2 parents f56797b + 8c161c5 commit 0df4c3e
Show file tree
Hide file tree
Showing 25 changed files with 1,958 additions and 2,019 deletions.
2 changes: 1 addition & 1 deletion forward.c
Expand Up @@ -180,7 +180,7 @@ struct socket_info* get_send_socket(struct sip_msg *msg,
* eg: ipv4 -> ipv6 or ipv6 -> ipv4) */
switch(proto){
case PROTO_UDP:
if (msg &&
if (msg && msg->rcv.bind_address &&
msg->rcv.bind_address->address.af==to->s.sa_family &&
msg->rcv.bind_address->proto==PROTO_UDP) {
send_sock = msg->rcv.bind_address;
Expand Down

0 comments on commit 0df4c3e

Please sign in to comment.