[Spce-user] problem with RTP

Mykola Zaika mzaika at voiptime.net
Fri Mar 6 07:31:43 EST 2015


Ok, I understood


It must be like:

Eth0 - mark as "rtp_*int"*
Eth1 - mark as "rtp_*ext"*
Eth2 - mark as "rtp_*int1"*

and

if($var(to_pstn) == 1 &&
pv_isset("$xavp(callee_peer_prefs[0]=>outbound_socket)"))
                        {
                                $var(ip) =
$(xavp(callee_peer_prefs[0]=>outbound_socket){s.select,1,:});

                                if($var(ip) == "10.130.10.15")
                                {
                                        xlog("L_INFO", "Bridge media
public/private for call to pstn - [% logreq -%]\n");
                                        $var(rtpp_flags) = $var(rtpp_flags)
+ "*direction=int direction=ext* ";
                                        $var(rtpp_flags) = $var(rtpp_flags)
+ "*direction=int1 direction=ext *";
                                } else {
                                        xlog("L_INFO", "--- outbound_socket
set for call to pstn but ip '$var(ip)' does not match subnet - [% logreq
-%]\n");
                                }
                        }

-- 
З повагою,
Микола Заїка
Компанія VoIPTime,
Тел: +380 32 2328022
mzaika at voiptime.net
www.voiptime.net

2015-03-06 14:22 GMT+02:00 Andrew Pogrebennyk <apogrebennyk at sipwise.com>:

>  Why do you put the same label on the two interfaces?
> It's supposed to be unique.
>
>
> On 03/06/2015 01:19 PM, Mykola Zaika wrote:
>
>  Hello
>  How I can solve this issue?
>
>  SipWise has three network interfaces:
> Eth0 - mark as "rtp_int"
>  Eth1 - mark as "rtp_ext"
>   Eth2 - mark as "rtp_int"
>
> ''ngcp-rtpengine-daemon"
> INTERFACES="int/10.200.10.15 ext/10.130.10.15 int/192.168.1.15"
>
>  When I make a call via Eth0(int) - Eth1(ext)  - SIP and RTP work
>  but   Eth2(int) - Eth1(ext)  - SIP works but RTP doesn`t work.
>
>  How I can create second bridge via external interface?
>
>  A bit from proxy/proxy.cfg.customtt.tt2
>
>   if($var(to_pstn) == 1 &&
> pv_isset("$xavp(callee_peer_prefs[0]=>outbound_socket)"))
>                         {
>                                 $var(ip) =
> $(xavp(callee_peer_prefs[0]=>outbound_socket){s.select,1,:});
>
>                                 if($var(ip) == "10.130.10.15")
>                                 {
>                                         xlog("L_INFO", "Bridge media
> public/private for call to pstn - [% logreq -%]\n");
>                                         $var(rtpp_flags) =
> $var(rtpp_flags) + "direction=int direction=ext ";
>                                 } else {
>                                         xlog("L_INFO", "---
> outbound_socket set for call to pstn but ip '$var(ip)' does not match
> subnet - [% logreq -%]\n");
>                                 }
>                         }
>
>
>     --
>  З повагою,
> Микола Заїка
>  Компанія VoIPTime,
> Тел: +380 32 2328022 <%2B380%2032%202328022>
> mzaika at voiptime.net
> www.voiptime.net
>
>
> _______________________________________________
> Spce-user mailing listSpce-user at lists.sipwise.comhttps://lists.sipwise.com/listinfo/spce-user
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150306/1c719c52/attachment-0001.html>


More information about the Spce-user mailing list