Yate Community Forum

General Category => Yate users hangout place => Topic started by: cc08 on March 12, 2013, 01:45:12 PM

Title: ipv6=enable
Post by: cc08 on March 12, 2013, 01:45:12 PM
Hi, Yatemans!

Since the topic is relevant for both the server and client, I write here.
I do what I can, to accelerate the adoption of ipv6 in Yate.
With the following below  modifications of code, I managed Yate to listen on v6 interface and even accept sip registration.
But answer message Yate generates with incorrect header "Contact".
The experiment involved Linphone v.2.0.3 on Android, Linphone v.3.5.2 on PC and Yate:

With Yate build 5416 I do:
patch ./modules/ysipchan.cpp ysipchan.diff
patch ./modules/yrtpchan.cpp yrtpchan.diff
patch ./libs/ysdp/session.cpp session.diff
patch ./libs/ysdp/parser.cpp parser.diff
make xdebug

Difference from default configuration:
yate.conf:
[general]
modload=disable
[modules]
rmanager.yate=yes
ysipchan.yate=yes
regfile.yate=yes
regexroute.yate=yes
tonegen.yate=yes
yrtpchan.yate=yes
[debug]
sip=level 9
yrtp=level 9

ysipchan.conf
[general]
ipv6=enable

yrtpchan.conf
[general]
ipv6=enable



Unfortunately, even in the full xdebug log  I could not find a function that generates a header Contact. (which always -  ':::')
Please, help!


ps: I understand that this patch is a very primitive and I am sure that there is an error, because I do not know the language C. :-(
But I hope that anybody can to finish...
Title: Re: ipv6=enable
Post by: Diana Cionoiu on March 25, 2013, 11:08:38 AM
Thank you for the patch. We should add ipv6 support anyway in Yate at some point. The major issue it's with the area where we do NAT.