BDenis писал(а):
скачай slmonitor и выложи логи обоих шлюзов в момент прохождения dtfm.
Касательно "обоих шлюзов" - схема следующая:
PSTN -> 6008s -> asterisk
slmonitor показывает, что набранные добавочные цифры Dlink воспринимает правильно:
11:48:10 [692978] 0: Get(1)
11:48:10 [692984] 0: Get(4)
11:48:11 [692990] 0: Get(9)
Но при этом до астериска доходит правильный dtmf 1 раз из 6-8.
Ещё заметил один момент, Dlink отправляет dtmf c "Payload Type" = 101 (из лога видно "type 101"), и при этом в настройках может стоять любое значение (при снятии этого лога "Payload Type" = 98 ).
Лог RTP трафика с астериска (был набран добавочный номер 149, при этом до астериска добежало какое-то другое значение, т.к. он ответил, что данный номер не зарегистрирован; 192.168.202.105 - IP Dlink'a):
Got RTP packet from 192.168.202.105:9000 (type 0, seq 55111, ts 554363840, len 160)
Sent RTP packet to 192.168.202.105:9000 (type 0, seq 19597, ts 18240, len 160)
Got RTP packet from 192.168.202.105:9000 (type 0, seq 55112, ts 554364000, len 160)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55113, ts 554364080, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55113, ts 554364080, len 4, mark 1, event 00000001, end 0, duration 160)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55114, ts 554364080, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55114, ts 554364080, len 4, mark 0, event 00000001, end 0, duration 320)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55115, ts 554364080, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55115, ts 554364080, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55116, ts 554364080, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55116, ts 554364080, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55117, ts 554364080, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55117, ts 554364080, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55118, ts 554364080, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55118, ts 554364080, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55119, ts 554364080, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55119, ts 554364080, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 0, seq 55120, ts 554364160, len 160)
Got RTP packet from 192.168.202.105:9000 (type 0, seq 55126, ts 554365120, len 160)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55127, ts 554365200, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55127, ts 554365200, len 4, mark 1, event 00000001, end 0, duration 160)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55128, ts 554365200, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55128, ts 554365200, len 4, mark 0, event 00000001, end 0, duration 320)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55129, ts 554365200, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55129, ts 554365200, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55130, ts 554365200, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55130, ts 554365200, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55131, ts 554365200, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55131, ts 554365200, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55132, ts 554365200, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55132, ts 554365200, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55133, ts 554365200, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55133, ts 554365200, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 0, seq 55134, ts 554365280, len 160)
Got RTP packet from 192.168.202.105:9000 (type 0, seq 55135, ts 554365440, len 160)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55136, ts 554365520, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55136, ts 554365520, len 4, mark 1, event 00000001, end 0, duration 160)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55137, ts 554365520, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55137, ts 554365520, len 4, mark 0, event 00000001, end 0, duration 320)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55138, ts 554365520, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55138, ts 554365520, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55139, ts 554365520, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55139, ts 554365520, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55140, ts 554365520, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55140, ts 554365520, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55141, ts 554365520, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55141, ts 554365520, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55142, ts 554365520, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55142, ts 554365520, len 4, mark 0, event 00000001, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 0, seq 55143, ts 554365600, len 160)
Got RTP packet from 192.168.202.105:9000 (type 0, seq 55163, ts 554368800, len 160)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55164, ts 554368880, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55164, ts 554368880, len 4, mark 1, event 00000004, end 0, duration 160)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55165, ts 554368880, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55165, ts 554368880, len 4, mark 0, event 00000004, end 0, duration 320)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55166, ts 554368880, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55166, ts 554368880, len 4, mark 0, event 00000004, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55167, ts 554368880, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55167, ts 554368880, len 4, mark 0, event 00000004, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55168, ts 554368880, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55168, ts 554368880, len 4, mark 0, event 00000004, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55169, ts 554368880, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55169, ts 554368880, len 4, mark 0, event 00000004, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55170, ts 554368880, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55170, ts 554368880, len 4, mark 0, event 00000004, end 1, duration 640)
Sent RTP packet to 192.168.202.105:9000 (type 0, seq 19623, ts 27784, len 160)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55201, ts 554373680, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55201, ts 554373680, len 4, mark 1, event 00000009, end 0, duration 160)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55202, ts 554373680, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55202, ts 554373680, len 4, mark 0, event 00000009, end 0, duration 320)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55203, ts 554373680, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55203, ts 554373680, len 4, mark 0, event 00000009, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55204, ts 554373680, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55204, ts 554373680, len 4, mark 0, event 00000009, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55205, ts 554373680, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55205, ts 554373680, len 4, mark 0, event 00000009, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55206, ts 554373680, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55206, ts 554373680, len 4, mark 0, event 00000009, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 101, seq 55207, ts 554373680, len 4)
Got rfc2833 RTP packet from 192.168.202.105:9000 (type 101, seq 55207, ts 554373680, len 4, mark 0, event 00000009, end 1, duration 640)
Got RTP packet from 192.168.202.105:9000 (type 0, seq 55208, ts 554373760, len 160)
Sent RTP packet to 192.168.202.105:9000 (type 0, seq 19624, ts 27944, len 160)