Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000324 [Yate - Yet Another Telephony Engine] module minor always 2012-11-26 17:02 2012-12-10 14:18
Reporter Vladislav View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 4.x
Summary 0000324: sip to iax mulaw problem
Description Hello , I have some strange from sip to iax. Call is connect with mulaw voice codec - but no sound. In first i have DataTranslator::attachChain [0x19067340] 'mulaw' -> [0x19079430] '(null)' not possible than DataTranslator::attachChain [0x19067340] 'mulaw' -> [0x19079430] 'mulaw' succeeded.
Additional Information
Tags No tags attached.
Attached Files txt file icon sip_to_iax_mulaw.txt [^] (32,706 bytes) 2012-11-26 17:02
? file icon mulaw.pcap [^] (144,587 bytes) 2012-11-27 11:43
txt file icon mulaw.txt [^] (587,516 bytes) 2012-11-27 11:43
txt file icon mulaw1.txt [^] (601,729 bytes) 2012-11-29 16:49
? file icon mulaw1.pcap [^] (83,141 bytes) 2012-11-29 16:49
txt file icon mulaw2.txt [^] (755,232 bytes) 2012-11-29 18:43

- Relationships

-  Notes
(0000488)
marian (developer)
2012-11-26 19:32

The log contains the following line:
<iax/1:ALL> YIAXSource 'audio' destroyed total=0 [0x19067340]
This indicates there were no media packets received on IAX transaction.
Please check if the remove IAX party do send media, using Wireshark or another network sniffer.
If the remote party do send media, please attach a capture and a yate log with sniffer enabled and time shown in log (command line option -Dt).
If there are network issues the packets sent by yate may not reach the destination also.
(0000489)
Vladislav (reporter)
2012-11-27 11:42
edited on: 2012-11-29 15:43

add new trace with Dt (mulaw.txt) and pcap by tcdpump (mulaw.pcap). Maybe problem because we got packet IAX-stop sounds.

(0000490)
marian (developer)
2012-11-29 15:35

I'm not sure what STOP SOUNDS control should do: it's not documented.
Anyway, the pcap and log file reffer to different calls: see the source/destination call numbers.
(0000491)
Vladislav (reporter)
2012-11-29 15:43

In mulaw.txt and mulaw.pcap the same calls and identical source number but destination number replaced by manual and in one more digit 8.
(0000492)
marian (developer)
2012-11-29 16:10

It was not about calling/called party number.
I was talking about IAX transaction call numbers (allocated by IAX: source call number allocated by party initiating the transaction and destination call number allocated by destination party).
These numbers, along with source/destination ip/port are used to identify frames belonging to the same transaction.

0000003.607036 <iaxengine:INFO> Sending frame.
-----
VOICE (0x02) - G.711 mu-law (0x00000004)
  Outgoing to 30.19.210.11:4569 (Local address: 30.19.210.10:4569)
  Call (Local:Remote): 19198:6488. Timestamp: 446. Retrans: false. Sequence numbers: Out: 1 In: 4
  No Information Element(s)
-----

Call (Local:Remote): 19198:6488
Indicates yate local/remote transaction number

If the transaction is outgoing local call number is the source call number.
(0000493)
Vladislav (reporter)
2012-11-29 16:50

Add with same Call (Local:Remote) - mulaw1.txt and mulaw1.pcap.
(0000494)
marian (developer)
2012-11-29 17:47

Can you, please, attach a log with sniffer enabled?
I would like to see the chan.hangup message sent the iax channel (it contains audio packet statistics).
(0000495)
marian (developer)
2012-12-03 17:30

Found the issue:
Trunk frames with miniframes without timestamps are not handled, they are dropped.
Only trunk frames with miniframes containing timestamps are handled.
(0000496)
marian (developer)
2012-12-07 17:43

Fixed in SVN Rev. 5344
(0000497)
Vladislav (reporter)
2012-12-10 14:18

Big thanks. Work.

- Issue History
Date Modified Username Field Change
2012-11-26 17:02 Vladislav New Issue
2012-11-26 17:02 Vladislav File Added: sip_to_iax_mulaw.txt
2012-11-26 19:32 marian Note Added: 0000488
2012-11-27 11:42 Vladislav Note Added: 0000489
2012-11-27 11:43 Vladislav File Added: mulaw.pcap
2012-11-27 11:43 Vladislav File Added: mulaw.txt
2012-11-29 15:35 marian Note Added: 0000490
2012-11-29 15:43 Vladislav Note Added: 0000491
2012-11-29 15:43 Vladislav Note Edited: 0000489
2012-11-29 16:10 marian Note Added: 0000492
2012-11-29 16:49 Vladislav File Added: mulaw1.txt
2012-11-29 16:49 Vladislav File Added: mulaw1.pcap
2012-11-29 16:50 Vladislav Note Added: 0000493
2012-11-29 17:47 marian Note Added: 0000494
2012-11-29 18:43 Vladislav File Added: mulaw2.txt
2012-12-03 17:30 marian Note Added: 0000495
2012-12-07 17:43 marian Note Added: 0000496
2012-12-10 14:18 Vladislav Note Added: 0000497


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker