| 
									
										
										
										
											2002-10-20 04:57:31 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; MGCP Configuration for Asterisk | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | [general] | 
					
						
							|  |  |  | ;port = 2427 | 
					
						
							|  |  |  | ;bindaddr = 0.0.0.0 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-02 19:30:49 +00:00
										 |  |  | ; See https://wiki.asterisk.org/wiki/display/AST/IP+Quality+of+Service for a description of these parameters. | 
					
						
							| 
									
										
										
										
											2007-12-16 10:51:53 +00:00
										 |  |  | ;tos=cs3		; Sets TOS for signaling packets. | 
					
						
							|  |  |  | ;tos_audio=ef		; Sets TOS for RTP audio packets. | 
					
						
							|  |  |  | ;cos=3			; Sets 802.1p priority for signaling packets. | 
					
						
							|  |  |  | ;cos_audio=5		; Sets 802.1p priority for RTP audio packets. | 
					
						
							| 
									
										
										
										
											2007-04-30 16:16:26 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-31 15:56:41 -05:00
										 |  |  | ; --------------------- DIGIT TIMEOUTS ---------------------------- | 
					
						
							| 
									
										
										
										
											2009-11-02 22:29:19 +00:00
										 |  |  | firstdigittimeout = 30000 ; default 16000 = 16s | 
					
						
							|  |  |  | gendigittimeout = 10000   ; default  8000 = 8s  | 
					
						
							|  |  |  | matchdigittimeout = 5000  ; defaults 3000 = 3s | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-31 15:56:41 -05:00
										 |  |  | ; ----------------------------- JITTER BUFFER CONFIGURATION -------------------------- | 
					
						
							| 
									
										
										
										
											2006-06-01 16:47:28 +00:00
										 |  |  | ; jbenable = yes              ; Enables the use of a jitterbuffer on the receiving side of a | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  |                               ; MGCP channel. Defaults to "no". An enabled jitterbuffer will | 
					
						
							|  |  |  |                               ; be used only if the sending side can create and the receiving | 
					
						
							|  |  |  |                               ; side can not accept jitter. The MGCP channel can accept jitter, | 
					
						
							|  |  |  |                               ; thus an enabled jitterbuffer on the receive MGCP side will only | 
					
						
							|  |  |  |                               ; be used if the sending side can create jitter and jbforce is | 
					
						
							|  |  |  |                               ; also set to yes. | 
					
						
							| 
									
										
										
										
											2006-06-01 16:47:28 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ; jbforce = no                ; Forces the use of a jitterbuffer on the receive side of a MGCP | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  |                               ; channel. Defaults to "no". | 
					
						
							| 
									
										
										
										
											2006-06-01 16:47:28 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ; jbmaxsize = 200             ; Max length of the jitterbuffer in milliseconds. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ; jbresyncthreshold = 1000    ; Jump in the frame timestamps over which the jitterbuffer is | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  |                               ; resynchronized. Useful to improve the quality of the voice, with | 
					
						
							|  |  |  |                               ; big jumps in/broken timestamps, usually sent from exotic devices | 
					
						
							|  |  |  |                               ; and programs. Defaults to 1000. | 
					
						
							| 
									
										
										
										
											2006-06-01 16:47:28 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ; jbimpl = fixed              ; Jitterbuffer implementation, used on the receiving side of a MGCP | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  |                               ; channel. Two implementations are currently available - "fixed" | 
					
						
							|  |  |  |                               ; (with size always equals to jbmax-size) and "adaptive" (with | 
					
						
							|  |  |  |                               ; variable size, actually the new jb of IAX2). Defaults to fixed. | 
					
						
							| 
									
										
										
										
											2006-06-01 16:47:28 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-03-02 19:08:38 +00:00
										 |  |  | ; jbtargetextra = 40          ; This option only affects the jb when 'jbimpl = adaptive' is set. | 
					
						
							|  |  |  |                               ; The option represents the number of milliseconds by which the new | 
					
						
							|  |  |  |                               ; jitter buffer will pad its size. the default is 40, so without | 
					
						
							|  |  |  |                               ; modification, the new jitter buffer will set its size to the jitter | 
					
						
							|  |  |  |                               ; value plus 40 milliseconds. increasing this value may help if your | 
					
						
							|  |  |  |                               ; network normally has low jitter, but occasionally has spikes. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-06-01 16:47:28 +00:00
										 |  |  | ; jblog = no                  ; Enables jitterbuffer frame logging. Defaults to "no". | 
					
						
							| 
									
										
										
										
											2016-08-31 15:56:41 -05:00
										 |  |  | ; ---------------------------------------------------------------------------------- | 
					
						
							| 
									
										
										
										
											2006-06-01 16:47:28 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2002-10-20 04:57:31 +00:00
										 |  |  | ;[dlinkgw] | 
					
						
							|  |  |  | ;host = 192.168.0.64 | 
					
						
							|  |  |  | ;context = default | 
					
						
							| 
									
										
										
										
											2009-08-03 20:48:48 +00:00
										 |  |  | ;directmedia = no | 
					
						
							| 
									
										
										
										
											2002-10-20 04:57:31 +00:00
										 |  |  | ;line => aaln/2 | 
					
						
							|  |  |  | ;line => aaln/1 | 
					
						
							| 
									
										
										
										
											2003-11-21 05:57:20 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ;; The MGCP channel supports the following service codes: | 
					
						
							|  |  |  | ;; # - Transfer | 
					
						
							| 
									
										
										
										
											2009-11-02 22:29:19 +00:00
										 |  |  | ;; *67 - Calling Number Delivery Blocking  | 
					
						
							|  |  |  | ;; *70 - Cancel Call Waiting  | 
					
						
							|  |  |  | ;; *72 - Call Forwarding Activation  | 
					
						
							|  |  |  | ;; *73 - Call Forwarding Deactivation  | 
					
						
							|  |  |  | ;; *78 - Do Not Disturb Activation  | 
					
						
							|  |  |  | ;; *79 - Do Not Disturb Deactivation  | 
					
						
							| 
									
										
										
										
											2003-11-21 05:57:20 +00:00
										 |  |  | ;; *8 - Call pick-up | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2009-11-02 22:29:19 +00:00
										 |  |  | ; known to work with Swissvoice IP10s  | 
					
						
							|  |  |  | ;[192.168.1.20]  | 
					
						
							|  |  |  | ;context=local  | 
					
						
							|  |  |  | ;host=192.168.1.20  | 
					
						
							|  |  |  | ;callerid = "John Doe" <123>  | 
					
						
							| 
									
										
										
										
											2006-04-28 16:42:42 +00:00
										 |  |  | ;callgroup=0      ; in the range from 0 to 63 | 
					
						
							|  |  |  | ;pickupgroup=0    ; in the range from 0 to 63 | 
					
						
							| 
									
										
										
										
											2009-11-02 22:29:19 +00:00
										 |  |  | ;nat=no  | 
					
						
							|  |  |  | ;threewaycalling=yes  | 
					
						
							| 
									
										
										
										
											2004-01-07 22:25:01 +00:00
										 |  |  | ;transfer=yes     ; transfer requires threewaycalling=yes. Use FLASH to transfer | 
					
						
							| 
									
										
										
										
											2003-11-21 05:57:20 +00:00
										 |  |  | ;callwaiting=yes  ; this might be a cause of trouble for ip10s | 
					
						
							| 
									
										
										
										
											2009-11-02 22:29:19 +00:00
										 |  |  | ;cancallforward=yes  | 
					
						
							|  |  |  | ;line => aaln/1  | 
					
						
							| 
									
										
										
										
											2003-11-21 05:57:20 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-07-25 01:20:16 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ;[dph100] | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Supporting the DPH100M requires defining DLINK_BUGGY_FIRMWARE in | 
					
						
							|  |  |  | ; chan_mgcp.c in addition to enabling the slowsequence mode due to | 
					
						
							|  |  |  | ; bugs in the D-Link firmware | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;context=local | 
					
						
							|  |  |  | ;host=dynamic | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ;dtmfmode=none		; DTMF Mode can be 'none', 'rfc2833', or 'inband' or | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  | 			; 'hybrid' which starts in none and moves to inband.  Default is none. | 
					
						
							| 
									
										
										
										
											2004-07-25 01:20:16 +00:00
										 |  |  | ;slowsequence=yes	; The DPH100M does not follow MGCP standards for sequencing | 
					
						
							|  |  |  | ;line => aaln/1 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-07-30 17:57:02 +00:00
										 |  |  | ; known to work with wave7optics FTTH LMGs | 
					
						
							|  |  |  | ;[192.168.1.20] | 
					
						
							| 
									
										
										
										
											2005-04-05 21:40:37 +00:00
										 |  |  | ;accountcode	= 1000		; record this in cdr as account identification for billing | 
					
						
							| 
									
										
										
										
											2006-04-06 15:41:37 +00:00
										 |  |  | ;amaflags	= billing	; record this in cdr as flagged for 'billing', | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  | 				; 'documentation', or 'omit' | 
					
						
							| 
									
										
										
										
											2005-04-05 21:40:37 +00:00
										 |  |  | ;context	= local | 
					
						
							|  |  |  | ;host		= 192.168.1.20 | 
					
						
							| 
									
										
										
										
											2009-11-02 22:29:19 +00:00
										 |  |  | ;wcardep	= aaln/*	; enables wildcard endpoint and sets it to 'aaln/*'  | 
					
						
							| 
									
										
										
										
											2009-05-28 14:39:21 +00:00
										 |  |  | 				; another common format is '*' | 
					
						
							| 
									
										
										
										
											2005-04-05 21:40:37 +00:00
										 |  |  | ;callerid 	= "Duane Cox" <123>	; now lets setup line 1 using per endpoint configuration... | 
					
						
							|  |  |  | ;callwaiting	= no | 
					
						
							|  |  |  | ;callreturn	= yes | 
					
						
							|  |  |  | ;cancallforward = yes | 
					
						
							| 
									
										
										
										
											2009-08-03 20:48:48 +00:00
										 |  |  | ;directmedia	= no | 
					
						
							| 
									
										
										
										
											2005-04-05 21:40:37 +00:00
										 |  |  | ;transfer	= no | 
					
						
							|  |  |  | ;dtmfmode	= inband | 
					
						
							| 
									
										
										
										
											2009-09-23 23:38:19 +00:00
										 |  |  | ;setvar=one=1           ; Set channel variables associated with this incoming line | 
					
						
							|  |  |  | ;setvar=two=2 | 
					
						
							| 
									
										
										
										
											2005-04-05 21:40:37 +00:00
										 |  |  | ;line => aaln/1			; now lets save this config to line1 aka aaln/1 | 
					
						
							| 
									
										
										
										
											2009-09-23 23:38:19 +00:00
										 |  |  | ;clearvars=all          ; Reset list of variables back to none | 
					
						
							| 
									
										
										
										
											2005-04-05 21:40:37 +00:00
										 |  |  | ;callerid 	= "Duane Cox" <456>	; now lets setup line 2 | 
					
						
							|  |  |  | ;callwaiting	= no | 
					
						
							|  |  |  | ;callreturn	= yes | 
					
						
							|  |  |  | ;cancallforward = yes | 
					
						
							| 
									
										
										
										
											2009-08-03 20:48:48 +00:00
										 |  |  | ;directmedia	= no | 
					
						
							| 
									
										
										
										
											2005-04-05 21:40:37 +00:00
										 |  |  | ;transfer	= no | 
					
						
							|  |  |  | ;dtmfmode	= inband | 
					
						
							|  |  |  | ;line => aaln/2			; now lets save this config to line2 aka aaln/2 | 
					
						
							| 
									
										
										
										
											2009-11-02 22:29:19 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ; PacketCable | 
					
						
							|  |  |  | ;[sbv5121e-mta.test.local] | 
					
						
							|  |  |  | ;host        = 10.0.1.3 | 
					
						
							|  |  |  | ;callwaiting = 1 | 
					
						
							|  |  |  | ;canreinvite = 1 | 
					
						
							|  |  |  | ;dtmfmode    = rfc2833 | 
					
						
							|  |  |  | ;amaflags    = BILLING | 
					
						
							|  |  |  | ;ncs         = yes ; Use NCS 1.0 signalling | 
					
						
							|  |  |  | ;pktcgatealloc = yes ; Allocate DQOS gate on CMTS | 
					
						
							|  |  |  | ;hangupongateremove = yes ; Hangup the channel if the CMTS close the gate | 
					
						
							|  |  |  | ;callerid    = 3622622225 | 
					
						
							|  |  |  | ;accountcode = test-3622622225 | 
					
						
							|  |  |  | ;line        = aaln/1 | 
					
						
							|  |  |  | ;callerid    = 3622622226 | 
					
						
							|  |  |  | ;accountcode = test-3622622226 | 
					
						
							|  |  |  | ;line        = aaln/2 |