[asterisk-dev] IAX hardphone

Bill Shaw b.shaw at comcast.net
Tue Feb 15 10:21:44 CST 2011


Just thought I'd confirm that the UDP checksum being incorrect was my 
problem (thank you Mihai),  and also that Wireshark incorrectly handles 
the UDP checksum.  I've corrected my checksum routine and deleted 
Wireshark - fallen back to Ethereal.

Thank you once again to all who chipped in,

Bill


On 2/14/2011 4:39 PM, Bill Shaw wrote:
> Yes,  this is very interesting.  Ethereal shows a udp checksum error,  
> Wireshark says the udp checksum is disabled.  I'm using the Microchip 
> Stand Alone Etherent Controller's DMA engine to calculate the IP and 
> UDP checksums,  IP's OK,  UDP is wrong.   Very interesting.
>
> Thanks again,
>
> Bill
>
> On 2/14/2011 4:04 PM, Kevin P. Fleming wrote:
>> On 02/14/2011 02:52 PM, Mihai Balea wrote:
>>>
>>> On Feb 14, 2011, at 3:44 PM, Bill Shaw wrote:
>>>>
>>>>
>>>> http://b.shaw.home.comcast.net/accept.pcap
>>>
>>> One thing i noticed is that UDP packets sent by your DSP device have
>>> incorrect checksums. Maybe that has something to do with your 
>>> problem...
>>
>> That is very likely the problem; the UDP packet is never being seen 
>> by Asterisk at all. This can be tested by setting 'nochecksums = yes' 
>> in the general section of iax.conf.
>>
>
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



More information about the asterisk-dev mailing list