[asterisk-users] B410p question

voip crazy voipcrazy at gmail.com
Thu Oct 2 03:44:37 CDT 2008


Hello list,

I have got an asterisk box installed working ok with an b410p card to
make and receive isdn calls.
All works ok, but when a call is answer and the person starts to
speak, always I can ear a "beep" during the call. This beep is ear
some times in about 30 seconds between each beep.

Pasted bellow I send /etc/misdn-init.conf and /etc/asterisk/misdn.conf

Any clue will be apreciated.

Thanks.

VoipCrazy


----------------- My /etc/misdn-init.conf -----------------------------

#
# Configuration file for your misdn hardware
#
# Usage: /usr/sbin/misdn-init start|stop|restart|config|scan|help
#

#
# Card Settings
#
# Syntax: card=<number>,<type>[,<option>...]
#
#    <number>   count your cards beginning with 1
#    <type>     either 0x1,0x4 or 0x8 for your hfcmulti hardware,
#               or the name of your card driver module.
#    <option>   ulaw       - uLaw (instead of aLaw)
#               dtmf       - enable DTMF detection on all B-channels
#
#               pcm_slave  - set PCM bus into slave mode
#                            If you have a set of cards, all wired via PCM. Set
#                            all cards into pcm_slave mode and leave one out.
#                            The left card will automatically be Master.
#
#               ignore_pcm_frameclock   - this can be set in conjunction with
#                                       pcm_slave. If this card has a
#                                       PCI Bus Position before the Position
#                                       of the Master, then this port cannot
#                                       yet receive a frameclock, so it must
#                                       ignore the pcm frameclock.
#
#               rxclock    - use clocking for pcm from ST Port
#               crystalclock - use clocking for pcm from PLL (genrated on board)
#               watchdog   - This dual E1 Board has a Watchdog for
#                            transparent mode
#
#
card=1,0x4

#
# Port settings
#
# Syntax: <port_type>=<port_number>[,<port_number>...]
#
#    <port_type>    te_ptp              - TE-Mode, PTP
#                   te_ptmp             - TE-Mode, PTMP
#                   te_capi_ptp         - TE-Mode (capi), PTP
#                   te_capi_ptmp        - TE-Mode (capi), PTMP
#                   nt_ptp              - NT-Mode, PTP
#                   nt_ptmp             - NT-Mode, PTMP
#    <port_number>  port that should be considered
#
#te_ptmp=1,2,3,4
#te_ptmp=1,2

te_ptp=1,2,3,4
#
# Port Options
#
# Syntax: option=<port_number>,<option>[,<option>...]
#
#    <option>  master_clock  - use master clock for this S/T interface
#                              (only once per chip, only for HFC 8/4)
#              optical       - optical (only HFC-E1)
#              los           - report LOS (only HFC-E1)
#              ais           - report AIS (only HFC-E1)
#              slip          - report SLIP (only HFC-E1)
#              nocrc4        - turn off crc4 mode use double frame instead
#                               (only HFC-E1)
#
# The master_clock option is essential for retrieving and transmitting
# faxes to avoid failures during transmission. It tells the driver to
# synchronize the Card with the given Port which should be a TE Port and
# connected to the PSTN in general.
#

option=1,master_clock

#option=2,ais,nocrc4
#option=3,optical,los,ais,slip


#
# General Options for your hfcmulti hardware
#
# poll=<number>
#
#        Only one poll value must be given for all cards.
#        Give the number of samples for each fifo process.
#        By default 128 is used. Decrease to reduce delay, increase to
#        reduce cpu load. If unsure, don't mess with it!!!
#        Valid is 32, 64, 128, 256.
#
# dsp_poll=<number>
#       This is the poll option which is used by mISDN_dsp, this might
#       differ from the one given by poll= for the hfc based cards, since
#       they can only use multiples of 32, the dsp_poll is dependant on
#       the kernel timer setting which can be found in the CPU section
#       in the kernel config. Defaults are there either 100Hz, 250Hz
#       or 1000Hz. If your setting is either 1000 or 250 it is compatible
#       with the poll option for the hfc chips, if you have 100 it is
#       different and you need here a multiple of 80.
#       The default is to have no dsp_poll option, then the dsp itself
#       finds out which option is the best to use by itself
#
# pcm=<number>
#
#        Give the id of the PCM bus. All PCM busses with the same ID
#        are expected to be connected and have equal slots.
#        Only one chip of the PCM bus must be master, the others slave.
#
# debug=<number>
#
#        Enable debugging (see hfc_multi.h for debug options).
#
# dsp_options=<number>
#
#       set this to 2 and you'll have software bridging instead of
#       hardware bridging.
#
#
# dtmfthreshold=<milliseconds>
#
#       Here you can tune the sensitivity of the dtmf tone recognizer.
#
# timer=<1|0>
#
#       set this to 1 if you want hfcmulti to register at ztdummy (zaptel)
#       and provide a 1khz timing source for it. This makes it possible
#       to have an accurate timing source for asterisk through zaptel from
#       hfcmulti to make applications like Meetme and faxing between wctdm
#       and hfcmulti work properly.
#
faxdetect=both
poll=128
dsp_poll=128
dsp_options=0
dtmfthreshold=100
debug=0


----------------- My /etc/asterisk/misdn.conf------------------

#
# Configuration file for your misdn hardware
#
# Usage: /usr/sbin/misdn-init start|stop|restart|config|scan|help
#

#
# Card Settings
#
# Syntax: card=<number>,<type>[,<option>...]
#
#    <number>   count your cards beginning with 1
#    <type>     either 0x1,0x4 or 0x8 for your hfcmulti hardware,
#               or the name of your card driver module.
#    <option>   ulaw       - uLaw (instead of aLaw)
#               dtmf       - enable DTMF detection on all B-channels
#
#               pcm_slave  - set PCM bus into slave mode
#                            If you have a set of cards, all wired via PCM. Set
#                            all cards into pcm_slave mode and leave one out.
#                            The left card will automatically be Master.
#
#               ignore_pcm_frameclock   - this can be set in conjunction with
#                                       pcm_slave. If this card has a
#                                       PCI Bus Position before the Position
#                                       of the Master, then this port cannot
#                                       yet receive a frameclock, so it must
#                                       ignore the pcm frameclock.
#
#               rxclock    - use clocking for pcm from ST Port
#               crystalclock - use clocking for pcm from PLL (genrated on board)
#               watchdog   - This dual E1 Board has a Watchdog for
#                            transparent mode
#
#
card=1,0x4

#
# Port settings
#
# Syntax: <port_type>=<port_number>[,<port_number>...]
#
#    <port_type>    te_ptp              - TE-Mode, PTP
#                   te_ptmp             - TE-Mode, PTMP
#                   te_capi_ptp         - TE-Mode (capi), PTP
#                   te_capi_ptmp        - TE-Mode (capi), PTMP
#                   nt_ptp              - NT-Mode, PTP
#                   nt_ptmp             - NT-Mode, PTMP
#    <port_number>  port that should be considered
#
#te_ptmp=1,2,3,4
#te_ptmp=1,2

te_ptp=1,2,3,4
#
# Port Options
#
# Syntax: option=<port_number>,<option>[,<option>...]
#
#    <option>  master_clock  - use master clock for this S/T interface
#                              (only once per chip, only for HFC 8/4)
#              optical       - optical (only HFC-E1)
#              los           - report LOS (only HFC-E1)
#              ais           - report AIS (only HFC-E1)
#              slip          - report SLIP (only HFC-E1)
#              nocrc4        - turn off crc4 mode use double frame instead
#                               (only HFC-E1)
#
# The master_clock option is essential for retrieving and transmitting
# faxes to avoid failures during transmission. It tells the driver to
# synchronize the Card with the given Port which should be a TE Port and
# connected to the PSTN in general.
#

option=1,master_clock

#option=2,ais,nocrc4
#option=3,optical,los,ais,slip


#
# General Options for your hfcmulti hardware
#
# poll=<number>
#
#        Only one poll value must be given for all cards.
#        Give the number of samples for each fifo process.
#        By default 128 is used. Decrease to reduce delay, increase to
#        reduce cpu load. If unsure, don't mess with it!!!
#        Valid is 32, 64, 128, 256.
#
# dsp_poll=<number>
#       This is the poll option which is used by mISDN_dsp, this might
#       differ from the one given by poll= for the hfc based cards, since
#       they can only use multiples of 32, the dsp_poll is dependant on
#       the kernel timer setting which can be found in the CPU section
#       in the kernel config. Defaults are there either 100Hz, 250Hz
#       or 1000Hz. If your setting is either 1000 or 250 it is compatible
#       with the poll option for the hfc chips, if you have 100 it is
#       different and you need here a multiple of 80.
#       The default is to have no dsp_poll option, then the dsp itself
#       finds out which option is the best to use by itself
#
# pcm=<number>
#
#        Give the id of the PCM bus. All PCM busses with the same ID
#        are expected to be connected and have equal slots.
#        Only one chip of the PCM bus must be master, the others slave.
#
# debug=<number>
#
#        Enable debugging (see hfc_multi.h for debug options).
#
# dsp_options=<number>
#
#       set this to 2 and you'll have software bridging instead of
#       hardware bridging.
#
#
# dtmfthreshold=<milliseconds>
#
#       Here you can tune the sensitivity of the dtmf tone recognizer.
#
# timer=<1|0>
#
#       set this to 1 if you want hfcmulti to register at ztdummy (zaptel)
#       and provide a 1khz timing source for it. This makes it possible
#       to have an accurate timing source for asterisk through zaptel from
#       hfcmulti to make applications like Meetme and faxing between wctdm
#       and hfcmulti work properly.
#
faxdetect=both
poll=128
dsp_poll=128
dsp_options=0
dtmfthreshold=100
debug=0
Melisa-PBX:~#  cd /etc/asterisk/
Melisa-PBX:/etc/asterisk# vi misdn.conf
; the channel variable MAX_OVERFLOW. It will contain the amount of
; overflowed calls
;
max_incoming=-1

;
; defines the maximum amount of outgoing calls per port for this group
; exceeding calls will be rejected
;
max_outgoing=-1

;[intern]
; define your ports, e.g. 1,2 (depends on mISDN-driver loading order)
;ports=1,2
; context where to go to when incoming Call on one of the above ports
context=Intern

;[internPP]
;
; adding the postfix 'ptp' to a port number is obsolete now, chan_misdn
; parses /etc/misdn-init.conf and sets the ptp mode to the corresponding
; configs. For backwards compatibility you can still set ptp here.
;
;ports=3

;[first_extern]
; again port defs
;ports=4
; again a context for incoming calls
;context=Extern1
; msns for te ports, listen on those numbers on the above ports, and
; indicate the incoming calls to asterisk
; here you can give a comma separated list or simply an '*' for
; any msn.
;msns=*

; here an example with given msns
;[second_extern]
;ports=5
;context=Extern2
;callerid=15
;msns=102,144,101,104
; here an example with given msns

[Line-MISDN]
ports=1,2,3,4
context=from-zaptel
;callerid=15
msns=*



More information about the asterisk-users mailing list