mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Stop transmission when sendonly is set (bug #3185)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -2804,6 +2804,8 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req) | ||||
| 				ast_moh_stop(ast_bridged_channel(p->owner)); | ||||
| 			} else { | ||||
| 				ast_moh_start(ast_bridged_channel(p->owner), NULL); | ||||
| 				if (sendonly) | ||||
| 					ast_rtp_stop(p->rtp); | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user