00:14.46 | *** join/#asterisk woleium (~woleium@bc.io) |
01:09.37 | *** join/#asterisk Apteryx (~maxim@198-48-204-126.cpe.pppoe.ca) |
01:14.45 | Apteryx | Hello! I've setup Asterisk (behind a NAT with port forwarding), and it seems to be working for calling out, but calls between devices on the same LAN fail... My device connect to Asterisk using a dynDNS public IP. I have put some log here: http://pastebin.com/VSmEnR5M. |
01:15.50 | Apteryx | The external IP is resolved by sip.apteryx.ca, and each devices connect to Asterisk using that IP. The internal address of my router is 192.168.0.1 |
01:15.54 | WIMPy | You (generelly) can't connect to your external IP from your LAN. |
01:16.14 | [TK]D-Fender | <PROTECTED> |
01:16.22 | [TK]D-Fender | Why are you calling yourself? |
01:18.53 | Apteryx | Oups, look like a put the wrong log. I've corrected it: http://pastebin.com/AhTz06uz ( -- Executing [100@internal:1] Dial("SIP/maxim-000000bb", "SIP/yuki") in new stack) |
01:19.02 | [TK]D-Fender | <--- SIP read from TCP:192.168.0.1:49471 ---> <- source IP |
01:19.13 | [TK]D-Fender | Contact: "Maxim Cournoyer" <sip:maxim@192.168.0.101:49471;transport=TCP;ob> <-- contact points to being on the SAME subet ..... |
01:19.51 | Apteryx | It is. Why should it fail? |
01:20.22 | [TK]D-Fender | [Jul 4 20:46:49] ERROR[20911]: tcptls.c:462 ast_tcptls_client_start: Unable to connect SIP socket to 192.168.0.100:49191: Connection refused |
01:20.29 | [TK]D-Fender | Can't connect to that host via TCP. |
01:20.41 | [TK]D-Fender | go TELNET to to it from your server (since it's TCP) |
01:20.41 | Nugget | telnet is eeeeeeevil! |
01:23.54 | Apteryx | I got connection refused as well (doing telnet 192.168.0.100 49191). |
01:24.05 | Apteryx | Thanks for pointing me to this. |
01:24.59 | Apteryx | I guess the culprit is probably the SIP client (Bria on an iPad) rather than my DIR-815 router? (given that these devices are on the same LAN) |
01:25.35 | [TK]D-Fender | "sip show peer yuki" |
01:26.01 | [TK]D-Fender | is it registered? "addr->to". pastebin it up |
01:26.12 | [TK]D-Fender | has to head out, hopefully someone else will be able to pick this up. |
01:27.10 | Apteryx | sip peer show yuki output: http://pastebin.com/nuC1j3Mb |
01:27.32 | Apteryx | [TK]D-Fender: thanks for your time & help :) |
01:29.03 | Apteryx | WIMPy: I remember I had problems with this before, too. My older router used to have a "NAT loopback" setting that allowed this. |
01:29.35 | Apteryx | WIMPy: But I couldn't find that setting with my current router. |
01:31.43 | *** join/#asterisk MaliutaLap (~nobusines@unaffiliated/maliuta) |
01:41.09 | *** join/#asterisk jasonwert (~jasonwert@71.89.137.28) |
01:49.43 | *** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it) |
02:21.56 | *** join/#asterisk petris (~petris@2607:5300:60:5475:a9d7:583:99b:a901) |
02:33.08 | *** join/#asterisk jasonwert (~jasonwert@71.89.137.28) |
03:16.43 | WIMPy | Apteryx: Do you want to use the external name so you can use the client both on the LAN and from the Internet? |
03:33.46 | *** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com) |
03:34.24 | *** join/#asterisk Kyosh (~whoa@pool-74-101-225-202.nycmny.fios.verizon.net) |
03:48.24 | *** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com) |
03:52.27 | *** join/#asterisk fstd_ (~fstd@unaffiliated/fisted) |
04:04.23 | *** join/#asterisk wolrah_ (~wolrah@24.239.210.140) |
04:14.23 | *** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net) |
04:22.12 | *** join/#asterisk [[thufir]] (~thufir@S0106c8fb2677e8ca.vs.shawcable.net) |
04:33.13 | Apteryx | WIMPy: yes :) |
04:37.40 | *** join/#asterisk wonderworld (~ww@ip-62-143-157-238.unitymediagroup.de) |
04:56.56 | *** join/#asterisk vinhdizzo (~vinh@cpe-98-154-210-61.socal.res.rr.com) |
05:00.03 | *** part/#asterisk vinhdizzo (~vinh@cpe-98-154-210-61.socal.res.rr.com) |
05:08.32 | *** join/#asterisk gerhard7 (~gerhard7@77-172-20-151.ip.telfort.nl) |
05:19.03 | *** join/#asterisk pa (~pa@unaffiliated/pa) |
05:39.49 | *** join/#asterisk timahvo1 (~rogue@197.237.134.227) |
05:48.58 | *** join/#asterisk jhlavacek (~jirka@87.89.218.63) |
05:55.38 | *** join/#asterisk evilman_home (kvirc@89-179-77-66.broadband.corbina.ru) |
06:16.06 | *** join/#asterisk dumby (~dumby@204.246.140.162) |
06:22.28 | *** join/#asterisk timahvo1 (~rogue@197.237.134.227) |
07:21.56 | *** part/#asterisk jhlavacek (~jirka@87.89.218.63) |
07:45.17 | *** join/#asterisk af_ (~af@93-43-45-195.ip90.fastwebnet.it) |
07:54.07 | *** join/#asterisk gerhard7 (~gerhard7@77-172-20-151.ip.telfort.nl) |
08:13.40 | *** join/#asterisk TSM (~the_softw@fw-lon2.wenn.com) |
08:13.59 | *** join/#asterisk TSM (~the_softw@fw-lon2.wenn.com) |
08:14.17 | *** join/#asterisk TSM (~the_softw@89.213.15.104) |
08:14.40 | *** join/#asterisk TSM (~the_softw@fw-lon2.wenn.com) |
08:20.41 | *** join/#asterisk TSM (~the_softw@fw-lon2.wenn.com) |
08:23.04 | *** join/#asterisk TSM (~the_softw@89.213.15.104) |
08:25.55 | *** join/#asterisk phix (~threat@123-243-44-131.static.tpgi.com.au) |
08:27.57 | *** join/#asterisk TSM (~the_softw@fw-lon2.wenn.com) |
08:29.53 | *** join/#asterisk TSM (~the_softw@fw-lon2.wenn.com) |
08:49.11 | *** join/#asterisk wolrah (~wolrah@24.239.210.140) |
09:06.48 | *** join/#asterisk reconwireless (uid10170@gateway/web/irccloud.com/x-zyyuuaxxwdwqcjof) |
09:19.58 | *** join/#asterisk gusto (~gusto@2a02:810d:8600:2f70:21b:63ff:fe31:8426) |
09:20.06 | gusto | WIMPy: https://lh5.googleusercontent.com/-l1bewcR-GZM/U7d15Fd_-lI/AAAAAAAANOQ/7yAg_dU1Awo/w593-h563-no/IMG_8781.PNG |
09:27.53 | *** join/#asterisk stevePearPear (~stevePear@cm244.epsilon47.maxonline.com.sg) |
09:46.09 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
10:03.57 | *** join/#asterisk yottanami (~yottanami@85.239.199.83) |
10:06.29 | yottanami | Here is parts of my SIP http://dpaste.com/2TR1VYX I dialed 900 from any other local number it does not ring ( someting like busy tone after some minutes) and here is my console output http://dpaste.com/3S389BK It was working some days ago |
10:09.38 | yottanami | I can dial from 900 to other locals |
10:10.08 | yottanami | but nobody can not dial 900 from ANYWHERE |
10:35.22 | *** join/#asterisk yottanami (~yottanami@178.131.219.59) |
10:36.23 | yottanami | How should I fix this ? |
10:41.39 | *** join/#asterisk yottanami (~yottanami@5.52.132.208) |
11:04.33 | *** part/#asterisk yottanami (~yottanami@5.52.132.208) |
11:04.39 | *** join/#asterisk yottanami (~yottanami@5.52.132.208) |
11:06.02 | *** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com) |
11:13.03 | *** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com) |
11:16.43 | *** join/#asterisk [[thufir]] (~thufir@S0106c8fb2677e8ca.vs.shawcable.net) |
11:35.47 | WIMPy | gusto: Not realistic. It's more like Alt-SysRq-{S,U,B} |
11:43.21 | WIMPy | Hmm. There doesn;t seem to be any AMI event upon a finally failed outbound registration, only for temporary ones. |
11:43.45 | WIMPy | But I would swear I have seen thme before. |
12:04.57 | *** join/#asterisk jasonwert (~jasonwert@71.89.137.28) |
12:12.29 | yottanami | How should I find out why I can not dial 900 from anywhere ? http://dpaste.com/3S389BK http://dpaste.com/2TR1VYX |
12:23.34 | *** join/#asterisk BakaKuna (~Thunderbi@82-169-251-128.ip.telfort.nl) |
12:35.34 | *** join/#asterisk yottanami (~yottanami@5.52.132.208) |
12:46.40 | *** part/#asterisk yottanami (~yottanami@5.52.132.208) |
13:14.39 | *** join/#asterisk jetlag (~jetlag@pool-71-168-195-42.cmdnnj.east.verizon.net) |
13:20.32 | *** join/#asterisk PRI1_ (~PRI1@2a04:1980:3100:1aac:21b:21ff:feda:4d39) |
13:25.04 | *** join/#asterisk dxd828_ (~dxd828@94.116.184.109) |
13:40.23 | *** join/#asterisk MarcoZink (~marcozink@189.205.13.58) |
14:16.56 | *** join/#asterisk [TK]D-Fender (~chatzilla@64.235.216.2) |
14:17.34 | *** join/#asterisk reconwireless (uid10170@gateway/web/irccloud.com/x-llddipmumjleaaky) |
14:19.07 | *** join/#asterisk stevePearPear (~stevePear@cm244.epsilon47.maxonline.com.sg) |
14:30.01 | *** join/#asterisk sgriepentrog (~sgriepent@2602:306:bdc4:84e0:ae72:89ff:fe28:f9ba) |
14:31.06 | *** join/#asterisk [TK]D-Fender (~chatzilla@64.235.216.2) |
14:31.15 | *** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com) |
15:05.51 | *** join/#asterisk zerohalo (~zerohalo@2601:6:f80:224:8571:9316:e889:db82) |
15:08.59 | *** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com) |
15:21.22 | *** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com) |
15:31.15 | *** join/#asterisk zerick (~eocrospom@190.187.21.53) |
15:40.00 | *** join/#asterisk gusto (~gusto@2a02:810d:8600:2f70:21b:63ff:fe31:8426) |
16:22.50 | *** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com) |
16:44.31 | *** join/#asterisk fstd_ (~fstd@unaffiliated/fisted) |
17:08.29 | *** join/#asterisk timahvo1 (~rogue@197.237.134.227) |
17:10.03 | *** join/#asterisk Apteryx (~maxim@198-48-204-126.cpe.pppoe.ca) |
17:18.35 | *** join/#asterisk wonderworld (~ww@ip-62-143-157-238.unitymediagroup.de) |
17:52.13 | *** join/#asterisk tzafrir (~tzafrir@bzq-218-28-58.cablep.bezeqint.net) |
18:47.59 | *** join/#asterisk petris (~petris@2607:5300:60:5475:a9d7:583:99b:a901) |
18:49.58 | *** join/#asterisk [[thufir]] (~thufir@S0106c8fb2677e8ca.vs.shawcable.net) |
18:58.54 | *** join/#asterisk jasonwert (~jasonwert@71.89.137.28) |
19:02.03 | *** join/#asterisk tuxd00d (~tuxd00d@ip70-162-151-19.ph.ph.cox.net) |
20:08.16 | *** join/#asterisk Kattyroo (~Kattyroo@97-87-107-251.dhcp.stls.mo.charter.com) |
20:08.19 | Kattyroo | hi lads. |
20:39.42 | *** join/#asterisk D-Boy (~D-Boy@unaffiliated/cain) |
20:40.49 | *** join/#asterisk FreezingCold (~FreezingC@135.0.41.14) |
20:42.06 | FreezingCold | Somewhat stupid general question, does forwarding a call make a line busy? |
20:47.01 | *** join/#asterisk petris (~petris@2607:5300:60:5475:a9d7:583:99b:a901) |
20:59.09 | *** join/#asterisk gusto (~gusto@2a02:810d:8600:2f70:21b:63ff:fe31:8426) |
21:01.54 | *** join/#asterisk gusto (~gusto@2a02:810d:8600:2f70:21b:63ff:fe31:8426) |
21:02.59 | *** join/#asterisk gusto (~gusto@2a02:810d:8600:2f70:21b:63ff:fe31:8426) |
21:04.35 | *** join/#asterisk gusto (~gusto@2a02:810d:8600:2f70:21b:63ff:fe31:8426) |
21:11.19 | *** join/#asterisk infobot (~infobot@rikers.org) |
21:11.19 | *** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: Asterisk 11.10.2 (2014/06/13), 1.8.28.2 (2014/06/13); Standard: Asterisk 12.3.2 (2014/06/13); DAHDI: DAHDI-linux 2.9.0 (2014/01/30), DAHDI-tools 2.9.0.1 (2014/01/31); libpri 1.4.15 (2014/06/16) -=- Visit the official Asterisk wiki: wiki.asterisk.org -=- Read the Code of Conduct bit.ly/1hH6P22 |
21:21.26 | Apteryx | Hello, I discovered I needed to activate STUN to get audio both side when receiving calls or calling to outside my NAT. However, I'm confused why -- I thought Asterisk was taking care of this, especially since I gave it all the information regarding my localnet, externhost, and nat=yes on my devices? |
21:22.14 | Apteryx | (STUN was activated on my VoIP client, Bria) |
21:42.37 | Apteryx | FreezingCold: Have you tried it? I would guess that no, once the call has been properly transfered. |
21:44.28 | *** join/#asterisk petris (~petris@2607:5300:60:5475:a9d7:583:99b:a901) |
21:50.29 | [TK]D-Fender | Shouldn't need STUN. To explain what's happening we'd have to have had your actual configs and proper debug from calls. |
21:50.53 | [TK]D-Fender | FreezingCold: What line? |
21:59.42 | Apteryx | [TK]D-Fender: Hi again :) |
22:14.47 | Apteryx | [TK]D-Fender: Here's my sip.conf: http://pastebin.com/3iVLYyJ1, and my extensions.conf: http://pastebin.com/k1Pdgug8 |
22:15.13 | *** join/#asterisk syadnom (~syadnom@host-184-166-238-96.bln-mt.client.bresnan.net) |
22:16.09 | syadnom | hi all. anyone here hosting asterisk (w/ freepbx) on a VPS? I need some advice on a good provider at a good price. I use ramnode for webhosting, but that's not a latency sensative service |
22:21.30 | Apteryx | [TK]D-Fender: The peers: http://pastebin.com/ABLTmXmX |
22:26.56 | Apteryx | [TK]D-Fender: And finally, a sip debug log showing the conversation happening, after calling my FreePhoneLine DID using Gmail calls: http://pastebin.com/nMNCjsq7 |
22:28.09 | Apteryx | The caller (gmail) audio could not go through, but the called device could send audio back. |
22:28.31 | Apteryx | If I enable STUN, problem is solved. |
22:30.24 | [TK]D-Fender | X-asterisk-Info: SIP re-invite (External RTP bridge) <---------- |
22:30.30 | [TK]D-Fender | You allowed re-invites. |
22:30.38 | [TK]D-Fender | This BAD |
22:30.56 | [TK]D-Fender | ALL of your peers & general should have "directmedia=no" |
22:31.40 | Apteryx | [TK]D-Fender: The line reallowing invites is this: insecure=invite? |
22:35.32 | Apteryx | [TK]D-Fender: Thanks for looking into it. I will try to use directmedia=no everywhere and see what it gives. But if I want to use it, STUN becomes a requirement? |
22:35.36 | [TK]D-Fender | No, it's you lack of having set the parameterr at all |
22:35.55 | [TK]D-Fender | STUN is not magic |
22:40.29 | Apteryx | Ok, thanks. What makes the re-invites bad? Is it a security problem? |
22:42.04 | [TK]D-Fender | it tells the endpoints to directly connect to one another |
22:42.22 | [TK]D-Fender | You're running a double NAT which makes that a suicide attempt |
22:42.32 | [TK]D-Fender | because you have those ports forwarded to your server |
22:43.04 | [TK]D-Fender | Any NAT'd environment should disable reinvites across an outside border interface |
22:47.26 | Apteryx | Ok :) Thanks for the explanation. |
22:52.03 | *** join/#asterisk petris (~petris@2607:5300:60:5475:a9d7:583:99b:a901) |
23:07.09 | *** join/#asterisk sruffell (~sruffell@asterisk/the-kernel-guy/sruffell) |
23:07.09 | *** mode/#asterisk [+o sruffell] by ChanServ |
23:17.08 | *** join/#asterisk FrozenFire (~FrozenFir@pdpc/supporter/active/frozenfire) |
23:27.24 | *** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net) |