Hi guys hope you have a great new year. I would appreciate if anyone can point me in to the right direction .
I need to build a proxy to translate from ipv6 to ipv4, but kamailio should not process the registers or invites, only translate from ipv6 to ipv4 and forward all registrations over.
is that possible? thanks.
Can't answer whether or not it's possible as I haven't tried it - but,
Consider how this will impact the negotiation between clients and servers. If your B2BUA thinks calls are coming in from IPV4 (instead of IPV6), then it may not offer IPV6 in the invite. Similarly, if the client thinks it's connecting to your SIP infrastructure via V6, then it'll likely offer V6 in the invite which your B2BUA can't accept. ICE can probably help here, by offering both V4 and V6 candidates, but that's going to depend on your client/server setups. Unless you want Kamailio to proxy media s well, in which case you may be able to escape this, but by adding complexity you Kamailio.
If at all possible, I'd try to preserve the source protocol through to the end. If this is something you already thought of though, great! Would be good to hear what you come up with here.
Best, Colin
On Thu, Jan 5, 2017 at 12:24 PM, anfecora anfecora@gmail.com wrote:
Hi guys hope you have a great new year. I would appreciate if anyone can point me in to the right direction .
I need to build a proxy to translate from ipv6 to ipv4, but kamailio should not process the registers or invites, only translate from ipv6 to ipv4 and forward all registrations over.
is that possible? thanks.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi Guys, can any one please remind me how to change the request line to reply with a fqdn instead of an ip.
i am having an issue with the ipv4/ipv6 gateway and when the register is forwarded as normal behavier the request line goes out with the ipv4 ip not the ipv6 and need to replace that either with the ipv4 or a fqdn REGISTER sip:[345:00:00::] SIP/2.0.
again thanks for any input.
On Thu, Jan 5, 2017 at 9:36 AM, Colin Morelli colin.morelli@gmail.com wrote:
Can't answer whether or not it's possible as I haven't tried it - but,
Consider how this will impact the negotiation between clients and servers. If your B2BUA thinks calls are coming in from IPV4 (instead of IPV6), then it may not offer IPV6 in the invite. Similarly, if the client thinks it's connecting to your SIP infrastructure via V6, then it'll likely offer V6 in the invite which your B2BUA can't accept. ICE can probably help here, by offering both V4 and V6 candidates, but that's going to depend on your client/server setups. Unless you want Kamailio to proxy media s well, in which case you may be able to escape this, but by adding complexity you Kamailio.
If at all possible, I'd try to preserve the source protocol through to the end. If this is something you already thought of though, great! Would be good to hear what you come up with here.
Best, Colin
On Thu, Jan 5, 2017 at 12:24 PM, anfecora anfecora@gmail.com wrote:
Hi guys hope you have a great new year. I would appreciate if anyone can point me in to the right direction .
I need to build a proxy to translate from ipv6 to ipv4, but kamailio should not process the registers or invites, only translate from ipv6 to ipv4 and forward all registrations over.
is that possible? thanks.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
On Mon, Jan 09, 2017 at 07:25:36AM -0800, anfecora wrote:
Hi Guys, can any one please remind me how to change the request line to reply with a fqdn instead of an ip.
That should be $rd https://www.kamailio.org/wiki/cookbooks/4.2.x/pseudovariables#rd_-_domain_in...
On Jan 5, 2017, at 12:24 PM, anfecora anfecora@gmail.com wrote:
Hi guys hope you have a great new year. I would appreciate if anyone can point me in to the right direction .
I need to build a proxy to translate from ipv6 to ipv4, but kamailio should not process the registers or invites, only translate from ipv6 to ipv4 and forward all registrations over.
A bit more information about the situation would be helpful. What exactly are you trying to do?
is that possible?
6 to 4 translation is possible, but until we understand the situation I’m not sure we can be that helpful. Are these phones? If so are they dual stack? Is the underlying network dual stack? There’s a lot of work to do to get this right in a Kamailio config. You’ll need to run rtpengine to proxy the media if the endpoints are not dual stack. Who keeps the mapping of the v6 to v4 and v4 to v6 translations? How is that mapping determined? I’d recommend ds-lite if you are in a position to alter the network and the phones/systems allow for it.
HTH —FC
thanks.
Yes i am planning on proxing media. The case is that client will only talk ipv6 but the registrar only have ipv4 connectivity. Therefore need to create a proxy to translate this dialogs. thnking on using kamailio to receive the registration modify the packets and forward registrations in ipv4. I was thinking in using the asterisk kamailio example but instead of asterisk behind will be an sbc. Therefore kamailio will listen in ipv6 and translate over to ipv4 including media of course via rtpproxy.
On Jan 5, 2017, at 12:24 PM, anfecora anfecora@gmail.com wrote:
Hi guys hope you have a great new year. I would appreciate if anyone can point me in to the right direction .
I need to build a proxy to translate from ipv6 to ipv4, but kamailio
should not process the registers or invites, only translate from ipv6 to ipv4 and forward all registrations over.
A bit more information about the situation would be helpful. What exactly are you trying to do?
is that possible?
6 to 4 translation is possible, but until we understand the situation I’m not sure we can be that helpful. Are these phones? If so are they dual stack? Is the underlying network dual stack? There’s a lot of work to do to get this right in a Kamailio config. You’ll need to run rtpengine to proxy the media if the endpoints are not dual stack. Who keeps the mapping of the v6 to v4 and v4 to v6 translations? How is that mapping determined? I’d recommend ds-lite if you are in a position to alter the network and the phones/systems allow for it.
HTH —FC
thanks.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users