﻿
Трассировку прилагаю (avaya-crash.txt).
Действующие лица:

10.157.100.241 - ip адрес станции Avaya IPO 500 v2 (8.0(44))
10.157.100.249 - ip адрес гейткипера на базе Cisco 3925
10.157.160.193 - ip адрес удаленного гейтвея (cisco 2811) (он зарегистрирован на гейткипере)

5766ХХХ - пул номеров, закрепленных за удаленного гейтвея
55550ХХ - пул номеров, закрепленных за Аваей
0 - short code для выхода на VoIP

Как видно из трассы, с аппарата 10 набираются цифры 05766201
По первому нолику отрабатывает short code и уходит в RAS форму 51
Отправляется LRQ запрос на гейткипер 10.157.100.249 (правда почему-то на порт 1718, хотя дефолтный должен быть 1719)
Принимается ответ LCF от гейткипера с адресом удаленного гейтвея (10.157.160.193). Т.е. разговор с гейткипером состоялся успешно и signaling address получен.
Далее авая уходит в перезагрузку





UNICODE-UTF8
rus
     96925mS CMCallEvt:    0.1002.0 -1 BaseEP: NEW CMEndpoint f51af8ac TOTAL NOW=1 CALL_LIST=0
     96926mS CMCallEvt:    0.1002.0 -1 telephone vasi.-1: NEW CMExtnEndpoint f51af8ac, Name=telephone vasi, Extn=10, Phys Extn=10
     96926mS CMCallEvt:    CREATE CALL:1 (f51af3c0)
     96926mS CMCallEvt:    0.1003.0 -1 BaseEP: NEW CMEndpoint f51adefc TOTAL NOW=2 CALL_LIST=0
     96928mS CMExtnEvt:    telephone vasi: CMExtnHandler::SetCurrent( id: 0->1002 )
     96928mS CMExtnRx: v=10, p1=0
            CMSetup
            Line: type=DigitalExtn 2 Call: lid=0 id=1002 in=0
            Called[] Type=Default (100) Reason=CMDRdirect  Calling[10] Type=Internal Plan=Default 
            BC: CMTC=Speech CMTM=Circuit CMTR=64 CMST=Default CMU1=ALaw
            IE CMIECallingPartyName (110)(Type=CMNameDefault) name=telephone vasi
            IE CMIECallingPartyKName (226)(Type=CMNameDefault) name=Vasya Pupkin
     96929mS CMCallEvt:    0.1002.0 1 telephone vasi.0: StateChange: END=A CMCSIdle->CMCSDialInitiated
     96929mS CMExtnEvt:    v=1 State, new=Dialling  old=Idle,0,0,telephone vasi
     96929mS CMTARGET:     0.1002.0 1 telephone vasi.0: LOOKUP CALL ROUTE: type=100 called_party= sub= calling=10 dir=out complete=0 ses=0
     96929mS CMTARGET:     0.1002.0 1 telephone vasi.0: ADD TARGET (N): number= type=100 depth=1 nobar=1 setorig=1 ses=0
     96930mS CMCallEvt:    0.1002.0 1 telephone vasi.0: StateChange: END=A CMCSDialInitiated->CMCSDialling
     96931mS CMExtnTx: v=10, p1=0
            CMSetupAck
            Line: type=DigitalExtn 2 Call: lid=0 id=1002 in=0
            BChan: slot=20 chan=1
            Timed: 11/07/12 09:45
     96932mS CD: CALL: 0.1002.0 BState=Idle Cut=1 Music=3.0 Aend="telephone vasi(10)" (20.1) Bend="" [] (0.0) CalledNum= () CallingNum=10 (telephone vasi) Internal=1 Time=5 AState=DialInitiated
     96932mS CMMap: a=20.1 b=0.0 D1
     96969mS RES: Wed 11/7/2012 09:45:25 FreeMem=61360448(1) CMMsg=2 (4) Buff=5200 942 1000 7463 5 Links=8047
     96969mS RES2: IP 500 V2 8.0(44) Tasks=44 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=48 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=1 SSA=0 TCP=13 TAPI=0 ASC=1 SYS=MNTD OPT=UMNT SDSPD=2034
     98886mS PRN: 10: Digit Pressed 0
     98886mS CMExtnRx: v=10, p1=0
            CMInformation
            Line: type=DigitalExtn 2 Call: lid=0 id=1002 in=0
            Called[0] Type=Default (100) Reason=CMDRdirect  
     98887mS CMTARGET:     0.1002.0 1 telephone vasi.0: Setting Hard Timer 3000
     98887mS CMTARGET:     0.1002.0 1 telephone vasi.0: LOOKUP CALL ROUTE: type=100 called_party=0 sub= calling=10 dir=out complete=0 ses=0
     98887mS CMTARGET:     0.1002.0 1 telephone vasi.0: ADD TARGET (N): number=0 type=100 depth=1 nobar=1 setorig=1 ses=0
     98888mS CMTARGET:     0.1002.0 1 telephone vasi.0: SYS SC: 0 2  sc=type=Dial code=0N, num=NS55550E callinfop->sending_complete=0 secondary_dialtone=
     98888mS CMARS:        FindActiveARSByGroupID GroupID=51 - Not Found
     98888mS CMLRQ:        FindActiveLRQByGroupID GroupID=51 - Found
     98888mS CMLRQ:        MakeCallTarget - Called Number: 
     98889mS CMCallEvt:    0.1004.0 -1 BaseEP: NEW CMEndpoint f51a6b18 TOTAL NOW=3 CALL_LIST=1
     98889mS CMTARGET:     0.1002.0 1 telephone vasi.0: CancelTimer CMTCDelayedProcessing
     98889mS CMTARGET:     0.1002.0 1 telephone vasi.0: INITIAL TARGETING SUCCEEDED
     98889mS CMTARGET:     0.1002.0 1 telephone vasi.0: GetNoAnswerTimer:15
     98890mS CMCallEvt:    0.1003.0 1 TargetingEP: StateChange: END=B CMCSIdle->CMCSOffering
     98891mS CMCallEvt:    0.1004.0 1 LRQ  51: StateChange: END=T CMCSIdle->CMCSOffering
     98891mS CD: CALL: 0.1002.0 BState=Idle Cut=0 Music=0.0 Aend="telephone vasi(10)" (20.1) Bend="" [] (0.0) CalledNum=0 () CallingNum=10 (telephone vasi) Internal=1 Time=1965 AState=Dialling
     98892mS CMMap: a=20.1 b=0.0 D0
     99473mS PRN: 10: Digit Pressed 5
     99474mS CMExtnRx: v=10, p1=0
            CMInformation
            Line: type=DigitalExtn 2 Call: lid=0 id=1002 in=0
            Called[5] Type=Default (100) Reason=CMDRdirect  
     99485mS PRN: Read hold music HoldMusic.wav from memory card
     99529mS PRN: WalkToWAV - Success
     99735mS PRN: 10: Digit Pressed 7
     99735mS CMExtnRx: v=10, p1=0
            CMInformation
            Line: type=DigitalExtn 2 Call: lid=0 id=1002 in=0
            Called[7] Type=Default (100) Reason=CMDRdirect  
    100135mS PRN: 10: Digit Pressed 6
    100135mS CMExtnRx: v=10, p1=0
            CMInformation
            Line: type=DigitalExtn 2 Call: lid=0 id=1002 in=0
            Called[6] Type=Default (100) Reason=CMDRdirect  
    100336mS PRN: 10: Digit Pressed 6
    100336mS CMExtnRx: v=10, p1=0
            CMInformation
            Line: type=DigitalExtn 2 Call: lid=0 id=1002 in=0
            Called[6] Type=Default (100) Reason=CMDRdirect  
    100848mS PRN: 10: Digit Pressed 2
    100848mS CMExtnRx: v=10, p1=0
            CMInformation
            Line: type=DigitalExtn 2 Call: lid=0 id=1002 in=0
            Called[2] Type=Default (100) Reason=CMDRdirect  
    100960mS PRN: WAV Hold Music HoldMusic.wav Loaded, Length= 240001
    101029mS PRN: Stopped tone MOH Source 1
    101029mS PRN: Deleted Tone MOH Source 1
    101030mS PRN: Playing WAV file MOH Source 1
    101030mS PRN: MOH source 2, unrecognised file type holdmusic_2
    101030mS PRN: MOH source 3, unrecognised file type holdmusic_3
    101030mS PRN: WAVFileReader - completed
    101085mS PRN: 10: Digit Pressed 0
    101085mS CMExtnRx: v=10, p1=0
            CMInformation
            Line: type=DigitalExtn 2 Call: lid=0 id=1002 in=0
            Called[0] Type=Default (100) Reason=CMDRdirect  
    101310mS PRN: 10: Digit Pressed 1
    101310mS CMExtnRx: v=10, p1=0
            CMInformation
            Line: type=DigitalExtn 2 Call: lid=0 id=1002 in=0
            Called[1] Type=Default (100) Reason=CMDRdirect  
    104889mS CMLRQ:        Case 1 - dial_delay_time: 3000  has expired - Resolve what we might have - Called Number: 5766201 Addr: f51a6b18
    104889mS PRN: found unit lan 2 ap=1
    104890mS PRN: Send location request to a9d64f9
    104890mS RasTx: v=Src=10.157.100.241:1718, Dst=10.157.100.249:1718 peb=0
            RasMessage = locationRequest = {
              requestSeqNum = 1
              destinationInfo = { 1 item(s)
                [0] = dialedDigits = 
                  35 37 36 36 32 30 31                             5766201
              }
              replyAddress = ipAddress = {
                ip = 
                  0a 9d 64 f1                                      ..d.
                port = 1719
              }
              canMapAlias = false
              canMapSrcAlias = false
            }
    104891mS RasRx: v=IFace=LAN1, Src=10.157.100.249:1719, Dst=10.157.100.241:1719 peb=0
            RasMessage = locationConfirm = {
              requestSeqNum = 1
              callSignalAddress = ipAddress = {
                ip = 
                  0a 9d a0 c1                                      ....
                port = 1720
              }
              rasAddress = ipAddress = {
                ip = 
                  0a 9d a0 c1                                      ....
                port = 61207
              }
              nonStandardData = {
                nonStandardIdentifier = h221NonStandard = {
                  t35CountryCode = 181
                  t35Extension = 0
                  manufacturerCode = 18
                }
                data = 
                  00 01 40 0b 00 43 00 68 00 65 00 70 00 65 00 74  ..@..C.h.e.p.e.t
                  00 73 00 6b 00 32 00 38 00 31 00 31 0a 00 67 00  .s.k.2.8.1.1..g.
                  6b 00 38 00 36 00 31 00 32 01 10 01 40 0b 00 43  k.8.6.1.2...@..C
                  00 68 00 65 00 70 00 65 00 74 00 73 00 6b 00 32  .h.e.p.e.t.s.k.2
                  00 38 00 31 00 31 00 0a 9d a0 c1 06 b8 00 00 00  .8.1.1..........
                  00 00 00 00 00 00 00                             .......
              }
              destinationInfo = { 1 item(s)
                [0] = dialedDigits = 
                  35 37 36 36 32 30 31                             5766201
              }
              destinationType = {
                gateway = {
                  protocol = { 1 item(s)
                    [0] = voice = {
                      supportedPrefixes = { 0 item(s)
                      }
                    }
                  }
                }
                mc = false
                undefinedNode = false
              }
            }
    104892mS PRN: RasServer::OnLCF
    104892mS PRN: Begin Stack Trace
    104892mS PRN: pc=f0eb8e80
    104892mS PRN: lr=f0eb8e74
    104892mS PRN: findfunc f0eb8e74 f08c16c0 f08c8348 f0eb602c f064cc3c f064d82c f0625f98 f0626ddc f0626ef0 f02e5e9c
    104892mS PRN: findfunc f02e5e48 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    104892mS PRN: End Stack Trace
    104892mS PRN: ScheduleHistory NOT enabled: Task = CMRtEngine File = ../platform/platform.cpp Line = 1201
    104892mS PRN: .FATAL DSI Excep address=00000014 d=5 pc=f0eb8e80 f0eb8e74 f08c16c0 f08c8348 f0eb602c f064cc3c IP 500 V2 8.0(44)

********** contact lost with 10.157.100.241 at 09:46:04 11/7/2012 - reselect = 9 **********
******************************************************************

********** Warning: Logging to Screen Stopped **********
