; ------------------------------------------------------------------------------ ; PIKA pika.conf file sample ; ; This example configures two Analog Trunk (FXO) boards with 16 channels ; licensed and one Digital board with 2 spans licensed. ; ; For further information please, contact PIKA Customer Care: ; PIKA Customer Care ; +1 (613)-591-1555 ; support@pikatech.com ; ;================================================================== ; ----------------------------------------------------------------------------- #include #include #include #include #include [globals] ;global settings for all for pika channels echocancel=yes ;use echo cancellation on TDM calls echotaillength=12 ;tail length of echo canceller, selectable between 1-128ms usenativebridge=yes ; enable native switching on all pika trunks echocancelwhenbridged=yes ; use echo cancellation on bridged calls ; The number of busy tones to wait for before hanging up. The default is 2. ; A higher number will lower the probability of random hangups, but will ; increase the time required to hangup a channel. busycount=2 ; Specifies the cadence of the busy signal. In many countries, ; it is 500msec on, 500msec off. ; The format is busypattern=500,500 [logs] ;level=debug [groups] group0=trunk0 ; (g0 to be used with Dial() in extensions.conf) group1=trunk1 ; (g1 to be used with Dial() in extensions.conf) group2=pri1 ; (g2 to be used with Dial() in extensions.conf) group3=pri2 ; (g3 to be used with Dial() in extensions.conf) [trunk0] product=aoh type=trunk channels0=trunk0 ;callpa=callpa_settings country=US context=fxo ;context for incoming calls from this group exten=s ;default extension to be used to terminate calls, used if DNID is not available waitfordialtone=yes [trunk1] product=aoh type=trunk channels0=trunk1 ;callpa=callpa_settings country=US context=fxo ;context for incoming calls from this group exten=s ;default extension to be used to terminate calls, used if DNID is not available waitfordialtone=yes [pri1] type=isdn;;PIKA trunk type; either im or isdn product=aoh ; used internally channels0=isdn0 ;subgroup definition context=digital ;context for incoming calls from this group exten=s ;default extension to be used to terminate calls, used if DNID is not available [pri2] type=isdn;;PIKA trunk type; either im or isdn product=aoh ; used internally channels0=isdn1 ;subgroup definition context=digital ;context for incoming calls from this group exten=s ;default extension to be used to terminate calls, used if DNID is not available [general] recordbuffersize=160 ; size of audio buffers, DO NOT CHANGE maxaudioblocksize=20 ;number of audio buffers DO NOT CHANGE [products] aoh=pika.conf ;name of this file [boards] board0=ANALOG_0 board1=ANALOG_1 board2=primenet_gwy0 ;PIKA hardware defintion [ANALOG_0] id=0 ;if you have more than one card, you should use the serial number and comment out the id keyword. ;the serial number can be obtained by looking on the board ;serial=11111111 ;dpmake=40 ;dpbreak=60 ;dpidd=750 ;dppause=500 ;hookon=500 ;hookoff=500 ;hookflash=500 ;thresholddebounce=296 ;reversaldebounce=150 [ANALOG_1] id=1 ;if you have more than one card, you should use the serial number and comment out the id keyword. ;the serial number can be obtained by looking on the board ;serial=1111111 ;dpmake=40 ;dpbreak=60 ;dpidd=750 ;dppause=500 ;hookon=500 ;hookoff=500 ;hookflash=500 ;thresholddebounce=296 ;reversaldebounce=150 [primenet_gwy0] ;id=2 serial=1111111 interfacetype=t1 ;either t1 (23) or e1(30) channels clockmode=master ; either master or slave clocks=1 clock0=span0 ; spans to be used, please note that T1/E1 span licenses are required [trunks] trunk0=TRUNK_0_0 trunk1=TRUNK_1_0 [TRUNK_0_0] Interface=board0,0-15 ;include here the number of licensed channels calleridmode=fsk_bellcore compandmode=ulaw ;ringcount=1 ;ringtimeout=8000 ;dtminduration=200 ;dtmaxwait=6000 ;transfer=disable ;transfer_extrahf=disable ;answer=none ;disconnect=lcterm|tones disconnect=lcterm [TRUNK_1_0] Interface=board1,0-15 ;include here the number licensed channels calleridmode=fsk_bellcore compandmode=ulaw ;ringcount=1 ;ringtimeout=8000 ;dtminduration=200 ;dtmaxwait=6000 ;transfer=disable ;transfer_extrahf=disable ;answer=none ;disconnect=lcterm|tones disconnect=lcterm [isdn] isdn0=isdngroup_0 isdn1=isdngroup_1 [isdngroup_0] interface0=board2,0 switchtype=dms100 node=network numbertype=national numberplan=isdn line_framing=esf line_encoding=b8zs line_buildout=133ft line_compandmode=ulaw ;countrycode=euroisdn ; only applicable for switchtype=net5 [isdngroup_1] interface0=board2,1 switchtype=dms100 node=client numbertype=national numberplan=isdn line_framing=esf line_encoding=b8zs line_buildout=133ft line_compandmode=ulaw ;countrycode=euroisdn ; only applicable for switchtype=net5