IRC log for #asterisk on 20140405

00:07.51*** join/#asterisk DougsTech (~DougsTech@c-98-230-105-210.hsd1.al.comcast.net)
00:22.41*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
00:25.08*** join/#asterisk MaliutaLap (~nobusines@unaffiliated/maliuta)
00:25.17*** join/#asterisk dfighter (~someone@arcemu/staff/dfighter)
01:34.46*** join/#asterisk MaliutaLap (~nobusines@unaffiliated/maliuta)
01:45.27*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
02:30.08*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
03:35.07*** join/#asterisk Milarepa (~Milarepa@host-74-211-92-125.beyondbb.com)
04:01.36*** join/#asterisk valeech (~valeech@pool-71-171-123-210.clppva.fios.verizon.net)
04:28.44*** join/#asterisk timahvo1 (~rogue@197.237.174.64)
04:54.19*** join/#asterisk timahvo1 (~rogue@197.237.174.64)
04:55.27*** join/#asterisk gerhard7 (~gerhard7@77-172-35-234.ip.telfort.nl)
05:25.04*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
05:29.24*** join/#asterisk evilman_home (kvirc@89-179-77-66.broadband.corbina.ru)
05:50.04*** join/#asterisk jzaw (~jzaw@loki.dzki.co.uk)
06:02.46*** join/#asterisk slav3_kitten (~frankthet@unaffiliated/slav3-kitten/x-0866809)
06:07.12*** join/#asterisk Penguin (~xwQ5kwYl6@20264.odci.gov.united-states.rltk.us)
06:17.51*** join/#asterisk creativx (~creadurex@62.97.205.226)
07:23.05*** join/#asterisk jiku (~jiku@182.71.136.242)
07:44.42*** part/#asterisk Omnipotent (~Josh@unaffiliated/the-intel/x-1526920)
08:10.19*** join/#asterisk D30 (~deo@222.127.13.226)
08:12.18*** join/#asterisk jhlavacek (~jirka@87.89.218.63)
09:00.04*** join/#asterisk mokmeister (~mokmeiste@86.41.121.136)
09:02.37*** join/#asterisk MaliutaLap (~nobusines@unaffiliated/maliuta)
09:38.31*** join/#asterisk bulkorok (~Adium@gw1.pinguin.ag)
10:16.34*** join/#asterisk wonderworld (~ww@ip-62-143-157-238.unitymediagroup.de)
10:39.29*** join/#asterisk CeBe (~CeBe@port-92-206-41-159.dynamic.qsc.de)
10:42.15*** join/#asterisk MaliutaLap (~nobusines@unaffiliated/maliuta)
10:42.43*** join/#asterisk jsjc (~Adium@47.Red-81-34-88.dynamicIP.rima-tde.net)
11:38.59*** join/#asterisk qakhan (~qakhan@39.59.13.177)
11:40.31qakhani am getting message ERROR[9768]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
11:40.56qakhanwhen i call a php-agi script
11:44.45WIMPyThat scpript seems to behave badly then.
11:45.18WIMPyIt usually happens when you try to just send messages back to Asterisk without reading what Asterisk sends to you.
11:50.28*** join/#asterisk qakhan (~qakhan@39.59.52.122)
11:50.33qakhani am getting message ERROR[9768]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
11:50.36*** join/#asterisk bulkorok (~Adium@053d9234.dynamic.tele-ag.de)
11:50.36qakhanwhen i call a php-agi script
11:52.06WIMPyThat scpript seems to behave badly then.
11:52.07WIMPyIt usually happens when you try to just send messages back to Asterisk without reading what Asterisk sends to you.
11:54.09*** join/#asterisk gerhard7 (~gerhard7@77-172-35-234.ip.telfort.nl)
12:02.18*** join/#asterisk camerin (hoax@elite.bshellz.net)
12:02.33*** join/#asterisk makubi (~makubi@xdsl-84-44-230-117.netcologne.de)
12:19.30*** join/#asterisk wonderworld (~ww@ip-62-143-157-238.unitymediagroup.de)
12:20.37qakhanWIMPy here is my script http://pastebin.com/GP7Hc9Cp
12:29.07*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
12:31.09WIMPyI don't see it reading the opening sequence, but I have no idea about PHP so I might just not see it.
12:31.25qakhanok
12:31.33qakhanthanks though
12:44.15*** join/#asterisk Faustov (~fst@gentoo/user/faustov)
13:31.19*** join/#asterisk boratynskikamil (5bef9959@gateway/web/freenode/ip.91.239.153.89)
13:31.25boratynskikamilGood afternoon.
13:31.46boratynskikamilQuestion to you: http://downloads.openvox.cn/pub/manuals/Release/English/chan_extra-2.0.5%20User%20Manual.pdf How would you implement SMS-sending? Via dialplan? Is it comfortable?
13:33.32*** join/#asterisk imox (~imox@p4FC5C32B.dip0.t-ipconnect.de)
13:37.33*** join/#asterisk valeech (~valeech@pool-71-171-123-210.clppva.fios.verizon.net)
13:59.16*** part/#asterisk Pegasus_RPG (~Icedove@pool-108-40-185-199.snloca.fios.verizon.net)
14:06.39*** join/#asterisk netmonk (~netmonk@93-43-35-88.ip90.fastwebnet.it)
14:10.15*** join/#asterisk Wiretap (~wiretap@unaffiliated/wiretap)
14:17.22*** join/#asterisk DruidZ (~darcy@dilbert.druid.net)
14:17.58DruidZGood morning.
14:18.36DruidZI was looking for a public SIP address database.
14:19.05DruidZI found one that requires you to own a particular brand of hardware but no fully open ones.
14:19.27DruidZSo, I was wondering how useful such a service would be.
14:19.37WIMPyWhat is a sip address database?
14:20.32DruidZLike, I am looking for Joe Smith so I go to a web site and plug in his name.
14:20.56DruidZIt gives me a list of all the Joe Smiths and their SIP address that it finds.
14:21.51DruidZAnd I have some ideas for other uses.
14:22.11WIMPyMaybe Joe Smiths should get Smiths.name so you can call joe@smiths.name.
14:22.37DruidZMaybe.  Doesn't scale well though.
14:23.34DruidZAn example other use - connect the entries to VoIP provider and real phone number if entered by trusted VoIP provider.
14:23.52WIMPyLook up ENUM
14:24.15DruidZThen allow those VoIP providers to query the database for a phone number and redirect calls directly instead of going out the PSTN.
14:25.45DruidZI know about ENUM.  Not sure if it is a complete solution though.
14:26.13WIMPyIt will give you an URL for a phone number, if available.
14:26.44DruidZCan you look up a name?
14:27.29WIMPyno
14:27.51WIMPyNAMES ARE RARELY UNIQUE.
14:27.54DruidZI also wonder how much acceptance it has outside the techie community.
14:27.56WIMPyoops
14:28.23DruidZExactly.  That's why you need a web search like the various 411 pages but for SIP.
14:28.39WIMPyThe telcos/itsps surely use it. Either the public ENUM or probably more often private solutions between them.
14:29.59DruidZSo how do I tap into that?  Probably no way.
14:30.23DruidZThat's sort of what I am thinking but more open.
14:30.36WIMPyENUM is the open ting.
14:30.58WIMPyThere is also DUNDi, but that didn't take off as a public service.
14:31.24boratynskikamilWIMPy: Question to you, if I may. Where should I look for information abot text communication between SIPs?
14:31.38DruidZI might investigate ENUM again.  When I was running FS it would crash whenever I tried to use it.
14:32.37WIMPyAsterisks implementaion is only usefull for closed dial plans by now :-(
14:33.26WIMPyboratynskikamil: The good thing about SIP is that everyone has their own standard. So check the devides/applications you want to use.
14:34.30boratynskikamilWIMPy: I have Jitsi App. And I see "Send message" option. I am even able to get message from SIP, but Jitsi tells me it is impossible to send message to SIP and grays the menu entry.
14:34.45DruidZI am thinking about a FastAGI server.  Quick check
14:35.28DruidZQuick check to see if number is with a trusted ITSP and connect as appropriate.
14:36.54DruidZHmm.  Can FastCGI work over UDP or only TCP?  The latter I assume.
14:38.19DruidZs/FastCGI/FastAGI/
14:39.54WIMPyTCP off course.
14:42.29DruidZNot sure why "of course" other than some minor programming complications.
14:43.03WIMPyIt's a stream/connection.
14:43.13DruidZMaybe that's a new feature for *.  Simple call, simple response and no connection socket used up.
14:43.37WIMPyLike ENUM od DUNDi?
14:43.56DruidZBut generalized.
14:44.47WIMPyYou can do in an AGI whatever you like.
14:45.15*** join/#asterisk makubi (~makubi@xdsl-87-79-230-71.netcologne.de)
14:45.15DruidZIn fact, if both of those use UDP then the code is probably already there and just needs a public interface to it.
14:45.46WIMPyWhat extra interface do you need?
14:45.51WIMPyHave you looked at those?
14:46.36DruidZSomething to connect to a UDP socket from the dialplan, send a string and return a sting that can be parsed as needed.
14:47.03DruidZSo you are saying use AGI to connect to a program that makes the UDP connection then?
14:47.56WIMPyUDP or connection.
14:49.41DruidZRight.  I am saying UDP because I am imagining a server that handles thousands of queries a second and doesn't want to have the overhead of TCP.  Receive a query, reply to it and forget about that connection.
14:54.11WIMPyThere is no connection to forget about :-)
14:54.22*** join/#asterisk corretico (~luis@190.5.215.146)
14:54.22boratynskikamilWIMPy: Suggestion? :-)
14:54.49WIMPyThe trouble is that you will have to implement retries.
14:55.18WIMPyboratynskikamil: No.
14:55.43DruidZExactly and yes or, depending on the applicatino, just treat a timeout as a negative reply.
14:56.53DruidZIOW, in my example, ask about a number and if the reply is negative or no reply is received just go out the PSTN.
14:57.32WIMPyYes, but that already exists.
14:57.56DruidZUNUM or DUNDi, right?
14:58.19WIMPyENUM, yes
14:58.30WIMPyENUM or DUNDi, yes
14:58.49DruidZAgain, not the full solution I think.
14:58.49WIMPy(to avoid possible confusion)
14:59.13WIMPyI don't see how anything more makes sense on Asterisk.
14:59.37WIMPyIf you want to find names you have to do that outside of Asterisk.
14:59.58DruidZWell, no but I am thinking of the same database also being the address lookup database.
15:00.23WIMPyWhat address?
15:00.50DruidZSIP address from name as I mentioned at the start of this conversation.
15:01.34DruidZSo the DB has name, PSTN phone number, SIP address and possibly more.
15:01.57DruidZThe * server only cares about the last two.
15:01.57WIMPyUse LDAP or something?
15:02.13WIMPyMany phones support LDAP already.
15:03.26DruidZHow does LDAP help when I want to look up Joe Blow in Chicoutimi, PQ and I am in Toronto, ON?
15:03.57WIMPyHow does it matter where you are?
15:04.19DruidZWell, more to the point, we use different ITSPs.
15:04.45WIMPySo what?
15:04.53DruidZOr do you mean serve LDAP from the DB I am proposing?
15:05.00WIMPyBut you obviousely have to agree to use the same database.
15:05.30WIMPyMaybe you should just ask Facebook. It's unlikely you find a more complete database.
15:05.33DruidZRight.  I thought you were arguing against the need for the common DB.
15:06.00DruidZFB is not complete.  For example, it doesn't include me.
15:06.17WIMPyIt doesn't include me, either.
15:06.37WIMPyBut you still wont find a more complete database.
15:08.54DruidZ"More complete"?
15:09.13DruidZpulls out Fowler's 3rd ed.
15:09.29WIMPyThe only organization that hase more user records is the NSA and they won't share.
15:10.38DruidZWill FB?  Can I give them a name and get a SIP address?
15:11.02DruidZOr, can I give them a PSTN number and get a SIP address?
15:11.07WIMPyYou can mke calls via FB.
15:11.29WIMPyAnd anything else is just a matter of payment, I'm sure.
15:18.33*** join/#asterisk makubi_ (~makubi@xdsl-87-79-44-23.netcologne.de)
15:28.18*** join/#asterisk [TK]D-Fender (~chatzilla@64.235.216.2)
15:33.19*** join/#asterisk evilman_home (kvirc@89-179-77-66.broadband.corbina.ru)
15:36.37*** join/#asterisk valeech (~valeech@pool-71-171-123-210.clppva.fios.verizon.net)
15:51.00*** join/#asterisk lvlolvlo (~lvlolvlo@unaffiliated/lvlolvlo)
16:04.42*** part/#asterisk djahandarie (darius@unaffiliated/djahandarie)
16:07.49*** part/#asterisk hecatae (~Philip@host-78-150-99-37.as13285.net)
16:37.26*** join/#asterisk BarthezZ (~bart@monitoring.deheij-ict.nl)
16:41.00*** join/#asterisk Milarepa (~Milarepa@host-74-211-92-125.beyondbb.com)
17:32.54*** join/#asterisk neonerz (~g_bove@cpe-076-182-115-090.nc.res.rr.com)
17:56.07*** join/#asterisk df-1975 (6dc14348@gateway/web/freenode/ip.109.193.67.72)
17:56.54df-1975Hi, I'm new to this channel, and a newbie asterisk user.
18:00.20df-1975I was running version 11.4 and now made a reinstall with version 12.2. I copied the changes I had made to 11.4 over to 12.2, and found out that it works out of the box. I thought that sip.conf had become obsolete, in favor of pjsip.conf. I didn't modify pjsip.conf, but overwrote sip.conf with my ol values. Why is it still working?
18:00.52df-1975Oh, I meant 12.1.1, not 12.2
18:00.55[TK]D-Fenderit is not "obsolete yet, and chan_sip is not GONE
18:01.03[TK]D-FenderSince it's still there... it works
18:01.57df-1975Could I migrate sip.conf to pjsip.conf and remove sip.conf?
18:02.59[TK]D-FenderSure
18:03.38df-1975Would then chan_sip stopped being used, and chan_pjsip being used instead?
18:05.45df-1975or is chan_sip now using pjsip under the hood?
18:08.50[TK]D-Fenderit is not.
18:09.13[TK]D-Fenderthey are COMPLETELY separate.  You could run them simultaneously, though you'd have to bind them to different ports
18:12.49df-1975Ok, thanks. For new projects, is it recommended to use pjsip instead?
18:13.23ChannelZIt's probably something you should learn eventually
18:13.36[TK]D-FenderCompare the functionality you need and what each offers and pick whatever works best for you.
18:13.44ChannelZand/or if you could benefit from some of it's features now
18:14.23[TK]D-FenderGoing forward I suspect PJSIP will outstrip chan_sip in all/enough areas to give them reason to reexamine development of it.  Time will tell
18:15.42*** join/#asterisk valeech (~valeech@pool-71-171-123-210.clppva.fios.verizon.net)
18:16.19df-1975Thanks to both of you.
18:17.32fileVIVA PJSIP
18:18.05BludSuckingFiendViva SCCP!
18:19.02ChannelZspeaking of I need to update my v12
18:19.19*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
18:19.31*** join/#asterisk Milarepa (~Milarepa@host-74-211-92-125.beyondbb.com)
18:28.05*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
18:29.39*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
18:32.08*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
18:35.06*** join/#asterisk tuxd00d (~tuxd00d@ip24-251-34-116.ph.ph.cox.net)
18:42.51*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
18:46.54*** join/#asterisk petris (~petris@192.184.93.147)
19:10.17*** join/#asterisk valeech (~valeech@pool-71-171-123-210.clppva.fios.verizon.net)
19:20.25*** join/#asterisk davlefouAMD (~david@197.15.32.178)
19:23.00*** join/#asterisk Dpunkt (~Dpunkt@p5DE5F08A.dip0.t-ipconnect.de)
19:35.33*** join/#asterisk lvlolvlo (~lvlolvlo@unaffiliated/lvlolvlo)
19:46.57*** join/#asterisk gusto (~gusto@2a02:810d:8600:8d4:21b:63ff:fe31:8426)
19:54.22*** join/#asterisk lvlolvlo (~lvlolvlo@unaffiliated/lvlolvlo)
20:20.36gustohi folks
20:20.39gustowhats up?
20:22.34*** join/#asterisk lvlolvlo (~lvlolvlo@unaffiliated/lvlolvlo)
20:23.17*** join/#asterisk davlefouAMD (~david@41.225.41.86)
20:33.56*** join/#asterisk jhlavacek (~jirka@87.89.218.63)
20:34.13*** join/#asterisk anaxagoras (~jochen@b2b-94-79-190-22.unitymedia.biz)
20:34.30anaxagorasGood evening everybody.
20:35.54anaxagorasAfter three sleepless nights i am seeking for your help: I have a nat-issue with my asterisk setup on ubuntu. I took the time to document the problem at http://pastebin.com/SBnK49pG I would be greatful for every input regarding the issue. Thanks in advance.
20:38.25anaxagorasshould i explain it in chat or is it the right way to paste these information on pastebin?
20:40.25pabelangeranaxagoras: pb a SIP trace of a call that is not working
20:41.18anaxagoraspabelanger: there is a snipped of a call that is not working form the debug output of ther asterisk console
20:41.35pabelangeranaxagoras: that is not a SIP debug though
20:41.40pabelanger~collectdebug
20:41.40infobotextra, extra, read all about it, collectdebug is a method of collecting logs allowing others help troubleshoot an issue.  Refer to https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
20:42.03pabelangerthe SIP trace will show actually IP address
20:42.07pabelangerand the issue with your NAT
20:43.22gustowhy do you have that fritzbox in between?
20:43.43gustoaha, its a cable router
20:43.44gustook
20:44.19gustowho is your provider?
20:44.24anaxagorasgusto: unitymedia
20:44.32gustoso you do not have ipv6
20:44.34gustoha?
20:44.43anaxagorasgusto: no its ipv4 i suppose
20:45.48gustoyour commedia and nat settings are useless, because you are the client, so one has to expect the other side (the side you are registering to) that they have set nat=yes ... which ... of course may not be the case
20:46.43gustoisnt it possible that the fritzbox is catching the VoIP connections away?
20:47.15gustoi ve seen such problems on DT speedports (technically also fritzboxes)
20:48.27gustotwo public ip addresses? how is that? do you have some kind of business plan?
20:49.03anaxagorasgusto: its a business-account of unitymedia thats why we have the sip-account information and an own gateway / subnet and two public ips
20:50.18gustohm, interesting
20:50.37gustoi am on kabeldeutschland ds_lite
20:51.18anaxagorasgusto: unfortunately they dont give away their sip-account credentials
20:53.00gustoyes, that is always a problem, but i managed always to find it out someway
20:53.16gustoyou mean that credentials that are inside of your fritzbox?
20:53.33gustomaybe you should make a backup of that configuration and then search the file after the credentials
20:53.41gustothat would be my first try
20:55.05gustolocalnet= 94.XX.190.20/255.255.255.252 ???
20:55.16gustowhat's that bullshit?
20:55.49anaxagorasgusto: that is not my issue, because unitymedia handed me the credentials
20:56.03gustolocalnets are not translated into extern addresses
20:56.07gustoso put that line away
20:56.09anaxagorasgusto: that is the local subnet adress and the subnet-mask
20:56.49gustono
20:57.45gustoput that line away and also those ridiculous extern ip and extern addr lines, one is sufficient and when you want to use DNS, then use externhost
20:57.56anaxagorasgusto: the fritzbox is not reachable from the wan, so it should be considered as a local net isnt it?
20:58.20gustono
20:58.35gustoalso those NAT settings are useless since you are the one behind nat
20:58.59anaxagorasgusto: should i loose all nat settings?
21:00.01gustothey may do more harm than good
21:00.07gustoespecially those commedia settings
21:00.23gustowhen he is waiting for the other side to send rtp packet first, it may never happen
21:00.32anaxagorasgusto: should i set nat=no
21:00.36gustoyes
21:01.06gustonat=no in general and remove all the nat settings per peer
21:02.14gustoand you also seem to have SIP connection working, however, i can not understand why, because the way you configured it, not even that should work
21:02.27gustobut it maybe works because you enabled qualify
21:02.52gustowhen you are qualifying with your SIP UDP connection, you do not need a portforwarding for that one
21:03.06gustoso - NAT/Portforward: WAN -> 6969 -> 5060 to IP of VM is also useless
21:03.32anaxagorasgusto: i have two external sip-clients
21:04.05gustolet us not care about them first
21:04.20gustoyou need to make that setup working first, do care about the external bullshit later
21:04.25anaxagorasgusto: which are not that important i may switch to a vpn solution for them
21:04.32gustono
21:04.53anaxagorasgusto: alright :)
21:04.54gustothat should work as well, but why did you choose 6969 port for them?
21:05.13anaxagorasgusto: because 5060 was spammed immediately
21:05.22gustowhat do you care?
21:05.28anaxagorasgusto: i was afraid
21:05.37gustohm
21:05.58gustoyou can adjust your firewall to block away unknown ip address ranges
21:06.11gustoon that port
21:06.55gustoswitching to another port is not really a more secure option, those bots who are just spamming into your standard port will not do you any harm, as long as you do not misconfigure your asterisk
21:07.32gustoand when there would come someone about who is able to break into your setup, you will not stop such a person with different port
21:07.34gusto:-D
21:07.38anaxagorasgusto: okay. like you said we will care about the external later
21:08.24*** join/#asterisk MissionCritical (~MissionCr@unaffiliated/missioncritical)
21:09.06anaxagorasgusto: i am restarting my asterisk and have a try if issue is still present
21:09.13anaxagorasgusto: just a sec
21:11.02gustossl36.telefon.unitymedia.de seems to resovle to an IPv4 so you should not need the SRV record as well, or is it needed for sipgate? it has nothing to do with your issue, but i would be careful enabling SRV on asterisk, you can get a loop very easily, i do not use it, i ll rather resovle the SRV record using DIG manually and put the domain manually there which resolves than to a A record
21:12.51gustoso, what is the status?
21:14.27anaxagorasgusto: the status is the same. Calls are routed to the phone, but there is no audio
21:15.05gustowell, but the adjustments helped, because it made the configuration a bit smaller (less likely for catching more errors)
21:15.17anaxagorasgusto: yes indeed
21:15.21gustoso in this sense it is good, even when there is no progress
21:15.42gustoso ... maybe we should now enable the sip debug using 'sip set debug on'
21:15.45gustoto see more
21:16.14anaxagorasgusto: its enabled
21:16.23gustohm
21:16.31anaxagorasgusto: now another call and paste it to the bin?
21:16.40gustoyes
21:16.47gustodebug output helps always
21:18.04gustolisten up ... do you have directmedia enabled?
21:18.32gustotry to set directmedia = no to [general] section, maybe that would help
21:19.22gusto<PROTECTED>
21:19.26gustothat was the problem
21:19.32gustohe is trying to bridge it remotely
21:19.38gustoah, i should have seen that from the start
21:20.07gustoa beginner mistake i made ... i expected the defaults not to bridge remotely, that is disgraceful
21:20.10anaxagorasgusto: with debuggin on there is no ringing. is that normal
21:20.26gustoeh, that is not normal
21:20.35gustodebugging should not make any changes
21:20.51gustowhen it does not ring, we ran into a different problem
21:21.04gustobut first we have to disable the remote bridging, that is very important!!!
21:21.17gustotry to set directmedia = no to [general] section!
21:21.18anaxagorasgusto: alright.
21:21.26anaxagorasgusto: just a sec
21:21.49gustohe has to bridge locally, because when he does not, then all your portforwarding bullshit is useless
21:23.08gustotheoretically it would be possible to make it work with remote bridging as well, but i did not see such intelligent sip phones yet that would use externaddr only for cases when it is connecting to the outside net, but i may be mistaken, however, behind nat it is always a good idea to bridge locally
21:24.34gustofor that things to see you do not need sip debug 'sip set debug off' and you only need core verbosity 'core set verbose 4' and 'core set debug 4'
21:27.31*** join/#asterisk anaxagoras (~jochen@b2b-94-79-190-22.unitymedia.biz)
21:27.42anaxagorasgusto: i am sorry. disconnect on my end
21:27.59gustoso
21:28.02gustowhat is the status now?
21:28.03anaxagorasgusto: i made the changes
21:29.32anaxagorasgusto: just a sec please
21:32.34anaxagorasgusto: I can hear audio
21:32.39anaxagorasgusto: GREAT!
21:32.58anaxagorasgusto: now i am testing outbound calls, because they were cut after 30 seconds
21:33.04gustowhen he is doing local bridging now, it is no surprise that you hear audio
21:33.31gustothat should not be a problem either, if it still exists, then we need to take a closer look at your NAT setup
21:34.51anaxagorasgusto: no breakups
21:35.28anaxagorasgusto: great
21:35.53anaxagorasgusto: thank you very much. now that i can understand the issue. what was the problem
21:36.29gustoyes, but removing remote bridging only would not help much, since you also had your externaddr configured as localnet
21:37.12gustoso there were 2 problems, but i first caught only the localnet one, and then i had to take a closer look to spot that you had no setting on directmedia
21:38.08anaxagorasgusto: ah okay. directmedia. I just read the explaination. which sounds logical - now that it works :)
21:38.10gustoand of course that nat settings like same port RTP (comedia) could make problems as well, since it makes asterisk wait for the other side
21:38.59gustohe was trying to bridge the telephone directly with your provider, which could not work, because you had no RTP redirection in NAT for your phones
21:40.32gustodirectmedia is a nice thing, but you need to have all devices using direct (remote) bridging have reachable ip addresses (ipv6 for example)
21:42.04anaxagorasgusto: i think i get it. do you have any further advice on remote sip clients to connect
21:43.14gustoand you have also be careful about your external phones then, because when you do remote bridging with a phone outside your network trying to make a call over your provider, that could result in a ban, because in the contract you are only allowed to use that VoIP from your internet connection and not from other ones
21:43.32gustoeven worse - giving others the access to your telephone plan ;-)
21:44.22gustowell, i see a problem
21:44.30anaxagorasgusto: it is a different provider in that case sipgate
21:44.58gustofor example ... you did say that you used a port 6969 because you was worried to use 5060 standard port
21:45.19anaxagorasgusto: yes
21:45.38gustowell, but did you also think about that the server also sends packets back?
21:45.39anaxagorasgusto: should i change the port back to 5060?
21:45.52gustothat would make a lot of things easier
21:46.35anaxagorasgusto: okay. i will do that
21:46.40gustobecause the packets for 5060 are arriving on 6969 ... so the client is sending them to 6969, but the server responds from 5060 ... and that results in rejection
21:47.06gustoso you would need to have insecure=port enabled on those clients, and on phones, it is unlikely for them to do that
21:47.45gustomoving your SIP port to 6969 or another port would make more sense
21:48.11gustobut 5060 is the best solution
21:48.48gustoan alternative way would be to change port forwarding for 6969 -> 6969 and make asterisk on your ubuntu VM listen on 6969
21:49.53anaxagorasgusto: insecure=port instead of insecure=invite?
21:49.56gustofor your providers it should be not important where the SIP messages come from, because you are registering to them anyway, so they should notice that you would send it from a different port, and since you are behind a nat anyway, it would not make much difference
21:50.57gustoi was talking about the external clients of yours (not sure if that are asterisk clients or what)
21:51.24anaxagorasgusto: no these are android phones - with zoiper or csimple installed
21:51.47anaxagorasgusto: which want to connect to the two seperate sipgate accounts
21:52.09gustofor the clients connecting to you, where you have type=friend, it is a dangerous method to use insecure=invite ... that could result in someone else taking over your connection!
21:53.10gustofor your peers on the other hand, you HAVE TO use insecure=invite, because they will not register to you, you only authenticate yourself to them, but not the other way (logically, they have no way to know YOUR credentials - if you had any)
21:54.09[TK]D-Fender[17:53]gustofor your peers on the other hand, you HAVE TO use insecure=invite, because they will not register to you, you only authenticate yourself to them, but not the other way (logically, they have no way to know YOUR credentials - if you had any) <- no
21:54.12gustoon the other hand, for VOIP providers like sipgate or your cable provider you can RELY on them using the right ports (because they are professionals) so you SHOULD remove insecure=port from their peer section
21:54.55gusto[TK]D-Fender: i meant the VOIP providers
21:55.07gustoas in type=peer
21:55.16[TK]D-FenderUse of insecure there has nothing to do with registration
21:55.25gustothe external connections (friends) he has as type=friend
21:56.24gusto[TK]D-Fender: to my understanding insecure=invite makes asterisk not require an authentification on every call being made
21:56.27anaxagorasgusto: yes external has type=freind
21:58.46gustoanaxagoras: type=friend means that you authenticate to them as well as they are authenticating to you, type=peer means that you have no credentials for that connection at all, but you can/should authenticate to them using registry => for example, so that part is right
21:58.54gustobut here just for clarification
21:59.44[TK]D-Fender[17:58]gustoanaxagoras: type=friend means that you authenticate to them as well as they are authenticating to you <- no.
22:00.46gusto[TK]D-Fender: why not? type=friend causes asterisk creating not only the connection (peer) but also a user (with a password given)
22:00.46[TK]D-Fenderuser = auth by username, peer = auth by IP (regsitration required if dynamic).  friend = user + peer. (user matched first.
22:01.10[TK]D-FenderBoth require authentication unless you use "insecure"
22:01.13gustodid i mix it up with IAX?
22:01.21[TK]D-FenderNo, you're just wrong overall.
22:01.31[TK]D-Fenderauth implies PROVING who you are
22:02.00[TK]D-Fendertype change how you IDENTIFY them, INSECURE bypasses PASSWORD CHECKING
22:02.30gustoyes, but there is no password when you have type=peer
22:02.34[TK]D-FenderWRONG
22:02.40gustoNEW TO ME
22:02.42gusto:-D
22:04.12[TK]D-FenderThere is a secret if you put one and bypassed on INCOMING if you use "insecure" appropriately.
22:04.54gustowell
22:08.56anaxagorasgusto: [TK]D-Fender, thanks very much for your help. I will change the other settings tomorrow, for today - my brain is too empty :9
22:09.21anaxagorasgusto: have a good night.
22:14.35*** join/#asterisk joako (~joako@opensuse/member/joak0)
22:37.24*** join/#asterisk Milarepa (~Milarepa@host-74-211-92-125.beyondbb.com)
23:11.32*** join/#asterisk Milarepa (~Milarepa@host-74-211-92-125.beyondbb.com)
23:28.01*** join/#asterisk Vutral (~ss@mirbsd/special/Vutral)
23:34.02*** join/#asterisk snadge (~snadge@unaffiliated/snadge)
23:48.31*** join/#asterisk lvlinux (~n1gg@c-50-142-148-35.hsd1.tn.comcast.net)
23:50.05lvlinuxanybody setup SLA lately? i'm going through a nightmare just to get a super simple setup going.
23:50.22lvlinuxor I should say a "Key System"
23:50.53*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
23:51.33lvlinuxI'm using LG LIP-6812 phones
23:51.44lvlinuxset to DSS/BLF on the lines
23:53.39lvlinuxWhen I hit a line key and it speedials the sla line in the sla_stations context, asterisk gives a 603 declined
23:55.18lvlinuxanyone here ever messed with that before?
23:55.20[TK]D-FenderWhich * throws out if a call is accepted to the dialplan but nothing answers it or passes on any other status
23:55.41[TK]D-FenderYou ran out of dialplan which means you should actually be paying attention to what is being called
23:56.03lvlinux[TK]D-Fender: I thought * was supposed to instantly connect the station to the trunk, which is a DAHDI line?
23:56.30WIMPyDo YOU have it configured like that?
23:57.14lvlinuxI thought so---I've never set this up before, so I've been basing my config on the examples in the asterisk documentation and the asterisk book example
23:57.34lvlinuxi have my sla.conf setup where line1 is DAHDI/1 line2 is DAHDI/2 etc
23:57.37[TK]D-FenderYou aren't looking at your call
23:58.24lvlinuxso I need to manually tell * to connect to DAHDI/1 in the context that the station hits?
23:58.43[TK]D-FenderDIALPLAN <---------
23:59.06lvlinuxyes that's what I mean---in the dialplan context
23:59.12[TK]D-Fenderyes

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.