Hi Juha! On 01.12.2012, at 12:55, Juha Heinanen wrote:
> Raphael Coeffic writes: > >> fixed IPv6 support > > is it possible to somehow specify both ipv4 and ipv6 media_ip in > sems.conf? > No, at least, not for the same interface. At the moment, you will need two distinct interfaces. Normally, you would define two interfaces, one with sip_ip=[IPv4] and media_ip=[IPv4], and one with sip_ip=[IPv6] and media_ip=[IPv6]. So you will need to use the additional_interfaces parameter to define the additional one. However, I have a patch which is not yet ported to master, but will be shortly, which allows to define signaling-only as well as media-only interfaces. This would allow you to combine IPv6 signaling with IPv4 media and vice-versa. But this means that you will have to specify the outbound interface for media explicitly, which does not really allow for using one or the other depending on what is in the SDP... Would that fit your purpose? If not, I might find some time to implement automatic media interface determination based on what is in the SDP. I think that should fix your scenario. Cheers -Raphael. > i tried with: > > media_ip=192.98.102.10 > media_ip=2002:c062:660a::1 > > and got to syslog: > > Dec 1 13:48:23 sip sems[8972]: [#b74fc6d0] [loadFile, > AmConfigReader.cpp:161] WARNING: while loading '/etc/sems/sems.conf': > overwriting configuration 'media_ip' value '192.98.102.10' with > '2002:c062:660a::1' > > if not, does it mean that i need to start two sems instances, one > using ipv4 and the other ipv6? > > what i would like sems to do is to use ipv4 or ipv6 is its sdp depending > on ip version in the sdp of incoming invite. > > for signaling, ipv4 only is fine with me, since i have proxy in front > of sems that can do the ipv6-ipv4 conversion. > > -- juha _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
