mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Wed Mar 12 07:00:01 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -557,6 +557,10 @@ static int dial_exec(struct ast_channel *chan, void *data) | ||||
| 		/* If appropriate, log that we have a destination channel */ | ||||
| 		if (chan->cdr) | ||||
| 			ast_cdr_setdestchan(chan->cdr, peer->name); | ||||
| 		if (peer->name) | ||||
| 			pbx_builtin_setvar_helper(chan, "DIALEDPEERNAME", peer->name); | ||||
| 		if (numsubst) | ||||
| 			pbx_builtin_setvar_helper(chan, "DIALEDPEERNUMBER", numsubst); | ||||
| 		/* Make sure channels are compatible */ | ||||
| 		res = ast_channel_make_compatible(chan, peer); | ||||
| 		if (res < 0) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user