<div dir="ltr">Hi Daniel,<div><br></div><div># kamailio-proxy</div><div>kamailio.cfg.tt2</div><div><div>modparam("tm", "fr_timer", 16000)</div><div>modparam("tm", "fr_inv_timer", 180000)</div>
</div><div><br></div><div>plus</div><div><br></div><div><div>/etc/ngcp-config/config.yml</div><div>sbc:</div><div> outbound_timeout: 16000</div></div><div><br></div><div>Regards,</div><div>Ivan</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 2:43 AM, Daniel Speichert <span dir="ltr"><<a href="mailto:daniel@speichert.pl" target="_blank">daniel@speichert.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How can we increase the timeout to wait for reply from the peer server?<br>
<div class="im HOEnZb"><br>
Regards,<br>
Daniel Speichert<br>
<br>
----- Original Message -----<br>
> From: "Andrew Pogrebennyk" <<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>><br>
> To: "Daniel Speichert" <<a href="mailto:daniel@speichert.pl">daniel@speichert.pl</a>><br>
> Cc: "Spce-user" <<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
</div><div class="HOEnZb"><div class="h5">> Sent: wtorek, 10 wrzesień 2013 11:05:52<br>
> Subject: Re: [Spce-user] Calls through peering servers fail with timeout in INVITE to caller (B2BUA)<br>
><br>
> Hi,<br>
> sip:provider is sending INVITE to the callee - peer at<br>
> 77.72.169.134,<br>
> but receives no response, not even 100 Trying..<br>
><br>
> Andrew<br>
><br>
> On 09/09/2013 08:05 PM, Daniel Speichert wrote:<br>
> > nrep-sip is attached now :)<br>
> ><br>
> > Regards,<br>
> > Daniel Speichert<br>
> ><br>
> > ----- Original Message -----<br>
> >> From: "Daniel Speichert" <<a href="mailto:daniel@speichert.pl">daniel@speichert.pl</a>><br>
> >> To: "Spce-user" <<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
> >> Sent: poniedziałek, 9 wrzesień 2013 19:59:15<br>
> >> Subject: Re: [Spce-user] Calls through peering servers fail with<br>
> >> timeout in INVITE to caller (B2BUA)<br>
> >><br>
> >> Here are the details:<br>
> >><br>
> >> nrep-sip is attached.<br>
> >><br>
> >> Proxy log:<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: New request -<br>
> >> M=INVITE R=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a><br>
> >> F=<a href="http://sip:daniel@sip.leofon.pl:5060" target="_blank">sip:daniel@sip.leofon.pl:5060</a><br>
> >> T=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a> IP=<a href="http://77.255.30.119:51941" target="_blank">77.255.30.119:51941</a><br>
> >> (<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>) ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: User-Provided<br>
> >> CLI<br>
> >> 'daniel' taken from From-User -<br>
> >> R=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: User-provided<br>
> >> CLI<br>
> >> 'daniel' rejected, using network-provided CLI '123' -<br>
> >> R=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Setting<br>
> >> '<a href="mailto:123@sip.leofon.pl">123@sip.leofon.pl</a>' as initiating user-provided CLI -<br>
> >> R=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Setting<br>
> >> '<a href="mailto:123@sip.leofon.pl">123@sip.leofon.pl</a>' as initiating network-provided CLI -<br>
> >> R=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Callee is not<br>
> >> local - R=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Call to SIP<br>
> >> Peering - R=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Load gws<br>
> >> matching<br>
> >> calling part '<a href="mailto:sip%3A123@sip.leofon.pl">sip:123@sip.leofon.pl</a>' and called user<br>
> >> '<a href="tel:0048616416630" value="+48616416630">0048616416630</a>'<br>
> >> and called part '<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a>' -<br>
> >> R=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Setting<br>
> >> caller_cli_userprov/caller_domain_userprov '<a href="mailto:123@sip.leofon.pl">123@sip.leofon.pl</a>' for<br>
> >> upn - R=<a href="mailto:sip%3A0048616416630@sip.voipdiscount.com">sip:0048616416630@sip.voipdiscount.com</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Setting From to<br>
> >> '<<a href="mailto:sip%3A123@sip.leofon.pl">sip:123@sip.leofon.pl</a>>' -<br>
> >> R=<a href="mailto:sip%3A0048616416630@sip.voipdiscount.com">sip:0048616416630@sip.voipdiscount.com</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Setting<br>
> >> caller_cli_netprov/caller_domain_netprov '<a href="mailto:123@sip.leofon.pl">123@sip.leofon.pl</a>' for<br>
> >> npn<br>
> >> - R=<a href="mailto:sip%3A0048616416630@sip.voipdiscount.com">sip:0048616416630@sip.voipdiscount.com</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Setting PAI to<br>
> >> '<<a href="mailto:sip%3A123@sip.leofon.pl">sip:123@sip.leofon.pl</a>>' -<br>
> >> R=<a href="mailto:sip%3A0048616416630@sip.voipdiscount.com">sip:0048616416630@sip.voipdiscount.com</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Setting<br>
> >> P-Called-Party-ID '<<a href="mailto:sip%3A0048616416630@sip.voipdiscount.com">sip:0048616416630@sip.voipdiscount.com</a>>' -<br>
> >> R=<a href="mailto:sip%3A0048616416630@sip.voipdiscount.com">sip:0048616416630@sip.voipdiscount.com</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Setting<br>
> >> 'sip:<a href="http://77.72.169.134:5060" target="_blank">77.72.169.134:5060</a>' taken from D-URI as next hop after lb for<br>
> >> PSTN call - R=<a href="mailto:sip%3A0048616416630@sip.voipdiscount.com">sip:0048616416630@sip.voipdiscount.com</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Appending<br>
> >> P-D-URI<br>
> >> 'sip:127.0.0.1:5060;received='sip:77.72.169.134:5060;transport=udp''<br>
> >> - R=<a href="mailto:sip%3A0048616416630@sip.voipdiscount.com">sip:0048616416630@sip.voipdiscount.com</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Forcing request<br>
> >> via B2BUA 'sip:<a href="http://127.0.0.1:5080" target="_blank">127.0.0.1:5080</a>' -<br>
> >> R=<a href="mailto:sip%3A0048616416630@sip.voipdiscount.com">sip:0048616416630@sip.voipdiscount.com</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4019]: NOTICE: <script>: Request leaving<br>
> >> server, D-URI='sip:<a href="http://127.0.0.1:5080" target="_blank">127.0.0.1:5080</a>' -<br>
> >> R=<a href="mailto:sip%3A0048616416630@sip.voipdiscount.com">sip:0048616416630@sip.voipdiscount.com</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:55 sip proxy[4014]: NOTICE: <script>: NAT-Reply -<br>
> >> S=100<br>
> >> - Connecting M=INVITE IP=<a href="http://77.255.30.119:51941" target="_blank">77.255.30.119:51941</a> (<a href="http://127.0.0.1:5080" target="_blank">127.0.0.1:5080</a>)<br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:52:58 sip proxy[4014]: NOTICE: <script>: Authentication<br>
> >> failed, invalid user - R=<a href="mailto:sip%3A00441904891769@46.105.246.46">sip:00441904891769@46.105.246.46</a><br>
> >> ID=a786708a44d117f882888c860e4bccdf<br>
> >> Sep 9 19:53:01 sip proxy[4015]: NOTICE: <script>: NAT-Reply -<br>
> >> S=408<br>
> >> - Timeout M=INVITE IP=<a href="http://77.255.30.119:51941" target="_blank">77.255.30.119:51941</a> (<a href="http://127.0.0.1:5080" target="_blank">127.0.0.1:5080</a>)<br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:53:01 sip proxy[4015]: NOTICE: <script>: Failure route<br>
> >> for<br>
> >> PSTN call - R=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:53:01 sip proxy[4015]: NOTICE: <script>: No more peering<br>
> >> servers found - R=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a><br>
> >> ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >> Sep 9 19:53:01 sip proxy[4017]: NOTICE: <script>: New request -<br>
> >> M=ACK R=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a><br>
> >> F=<a href="http://sip:daniel@sip.leofon.pl:5060" target="_blank">sip:daniel@sip.leofon.pl:5060</a><br>
> >> T=<a href="http://sip:0048616416630@sip.leofon.pl:5060" target="_blank">sip:0048616416630@sip.leofon.pl:5060</a> IP=<a href="http://77.255.30.119:51941" target="_blank">77.255.30.119:51941</a><br>
> >> (<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>) ID=MWNlYjZiNjljYjQxZTMzMzAxZjhjOTJiN2Y2ZWI1NGY.<br>
> >><br>
> >><br>
> >> root@sip:~# ngcp-kamctl proxy ul show <a href="mailto:daniel@sip.leofon.pl">daniel@sip.leofon.pl</a><br>
> >> Contact::<br>
> >> <sip:daniel@77.255.30.119:51941;transport=TCP;rinstance=c7497aad0da7c9b4>;q=;expires=104;flags=0x0;cflags=0xC0;state=1;socket=<udp:<a href="http://127.0.0.1:5062" target="_blank">127.0.0.1:5062</a>>;methods=0x13FF;received=<sip:77.255.30.119:51941%3Btransport%3Dtcp>;user_agent=<3CXPhone<br>
> >> 6.0.26523.0>;path=<<<a href="mailto:sip%3Alb@127.0.0.1">sip:lb@127.0.0.1</a>;lr;received=sip:77.255.30.119:51941%3Btransport%3Dtcp;socket=sip:<a href="http://46.105.246.46:5060" target="_blank">46.105.246.46:5060</a>>>;reg-id=0<br>
> >><br>
> >> Thanks for help.<br>
> >><br>
> >> Regards,<br>
> >> Daniel Speichert<br>
> >><br>
> >> ----- Original Message -----<br>
> >>> From: "Andrew Pogrebennyk" <<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>><br>
> >>> To: "Daniel Speichert" <<a href="mailto:daniel@speichert.pl">daniel@speichert.pl</a>><br>
> >>> Cc: "Spce-user" <<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
> >>> Sent: poniedziałek, 2 wrzesień 2013 17:53:28<br>
> >>> Subject: Re: [Spce-user] Calls through peering servers fail with<br>
> >>> timeout in INVITE to caller (B2BUA)<br>
> >>><br>
> >>> Daniel,<br>
> >>> Please create a ngrep-sip capture of your call and also send us<br>
> >>> the<br>
> >>> proxy log of that call to see what's happening.<br>
> >>><br>
> >>> Please show also the location entry with command:<br>
> >>> ngcp-kamctl proxy ul show user@domain<br>
> >>> where user@domain is the provisioned SIP URI of the subscriber.<br>
> >>><br>
> >>> Andrew<br>
> >>><br>
> >>> On 09/02/2013 05:45 PM, Daniel Speichert wrote:<br>
> >>>> Hi,<br>
> >>>><br>
> >>>> After installing latest SPCE on a clean Debian Wheezy, it seems<br>
> >>>> that it<br>
> >>>> doesn't recognize NAT clients correctly.<br>
> >>>> In previous versions of SPCE (2.4), we used VoipDiscount as a<br>
> >>>> gateway<br>
> >>>> and calls went through successfully with exactly same<br>
> >>>> configuration.<br>
> >>>> Right now the new initialized session cannot connect to the<br>
> >>>> initiating<br>
> >>>> client and call ends with timeout. Proper ports are open on the<br>
> >>>> client end.<br>
> >>>><br>
> >>>> Here is the log:<br>
> >>>><br>
> >>>> Aug 21 11:54:47 sip proxy[3980]: NOTICE: <script>: Setting<br>
> >>>> P-Called-Party-ID '<<a href="mailto:sip%3A%2B48616412345@sip.voipdiscount.com">sip:+48616412345@sip.voipdiscount.com</a>>' -<br>
> >>>> R=<a href="mailto:sip%3A%2B48616412345@sip.voipdiscount.com">sip:+48616412345@sip.voipdiscount.com</a><br>
> >>>> ID=5d07455a21d759551767ad6d636bb116@0:0:0:0:0:0:0:0<br>
> >>>> Aug 21 11:54:47 sip proxy[3980]: NOTICE: <script>: Setting<br>
> >>>> 'sip:<a href="http://77.72.169.131:5060" target="_blank">77.72.169.131:5060</a>' taken from D-URI as next hop after lb<br>
> >>>> for<br>
> >>>> PSTN call - R=<a href="mailto:sip%3A%2B48616412345@sip.voipdiscount.com">sip:+48616412345@sip.voipdiscount.com</a><br>
> >>>> ID=5d07455a21d759551767ad6d636bb116@0:0:0:0:0:0:0:0<br>
> >>>> Aug 21 11:54:47 sip proxy[3980]: NOTICE: <script>: Appending<br>
> >>>> P-D-URI<br>
> >>>> 'sip:127.0.0.1:5060;received='sip:77.72.169.131:5060;transport=udp''<br>
> >>>> - R=<a href="mailto:sip%3A%2B48616412345@sip.voipdiscount.com">sip:+48616412345@sip.voipdiscount.com</a><br>
> >>>> ID=5d07455a21d759551767ad6d636bb116@0:0:0:0:0:0:0:0<br>
> >>>> Aug 21 11:54:47 sip proxy[3980]: NOTICE: <script>: Forcing<br>
> >>>> request<br>
> >>>> via B2BUA 'sip:<a href="http://127.0.0.1:5080" target="_blank">127.0.0.1:5080</a>' -<br>
> >>>> R=<a href="mailto:sip%3A%2B48616412345@sip.voipdiscount.com">sip:+48616412345@sip.voipdiscount.com</a><br>
> >>>> ID=5d07455a21d759551767ad6d636bb116@0:0:0:0:0:0:0:0<br>
> >>>> Aug 21 11:54:47 sip proxy[3980]: NOTICE: <script>: Request<br>
> >>>> leaving<br>
> >>>> server, D-URI='sip:<a href="http://127.0.0.1:5080" target="_blank">127.0.0.1:5080</a>' -<br>
> >>>> R=<a href="mailto:sip%3A%2B48616412345@sip.voipdiscount.com">sip:+48616412345@sip.voipdiscount.com</a><br>
> >>>> ID=5d07455a21d759551767ad6d636bb116@0:0:0:0:0:0:0:0<br>
> >>>> Aug 21 11:54:47 sip proxy[3977]: NOTICE: <script>: NAT-Reply -<br>
> >>>> S=100 - Connecting M=INVITE IP=<a href="http://78.3.7.224:5060" target="_blank">78.3.7.224:5060</a> (<a href="http://127.0.0.1:5080" target="_blank">127.0.0.1:5080</a>)<br>
> >>>> ID=5d07455a21d759551767ad6d636bb116@0:0:0:0:0:0:0:0<br>
> >>>> Aug 21 11:54:53 sip proxy[3983]: NOTICE: <script>: NAT-Reply -<br>
> >>>> S=408 - Timeout M=INVITE IP=<a href="http://78.3.7.224:5060" target="_blank">78.3.7.224:5060</a> (<a href="http://127.0.0.1:5080" target="_blank">127.0.0.1:5080</a>)<br>
> >>>> ID=5d07455a21d759551767ad6d636bb116@0:0:0:0:0:0:0:0<br>
> >>>> Aug 21 11:54:53 sip proxy[3983]: NOTICE: <script>: Failure route<br>
> >>>> for PSTN call - R=<a href="mailto:sip%3A%2B48616412345@sip.leofon.pl">sip:+48616412345@sip.leofon.pl</a><br>
> >>>> ID=5d07455a21d759551767ad6d636bb116@0:0:0:0:0:0:0:0<br>
> >>>> Aug 21 11:54:53 sip proxy[3983]: NOTICE: <script>: No more<br>
> >>>> peering<br>
> >>>> servers found - R=<a href="mailto:sip%3A%2B48616412345@sip.leofon.pl">sip:+48616412345@sip.leofon.pl</a><br>
> >>>> ID=5d07455a21d759551767ad6d636bb116@0:0:0:0:0:0:0:0<br>
> >>>> Aug 21 11:54:53 sip proxy[3976]: NOTICE: <script>: New request -<br>
> >>>> M=ACK R=<a href="mailto:sip%3A%2B48616412345@sip.leofon.pl">sip:+48616412345@sip.leofon.pl</a><br>
> >>>> F=<a href="mailto:sip%3Adaniel@sip.leofon.pl">sip:daniel@sip.leofon.pl</a><br>
> >>>> T=<a href="mailto:sip%3A%2B48616412345@sip.leofon.pl">sip:+48616412345@sip.leofon.pl</a> IP=<a href="http://78.3.7.224:5060" target="_blank">78.3.7.224:5060</a><br>
> >>>> (<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>)<br>
> >>>> ID=5d07455a21d759551767ad6d636bb116@0:0:0:0:0:0:0:0<br>
> >>>><br>
> >>>><br>
> >>>> Does anyone have any ideas? I'd appreciate any help.<br>
> >>>><br>
> >>>> --<br>
> >>>> Regards,<br>
> >>>> Daniel Speichert<br>
> >>>><br>
> >>><br>
> >><br>
> >><br>
> >><br>
> >> _______________________________________________<br>
> >> Spce-user mailing list<br>
> >> <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> >> <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
</div></div></blockquote></div><br></div>