verify numbers with pn
This commit is contained in:
		
							parent
							
								
									e444553ae4
								
							
						
					
					
						commit
						3599be95f4
					
				
					 4 changed files with 33 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -53,7 +53,7 @@ vid_to_number() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
number_to_contactname() {
 | 
			
		||||
	NUMBER="$(echo "$1" | sed "s/^0\([0-9]\{9\}\)$/${DEFAULT_NUMBER_PREFIX:-0}\1/")"
 | 
			
		||||
	NUMBER="$1"
 | 
			
		||||
	CONTACT=$(sxmo_contacts.sh --all |
 | 
			
		||||
		grep "^$NUMBER:" |
 | 
			
		||||
		cut -d':' -f 2 |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue