mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Expand the caller ANI field to an ast_party_id
Expand the ani field in ast_party_caller and ast_party_connected_line to an ast_party_id. This is an extension to the ast_callerid restructuring patch in review: https://reviewboard.asterisk.org/r/702/ Review: https://reviewboard.asterisk.org/r/744/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -3039,10 +3039,12 @@ static struct ast_frame *__analog_handle_event(struct analog_pvt *p, struct ast_ | ||||
| 			switch (p->whichwink) { | ||||
| 			case 0: | ||||
| 				ast_debug(1, "ANI2 set to '%d' and ANI is '%s'\n", p->owner->caller.ani2, | ||||
| 					S_OR(p->owner->caller.ani, "")); | ||||
| 					S_COR(p->owner->caller.ani.number.valid, | ||||
| 						p->owner->caller.ani.number.str, "")); | ||||
| 				snprintf(p->dop.dialstr, sizeof(p->dop.dialstr), "M*%d%s#", | ||||
| 					p->owner->caller.ani2, | ||||
| 					S_OR(p->owner->caller.ani, "")); | ||||
| 					S_COR(p->owner->caller.ani.number.valid, | ||||
| 						p->owner->caller.ani.number.str, "")); | ||||
| 				break; | ||||
| 			case 1: | ||||
| 				ast_copy_string(p->dop.dialstr, p->finaldial, sizeof(p->dop.dialstr)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user