ВидеоКонф(ВКС)  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Asterisk + Avaya по H323

Новичком считается только что прочитавший «Астериск - будущее телефонии»
http://asterisk.ru/knowledgebase/books
и пытающийся сделать большее

Модераторы: april22, Zavr2008

Asterisk + Avaya по H323

Сообщение Egorka_28rus » 21 фев 2020, 06:39

Приветствую вас, коллеги! Прошу помощи по настройке данной конструкции, бьюсь уже 3 недели, готового решение мне не нужно, хочу сам разобраться, прошу указать на ошибки и поделиться хорошими ссылками на статьи, книги. За 3 недели прочитал большое количество статей и в голове теперь каша.
- И так, дано Avaya S8500 с медиашлюзом G650, сеть своя х.0.5.х, лицензий на SIP нет и не будет, есть только лицензия на H323. ip-x.0.5.4. Нумерация 31хх-32хх.
- Asterisk 1.4.8 установлен на сервер с двумя сетевухами, одна сетевуха смотрит в сеть Avaya x.0.5.x, вторая смотрит в другую сеть, также на этом сервере крутиться система мониторинга устройств , которая как раз смотрит во вторую сеть. ip- x.0.5.10. Нумерация 24хх.
- Телефоны Avaya 9641G, работающие как на h323, так и на SIP. Телефоны на прямую с Avaya S8500 не работают, т.к. версия прошивки АТС старая, на новую прошивку денег никто не даст.
На avaya поднял транк h323:
статус транк авая.jpg
статус транк авая.jpg (27.86 KIB) Просмотров: 8204

На asterisk прикрутил канал h323:
Код: выделить все
CLI> core show channeltypes
Type        Description                              Devicestate  Indications  Transfer
----------  -----------                              -----------  -----------  --------
SIP         Session Initiation Protocol (SIP)        yes          yes          yes
Skinny      Skinny Client Control Protocol (Skinny)  no           yes          no
Console     OSS Console Channel Driver               no           yes          no
MGCP        Media Gateway Control Protocol (MGCP)    yes          yes          no
H323        The NuFone Network's Open H.323 Channel  no           yes          no
Phone       Standard Linux Telephony API Driver      no           yes          no
IAX2        Inter Asterisk eXchange Driver (Ver 2)   yes          yes          yes
Local       Local Proxy Channel Driver               yes          yes          no
----------
8 channel drivers registered.


конфига h323:
Код: выделить все
[general]
port=1720
bindaddr=x.0.5.10
gateway=no
gatekeeper = DISABLE
disallow=all
allow=alaw
allow=ulaw
allow=g723
allow=g729
fastStart = yes
h245Tunneling = yes
dtmfmode=inband

[avaya]
type=friend
host=x.0.5.4
context=from-internal
port=1720
disallow=all
allow=alaw
allow=ulaw
canreinvite=no
allow=g729
dtmfmode=inband
fastStart=yes
h245Tunneling=yes


Конфига SIP:
Код: выделить все
[general]
context=from-trunk      
disallow=all
allow=ulaw
allow=alaw
srvlookup=yes
canreinvite=no
nat=no
port=5060
bindaddr=0.0.0.0

[2400]
type=friend
secret=12345
insecure=port,invite
host=dynamic
port=5060
nat=no
canreinvite=no
disallow=all
allow=alaw
allow=ulaw
dtmfmode=inband
transport=udp


Конфига Extension:
Код: выделить все
[general]
static=yes
writeprotect=no
clearglobalvars=no

[globals]
CONSOLE=Console/dsp   

[avaya]
exten => _24XX,n,Dial(H323/${EXTEN}@avaya,30,rT)
exten => _24XX,n,BackGround(vm-sorry)
exten => _24XX,n,Hangup()


В результате имеем:
Код: выделить все
CLI> core show channels
Channel              Location             State   Application(Data)
0 active channels
0 active calls


При подключении телефона имеем ошибку:
Код: выделить все
<--- SIP read from 10.0.5.100:1025 --->
REGISTER sip:10.0.5.10 SIP/2.0
From: <sip:2400@10.0.5.10>;tag=386da9d0-519e76cf6n6d676f6o2j172771u2t1n1f3c1l61uf_F24000.0.0.0
To: <sip:2400@10.0.5.10>
Call-ID: 3e_386da9d0-26e606ff5s103e4p4631r56222b134v5349x705c59_R24000.0.0.0
CSeq: 62 REGISTER
Max-Forwards: 70
Via: SIP/2.0/UDP 0.0.0.0;branch=z9hG4bK3e_386da9d064199db15z2fu1d4pt3tr3mu5c2o6j303l5lf4t_R24000.0.0.0
Supported: eventlist,feature-ref,replaces,tdialog
Allow: INVITE,ACK,BYE,CANCEL,SUBSCRIBE,NOTIFY,MESSAGE,REFER,INFO,PUBLISH,UPDATE
User-Agent: Avaya one-X Deskphone 6.5.0.17 (17)
Contact: <sip:2400@0.0.0.0;transport=udp;avaya-sc-enabled>;q=1;expires=3600;avaya-actions="presence.initiate-pubsub,presence.redirect";+avaya.gmtoffset="0:00";+avaya.js-ver="1.0";+avaya.model="9641";+avaya.sn="13N521616118";+avaya.firmware="S96x1_SALBR6_5_0r17_V4r83.tar";+sip.instance="<urn:uuid:00000000-0000-1000-8000-84837183afe5>";reg-id=1
Content-Length:     0


<------------->
--- (12 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 0.0.0.0 : 5060 (no NAT)
s2300zabbix*CLI>
<--- Transmitting (no NAT) to 0.0.0.0:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 0.0.0.0;branch=z9hG4bK3e_386da9d064199db15z2fu1d4pt3tr3mu5c2o6j303l5lf4t_R24000.0.0.0;received=10.0.5.100
From: <sip:2400@10.0.5.10>;tag=386da9d0-519e76cf6n6d676f6o2j172771u2t1n1f3c1l61uf_F24000.0.0.0
To: <sip:2400@10.0.5.10>
Call-ID: 3e_386da9d0-26e606ff5s103e4p4631r56222b134v5349x705c59_R24000.0.0.0
CSeq: 62 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:2400@10.0.5.10>
Content-Length: 0


<------------>
s2300zabbix*CLI>
<--- Transmitting (no NAT) to 0.0.0.0:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 0.0.0.0;branch=z9hG4bK3e_386da9d064199db15z2fu1d4pt3tr3mu5c2o6j303l5lf4t_R24000.0.0.0;received=10.0.5.100
From: <sip:2400@10.0.5.10>;tag=386da9d0-519e76cf6n6d676f6o2j172771u2t1n1f3c1l61uf_F24000.0.0.0
To: <sip:2400@10.0.5.10>;tag=as048eb020
Call-ID: 3e_386da9d0-26e606ff5s103e4p4631r56222b134v5349x705c59_R24000.0.0.0
CSeq: 62 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="3fb309ad"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '3e_386da9d0-26e606ff5s103e4p4631r56222b134v5349x705c59_R24000.0.0.0' in 32000 ms (Method: REGISTER)

<--- SIP read from 127.0.0.1:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 0.0.0.0;branch=z9hG4bK3e_386da9d064199db15z2fu1d4pt3tr3mu5c2o6j303l5lf4t_R24000.0.0.0;received=10.0.5.100
From: <sip:2400@10.0.5.10>;tag=386da9d0-519e76cf6n6d676f6o2j172771u2t1n1f3c1l61uf_F24000.0.0.0
To: <sip:2400@10.0.5.10>
Call-ID: 3e_386da9d0-26e606ff5s103e4p4631r56222b134v5349x705c59_R24000.0.0.0
CSeq: 62 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:2400@10.0.5.10>
Content-Length: 0


<------------->
--- (11 headers 0 lines) ---

<--- SIP read from 127.0.0.1:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 0.0.0.0;branch=z9hG4bK3e_386da9d064199db15z2fu1d4pt3tr3mu5c2o6j303l5lf4t_R24000.0.0.0;received=10.0.5.100
From: <sip:2400@10.0.5.10>;tag=386da9d0-519e76cf6n6d676f6o2j172771u2t1n1f3c1l61uf_F24000.0.0.0
To: <sip:2400@10.0.5.10>;tag=as048eb020
Call-ID: 3e_386da9d0-26e606ff5s103e4p4631r56222b134v5349x705c59_R24000.0.0.0
CSeq: 62 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="3fb309ad"
Content-Length: 0

На телефоне висит надпись "запрашивается услуга..."
Прошу сильно не пинать, ибо Asterisk настраивал лет 7 назад, многое позабылось.
Подскажите что не так?
Egorka_28rus
 
Сообщений: 16
Зарегистрирован: 20 фев 2020, 11:26

Re: Asterisk + Avaya по H323

Сообщение ded » 21 фев 2020, 11:52

Как-то всё в кучу вывалено, непоследовательно. "Ребята! разберитесь что не так?" Инструкция:
http://asterisk.ru/more/avaya
дано Avaya S8500 с медиашлюзом G650, сеть своя х.0.5.х, лицензий на SIP нет и не будет, есть только лицензия на H323. ip-x.0.5.4. Нумерация 31хх-32хх.

То есть
телефоны 31хх-32хх == Avaya S8500 --Н.323-- Asterisk ==SIP== телефоны 24хх(телефон 2400)
так?
Если да, то какого х....на
exten => _24XX,n,Dial(H323/${EXTEN}@avaya,30,rT) ?? может
exten => _3[12]XX,n,Dial(H323/${EXTEN}@avaya,30,rT) так всё таки?

1. Сначала разберитесь с регистрацией SIP телефона 2400, лучше софтфона, или двух: 2400 и 2401, чтобы выполнить тестовый звонок внутри Астериска.

2) затем пробуйте звонить с 2400 на какой-то 3101.

3) затем с Авайи, с 3101 на 2400.

P.S. bindaddr=x.0.5.10 - умиляет. Внутреннюю сеть закрываете, чтобы мы не догадались? При этом в дебаге то видно - 10.0.5.10
ded
 
Сообщений: 15805
Зарегистрирован: 26 авг 2010, 19:00

Re: Asterisk + Avaya по H323

Сообщение Egorka_28rus » 06 мар 2020, 05:38

Приветствую вас, коллеги! Отказался от телефона, установил софтфон, софтфон зарегистрировался на Asterisk. Поправил extention:
Код: выделить все
[general]
static=yes
writeprotect=no
clearglobalvars=no

[globals]
CONSOLE=Console/dsp   

[avaya]
exten => _24XX,n,Dial(H323/${EXTEN}@avaya,300,rT)
exten => _3[12]XX,n,Dial(H323/${EXTEN}@avaya,300,rT)
exten => _XXXX,1,Dial(SIP/${EXTEN})


Тестовый звонок с Avay на Asterisk прошел:
Код: выделить все
== New H.323 Connection created.
        --Received SETUP message
        -- Setting up Call
        -- Call token:  [ip$10.0.5.4:18736/5000]
        -- Calling party name:  []
        -- Calling party number:  []
        -- Called party name:  [2401]
        -- Called party number:  [2401]
        -- Calling party IP:  [10.0.5.4]
Setting capabilities to 0x10d (g723|ulaw|alaw|g729)
Capabilities in preference order is (alaw|ulaw|g723|g729)
Allowed Codecs:>
Table:>
   G.711-ALaw-64k <1>
   G.711-uLaw-64k <2>
   G.723.1A <3>>
   G.723.1 <4>I>
   G.729A <5>
   G.729 <6>
   UserInput/hookflash <7>
   UserInput/basicString <8>
Set:
   0:
     0:
       G.711-ALaw-64k <1>
       G.711-uLaw-64k <2>
       G.723.1A <3>
       G.723.1 <4>
       G.729A <5>
       G.729 <6>
     1:
       UserInput/hookflash <7>
     2:
       UserInput/basicString <8>

=-= In OnAnswerCall for call 5000
         - Progress Indicator: 3
         - Inserting PI of 8 into ALERTING message
    -- Started logical channel: sending G.711-ALaw-64k
    -- channelsOpen = 1
External RTP Session Starting
    -- Executing [2401@default:1] Dial("H323/ip$10.0.5.4:18736/5000", "SIP/2401") in new stack
                RTP channel id 1 parameters:
                -- remoteIpAddress: 10.0.5.6
                -- remotePort: 2556
                -- ExternalIpAddress: 10.0.5.10
                -- ExternalPort: 10298
                -- Started logical channel: receiving G.711-ALaw-64k
                -- channelsOpen = 2
Audio is at 10.0.5.10 port 16622
Adding codec 0x8 (alaw) to SDP
Adding codec 0x4 (ulaw) to SDP
Reliably Transmitting (no NAT) to 10.0.5.100:5060:
INVITE sip:2401@10.0.5.100:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK3ba4cf78;rport
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as2a388028
To: <sip:2401@10.0.5.100:5060>
Contact: <sip:Unknown@10.0.5.10>
Call-ID: 4fa36aee0eb8e41243c1a73d03a5272a@10.0.5.10
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Thu, 05 Mar 2020 08:10:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 202

v=0
o=root 27129 27129 IN IP4 10.0.5.10
s=session
c=IN IP4 10.0.5.10
t=0 0
m=audio 16622 RTP/AVP 8 0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

---
    -- Called 2401
                External RTP Session Starting
                RTP channel id 1 parameters:
                -- remoteIpAddress: 10.0.5.6
                -- remotePort: 2556
                -- ExternalIpAddress: 10.0.5.10
                -- ExternalPort: 10298
        ExternalRTPChannel Destroyed
        ExternalRTPChannel Destroyed
        ExternalRTPChannel Destroyed
        ExternalRTPChannel Destroyed
        ExternalRTPChannel Destroyed
        ExternalRTPChannel Destroyed

<--- SIP read from 10.0.5.100:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK3ba4cf78;rport=5060
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as2a388028
To: <sip:2401@10.0.5.100:5060>
Call-ID: 4fa36aee0eb8e41243c1a73d03a5272a@10.0.5.10
CSeq: 102 INVITE
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Server: SIPPER for PhonerLite
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
s2300zabbix*CLI>
<--- SIP read from 10.0.5.100:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK3ba4cf78;rport=5060
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as2a388028
To: <sip:2401@10.0.5.100:5060>;tag=00205a52265dea11a6d1901d09268b7d
Call-ID: 4fa36aee0eb8e41243c1a73d03a5272a@10.0.5.10
CSeq: 102 INVITE
Contact: <sip:2401@10.0.5.100:5060;gr=00BE1BEF-245D-EA11-A6CB-901D09268B7D>
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Supported: 100rel, replaces, from-change, gruu
Server: SIPPER for PhonerLite
Content-Length: 0


<------------->
--- (11 headers 0 lines) ---
    -- SIP/2401-dc006e20 is ringing
        Sending alerting
    -- Received RELEASE COMPLETE message...
        -- ClearCall: Request to clear call with token ip$10.0.5.4:18736/5000, cause EndedByCallerAbort
Scheduling destruction of SIP dialog '4fa36aee0eb8e41243c1a73d03a5272a@10.0.5.10' in 32000 ms (Method: INVITE)
Reliably Transmitting (no NAT) to 10.0.5.100:5060:
CANCEL sip:2401@10.0.5.100:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK3ba4cf78;rport
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as2a388028
To: <sip:2401@10.0.5.100:5060>
Call-ID: 4fa36aee0eb8e41243c1a73d03a5272a@10.0.5.10
CSeq: 102 CANCEL
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0


---
Scheduling destruction of SIP dialog '4fa36aee0eb8e41243c1a73d03a5272a@10.0.5.10' in 32000 ms (Method: INVITE)
        -- Sending RELEASE COMPLETE
  == Spawn extension (default, 2401, 1) exited non-zero on 'H323/ip$10.0.5.4:18736/5000'
        -- ClearCall: Request to clear call with token ip$10.0.5.4:18736/5000, cause EndedByTransportFail
                channelsOpen = 1
                channelsOpen = 0
        ExternalRTPChannel Destroyed
        ExternalRTPChannel Destroyed

<--- SIP read from 10.0.5.100:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK3ba4cf78;rport=5060
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as2a388028
To: <sip:2401@10.0.5.100:5060>;tag=00205a52265dea11a6d1901d09268b7d
Call-ID: 4fa36aee0eb8e41243c1a73d03a5272a@10.0.5.10
CSeq: 102 CANCEL
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Server: SIPPER for PhonerLite
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---

<--- SIP read from 10.0.5.100:5060 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK3ba4cf78;rport=5060
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as2a388028
To: <sip:2401@10.0.5.100:5060>;tag=00205a52265dea11a6d1901d09268b7d
Call-ID: 4fa36aee0eb8e41243c1a73d03a5272a@10.0.5.10
CSeq: 102 INVITE
Contact: <sip:2401@10.0.5.100:5060;gr=00BE1BEF-245D-EA11-A6CB-901D09268B7D>
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Server: SIPPER for PhonerLite
Content-Length: 0


<------------->
--- (10 headers 0 lines) ---
Transmitting (no NAT) to 10.0.5.100:5060:
ACK sip:2401@10.0.5.100:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK3ba4cf78;rport
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as2a388028
To: <sip:2401@10.0.5.100:5060>;tag=00205a52265dea11a6d1901d09268b7d
Contact: <sip:Unknown@10.0.5.10>
Call-ID: 4fa36aee0eb8e41243c1a73d03a5272a@10.0.5.10
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0


---
Really destroying SIP dialog '4fa36aee0eb8e41243c1a73d03a5272a@10.0.5.10' Method: INVITE
-- 10.0.5.4 has stopped calling
        == H.323 Connection deleted.


Смущает то, что номер с Avaya не определяется "sip:Unknown@10.0.5.10", не пойму с чьей стороны косяк, с Avaya или Asterisk?

Звонок с Asterisk на Avaya не проходит, ошибка 404:
Код: выделить все
<--- SIP read from 10.0.5.100:5060 --->
INVITE sip:3158@10.0.5.10 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK002c4a01265dea11a6d0901d09268b7d;rport
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=703225125
To: <sip:3158@10.0.5.10>
Call-ID: 002C4A01-265D-EA11-A6CF-901D09268B7D@10.0.5.100
CSeq: 135 INVITE
Contact: <sip:2401@10.0.5.100:5060;gr=00BE1BEF-245D-EA11-A6CB-901D09268B7D>
Content-Type: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Max-Forwards: 70
User-Agent: SIPPER for PhonerLite
Session-Expires: 1800
Supported: 100rel, replaces, from-change, gruu, timer
P-Preferred-Identity: <sip:2401@10.0.5.10>
Content-Length:   345

v=0
o=- 387318228 1 IN IP4 10.0.5.100
s=SIPPER for PhonerLite
c=IN IP4 10.0.5.100
t=0 0
m=audio 5062 RTP/AVP 8 0 3 9 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:2580866580
a=sendrecv

<------------->
--- (15 headers 16 lines) ---
Sending to 10.0.5.100 : 5060 (NAT)
Using INVITE request as basis request - 002C4A01-265D-EA11-A6CF-901D09268B7D@10.0.5.100
s2300zabbix*CLI>
<--- Reliably Transmitting (no NAT) to 10.0.5.100:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK002c4a01265dea11a6d0901d09268b7d;received=10.0.5.100;rport=5060
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=703225125
To: <sip:3158@10.0.5.10>;tag=as786619e7
Call-ID: 002C4A01-265D-EA11-A6CF-901D09268B7D@10.0.5.100
CSeq: 135 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="68caa9b0"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '002C4A01-265D-EA11-A6CF-901D09268B7D@10.0.5.100' in 32000 ms (Method: INVITE)
Found user '2401'
s2300zabbix*CLI>
<--- SIP read from 10.0.5.100:5060 --->
ACK sip:3158@10.0.5.10 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK002c4a01265dea11a6d0901d09268b7d;rport
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=703225125
To: <sip:3158@10.0.5.10>;tag=as786619e7
Call-ID: 002C4A01-265D-EA11-A6CF-901D09268B7D@10.0.5.100
CSeq: 135 ACK
Content-Length: 0


<------------->
--- (7 headers 0 lines) ---
s2300zabbix*CLI>
<--- SIP read from 10.0.5.100:5060 --->
INVITE sip:3158@10.0.5.10 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK002c4a01265dea11a6d1901d09268b7d;rport
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=703225125
To: <sip:3158@10.0.5.10>
Call-ID: 002C4A01-265D-EA11-A6CF-901D09268B7D@10.0.5.100
CSeq: 136 INVITE
Contact: <sip:2401@10.0.5.100:5060;gr=00BE1BEF-245D-EA11-A6CB-901D09268B7D>
Proxy-Authorization: Digest username="2401", realm="asterisk", nonce="68caa9b0", uri="sip:3158@10.0.5.10", response="2c6aa1afe9f6764f63d33026e1e31896", algorithm=MD5
Content-Type: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Max-Forwards: 70
User-Agent: SIPPER for PhonerLite
Session-Expires: 1800
Supported: 100rel, replaces, from-change, gruu, timer
P-Preferred-Identity: <sip:2401@10.0.5.10>
Content-Length:   345

v=0
o=- 387318228 1 IN IP4 10.0.5.100
s=SIPPER for PhonerLite
c=IN IP4 10.0.5.100
t=0 0
m=audio 5062 RTP/AVP 8 0 3 9 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:2580866580
a=sendrecv

<------------->
--- (16 headers 16 lines) ---
Sending to 10.0.5.100 : 5060 (NAT)
Using INVITE request as basis request - 002C4A01-265D-EA11-A6CF-901D09268B7D@10.0.5.100
Found user '2401'
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 3
Found RTP audio format 9
Found RTP audio format 18
Found RTP audio format 101
Peer audio RTP is at port 10.0.5.100:5062
Found description format PCMA for ID 8
Found description format PCMU for ID 0
Found description format GSM for ID 3
Found description format G722 for ID 9
Found description format G729 for ID 18
Got unsupported a:fmtp in SDP offer
Found description format telephone-event for ID 101
Got unsupported a:fmtp in SDP offer
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x110e (gsm|ulaw|alaw|g729|g722)/video=0x0 (nothing), combined - 0xc (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x0 (nothing), peer - 0x1 (telephone-event), combined - 0x0 (nothing)
Peer audio RTP is at port 10.0.5.100:5062
Looking for 3158 in from-trunk (domain 10.0.5.10)

<--- Reliably Transmitting (no NAT) to 10.0.5.100:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK002c4a01265dea11a6d1901d09268b7d;received=10.0.5.100;rport=5060
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=703225125
To: <sip:3158@10.0.5.10>;tag=as786619e7
Call-ID: 002C4A01-265D-EA11-A6CF-901D09268B7D@10.0.5.100
CSeq: 136 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '002C4A01-265D-EA11-A6CF-901D09268B7D@10.0.5.100' in 32000 ms (Method: INVITE)

<--- SIP read from 10.0.5.100:5060 --->
ACK sip:3158@10.0.5.10 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK002c4a01265dea11a6d1901d09268b7d;rport
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=703225125
To: <sip:3158@10.0.5.10>;tag=as786619e7
Call-ID: 002C4A01-265D-EA11-A6CF-901D09268B7D@10.0.5.100
CSeq: 136 ACK
Proxy-Authorization: Digest username="2401", realm="asterisk", nonce="68caa9b0", uri="sip:3158@10.0.5.10", response="2c6aa1afe9f6764f63d33026e1e31896", algorithm=MD5
Content-Length: 0


List trace tac на Avaya молчит, т.е. на Avaya ничего не приходит, думаю Astrerisk ищет номер только у себя, не обращаясь к Avaya. Думаю из-за того, что номер не определяется и происходит вся котовасия!!! Пните куда, чего посмотреть, поменять!!!
Egorka_28rus
 
Сообщений: 16
Зарегистрирован: 20 фев 2020, 11:26

Re: Asterisk + Avaya по H323

Сообщение awsswa » 06 мар 2020, 09:13

Если у вас внутренние звонки между абонентами обоих атс то контекст - from-internal

а в логах (Looking for 3158 in from-trunk (domain 10.0.5.10)
платный суппорт по мере возможностей
awsswa
 
Сообщений: 2390
Зарегистрирован: 09 июн 2012, 10:52
Откуда: Россия, Пермь skype: yarick_perm

Re: Asterisk + Avaya по H323

Сообщение ded » 06 мар 2020, 11:58

Если от авайи прибегает доминошка пусто:пусто
Код: выделить все
-- Calling party name:  []
-- Calling party number:  []
То хочется тоже отдуплиться и крикнуть - РЫБА!

Хотелось бы не столько понимания, сколько внимательности от вас к тому, что вы делаете.
Судя по
Код: выделить все
[avaya]
exten => _24XX,n,Dial(H323/${EXTEN}@avaya,300,rT)
exten => _3[12]XX,n,Dial(H323/${EXTEN}@avaya,300,rT)
exten => _XXXX,1,Dial(SIP/${EXTEN})
у вас на авайе абоненты имеют номера 24XX, 31ХХ и 32ХХ, и вы собирраетесь их вызывать по протоколу Н.323, Остальные четырёхзначные - это абоненты SIP на Астериске, верно?

А судя по дебагу -
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=703225125
To: <sip:3158@10.0.5.10>
вы уверенно назначили SIP телефону PhonerLite авайевский номер 2401 и пытаетесь вызывать авайевский номер 3158 по протоколу SIP. А где Н.323? А где логика?
ded
 
Сообщений: 15805
Зарегистрирован: 26 авг 2010, 19:00

Re: Asterisk + Avaya по H323

Сообщение Egorka_28rus » 10 мар 2020, 06:34

Нумерация на Avaya у меня 31ХХ и 32ХХ, на Asterisk нумерация 24ХХ.
Как я понял, чтобы мне совершить исходящий вызов с Asterisk на Avaya, в extention мне нужно прописать:
Код: выделить все
exten => _3[12]XX,1,Dial(H323/${EXTEN}@avaya,300,rT)

Для того чтобы приходил входящий с Avaya на Asterisk:
Код: выделить все
exten => _24XX,1,Dial(SIP/${EXTEN})

Если не так, поправьте, выводы сделал такие из множества еще раз перечитанных форумов по скрещиванию Asterisk and Avaya.
Номеров 24ХХ на Avaya нет, только 31(32)ХХ!
Egorka_28rus
 
Сообщений: 16
Зарегистрирован: 20 фев 2020, 11:26

Re: Asterisk + Avaya по H323

Сообщение ded » 10 мар 2020, 14:50

Примерно так и есть.
Egorka_28rus писал(а):Номеров 24ХХ на Avaya нет, только 31(32)ХХ!
и зачем вы тогда отправляли 24ХХ на Avaya? См. выше ваш конфиг.
Код: выделить все
exten => _24XX,n,Dial(H323/${EXTEN}@avaya,300,rT)
ded
 
Сообщений: 15805
Зарегистрирован: 26 авг 2010, 19:00

Re: Asterisk + Avaya по H323

Сообщение Egorka_28rus » 11 мар 2020, 05:29

Код: выделить все
exten => _24XX,n,Dial(H323/${EXTEN}@avaya,300,rT)

Это было лишнее, экспериментировал и не закомментировал.
Код: выделить все
exten => _3[12]XX,1,Dial(H323/${EXTEN}@avaya,300,rT)
exten => _24XX,1,Dial(SIP/${EXTEN})

С исправленной конфигой все равно звонки с Asteriska не ходят на Avaya.
Egorka_28rus
 
Сообщений: 16
Зарегистрирован: 20 фев 2020, 11:26

Re: Asterisk + Avaya по H323

Сообщение amateur » 11 мар 2020, 09:20

Egorka_28rus писал(а):С исправленной конфигой все равно звонки с Asteriska не ходят на Avaya.

Нужна отладка вызова Asterisk -> Avaya после исправления dialplan. Прежняя отладка заканчивалась на 404 Not found.

P.S. И добавьте h323 set trace 4
amateur
 
Сообщений: 449
Зарегистрирован: 30 сен 2011, 09:58

Re: Asterisk + Avaya по H323

Сообщение Egorka_28rus » 11 мар 2020, 12:00

Добавил h323 set trace 4.
Звонок с Avaya -> Asterisk:
Код: выделить все
531:14:32.208  H323 Listener:18d4050   transports.cxx(1559)  H323TCP Started connection:  host=10.0.5.4:23204, if=10.0.5.10:1720, handle=40
531:14:32.208  H323 Listener:18d4050   transports.cxx(1356)  TCP     Waiting on socket accept on ip$10.0.5.10:1720
531:14:32.208   H225 Answer:24002b10   transports.cxx(595)   H225    Started incoming call thread
531:14:32.208   H225 Answer:24002b10   transports.cxx(1161)  H225    Awaiting first PDU
531:14:32.224   H225 Answer:24002b10      h323pdu.cxx(553)   H225    Receiving PDU [ip$10.0.5.10:1720/ip$10.0.5.4:23204] :
  {
    q931pdu = {
      protocolDiscriminator = 8
      callReference = 7002
      from = originator
      messageType = Setup
      IE: Bearer-Capability = {
        90 90 a5                                           ...
      }
      IE: Progress-Indicator = {
        81 83                                              ..
      }
      IE: Called-Party-Number = {
        a1 32 34 30 31                                     .2401
      }
      IE: User-User = {
        20 90 06 00 08 91 4a 00  05 3c c0 b5 00 4c 54 11    .....J..<...LT.
        41 76 61 79 61 20 4d 75  6c 74 69 76 61 6e 74 61   Avaya Multivanta
        ...
      }
      IE: 0xa1 (161) = {

      }
    }
    h225pdu = {
      h323_uu_pdu = {
        h323_message_body = setup {
          protocolIdentifier = 0.0.8.2250.0.5
          sourceInfo = {
            vendor = {
              vendor = {
                t35CountryCode = 181
                t35Extension = 0
                manufacturerCode = 19540
              }
              productId =  18 octets {
                41 76 61 79 61 20 4d 75  6c 74 69 76 61 6e 74 61   Avaya Multivanta
                67 65                                              ge
              }
              versionId =  16 octets {
                52 30 31 32 78 2e 30 31  2e 31 2e 34 31 34 2e 31   R012x.01.1.414.1
              }
            }
            gatekeeper = {
            }
            gateway = {
              protocol = 3 entries {
                [0]=h320 {
                  supportedPrefixes = 1 entries {
                    [0]={
                      prefix = dialedDigits "9"
                    }
                  }
                }
                [1]=h323 {
                  supportedPrefixes = 1 entries {
                    [0]={
                      prefix = dialedDigits "9"
                    }
                  }
                }
                [2]=voice {
                  supportedPrefixes = 1 entries {
                    [0]={
                      prefix = dialedDigits "9"
                    }
                  }
                }
              }
            }
            mcu = {
            }
            mc = TRUE
            undefinedNode = FALSE
          }
          destinationAddress = 1 entries {
            [0]=dialedDigits "2401"
          }
          activeMC = FALSE
          conferenceID =  16 octets {
            80 18 a8 dc ea 6d ea 01  44 00 5e 29 7b 51 00 00   .....m..D.^){Q..
          }
          conferenceGoal = create <<null>>
          callType = pointToPoint <<null>>
          sourceCallSignalAddress = ipAddress {
            ip =  4 octets {
              0a 00 05 04                                        ....
            }
            port = 1720
          }
          callIdentifier = {
            guid =  16 octets {
              80 18 a8 dc ea 6d ea 01  44 00 5e 29 7b 51 00 00   .....m..D.^){Q..
            }
          }
          fastStart = 8 entries {
            [0]= 19 octets {
              00 00 64 0c 20 13 80 0b  0f 00 01 00 0a 00 05 06   ..d. ...........
              0a c1 00                                           ...
            }
            [1]= 30 octets {
              40 00 64 06 04 01 00 4c  20 13 80 12 15 00 01 00   @.d....L .......
              0a 00 05 06 0a c0 00 0a  00 05 06 0a c1 00         ..............
            }
            [2]= 19 octets {
              00 00 64 0d 40 01 80 0b  0f 00 01 00 0a 00 05 06   ..d.@...........
              0a c1 00                                           ...
            }
            [3]= 30 octets {
              40 00 64 06 04 01 00 4d  40 01 80 12 15 00 01 00   @.d....M@.......
              0a 00 05 06 0a c0 00 0a  00 05 06 0a c1 00         ..............
            }
            [4]= 19 octets {
              00 00 64 0d 60 01 80 0b  0f 00 01 00 0a 00 05 06   ..d.`...........
              0a c1 00                                           ...
            }
            [5]= 30 octets {
              40 00 64 06 04 01 00 4d  60 01 80 12 15 00 01 00   @.d....M`.......
              0a 00 05 06 0a c0 00 0a  00 05 06 0a c1 00         ..............
            }
            [6]= 19 octets {
              00 00 64 0c 60 13 80 0b  0f 00 01 00 0a 00 05 06   ..d.`...........
              0a c1 00                                           ...
            }
            [7]= 30 octets {
              40 00 64 06 04 01 00 4c  60 13 80 12 15 00 01 00   @.d....L`.......
              0a 00 05 06 0a c0 00 0a  00 05 06 0a c1 00         ..............
            }
          }
          mediaWaitForConnect = FALSE
          canOverlapSend = TRUE
          multipleCalls = FALSE
          maintainConnection = FALSE
        }
        h245Tunneling = TRUE
      }
    }
  }
531:14:32.227   H225 Answer:24002b10   transports.cxx(1170)  H225    Incoming call, first PDU: callReference=7002
531:14:32.228   H225 Answer:24002b10      rfc2833.cxx(81)    RFC2833 Handler created
== New H.323 Connection created.
531:14:32.228   H225 Answer:24002b10       h323ep.cxx(2456)  H323    Created new connection: ip$10.0.5.4:23204/7002
531:14:32.228   H225 Answer:24002b10         h323.cxx(1876)  H225    Handling PDU: Setup callRef=7002
        --Received SETUP message
    -- Setting up Call
    --          Call token:  [ip$10.0.5.4:23204/7002]
    --          Calling party name:  []
    --          Calling party number:  []
    --          Called party name:  [2401]
    --          Called party number:  [2401]
    --          Calling party IP:  [10.0.5.4]
531:14:32.228   H225 Answer:24002b10         h323.cxx(2142)  H225    Set protocol version to 5 and implying H.245 version 7
531:14:32.228   H225 Answer:24002b10         h323.cxx(2401)  H225    Set remote application name: "Avaya Multivantage        R012x.01.1.414.1        181/19540"
Setting capabilities to 0x10d (g723|ulaw|alaw|g729)
Capabilities in preference order is (alaw|ulaw|g723|g729)
531:14:32.228   H225 Answer:24002b10     h323caps.cxx(2143)  H323    Added capability: G.711-ALaw-64k <1>
531:14:32.228   H225 Answer:24002b10     h323caps.cxx(2143)  H323    Added capability: G.711-uLaw-64k <2>
531:14:32.228   H225 Answer:24002b10     h323caps.cxx(2143)  H323    Added capability: G.723.1A <3>
531:14:32.229   H225 Answer:24002b10     h323caps.cxx(2143)  H323    Added capability: G.723.1 <4>
531:14:32.229   H225 Answer:24002b10     h323caps.cxx(2143)  H323    Added capability: G.729A <5>
531:14:32.229   H225 Answer:24002b10     h323caps.cxx(2143)  H323    Added capability: G.729 <6>
531:14:32.229   H225 Answer:24002b10     h323caps.cxx(2143)  H323    Added capability: UserInput/hookflash <7>
531:14:32.229   H225 Answer:24002b10     h323caps.cxx(2143)  H323    Added capability: UserInput/basicString <8>
Allowed Codecs:>
   Table:>
   G.711-ALaw-64k <1>
   G.711-uLaw-64k <2>
   G.723.1A <3>
   G.723.1 <4>
   G.729A <5>
   G.729 <6>
   UserInput/hookflash <7>
   UserInput/basicString <8>
Set:
   0:
     0:
       G.711-ALaw-64k <1>
       G.711-uLaw-64k <2>
       G.723.1A <3>
       G.723.1 <4>
       G.729A <5>
       G.729 <6>
     1:
       UserInput/hookflash <7>
     2:
       UserInput/basicString <8>

531:14:32.229      H225 Answer:24002b10         h323.cxx(2249)  H225    Sending call proceeding PDU
531:14:32.230   H225 Answer:24002b10      h323pdu.cxx(553)   H225    Sending PDU [ip$10.0.5.10:1720/ip$10.0.5.4:23204] :
  {
    q931pdu = {
      protocolDiscriminator = 8
      callReference = 7002
      from = destination
      messageType = CallProceeding
      IE: Display = {
        32 34 30 31 00                                     2401.
      }
      IE: User-User = {
        21 80 06 00 08 91 4a 00  05 22 c0 09 00 00 3d 36   !.....J.."....=6
        54 68 65 20 4e 75 46 6f  6e 65 20 4e 65 74 77 6f   The NuFone Netwo
        ...
      }
    }
    h225pdu = {
      h323_uu_pdu = {
        h323_message_body = callProceeding {
          protocolIdentifier = 0.0.8.2250.0.5
          destinationInfo = {
            vendor = {
              vendor = {
                t35CountryCode = 9
                t35Extension = 0
                manufacturerCode = 61
              }
              productId =  55 octets {
                54 68 65 20 4e 75 46 6f  6e 65 20 4e 65 74 77 6f   The NuFone Netwo
                72 6b 73 20 48 2e 33 32  33 20 43 68 61 6e 6e 65   rks H.323 Channe
                ...
              }
              versionId =  26 octets {
                31 2e 30 2e 30 20 28 4f  70 65 6e 48 33 32 33 20   1.0.0 (OpenH323
                76 31 2e 31 38 2e 30 29  00 00                     v1.18.0)..
              }
            }
            terminal = {
            }
            mc = FALSE
            undefinedNode = FALSE
          }
          callIdentifier = {
            guid =  16 octets {
              80 18 a8 dc ea 6d ea 01  44 00 5e 29 7b 51 00 00   .....m..D.^){Q..
            }
          }
          multipleCalls = FALSE
          maintainConnection = FALSE
        }
        h245Tunneling = TRUE
      }
    }
  }
531:14:32.231  H225 Answer:24002b10         h323.cxx(2288)  H225    Incoming call accepted
531:14:32.231  H225 Answer:24002b10         h323.cxx(2150)  H225    Fast start detected
531:14:32.231   H225 Answer:24002b10         h323.cxx(2157)  H225    Fast start open:
  {
    forwardLogicalChannelNumber = 101
    forwardLogicalChannelParameters = {
      dataType = audioData g711Alaw64k 20
      multiplexParameters = h2250LogicalChannelParameters {
        sessionID = 1
        mediaGuaranteedDelivery = FALSE
        mediaControlChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2753
        }
        mediaControlGuaranteedDelivery = FALSE
        silenceSuppression = FALSE
      }
    }
  }
531:14:32.232   H225 Answer:24002b10         h323.cxx(4691)  H323    CreateLogicalChannel - forward channel
531:14:32.232   H225 Answer:24002b10     h323caps.cxx(2330)  H323    FindCapability: audioData
531:14:32.232   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 150 to 20
531:14:32.232   H225 Answer:24002b10     h323caps.cxx(2375)  H323    Found capability: G.711-ALaw-64k <1>
531:14:32.232   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability rx frames left at 20 as remote allows 20
531:14:32.232   H225 Answer:24002b10     channels.cxx(979)   H323RTP OnReceivedPDU for channel: R-101
531:14:32.232   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability rx frames left at 20 as remote allows 20
531:14:32.232   H225 Answer:24002b10         h323.cxx(2157)  H225    Fast start open:
  {
    forwardLogicalChannelNumber = 101
    forwardLogicalChannelParameters = {
      dataType = nullData <<null>>
      multiplexParameters = none <<null>>
    }
    reverseLogicalChannelParameters = {
      dataType = audioData g711Alaw64k 20
      multiplexParameters = h2250LogicalChannelParameters {
        sessionID = 1
        mediaChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2752
        }
        mediaControlChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2753
        }
        silenceSuppression = FALSE
      }
    }
  }
531:14:32.233   H225 Answer:24002b10         h323.cxx(4676)  H323    CreateLogicalChannel - reverse channel
531:14:32.233   H225 Answer:24002b10     h323caps.cxx(2330)  H323    FindCapability: audioData
531:14:32.233   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 150 to 20
531:14:32.233   H225 Answer:24002b10     h323caps.cxx(2375)  H323    Found capability: G.711-ALaw-64k <1>
531:14:32.233   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 150 to 20
531:14:32.233   H225 Answer:24002b10     h323caps.cxx(2267)  H323    FindCapability: G.711-ALaw-64k <1>
531:14:32.233   H225 Answer:24002b10     h323caps.cxx(2153)  H323    Added capability: G.711-ALaw-64k <1>
531:14:32.234   H225 Answer:24002b10     channels.cxx(979)   H323RTP OnReceivedPDU for channel: T-0
531:14:32.234   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability tx frames left at 20 as remote allows 20
531:14:32.234   H225 Answer:24002b10         h323.cxx(2157)  H225    Fast start open:
  {
    forwardLogicalChannelNumber = 101
    forwardLogicalChannelParameters = {
      dataType = audioData g729 2
      multiplexParameters = h2250LogicalChannelParameters {
        sessionID = 1
        mediaGuaranteedDelivery = FALSE
        mediaControlChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2753
        }
        mediaControlGuaranteedDelivery = FALSE
        silenceSuppression = FALSE
      }
    }
  }
531:14:32.234   H225 Answer:24002b10         h323.cxx(4691)  H323    CreateLogicalChannel - forward channel
531:14:32.234   H225 Answer:24002b10     h323caps.cxx(2330)  H323    FindCapability: audioData
531:14:32.234   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 23 to 2
531:14:32.234   H225 Answer:24002b10     h323caps.cxx(2375)  H323    Found capability: G.729 <6>
531:14:32.234   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability rx frames left at 2 as remote allows 2
531:14:32.235   H225 Answer:24002b10     channels.cxx(979)   H323RTP OnReceivedPDU for channel: R-101
531:14:32.235   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability rx frames left at 2 as remote allows 2
531:14:32.235   H225 Answer:24002b10         h323.cxx(2157)  H225    Fast start open:
  {
    forwardLogicalChannelNumber = 101
    forwardLogicalChannelParameters = {
      dataType = nullData <<null>>
      multiplexParameters = none <<null>>
    }
    reverseLogicalChannelParameters = {
      dataType = audioData g729 2
      multiplexParameters = h2250LogicalChannelParameters {
        sessionID = 1
        mediaChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2752
        }
        mediaControlChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2753
        }
        silenceSuppression = FALSE
      }
    }
  }
531:14:32.235   H225 Answer:24002b10         h323.cxx(4676)  H323    CreateLogicalChannel - reverse channel
531:14:32.235   H225 Answer:24002b10     h323caps.cxx(2330)  H323    FindCapability: audioData
531:14:32.236   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 23 to 2
531:14:32.236   H225 Answer:24002b10     h323caps.cxx(2375)  H323    Found capability: G.729 <6>
531:14:32.236   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 23 to 2
531:14:32.236   H225 Answer:24002b10     h323caps.cxx(2267)  H323    FindCapability: G.729 <6>
531:14:32.236   H225 Answer:24002b10     h323caps.cxx(2153)  H323    Added capability: G.729 <6>
531:14:32.236   H225 Answer:24002b10     channels.cxx(979)   H323RTP OnReceivedPDU for channel: T-0
531:14:32.236   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability tx frames left at 2 as remote allows 2
531:14:32.236   H225 Answer:24002b10         h323.cxx(2157)  H225    Fast start open:
  {
    forwardLogicalChannelNumber = 101
    forwardLogicalChannelParameters = {
      dataType = audioData g729AnnexA 2
      multiplexParameters = h2250LogicalChannelParameters {
        sessionID = 1
        mediaGuaranteedDelivery = FALSE
        mediaControlChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2753
        }
        mediaControlGuaranteedDelivery = FALSE
        silenceSuppression = FALSE
      }
    }
  }
531:14:32.237   H225 Answer:24002b10         h323.cxx(4691)  H323    CreateLogicalChannel - forward channel
531:14:32.237   H225 Answer:24002b10     h323caps.cxx(2330)  H323    FindCapability: audioData
531:14:32.237   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 23 to 2
531:14:32.237   H225 Answer:24002b10     h323caps.cxx(2375)  H323    Found capability: G.729A <5>
531:14:32.237   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability rx frames left at 2 as remote allows 2
531:14:32.237   H225 Answer:24002b10     channels.cxx(979)   H323RTP OnReceivedPDU for channel: R-101
531:14:32.237   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability rx frames left at 2 as remote allows 2
531:14:32.237   H225 Answer:24002b10         h323.cxx(2157)  H225    Fast start open:
  {
    forwardLogicalChannelNumber = 101
    forwardLogicalChannelParameters = {
      dataType = nullData <<null>>
      multiplexParameters = none <<null>>
    }
    reverseLogicalChannelParameters = {
      dataType = audioData g729AnnexA 2
      multiplexParameters = h2250LogicalChannelParameters {
        sessionID = 1
        mediaChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2752
        }
        mediaControlChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2753
        }
        silenceSuppression = FALSE
      }
    }
  }
531:14:32.238   H225 Answer:24002b10         h323.cxx(4676)  H323    CreateLogicalChannel - reverse channel
531:14:32.238   H225 Answer:24002b10     h323caps.cxx(2330)  H323    FindCapability: audioData
531:14:32.238   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 23 to 2
531:14:32.238   H225 Answer:24002b10     h323caps.cxx(2375)  H323    Found capability: G.729A <5>
531:14:32.238   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 23 to 2
531:14:32.238   H225 Answer:24002b10     h323caps.cxx(2267)  H323    FindCapability: G.729A <5>
531:14:32.238   H225 Answer:24002b10     h323caps.cxx(2153)  H323    Added capability: G.729A <5>
531:14:32.238   H225 Answer:24002b10     channels.cxx(979)   H323RTP OnReceivedPDU for channel: T-0
531:14:32.238   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability tx frames left at 2 as remote allows 2
531:14:32.238   H225 Answer:24002b10         h323.cxx(2157)  H225    Fast start open:
  {
    forwardLogicalChannelNumber = 101
    forwardLogicalChannelParameters = {
      dataType = audioData g711Ulaw64k 20
      multiplexParameters = h2250LogicalChannelParameters {
        sessionID = 1
        mediaGuaranteedDelivery = FALSE
        mediaControlChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2753
        }
        mediaControlGuaranteedDelivery = FALSE
        silenceSuppression = FALSE
      }
    }
  }
531:14:32.239   H225 Answer:24002b10         h323.cxx(4691)  H323    CreateLogicalChannel - forward channel
531:14:32.239   H225 Answer:24002b10     h323caps.cxx(2330)  H323    FindCapability: audioData
531:14:32.239   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 150 to 20
531:14:32.239   H225 Answer:24002b10     h323caps.cxx(2375)  H323    Found capability: G.711-uLaw-64k <2>
531:14:32.239   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability rx frames left at 20 as remote allows 20
531:14:32.239   H225 Answer:24002b10     channels.cxx(979)   H323RTP OnReceivedPDU for channel: R-101
531:14:32.239   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability rx frames left at 20 as remote allows 20
531:14:32.239   H225 Answer:24002b10         h323.cxx(2157)  H225    Fast start open:
  {
    forwardLogicalChannelNumber = 101
    forwardLogicalChannelParameters = {
      dataType = nullData <<null>>
      multiplexParameters = none <<null>>
    }
    reverseLogicalChannelParameters = {
      dataType = audioData g711Ulaw64k 20
      multiplexParameters = h2250LogicalChannelParameters {
        sessionID = 1
        mediaChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2752
        }
        mediaControlChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 06                                        ....
          }
          tsapIdentifier = 2753
        }
        silenceSuppression = FALSE
      }
    }
  }
531:14:32.240   H225 Answer:24002b10         h323.cxx(4676)  H323    CreateLogicalChannel - reverse channel
531:14:32.240   H225 Answer:24002b10     h323caps.cxx(2330)  H323    FindCapability: audioData
531:14:32.240   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 150 to 20
531:14:32.240   H225 Answer:24002b10     h323caps.cxx(2375)  H323    Found capability: G.711-uLaw-64k <2>
531:14:32.240   H225 Answer:24002b10     h323caps.cxx(1017)  H323    Capability tx frames reduced from 150 to 20
531:14:32.240   H225 Answer:24002b10     h323caps.cxx(2267)  H323    FindCapability: G.711-uLaw-64k <2>
531:14:32.240   H225 Answer:24002b10     h323caps.cxx(2153)  H323    Added capability: G.711-uLaw-64k <2>
531:14:32.240   H225 Answer:24002b10     channels.cxx(979)   H323RTP OnReceivedPDU for channel: T-0
531:14:32.240   H225 Answer:24002b10     h323caps.cxx(1022)  H323    Capability tx frames left at 20 as remote allows 20
531:14:32.241   H225 Answer:24002b10         h323.cxx(2171)  H225    Opened 8 fast start channels
=-= In OnAnswerCall for call 7002
                - Progress Indicator: 3
                - Inserting PI of 8 into ALERTING message
531:14:32.241   H225 Answer:24002b10         h323.cxx(2792)  H323    Answering call: AnswerCallDeferredWithMedia
        -- Executing [2401@default:1] Dial("H323/ip$10.0.5.4:23204/7002", "SIP/2401") in new stack
531:14:32.241   H225 Answer:24002b10         h323.cxx(4445)  H245    Default OnSelectLogicalChannels, FastStartResponse
        -- Started logical channel: sending G.711-ALaw-64k
                -- channelsOpen = 1
                External RTP Session Starting
                RTP channel id 1 parameters:
                -- remoteIpAddress: 10.0.5.6
                -- remotePort: 2752
                -- ExternalIpAddress: 10.0.5.10
                -- ExternalPort: 15214
        -- Started logical channel: receiving G.711-ALaw-64k
                -- channelsOpen = 2
                External RTP Session Starting
                RTP channel id 1 parameters:
                -- remoteIpAddress: 10.0.5.6
                -- remotePort: 2752
Audio is at 10.0.5.10 port 18832
Adding codec 0x8 (alaw) to SDP
Adding codec 0x4 (ulaw) to SDP
                -- ExternalIpAddress: 10.0.5.10
Reliably Transmitting (no NAT) to 10.0.5.100:5060:
INVITE sip:2401@10.0.5.100:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK25e28646;rport
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as18380c12
To: <sip:2401@10.0.5.100:5060>
Contact: <sip:Unknown@10.0.5.10>
Call-ID: 37f0fdae148e1be73774d0d402ff2e69@10.0.5.10
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 11 Mar 2020 07:17:55 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 202

v=0
o=root 27129 27129 IN IP4 10.0.5.10
s=session
c=IN IP4 10.0.5.10
t=0 0
m=audio 18832 RTP/AVP 8 0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

---
    -- Called 2401
                -- ExternalPort: 15214
        ExternalRTPChannel Destroyed
531:14:32.242   H225 Answer:24002b10         h323.cxx(4932)  H323    Bandwidth request: -0.0kb/s, available: 128.0kb/s
        ExternalRTPChannel Destroyed
531:14:32.242   H225 Answer:24002b10         h323.cxx(4932)  H323    Bandwidth request: -0.0kb/s, available: 128.0kb/s
        ExternalRTPChannel Destroyed
531:14:32.243   H225 Answer:24002b10         h323.cxx(4932)  H323    Bandwidth request: -0.0kb/s, available: 128.0kb/s
        ExternalRTPChannel Destroyed
531:14:32.243   H225 Answer:24002b10         h323.cxx(4932)  H323    Bandwidth request: -0.0kb/s, available: 128.0kb/s
        ExternalRTPChannel Destroyed
531:14:32.243   H225 Answer:24002b10         h323.cxx(4932)  H323    Bandwidth request: -0.0kb/s, available: 128.0kb/s
        ExternalRTPChannel Destroyed
531:14:32.243   H225 Answer:24002b10         h323.cxx(4932)  H323    Bandwidth request: -0.0kb/s, available: 128.0kb/s
531:14:32.243   H225 Answer:24002b10         h323.cxx(3376)  H225    Accepting fastStart for 2 channels
531:14:32.243   H225 Answer:24002b10     channels.cxx(920)   H323RTP OnSendingPDU
531:14:32.243   H225 Answer:24002b10         h323.cxx(2094)  H225    Build fastStart:
  {
    forwardLogicalChannelNumber = 101
    forwardLogicalChannelParameters = {
      dataType = audioData g711Alaw64k 150
      multiplexParameters = h2250LogicalChannelParameters {
        sessionID = 1
        mediaChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 0a                                        ....
          }
          tsapIdentifier = 15214
        }
        mediaGuaranteedDelivery = FALSE
        mediaControlChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 0a                                        ....
          }
          tsapIdentifier = 15215
        }
        silenceSuppression = FALSE
      }
    }
  }
531:14:32.244   H225 Answer:24002b10         h323.cxx(2099)  H225    Built fastStart for G.711-ALaw-64k <1>
531:14:32.244   H225 Answer:24002b10     channels.cxx(920)   H323RTP OnSendingPDU
531:14:32.244   H225 Answer:24002b10         h323.cxx(2094)  H225    Build fastStart:
  {
    forwardLogicalChannelNumber = 101
    forwardLogicalChannelParameters = {
      dataType = nullData <<null>>
      multiplexParameters = none <<null>>
    }
    reverseLogicalChannelParameters = {
      dataType = audioData g711Alaw64k 20
      multiplexParameters = h2250LogicalChannelParameters {
        sessionID = 1
        mediaGuaranteedDelivery = FALSE
        mediaControlChannel = unicastAddress iPAddress {
          network =  4 octets {
            0a 00 05 0a                                        ....
          }
          tsapIdentifier = 15215
        }
        silenceSuppression = FALSE
      }
    }
  }
531:14:32.244   H225 Answer:24002b10         h323.cxx(2099)  H225    Built fastStart for G.711-ALaw-64k <1>
531:14:32.245   H225 Answer:24002b10      h323pdu.cxx(553)   H225    Sending PDU [ip$10.0.5.10:1720/ip$10.0.5.4:23204] :
  {
    q931pdu = {
      protocolDiscriminator = 8
      callReference = 7002
      from = destination
      messageType = Progress
      IE: Progress-Indicator = {
        80 88                                              ..
      }
      IE: Display = {
        32 34 30 31 00                                     2401.
      }
      IE: User-User = {
        28 00 80 ac 84 06 00 08  91 4a 00 05 22 c0 09 00   (........J.."...
        00 3d 36 54 68 65 20 4e  75 46 6f 6e 65 20 4e 65   .=6The NuFone Ne
        ...
      }
    }
    h225pdu = {
      h323_uu_pdu = {
        h323_message_body = progress {
          protocolIdentifier = 0.0.8.2250.0.5
          destinationInfo = {
            vendor = {
              vendor = {
                t35CountryCode = 9
                t35Extension = 0
                manufacturerCode = 61
              }
              productId =  55 octets {
                54 68 65 20 4e 75 46 6f  6e 65 20 4e 65 74 77 6f   The NuFone Netwo
                72 6b 73 20 48 2e 33 32  33 20 43 68 61 6e 6e 65   rks H.323 Channe
                ...
              }
              versionId =  26 octets {
                31 2e 30 2e 30 20 28 4f  70 65 6e 48 33 32 33 20   1.0.0 (OpenH323
                76 31 2e 31 38 2e 30 29  00 00                     v1.18.0)..
              }
            }
            terminal = {
            }
            mc = FALSE
            undefinedNode = FALSE
          }
          callIdentifier = {
            guid =  16 octets {
              80 18 a8 dc ea 6d ea 01  44 00 5e 29 7b 51 00 00   .....m..D.^){Q..
            }
          }
          fastStart = 2 entries {
            [0]= 26 octets {
              00 00 64 0c 20 95 80 12  1d 00 01 00 0a 00 05 0a   ..d. ...........
              3b 6e 00 0a 00 05 0a 3b  6f 00                     ;n.....;o.
            }
            [1]= 23 octets {
              40 00 64 06 04 01 00 4c  20 13 80 0b 0d 00 01 00   @.d....L .......
              0a 00 05 0a 3b 6f 00                               ....;o.
            }
          }
          multipleCalls = FALSE
          maintainConnection = FALSE
        }
        h245Tunneling = TRUE
      }
    }
  }
531:14:32.246   H225 Answer:24002b10         h323.cxx(4374)  H323    InternalEstablishedConnectionCheck: connectionState=AwaitingLocalAnswer fastStartState=FastStartAcknowledged
531:14:32.247   H225 Answer:24002b10         h323.cxx(4374)  H323    InternalEstablishedConnectionCheck: connectionState=AwaitingLocalAnswer fastStartState=FastStartAcknowledged
531:14:32.247   H225 Answer:24002b10         h323.cxx(1816)  H225    Reading PDUs: callRef=7002

<--- SIP read from 10.0.5.100:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK25e28646;rport=5060
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as18380c12
To: <sip:2401@10.0.5.100:5060>
Call-ID: 37f0fdae148e1be73774d0d402ff2e69@10.0.5.10
CSeq: 102 INVITE
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Server: SIPPER for PhonerLite
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---

<--- SIP read from 10.0.5.100:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK25e28646;rport=5060
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as18380c12
To: <sip:2401@10.0.5.100:5060>;tag=009817fad561ea1196486182c34664a7
Call-ID: 37f0fdae148e1be73774d0d402ff2e69@10.0.5.10
CSeq: 102 INVITE
Contact: <sip:2401@10.0.5.100:5060;gr=808BCEE8-D561-EA11-9643-6182C34664A7>
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Supported: 100rel, replaces, from-change, gruu
Server: SIPPER for PhonerLite
Content-Length: 0


<------------->
--- (11 headers 0 lines) ---
    -- SIP/2401-e00291f0 is ringing
        Sending alerting
531:14:32.322   ThreadID=0x7f64600ae700         h323.cxx(2792)  H323    Answering call: AnswerCallPending
531:14:32.322   ThreadID=0x7f64600ae700         h323.cxx(2881)  H225    Sending Alerting PDU
531:14:32.322   ThreadID=0x7f64600ae700      h323pdu.cxx(553)   H225    Sending PDU [ip$10.0.5.10:1720/ip$10.0.5.4:23204] :
  {
    q931pdu = {
      protocolDiscriminator = 8
      callReference = 7002
      from = destination
      messageType = Alerting
      IE: Progress-Indicator = {
        80 88                                              ..
      }
      IE: Display = {
        32 34 30 31 00                                     2401.
      }
      IE: User-User = {
        23 80 06 00 08 91 4a 00  05 22 c0 09 00 00 3d 36   #.....J.."....=6
        54 68 65 20 4e 75 46 6f  6e 65 20 4e 65 74 77 6f   The NuFone Netwo
        ...
      }
    }
    h225pdu = {
      h323_uu_pdu = {
        h323_message_body = alerting {
          protocolIdentifier = 0.0.8.2250.0.5
          destinationInfo = {
            vendor = {
              vendor = {
                t35CountryCode = 9
                t35Extension = 0
                manufacturerCode = 61
              }
              productId =  55 octets {
                54 68 65 20 4e 75 46 6f  6e 65 20 4e 65 74 77 6f   The NuFone Netwo
                72 6b 73 20 48 2e 33 32  33 20 43 68 61 6e 6e 65   rks H.323 Channe
                ...
              }
              versionId =  26 octets {
                31 2e 30 2e 30 20 28 4f  70 65 6e 48 33 32 33 20   1.0.0 (OpenH323
                76 31 2e 31 38 2e 30 29  00 00                     v1.18.0)..
              }
            }
            terminal = {
            }
            mc = FALSE
            undefinedNode = FALSE
          }
          callIdentifier = {
            guid =  16 octets {
              80 18 a8 dc ea 6d ea 01  44 00 5e 29 7b 51 00 00   .....m..D.^){Q..
            }
          }
          multipleCalls = FALSE
          maintainConnection = FALSE
        }
        h245Tunneling = TRUE
      }
    }
  }
531:14:32.323 ThreadID=0x7f64600ae700         h323.cxx(4374)  H323    InternalEstablishedConnectionCheck: connectionState=AwaitingLocalAnswer fastStartState=FastStartAcknowledged
 
Really destroying SIP dialog '00F535E8-D561-EA11-9642-6182C34664A7@10.0.5.100' Method: REGISTER
   
531:14:36.859   H225 Answer:24002b10      h323pdu.cxx(553)   H225    Receiving PDU [ip$10.0.5.10:1720/ip$10.0.5.4:23204] :
  {
    q931pdu = {
      protocolDiscriminator = 8
      callReference = 7002
      from = originator
      messageType = ReleaseComplete
      IE: Cause - Normal call clearing = {
        81 90                                              ..
      }
      IE: User-User = {
        05 80 06 00 08 91 4a 00  05 11 00 11 00 80 18 a8   ......J.........
        dc ea 6d ea 01 44 00 5e  29 7b 51 00 00 6b         ..m..D.^){Q..k
      }
    }
    h225pdu = {
      h323_uu_pdu = {
        h323_message_body = releaseComplete {
          protocolIdentifier = 0.0.8.2250.0.5
          callIdentifier = {
            guid =  16 octets {
              80 18 a8 dc ea 6d ea 01  44 00 5e 29 7b 51 00 00   .....m..D.^){Q..
            }
          }
        }
        h245Tunneling = FALSE
      }
    }
  }
531:14:36.860   H225 Answer:24002b10         h323.cxx(1876)  H225    Handling PDU: ReleaseComplete callRef=7002
531:14:36.860   H225 Answer:24002b10      h323neg.cxx(340)   H245    Stopping MasterSlaveDetermination: state=Idle
531:14:36.860   H225 Answer:24002b10      h323neg.cxx(572)   H245    Stopping TerminalCapabilitySet: state=Idle
        -- Received RELEASE COMPLETE message...
        -- ClearCall: Request to clear call with token ip$10.0.5.4:23204/7002, cause EndedByCallerAbort
531:14:36.860   H225 Answer:24002b10       h323ep.cxx(2119)  H323    Clearing connection ip$10.0.5.4:23204/7002 reason=EndedByCallerAbort
531:14:36.860   H225 Answer:24002b10         h323.cxx(1629)  H323    Call end reason for ip$10.0.5.4:23204/7002 set to EndedByCallerAbort
531:14:36.860   H225 Answer:24002b10         h323.cxx(1647)  H225    Sending release complete PDU: callRef=7002

Scheduling destruction of SIP dialog '37f0fdae148e1be73774d0d402ff2e69@10.0.5.10' in 32000 ms (Method: INVITE)
Reliably Transmitting (no NAT) to 10.0.5.100:5060:
CANCEL sip:2401@10.0.5.100:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK25e28646;rport
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as18380c12
To: <sip:2401@10.0.5.100:5060>
Call-ID: 37f0fdae148e1be73774d0d402ff2e69@10.0.5.10
CSeq: 102 CANCEL
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0


---
      -- Sending RELEASE COMPLETE
Scheduling destruction of SIP dialog '37f0fdae148e1be73774d0d402ff2e69@10.0.5.10' in 32000 ms (Method: INVITE)
  == Spawn extension (default, 2401, 1) exited non-zero on 'H323/ip$10.0.5.4:23204/7002'
531:14:36.861   H225 Answer:24002b10      h323pdu.cxx(553)   H225    Sending PDU [ip$10.0.5.10:1720/ip$10.0.5.4:23204] :
  {
    q931pdu = {
      protocolDiscriminator = 8
      callReference = 7002
      from = destination
      messageType = ReleaseComplete
      IE: Cause - Normal call clearing = {
        80 90                                              ..
      }
      IE: User-User = {
        25 80 06 00 08 91 4a 00  05 01 11 00 80 18 a8 dc   %.....J.........
        ea 6d ea 01 44 00 5e 29  7b 51 00 00 02 80 01 00   .m..D.^){Q......
      }
    }
    h225pdu = {
      h323_uu_pdu = {
        h323_message_body = releaseComplete {
          protocolIdentifier = 0.0.8.2250.0.5
          callIdentifier = {
            guid =  16 octets {
              80 18 a8 dc ea 6d ea 01  44 00 5e 29 7b 51 00 00   .....m..D.^){Q..
            }
          }
        }
        h245Tunneling = FALSE
      }
    }
  }

<--- SIP read from 10.0.5.100:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK25e28646;rport=5060
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as18380c12
To: <sip:2401@10.0.5.100:5060>;tag=009817fad561ea1196486182c34664a7
Call-ID: 37f0fdae148e1be73774d0d402ff2e69@10.0.5.10
CSeq: 102 CANCEL
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Server: SIPPER for PhonerLite
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
        -- ClearCall: Request to clear call with token ip$10.0.5.4:23204/7002, cause EndedByTransportFail

<--- SIP read from 10.0.5.100:5060 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK25e28646;rport=5060
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as18380c12
To: <sip:2401@10.0.5.100:5060>;tag=009817fad561ea1196486182c34664a7
Call-ID: 37f0fdae148e1be73774d0d402ff2e69@10.0.5.10
CSeq: 102 INVITE
Contact: <sip:2401@10.0.5.100:5060;gr=808BCEE8-D561-EA11-9643-6182C34664A7>
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Server: SIPPER for PhonerLite
Content-Length: 0


<------------->
531:14:36.862          H323 Cleaner       h323ep.cxx(2176)  H323    Cleaning up connections
--- (10 headers 0 lines) ---
Transmitting (no NAT) to 10.0.5.100:5060:
ACK sip:2401@10.0.5.100:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.10:5060;branch=z9hG4bK25e28646;rport
From: "Unknown" <sip:Unknown@10.0.5.10>;tag=as18380c12
To: <sip:2401@10.0.5.100:5060>;tag=009817fad561ea1196486182c34664a7
Contact: <sip:Unknown@10.0.5.10>
Call-ID: 37f0fdae148e1be73774d0d402ff2e69@10.0.5.10
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0


---
Really destroying SIP dialog '37f0fdae148e1be73774d0d402ff2e69@10.0.5.10' Method: INVITE
531:14:36.863   H225 Answer:24002b10       h323ep.cxx(2119)  H323    Clearing connection ip$10.0.5.4:23204/7002 reason=EndedByTransportFail
531:14:36.863           H323 Cleaner         h323.cxx(1689)  H323    Connection ip$10.0.5.4:23204/7002 closing: connectionState=AwaitingLocalAnswer
531:14:36.863           H323 Cleaner      h323neg.cxx(340)   H245    Stopping MasterSlaveDetermination: state=Idle
531:14:36.863           H323 Cleaner      h323neg.cxx(572)   H245    Stopping TerminalCapabilitySet: state=Idle
531:14:36.863           H323 Cleaner     channels.cxx(685)   LogChan Cleaning up T-101
                channelsOpen = 1
531:14:36.863           H323 Cleaner       h323ep.cxx(2509)  H323    Stopped sending logical channel: G.711-ALaw-64k <1>
531:14:36.863           H323 Cleaner     channels.cxx(713)   LogChan Cleaned up T-101
531:14:36.863           H323 Cleaner     channels.cxx(685)   LogChan Cleaning up R-101
                channelsOpen = 0
531:14:36.863           H323 Cleaner       h323ep.cxx(2509)  H323    Stopped receiving logical channel: G.711-ALaw-64k <1>
        ExternalRTPChannel Destroyed
531:14:36.864           H323 Cleaner         h323.cxx(4932)  H323    Bandwidth request: -0.0kb/s, available: 128.0kb/s
531:14:36.864   H225    Signal channel closed.
        ExternalRTPChannel Destroyed
531:14:36.864           H323 Cleaner         h323.cxx(4932)  H323    Bandwidth request: -0.0kb/s, available: 128.0kb/s
531:14:36.864           H323 Cleaner   transports.cxx(1143)  H323    H323Transport::Close
531:14:36.865           H323 Cleaner   transports.cxx(1240)  H323    H323Transport::CleanUpOnTermination for H225 Answer:24002b10
531:14:36.865           H323 Cleaner         h323.cxx(1757)  H323    Connection ip$10.0.5.4:23204/7002 terminated.
-- 10.0.5.4 has stopped calling
        == H.323 Connection deleted.
531:14:36.865           H323 Cleaner         h323.cxx(1579)  H323    Connection ip$10.0.5.4:23204/7002 deleted.
531:14:36.865           H323 Cleaner       h323ep.cxx(2176)  H323    Cleaning up connections
   
Really destroying SIP dialog '803F93ED-D561-EA11-9646-6182C34664A7@10.0.5.100' Method: ACK

Звонок с Asterisk -> Avaya, та же ошибка 404:
Код: выделить все
<--- SIP read from 10.0.5.100:5060 --->
INVITE sip:3158@10.0.5.10 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK800bec14da61ea1196506182c34664a7;rport
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=2965554021
To: <sip:3158@10.0.5.10>
Call-ID: 800BEC14-DA61-EA11-964F-6182C34664A7@10.0.5.100
CSeq: 16 INVITE
Contact: <sip:2401@10.0.5.100:5060;gr=808BCEE8-D561-EA11-9643-6182C34664A7>
Content-Type: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Max-Forwards: 70
User-Agent: SIPPER for PhonerLite
Session-Expires: 1800
Supported: 100rel, replaces, from-change, gruu, timer
P-Preferred-Identity: <sip:2401@10.0.5.10>
Content-Length:   346

v=0
o=- 2193740670 1 IN IP4 10.0.5.100
s=SIPPER for PhonerLite
c=IN IP4 10.0.5.100
t=0 0
m=audio 5062 RTP/AVP 8 0 3 9 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:3484791734
a=sendrecv

<------------->
--- (15 headers 16 lines) ---
Sending to 10.0.5.100 : 5060 (NAT)
Using INVITE request as basis request - 800BEC14-DA61-EA11-964F-6182C34664A7@10.0.5.100

<--- Reliably Transmitting (no NAT) to 10.0.5.100:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK800bec14da61ea1196506182c34664a7;received=10.0.5.100;rport=5060
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=2965554021
To: <sip:3158@10.0.5.10>;tag=as7d48529a
Call-ID: 800BEC14-DA61-EA11-964F-6182C34664A7@10.0.5.100
CSeq: 16 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4620bd8b"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '800BEC14-DA61-EA11-964F-6182C34664A7@10.0.5.100' in 32000 ms (Method: INVITE)
Found user '2401'

<--- SIP read from 10.0.5.100:5060 --->
ACK sip:3158@10.0.5.10 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK800bec14da61ea1196506182c34664a7;rport
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=2965554021
To: <sip:3158@10.0.5.10>;tag=as7d48529a
Call-ID: 800BEC14-DA61-EA11-964F-6182C34664A7@10.0.5.100
CSeq: 16 ACK
Content-Length: 0


<------------->
--- (7 headers 0 lines) ---

<--- SIP read from 10.0.5.100:5060 --->
INVITE sip:3158@10.0.5.10 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK800bec14da61ea1196516182c34664a7;rport
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=2965554021
To: <sip:3158@10.0.5.10>
Call-ID: 800BEC14-DA61-EA11-964F-6182C34664A7@10.0.5.100
CSeq: 17 INVITE
Contact: <sip:2401@10.0.5.100:5060;gr=808BCEE8-D561-EA11-9643-6182C34664A7>
Proxy-Authorization: Digest username="2401", realm="asterisk", nonce="4620bd8b", uri="sip:3158@10.0.5.10", response="aafc841ac23aad1dce67587625a2096f", algorithm=MD5
Content-Type: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Max-Forwards: 70
User-Agent: SIPPER for PhonerLite
Session-Expires: 1800
Supported: 100rel, replaces, from-change, gruu, timer
P-Preferred-Identity: <sip:2401@10.0.5.10>
Content-Length:   346

v=0
o=- 2193740670 1 IN IP4 10.0.5.100
s=SIPPER for PhonerLite
c=IN IP4 10.0.5.100
t=0 0
m=audio 5062 RTP/AVP 8 0 3 9 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:3484791734
a=sendrecv

<------------->
--- (16 headers 16 lines) ---
Sending to 10.0.5.100 : 5060 (NAT)
Using INVITE request as basis request - 800BEC14-DA61-EA11-964F-6182C34664A7@10.0.5.100
Found user '2401'
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 3
Found RTP audio format 9
Found RTP audio format 18
Found RTP audio format 101
Peer audio RTP is at port 10.0.5.100:5062
Found description format PCMA for ID 8
Found description format PCMU for ID 0
Found description format GSM for ID 3
Found description format G722 for ID 9
Found description format G729 for ID 18
Got unsupported a:fmtp in SDP offer
Found description format telephone-event for ID 101
Got unsupported a:fmtp in SDP offer
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x110e (gsm|ulaw|alaw|g729|g722)/video=0x0 (nothing), combined - 0xc (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x0 (nothing), peer - 0x1 (telephone-event), combined - 0x0 (nothing)
Peer audio RTP is at port 10.0.5.100:5062
Looking for 3158 in from-internal (domain 10.0.5.10)

<--- Reliably Transmitting (no NAT) to 10.0.5.100:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK800bec14da61ea1196516182c34664a7;received=10.0.5.100;rport=5060
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=2965554021
To: <sip:3158@10.0.5.10>;tag=as7d48529a
Call-ID: 800BEC14-DA61-EA11-964F-6182C34664A7@10.0.5.100
CSeq: 17 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '800BEC14-DA61-EA11-964F-6182C34664A7@10.0.5.100' in 32000 ms (Method: INVITE)

<--- SIP read from 10.0.5.100:5060 --->
ACK sip:3158@10.0.5.10 SIP/2.0
Via: SIP/2.0/UDP 10.0.5.100:5060;branch=z9hG4bK800bec14da61ea1196516182c34664a7;rport
From: "PhonerLite" <sip:2401@10.0.5.10>;tag=2965554021
To: <sip:3158@10.0.5.10>;tag=as7d48529a
Call-ID: 800BEC14-DA61-EA11-964F-6182C34664A7@10.0.5.100
CSeq: 17 ACK
Proxy-Authorization: Digest username="2401", realm="asterisk", nonce="4620bd8b", uri="sip:3158@10.0.5.10", response="aafc841ac23aad1dce67587625a2096f", algorithm=MD5
Content-Length: 0

Как я понимаю, к h323 Asterisk не обращается, чтобы передать звонок Avaya!
Egorka_28rus
 
Сообщений: 16
Зарегистрирован: 20 фев 2020, 11:26

След.

Вернуться в Вопросы новичков

Кто сейчас на форуме

Сейчас этот форум просматривают: Google [Bot] и гости: 44

© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH