mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			811 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			811 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| context default
 | |
| {
 | |
| 
 | |
| 706/3077610011 => {
 | |
|                  JabberStatus(asterisk|jmls@mike,StatusCode);
 | |
| 
 | |
|                  switch(${StatusCode}) {
 | |
|                          case 1:
 | |
|                                  Dial(SIP/706,12);
 | |
|                                  switch(${DIALSTATUS}) {
 | |
|                                         case BUSY:
 | |
|                                                  Voicemail(b706);
 | |
|                                                  break;
 | |
|                                         default:
 | |
|                                          Voicemail(u706);
 | |
|                                  };
 | |
| 				 BackGround(hello);
 | |
|                                  break;
 | |
|                          default:
 | |
|                                  Voicemail(u706);
 | |
|                  };
 | |
| 
 | |
|                  Hangup();
 | |
|          };
 | |
| 
 | |
| }
 |