<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">It’s been a r we hike since we used these cards.  This example may help</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://wiki.freepbx.org/plugins/servlet/mobile?contentId=73007457#content/view/73007457">https://wiki.freepbx.org/plugins/servlet/mobile?contentId=73007457#content/view/73007457</a></div><div dir="ltr"><br></div><div dir="ltr">My thinking is it sounds like a timing error. Make sure your provider is the timing source. Once it loses time you will get dropped calls until it resyncs</div><div dir="ltr"><br></div><div dir="ltr">Good luck</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On 9/03/2022, at 4:25 AM, Steinwendtner <steinwendtner@gmx.net> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>Hello,</span><br><span></span><br><span>I must admit that I have never set up an asterisk system with R2 signalling. But from the config files</span><br><span></span><br><span>point of view, you stated TE_SIG_MODE in wanpipe1.conf as ccs which should be cas, right ?</span><br><span></span><br><span>If this does not help, you need to connect an external E1 Monitor.</span><br><span></span><br><span>Regards,</span><br><span></span><br><span>Hans</span><br><span></span><br><span>Am 08.03.22 um 06:41 schrieb Carlos Chavez:</span><br><blockquote type="cite"><span>     Last month we switched a Panasonic pbx with a Freepbx 16</span><br></blockquote><blockquote type="cite"><span>appliance.  We use a single E1 in MFC/R2 (Mexico) with Telmex as a</span><br></blockquote><blockquote type="cite"><span>provider.  This was connected for a couple of days for testing with no</span><br></blockquote><blockquote type="cite"><span>problems before the client moved offices to a new location.  In the new</span><br></blockquote><blockquote type="cite"><span>location we are now having a problem every few days where we get the</span><br></blockquote><blockquote type="cite"><span>following error:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>[2022-03-07 07:30:11] ERROR[3469][C-0000004c] chan_dahdi.c: Chan 10 -</span><br></blockquote><blockquote type="cite"><span>Protocol error. Reason = Seize Timeout, R2 State = Seize Transmitted, MF</span><br></blockquote><blockquote type="cite"><span>state = MF Engine Off, MF Group = Forward MF init, CAS = 0x08</span><br></blockquote><blockquote type="cite"><span>[2022-03-07 07:30:44] ERROR[29573] chan_dahdi.c: Chan 10 - Protocol</span><br></blockquote><blockquote type="cite"><span>error. Reason = Seize Timeout, R2 State = Clear Forward Transmitted, MF</span><br></blockquote><blockquote type="cite"><span>state = MF Engine Off, MF Group = Forward MF init, CAS = 0x08</span><br></blockquote><blockquote type="cite"><span>[2022-03-07 07:32:15] ERROR[3704][C-0000004e] chan_dahdi.c: Chan 10 -</span><br></blockquote><blockquote type="cite"><span>Protocol error. Reason = Seize Timeout, R2 State = Seize Transmitted, MF</span><br></blockquote><blockquote type="cite"><span>state = MF Engine Off, MF Group = Forward MF init, CAS = 0x08</span><br></blockquote><blockquote type="cite"><span>[2022-03-07 07:32:52] ERROR[29573] chan_dahdi.c: Chan 10 - Protocol</span><br></blockquote><blockquote type="cite"><span>error. Reason = Seize Timeout, R2 State = Clear Forward Transmitted, MF</span><br></blockquote><blockquote type="cite"><span>state = MF Engine Off, MF Group = Forward MF init, CAS = 0x08</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>     When we see that error the E1 will no longer send or receive</span><br></blockquote><blockquote type="cite"><span>calls.  Our solution has been to stop and restart Asterisk and</span><br></blockquote><blockquote type="cite"><span>Wanconfig/Dahdi to restore service.  Since restarting solves it I am</span><br></blockquote><blockquote type="cite"><span>wondering if the problem is on my side and not on the providers.  So far</span><br></blockquote><blockquote type="cite"><span>it happens once or twice a week.  When we report this to the provider</span><br></blockquote><blockquote type="cite"><span>they simply state that the problem is on our side (it is their default</span><br></blockquote><blockquote type="cite"><span>position) unless we can provide evidence to the contrary.  Any</span><br></blockquote><blockquote type="cite"><span>recommendations on how to debug this?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Here is wanpipe1.conf:</span><br></blockquote><blockquote type="cite"><span>[devices]</span><br></blockquote><blockquote type="cite"><span>wanpipe1 = WAN_AFT_TE1, Comment</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>[interfaces]</span><br></blockquote><blockquote type="cite"><span>w1g1 = wanpipe1, , TDM_VOICE, Comment</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>[wanpipe1]</span><br></blockquote><blockquote type="cite"><span>CARD_TYPE     = AFT</span><br></blockquote><blockquote type="cite"><span>S514CPU     = A</span><br></blockquote><blockquote type="cite"><span>CommPort     = PRI</span><br></blockquote><blockquote type="cite"><span>AUTO_PCISLOT     = NO</span><br></blockquote><blockquote type="cite"><span>PCISLOT     = 4</span><br></blockquote><blockquote type="cite"><span>PCIBUS      = 8</span><br></blockquote><blockquote type="cite"><span>FE_MEDIA    = E1</span><br></blockquote><blockquote type="cite"><span>FE_LCODE    = HDB3</span><br></blockquote><blockquote type="cite"><span>FE_FRAME    = NCRC4</span><br></blockquote><blockquote type="cite"><span>FE_LINE        = 1</span><br></blockquote><blockquote type="cite"><span>TE_CLOCK     = NORMAL</span><br></blockquote><blockquote type="cite"><span>TE_REF_CLOCK    = 0</span><br></blockquote><blockquote type="cite"><span>TE_SIG_MODE     = CCS</span><br></blockquote><blockquote type="cite"><span>TE_HIGHIMPEDANCE    = NO</span><br></blockquote><blockquote type="cite"><span>TE_RX_SLEVEL    = 430</span><br></blockquote><blockquote type="cite"><span>HW_RJ45_PORT_MAP = DEFAULT</span><br></blockquote><blockquote type="cite"><span>LBO         = 120OH</span><br></blockquote><blockquote type="cite"><span>FE_TXTRISTATE    = NO</span><br></blockquote><blockquote type="cite"><span>MTU         = 1500</span><br></blockquote><blockquote type="cite"><span>UDPPORT        = 9000</span><br></blockquote><blockquote type="cite"><span>TTL        = 255</span><br></blockquote><blockquote type="cite"><span>IGNORE_FRONT_END    = NO</span><br></blockquote><blockquote type="cite"><span>TDMV_SPAN        = 1</span><br></blockquote><blockquote type="cite"><span>TDMV_DCHAN        = 16</span><br></blockquote><blockquote type="cite"><span>TE_AIS_MAINTENANCE = NO         #NO: defualt  YES: Start port in AIS</span><br></blockquote><blockquote type="cite"><span>Blue Alarm and keep line down</span><br></blockquote><blockquote type="cite"><span>                                 #wanpipemon -i w1g1 -c Ttx_ais_off to</span><br></blockquote><blockquote type="cite"><span>disable AIS maintenance mode</span><br></blockquote><blockquote type="cite"><span>                                 #wanpipemon -i w1g1 -c Ttx_ais_on to</span><br></blockquote><blockquote type="cite"><span>enable AIS maintenance mode</span><br></blockquote><blockquote type="cite"><span>TDMV_HW_DTMF        = NO        # YES: receive dtmf events from hardware</span><br></blockquote><blockquote type="cite"><span>TDMV_HW_FAX_DETECT        = NO        # YES: receive fax 1100hz events</span><br></blockquote><blockquote type="cite"><span>from hardware</span><br></blockquote><blockquote type="cite"><span>HWEC_OPERATION_MODE     = OCT_NORMAL    # OCT_NORMAL: echo cancelation</span><br></blockquote><blockquote type="cite"><span>enabled with nlp (default)</span><br></blockquote><blockquote type="cite"><span>                                         # OCT_SPEECH: improves software</span><br></blockquote><blockquote type="cite"><span>tone detection by disabling NLP (echo possible)</span><br></blockquote><blockquote type="cite"><span>                                         # OCT_NO_ECHO:disables echo</span><br></blockquote><blockquote type="cite"><span>cancelation but allows VQE/tone functions.</span><br></blockquote><blockquote type="cite"><span>HWEC_DTMF_REMOVAL       = NO    # NO: default  YES: remove dtmf out of</span><br></blockquote><blockquote type="cite"><span>incoming media (must have hwdtmf enabled)</span><br></blockquote><blockquote type="cite"><span>HWEC_NOISE_REDUCTION    = NO    # NO: default  YES: reduces noise on the</span><br></blockquote><blockquote type="cite"><span>line - could break fax</span><br></blockquote><blockquote type="cite"><span>HWEC_ACUSTIC_ECHO       = NO    # NO: default  YES: enables acustic echo</span><br></blockquote><blockquote type="cite"><span>cancelation</span><br></blockquote><blockquote type="cite"><span>HWEC_NLP_DISABLE        = NO    # NO: default  YES: guarantees software</span><br></blockquote><blockquote type="cite"><span>tone detection (possible echo)</span><br></blockquote><blockquote type="cite"><span>HWEC_TX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio</span><br></blockquote><blockquote type="cite"><span>level to be maintained (-20 default)</span><br></blockquote><blockquote type="cite"><span>HWEC_RX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio</span><br></blockquote><blockquote type="cite"><span>level to be maintained (-20 default)</span><br></blockquote><blockquote type="cite"><span>HWEC_TX_GAIN            = 0        # 0: disable   -24-24: db values to</span><br></blockquote><blockquote type="cite"><span>be applied to tx signal</span><br></blockquote><blockquote type="cite"><span>HWEC_RX_GAIN            = 0        # 0: disable   -24-24: db values to</span><br></blockquote><blockquote type="cite"><span>be applied to tx signal</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>[w1g1]</span><br></blockquote><blockquote type="cite"><span>ACTIVE_CH    = ALL</span><br></blockquote><blockquote type="cite"><span>TDMV_HWEC    = NO</span><br></blockquote><blockquote type="cite"><span>MTU         = 8</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>     Here is system.conf</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>span=1,1,0,CAS,HDB3</span><br></blockquote><blockquote type="cite"><span>cas=1-10,11-15,17-31:1101</span><br></blockquote><blockquote type="cite"><span>echocanceller=oslec,1-10,11-15,17-31</span><br></blockquote><blockquote type="cite"><span>loadzone=mx</span><br></blockquote><blockquote type="cite"><span>defaultzone=mx</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>     Here is chan_dahdi.conf</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>signalling=mfcr2</span><br></blockquote><blockquote type="cite"><span>mfcr2_variant=mx</span><br></blockquote><blockquote type="cite"><span>mfcr2_get_ani_first=no</span><br></blockquote><blockquote type="cite"><span>mfcr2_max_ani=10</span><br></blockquote><blockquote type="cite"><span>mfcr2_max_dnis=4</span><br></blockquote><blockquote type="cite"><span>mfcr2_category=national_priority_subscriber</span><br></blockquote><blockquote type="cite"><span>mfcr2_call_files=no</span><br></blockquote><blockquote type="cite"><span>mfcr2_mfback_timeout=-1</span><br></blockquote><blockquote type="cite"><span>mfcr2_metering_pulse_timeout=-1</span><br></blockquote><blockquote type="cite"><span>mfcr2_allow_collect_calls=yes</span><br></blockquote><blockquote type="cite"><span>mfcr2_double_answer=no</span><br></blockquote><blockquote type="cite"><span>mfcr2_immediate_accept=no</span><br></blockquote><blockquote type="cite"><span>mfcr2_accept_on_offer=yes</span><br></blockquote><blockquote type="cite"><span>mfcr2_skip_category=no</span><br></blockquote><blockquote type="cite"><span>mfcr2_forced_release=no</span><br></blockquote><blockquote type="cite"><span>mfcr2_charge_calls=yes</span><br></blockquote><blockquote type="cite"><span>group=0</span><br></blockquote><blockquote type="cite"><span>context=from-digital</span><br></blockquote><blockquote type="cite"><span>channel=>1-10</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><span></span><br><span>-- </span><br><span>_____________________________________________________________________</span><br><span>-- Bandwidth and Colocation Provided by http://www.api-digital.com --</span><br><span></span><br><span>Check out the new Asterisk community forum at: https://community.asterisk.org/</span><br><span></span><br><span>New to Asterisk? Start here:</span><br><span>      https://wiki.asterisk.org/wiki/display/AST/Getting+Started</span><br><span></span><br><span>asterisk-users mailing list</span><br><span>To UNSUBSCRIBE or update options visit:</span><br><span>   http://lists.digium.com/mailman/listinfo/asterisk-users</span></div></blockquote></body></html>