IRC log for #asterisk on 20161006

00:34.00*** join/#asterisk xrobau (~xrobau@2001:4830:121e:ffff:44ae:cf3e:1ea1:dfa0)
01:16.39*** join/#asterisk [NC] (~nc@rv1.sabius.net)
01:26.31*** join/#asterisk fstd_ (~fstd@unaffiliated/fisted)
01:32.43*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
01:45.15*** join/#asterisk matrix1233 (~matrix123@197.3.255.218)
01:53.06*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
02:01.29*** join/#asterisk brokensyntax (~quassel@45.62.254.31)
02:06.40*** join/#asterisk boris_t (~boris_t@212.119.243.183)
02:35.33*** join/#asterisk matnav (~matnav@cpe-24-27-45-27.austin.res.rr.com)
03:09.43*** join/#asterisk iheartlinux (~jwpierce3@mail.johnthecomputerguy.com)
03:10.14iheartlinuxis it not possible to put a variable inside sip.conf [context]?
03:24.10*** join/#asterisk tuxd00d (~tuxd00d@ip68-106-11-24.ph.ph.cox.net)
03:33.53*** join/#asterisk matrix1233 (~matrix123@197.3.255.218)
03:37.07WIMPyYou can set channel variables, if that's what you want.
03:44.01iheartlinuxWIMPy: I was/am trying to use a central "account" variable for both sip.conf and extensions.conf.
03:44.35WIMPyDoing what?
03:45.30iheartlinuxor include rather. i.e. [${device}] in sip.conf, & SIP/${device} in extensions.conf
03:46.41WIMPyI have no idea what that variable thing is supposed to do there.
03:47.45WIMPyWhat are you trying to accomplish?
03:50.15iheartlinuxI want a central include, lets say accounts, to be included "#include accounts" in both sip.conf and extensions.conf, that will allow me to manage the "sip devices"/extensions/whatever centrally
03:50.53WIMPyAnd how would you use that?
03:51.15matnavgets popcorn
03:51.18iheartlinuxthis works fine for extensions.conf i.e. SIP/${device}
03:51.26WIMPyThere is users.conf, but that's not really recommended.
03:52.11iheartlinuxbut when you put a variable in sip.conf inside square brackets, it gets ignored
03:52.24WIMPyI don't see how variables would help. Unless it was an array, which is something Asterisk doesn't know.
03:53.04WIMPyJust write your own config file and generate asterisk configs from that, like many of us do.
03:53.54iheartlinuxwell, aparently it doesn't in this case. I'll just have to maintain sip.conf seperately
03:54.50iheartlinuxI wouldn't need an array in this case. just a common variable
03:55.16iheartlinuxa variable common to both sip and extensions
03:56.53WIMPyWhat's the benefit of using the same variable name instead of the same peer name?
04:02.49iheartlinuxI decided to name my devices randomly using "pwgen" i.e. [J2NMLn1HTnMfhFk7] & SIP/J2NMLn1HTnMfhFk7. Probably not much benefit other than being able to identify without using comments and also to be able to switch out peers slightly easier. Really just for organizational/readability purposes
04:05.02iheartlinuxI manage many asterisk boxes (for small businesses). I just wanted to make my life easier as I jump from box to box
04:05.28matnavsounds complicated..
04:06.05WIMPyWell, just generate the config. Makes life easier in many other ways as well.
04:06.41iheartlinuxno not really. if I use a "random string" instead of an extension number. I can switch phones and their locations remotely instead of having to go to the location to reprogram the phone
04:06.56matnavah I see
04:07.01matnavI never thought about that
04:07.08matnavAsterisk newb here.
04:07.52matnavwould it be the same for programmable buttons and what not?
04:07.53WIMPyYou could even integrate phone provisioning.
04:07.55iheartlinuxMe too, started the beginning of the year. :)
04:08.31matnavwe just go in and change everything. That's kind of the service we offer.
04:09.01iheartlinuxWIMPy: I not that advanced yet... :)
04:09.48matnavand implment auto OUI on the switches to automaticlly get phones on the correct vlan too
04:09.57matnavin a perfect world..
04:10.52iheartlinuxI do small business, vps', no vlans,
04:12.01matnavso do you setup on-premise pbx servers?
04:12.09iheartlinuxnope
04:12.11matnavk
04:12.16matnavwhat do you use for traffic shaping?
04:13.11iheartlinuxhonestly, haven't had a problem with traffic. probably due to the nature of my customers
04:14.59matnavlucky you
04:15.11matnavthat Level 3 the other day though
04:15.12matnavomg
04:16.33iheartlinuxreading about it now
05:09.11*** join/#asterisk lankanmon (~LKNnet@2607:fea8:d20:239::a)
05:22.39*** join/#asterisk matrix1233 (~matrix123@197.2.13.84)
05:57.28*** join/#asterisk Iamnacho (~Iamnacho@ip24-252-4-195.om.om.cox.net)
05:59.12*** join/#asterisk bof22 (~Thunderbi@185.13.183.107)
06:10.59*** join/#asterisk matrix1233 (~matrix123@197.2.13.84)
06:22.06*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-yfyencuyuvagxfui)
06:22.45*** join/#asterisk hsmiths (uid95325@gateway/web/irccloud.com/x-puobbvhbxkwpqfov)
06:43.57*** join/#asterisk miralin (~Thunderbi@195.19.212.23)
06:51.16*** join/#asterisk hsmiths (uid95325@gateway/web/irccloud.com/x-zzeublgpwcdcmgre)
06:51.18*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-noupapicatlfttok)
07:00.28*** join/#asterisk tirej (~tirej@95.9.123.3)
07:02.01*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
07:06.39tirejhi everyone
07:12.22*** join/#asterisk matsk (~matsk@vpnbl.borderlight.net)
07:22.52*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
07:33.14*** join/#asterisk zahyl (~quassel@185.12.1.186)
07:35.23*** join/#asterisk putnopvut (putnopvut@asterisk/master-of-queues/mmichelson)
07:35.23*** mode/#asterisk [+o putnopvut] by ChanServ
07:44.06*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
07:57.42*** join/#asterisk miralin1 (~Thunderbi@195.19.212.23)
07:58.10*** join/#asterisk jkroon (~jkroon@uls-154-73-35-201.wall.uls.co.za)
08:04.26*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
08:19.27*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
08:24.26*** join/#asterisk matrix1233 (~matrix123@197.2.13.84)
08:37.50*** join/#asterisk ruied (~ruied@192.61.136.95.rev.vodafone.pt)
08:56.27*** join/#asterisk Rasputin3711 (~Rasputin3@87.255.254.66)
09:00.25Rasputin3711What is the recommended configuration for: max 40 cps, 90 ext, ulaw/ulaw, without transcoding,recording,cdr,etc, only calls point-to-point?
09:06.13SamotUhm.
09:06.16Samot40 CPS?
09:06.45SamotWhat is generating 40 CPS?
09:07.24SamotHow do 90 users generate 40 CPS?
09:09.23tuxd00dPerhaps he means, total simultaneous calls.
09:10.02Rasputin3711yep,tsc
09:10.26SamotBIG difference.
09:10.29SamotHUGE
09:12.02tuxd00dRasputin3711: What do you mean by “recommended configuration”?  Are you asking what type of hardward is needed?
09:12.20Rasputin3711~ cpu,disk,ram
09:12.43seik0Hi! does digium have statistics on downloads of old versions of Asterisk?
09:12.54SamotYou probably want about 6 cores.
09:13.03SamotOr vCPUs.
09:13.10SamotAnd about 4GB or so of RAM.
09:13.39tuxd00dSamot: I think that is overkill… he’s not doing any transcoding.
09:13.52Samot90 concurrent calls?
09:13.59tuxd00d40
09:14.03Samoter 40 concurrent calls with 90 users.
09:14.25SamotI also have a feeling we're not getting the full scope.
09:14.55Rasputin371140 it's a maximum
09:15.08tuxd00dRasputin3711: Are you going to be doing this on a dedicated machine, or as a virtual server?
09:15.19Rasputin3711the dedicated machine
09:15.58Rasputin3711average 10-20 concurrent calls
09:16.06tuxd00dThen any machine should be fine.  Asterisk isn’t a resource hog.
09:16.17seik0you really do not need 6 cores and 6ram for 40 simple concurrent calls and 100 users
09:16.22seik0*4gb ram
09:16.59SamotDid you guys ever stop to think about growth?
09:17.12SamotOr various other items that could impact things?
09:17.17seik0wait, I have just this configuration, but with hard DB connection and monitoring recording and voicemail
09:17.28seik0he asked for minimal
09:17.40SamotHe asked for recommended
09:17.44SamotThat's not minimal.
09:17.45seik0not a configuration, but 40 concurrent calls and 100 users
09:17.49tuxd00dIs this machine only going to be running Asterisk, or will other services such as MySQL be running?
09:18.00Rasputin3711only asterisk
09:18.12SamotSo no voicemail?
09:18.21SamotNo email notifications?
09:18.22Rasputin3711nope
09:18.59SamotQuad core, 2GB  RAM.
09:19.15tuxd00dRasputin3711: Asterisk will work well, but you may also want to look at Kamailio or openSIPS
09:19.47tuxd00dKamailo and openSIPS only do what you’re asking for, not much more.
09:19.51SamotI'm not even sure he needs that.
09:19.54Rasputin3711For that case do i need it?
09:20.31tuxd00dAsterisk has a better community than those other tow, so if you need help, Asterisk may be the better option.
09:20.37seik0I have server with 2 running asterisk (for dahdi, simple and stable, and main, more complicated), about 40 concurrent calls, monitoring recording, heavy DB usage (DB on other machine). It has 2GB ram, 1 core (1 cpu), slow HDD
09:20.45Rasputin3711I do not have any external links
09:20.55seik0and sometimes it works slow
09:21.07SamotYes, sometimes it will be.
09:21.12SamotThat's a bit low for that.
09:21.31seik0CPU is now enough
09:21.43seik0*not
09:22.16seik0in fact, asterisk does not need much RAM
09:22.37tuxd00dIt doesn’t need much of anything....
09:23.01seik0cpu for transcoding
09:23.02tuxd00dIt’s only gets busy with tasks such as recording and voicemail.
09:23.06seik0hdd for writing
09:23.21SamotOr setup or tear down.
09:24.23tuxd00dRasputin3711: The answer is…. it depends.
09:24.57tuxd00dAny quad-core with 4+ GB or RAM should work fine.
09:25.05*** join/#asterisk whizzi (~whizzi@185.21.52.255)
09:25.25SamotEven 2GB
09:25.37Rasputin3711What profit will i get from Kamailio or openSIPS?
09:25.40SamotIf all you are doing is calls.
09:26.02tuxd00dRasputin3711: Kamailio and openSIPs only do SIP registration and routing.
09:26.15SamotFor what you are doing? Probably not much.
09:26.34Rasputin3711I don't have routing.
09:26.40tuxd00dThey would be in place of Asterisk
09:26.46tuxd00dCall routing.
09:26.57SamotAnd zero media control
09:27.01Rasputin3711and call routing too
09:27.06tuxd00dBut, like I said, finding help with them is hard.
09:27.13SamotOutside of proxying the media
09:27.43Rasputin3711it will be isolate system
09:27.58SamotWhat is this for?
09:28.13SamotWhat is the purpose?
09:31.03Rasputin3711Internal call system, 1 tel per room(between rooms ~ 15-20m), 90 people consult each over
09:32.20Rasputin3711~65% don't have a computer and we cann't use a chat or other tools.
09:32.28tuxd00dRasputin3711: You don’t want any calling to or from the outside world?
09:32.41Rasputin3711yep
09:33.04SamotYes, you do? Or no, no outside calls?
09:33.30Rasputin3711Calls only between internal extensions
09:33.55tuxd00dYou don’t even need a server with some phones, if you only want internal calls.
09:35.42SamotSee now...
09:35.47SamotKamailio makes more sense.
09:35.58SamotAs long as all the phones are configured properly and the same.
09:36.08tuxd00dYes, if it were my project, I’d use Kamailio.
09:36.24SamotIf it's all internal and it's just calls..
09:36.36SamotUse Kamailio.
09:36.54tuxd00dAnd old P4 can handle 100,000’s of calls
09:36.56SamotYou can get away with 1x1 or 2x2 with CPUxRAM.
09:37.16SamotJust have to make sure the endpoints are configured the same.
09:37.25tuxd00dJump over to #Kamailio
09:37.31SamotSo they always offer up the same codecs in the same order in the SDP.
09:37.55tuxd00dOr limit the phones to only one codec
09:38.10SamotThat would fall under the same codec in the same order.
09:38.12Samot1
09:38.17tuxd00dOr limit Kamailio to only one codec
09:38.27SamotYou can't.
09:38.44SamotThe phones must have at least one matching codec.
09:38.46tuxd00doh yeah, no transcoding.
09:38.48SamotOr the call will fail.
09:38.54SamotOr media control.
09:39.14SamotMedia does not flow through Kamailio.
09:39.24Rasputin3711Kamalio without Asterisk?
09:39.33SamotYou can use an RTP proxy like RTPProxy or RTPEngine.
09:39.35tuxd00dWhich is why it can hadel so many calls at once on crappy hardware
09:39.36SamotYes.
09:39.49SamotKamailio without Asterisk.
09:39.53tuxd00dRasputin3711: Yes, just Kamailio by it’s self.
09:40.00SamotYou're not using any media driven applications.
09:40.04SamotYou don't need Asterisk.
09:41.27SamotHonestly, you could probably manually program the phones to add contacts with direct URI dialing.
09:41.35SamotSo if I'm 102 and you're 103
09:42.05Rasputin371190* 90 = 8100 it will be fun)
09:42.07SamotI'm at 192.168.1.34 and you're at 192.168.1.45 I can program a contact in my phone to dial 103@192.168.1.45
09:42.26SamotNo Asterisk, no Kamailio..
09:42.31SamotJust the two phones.
09:42.34SamotAnd the call will work.
09:43.35tuxd00dRasputin3711: You’d want to have a server for provisioning your phones via HTTP or FTP or something.  That way you can configure them via text files on one server instead of configuring each phone by hand.
09:43.57Rasputin3711I need a second server)
09:43.58tuxd00dJust look for a provisioning guide for your phone.
09:44.00SamotNo.
09:44.05SamotYou don't need a second server.
09:44.16SamotWhat kind of phones?
09:44.21tuxd00dNah, the provisioning server is just an HTTP or FTP service
09:44.32SamotYou will need to have Apache or TFTP or FTP
09:44.34Rasputin3711yealink
09:44.37SamotI'd go with TFTP over FTP.
09:44.55tuxd00dYeahlinks provision well from HTTP
09:44.57SamotWell, if you want to have provisioning server...
09:45.09SamotYou need something that can support HTTP, TFTP or FTP
09:45.21tuxd00dYou just set your DHCP server to reference the provisioning server URL
09:45.55tuxd00dRasputin3711: http://www.yealink.com/Upload/T2X/2014102/Yealink_SIP-T2_Series_T19P_T4_Series_IP_Phones_Auto_Provisioning_Guide_V72_1.pdf
09:46.16SamotSo now you can use the same server as Kamailio/Asterisk (which ever you choose)
09:46.34SamotBut now you will need to install Apache or Pure-FTP or configure TFTP to run...
09:46.59SamotSo a 1GB/1CPU server may or may not be the answer now.
09:47.14tuxd00dPage 30 talks about DHCP option to set the provisioning URL.  In this configuration, you don’t have to touch any phones. You’d only have to have a configuration file for it.
09:47.32SamotYes for TFTP.
09:47.33tuxd00dSamot: 1/1 is still pleanty
09:47.48SamotAs long as things are configured right.
09:47.57tuxd00dTrue
09:47.57Rasputin3711I think in our case, static conf will be more robust.
09:48.04SamotInstall Apache and then let it just spawn 256 child processes.
09:48.10SamotYour RAM will drop like a rock.
09:48.20tuxd00dYep… :P
09:48.31tuxd00dRasputin3711: What do you mean by “static”?
09:48.53SamotI think he means IP addresses.
09:49.06SamotDHCP options only work if you're using DHCP.
09:49.21tuxd00dThat’s true.
09:49.46tuxd00dBut having a DHCP server running does make network and phone management much easier.
09:50.15SamotThat is dependant of the network deployment.
09:50.23tuxd00dA lot of cheap routers can do DHCP options… but usually I have them run dd-WRT.
09:50.43Rasputin3711static ip address
09:50.53SamotAll my devices are sent out preconfigured.
09:51.02SamotBecause, like, I test them.
09:51.08tuxd00dStatic is fine.. just extra work when devices are changed out.
09:51.15SamotExtra work?
09:51.18SamotIt's 3 minutes.
09:51.25SamotLog into the phone, add the provisioning URL..
09:51.36SamotSave, restart, configured.
09:51.45tuxd00dFor a 90 fines, sure, you’re good.
09:51.58SamotI'd use provisioning for 90 phones, myself.
09:52.08tuxd00dI manage almost 100,000 phones….
09:52.20SamotBut adding a provisioning URL to a phone when you swap it is not hard work.
09:52.29SamotThe initial setup is the PITA.
09:53.17SamotBut I add the provisioning url to all the phones I ship.
09:53.38SamotI make sure the phone pulls the config and registers...
09:54.04tuxd00dThere is nothing wrong with the way you want to do it
09:54.23SamotBut I also manage multiple custom templates for clients.
09:54.38SamotAnd the URL changes based on the client.
09:55.52tuxd00dRasputin3711: It’s all just a matter of preference. :
09:55.54tuxd00d:)
09:59.18dan_jWhat storage method is recommended for voicemail when using multiple servers? I'm in the middle of switching to IMAP from Mysql, but i'm not happy with it. It seems to slow down the startup of asterisk.
09:59.45SamotAre you storing the voicemail on each server or do you have a centralized vm server?
10:10.10Samot??
10:27.31dan_jSamot: Sorry. Had a phone call. With both imap and mysql, its a centralized vm server.
10:28.08dan_jmysql with a slave. for imap, dovecot in a redundant pair
10:28.18SamotWell centralized makes it easier but honestly, I don't user either option.
10:28.39SamotI use a centralized vm server but just standard Asterisk vm.
10:31.26dan_jI'm not happy with either option really which is why i thought i'd see what method is most used/recommended.
10:31.29SamotIf the user just wants their VM in their email, it just gets emailed to them.
10:31.43SamotHonestly, I have yet to hear someone recommend IMAP for VM.
10:32.09SamotI've always just used the standard Asterisk vm.
10:32.18SamotJust route calls to the server when needed.
10:32.59dan_jMYSQL/IMAP is just the storage backend. It's still asterisk's built-in VM system.
10:33.00SamotUse returns a 486, route userb@vm. 408, route useru@vm
10:33.08SamotI just use files.
10:33.30dan_jFiles isn't an option for me since Ive got redundant asterisk boxes too.
10:33.40dan_jAutomatic failover if one box dies
10:33.48Samotrsync does wonders.
10:35.00*** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.125)
10:37.23SamotSo why are you changing from MySQL to IMAP for storage
10:37.24Samot?
10:38.22dan_ja) I dont like having to handle such a large mysql db.
10:38.37dan_jb) I want my users to be able to manage their messages using an email client.
10:39.00dan_jBut I dont like how slow asterisk is to start up when using imap.
11:00.12SamotYou mean keep the ones they want and delete the ones they don't via email?
11:00.41SamotWhy wouldn't you just email them the VM and delete it after it's emailed?
11:01.07SamotThey want to manage their VM on their email server, there they go.
11:01.33SamotThat's how I manage my VM via IMAP. I email my VMs to my email account, that's handled via IMAP.
11:04.06SamotI'll even create email accounts for my clients they can connect to via IMAP and just email the VMs to that.
11:04.28SamotMainly because I'm in the mindset that my VM server is not an email server.
11:05.11dan_jThe problem with that is when the user's mailbox is full and won't accept emails.
11:05.33SamotAgain, I'll create email accounts for them.
11:05.51SamotSo then I can say "No limit"
11:06.01SamotAnd if the user's mailbox is full...
11:06.07SamotThey can't get ANY emails.
11:06.16SamotSo its a bigger issue than just getting their VM.
11:06.44SamotIf they are using IMAP with a limit, they need to manage their emails better.
11:08.02dan_jHmm. interesting solution. Provide an email server with imap, have asterisk email the recordings to the imap server and delete the messages. But if someone wanted to access voicemail over the phone AND via imap, I can't delete the messages from asterisk.
11:08.15SamotOK.
11:08.16*** join/#asterisk clopez (~tau@neutrino.es)
11:08.21SamotSo then keep them there.
11:08.41SamotAsterisk VM via IMAP is a PITA.
11:09.00SamotWhen you can just email the VMs to an email account that supports IMAP.
11:09.44SamotEither way, management of messages whether they be VM or email is a USER responsability.
11:10.01SamotEither way, management of messages whether they be VM or email is a USER responsibility.
11:10.07dan_jI hear you
11:10.13SamotIt's my job to manage how I keep those messages.
11:10.20SamotNo matter the storage method.
11:10.48SamotAnd since my email server is cPanel..
11:10.54SamotDaily backups..
11:11.02SamotOh and cPanel supports clustering...
11:11.08SamotSo now all my emails are replicated.
11:12.49SamotThe only downside is that you can't delete from email and also delete from VM server if you are storing both.
11:13.13SamotBut that can be mitigated with minor user education.
11:14.05SamotBut then again, you can then delete it from the VM server while keeping it in email for records.
11:14.17SamotSo it does have a benefit as well.
11:14.56*** join/#asterisk evilman_work (~evilman@87.244.6.228)
11:16.41*** join/#asterisk nanoha-sama (znc@van-app-svr.ad.v10networks.ca)
11:26.36*** join/#asterisk evilman_work (~evilman@87.244.6.228)
11:41.59*** join/#asterisk evilman_work (~evilman@87.244.6.228)
11:45.53*** join/#asterisk tompaw (~tompaw@tompaw.xxx)
11:48.16*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
11:57.02*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
12:01.57*** join/#asterisk matrix1233 (~matrix123@197.2.13.84)
12:09.14*** join/#asterisk jkroon (~jkroon@uls-154-73-35-201.wall.uls.co.za)
12:13.54*** join/#asterisk evilman_work (~evilman@87.244.6.228)
12:19.01*** join/#asterisk Oatmeal (~Suzeanne@99-103-96-198.lightspeed.iplsin.sbcglobal.net)
12:23.02*** join/#asterisk evilman_work (~evilman@87.244.6.228)
12:47.49*** join/#asterisk [sr] (~kvirc@pal-213-228-163-73.netvisao.pt)
12:47.56[sr]hi
12:47.58[sr]hi WIMPy
12:56.12*** join/#asterisk [TK]D-Fender (~joe@216-191-106-165.dedicated.allstream.net)
12:59.35*** join/#asterisk boris_t (~boris_t@212.119.243.183)
13:25.43WIMPyHi [sr]! It's been some days...
13:45.33Kunsihm, i've got an asterisk server behind NAT (but port forwardings for SIP/SIPS/RTP). it should register to another asterisk instance, connected directly to internet (no nat). what should i set 'nat' setting in sip.conf to? already tried 'yes' and 'force_rport', both get me to call outbound, but 'sip show registry' always shows 'request sent' - sip debug shows me it sends OPTIONS and REGISTER to remote
13:45.36Kunsiasterisk, but i don't see any answers. any tips? maybe firewall related?
13:45.46[sr]WIMPy: yap... been away from life!
13:45.52[sr]WIMPy:  how r u?
13:46.31WIMPyToo many things to do, as usual.
13:47.27WIMPyKunsi: Yiu need to enable nat on the other side, usually.
13:50.22Kunsiother side has nat enabled
13:50.42*** join/#asterisk matrix1233 (~matrix123@197.2.13.84)
13:53.37SamotIf your box is registering to another system that is not behind NAT, then your peer for that connection should have nat=no
13:55.34*** join/#asterisk pawiecki (~pawiecki@router.dir.pl)
13:57.02[TK]D-FenderKunsi, there are a FEW settings you have to make, not just "nat"
13:57.10[TK]D-FenderKunsi, And you should be looking at the full request
13:58.37Kunsiwait, i'll nopaste some stuff
13:59.20pawieckii have NOTICE "Call from '' <Grandstream_GXW4224_IP>:<port> to extension <some_number> rejected[...] not found in context 'default'." And now I don't understand why this show up. First of all, from field is empty. Second of all, GW has no FWD's on any account/port. What am I missing here?
14:00.12[TK]D-FenderItt's sending a # to you and you don't have a match in your dialplan for it.
14:00.17[TK]D-Fenderpawiecki, ^
14:00.30[TK]D-Fenderpawiecki, And you should NEVER be using a context named [default] at all
14:00.50Kunsisip debug: http://paste.debian.net/857818/
14:00.54Kunsisip.conf http://paste.debian.net/857819/
14:01.05[TK]D-Fenderpawiecki, that one is default fallback for other things and should never exist
14:01.57*** join/#asterisk newtonr (RustyNewto@nat/digium/x-raneicvdthhzgboj)
14:01.57*** mode/#asterisk [+o newtonr] by ChanServ
14:02.11pawiecki[TK]D-Fender: I do not have 'default' context, because of security concerns, like you said. But why would it send # to me? Every registered port on GW has SIP user ID and Auth ID set up correctly.
14:03.09[TK]D-FenderKunsi,  Reliably Transmitting (NAT) to 92.222.104.42:5061:  Contact: <sip:3397@172.22.72.25:5061>
14:03.25pawieckibut it shows in field "from" empty value - ''. I don't get that.
14:03.36[TK]D-FenderKunsi, You are contacting a WAN IP and telling them your return contact isa PRIVATE IP.  You have failed to set up your WAN IP and localnets properly in your config
14:04.01Kunsido i need to set more than localnet and externip?
14:04.43[TK]D-FenderPrevent re-invites as well...
14:04.46[TK]D-Fenderand "nat"
14:04.56[TK]D-Fender4 setttings right there
14:05.03[TK]D-Fenderthen there are the ones related to your peer
14:05.05[TK]D-Fender(s)
14:05.18[TK]D-Fenderto make sure * know what it can and cannot trust
14:05.33[TK]D-Fenderpawiecki, go look what you put in your GW
14:05.59Kunsiyou mean, 'canreinvite=no', and 'nat'-setting, yes?
14:06.30Kunsi(first in global template, second in peer config)
14:07.48[TK]D-Fenderdirectmedia <-
14:08.04[TK]D-Fender"canreinvite" was phased out in 1.6 over half a decade ago
14:08.13Kunsioh
14:21.26*** join/#asterisk puzzled_ (~puzzled@2001:982:1097:1::1:5)
14:25.57SamotHave there been any changes to AMI in recent updates?
14:26.14Kunsihm, i think i need to debug my firewall
14:27.03Kunsiasterisk now sends REGISTER with correect ip set, but i don't recieve any answers
14:28.06SamotI'm having an issue where I see the AMI user login successfully but the following Originate command is returned "permission denied" but I don't see the Originate command in the debug or logs at all.
14:28.17SamotThen I see a successful logout.
14:28.23Kunsi… but tcpdump shows data coming in on udp 5060 … strange
14:28.44SamotJust the Originate in the middle, I never see it on the server but the remote side is getting the XML error response.
14:30.54*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
14:31.05*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
14:33.48WIMPySamot: What are you using? AMI doesn't do XML.
14:34.05SamotSorry, let me rephrase.
14:34.31WIMPyAnd you know that AMI users have permissions?
14:34.35SamotUsing the mini-HTTP server, amxml
14:34.43SamotFull permissions.
14:35.09Samothttps://www.irccloud.com/pastebin/2fYSi4Qc/
14:35.18Kunsihmm, think i found the error … asterisk doesn't listen on 5061 tcp
14:35.52SamotKunsi: It will if you tell it to.
14:36.06Samothttps://www.irccloud.com/pastebin/MMGxnQha/
14:36.15SamotOriginate permissions allowed.
14:36.39*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
14:37.13SamotI've got an Asterisk 13.7 box doing this just fine. I setup a new box, did all the configuration and settings the same...
14:37.31SamotAnd the Originate command portion of it is the only thing I'm having an issue with.
14:38.54*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
14:38.58SamotI don't even see the HTTP request for it..
14:39.20*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
14:39.22SamotBut we get back the AMI response in XML format.
14:39.31SamotAs we should.
14:42.02SamotSo I'm wondering..
14:43.22SamotWould the permission denied come back if the session couldn't be related to the session created during the login?
14:43.57*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
14:46.02SamotOr if perhaps any old deprecated functions/commands might have finally been removed. This script they use is kinda old so it may need to be reworked.
14:46.39SamotBecause I can initiate a call by going to the web server url in a browser via the amxml and originate a call.
14:46.44*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
14:47.42*** join/#asterisk matrix1233 (~matrix123@197.2.13.84)
15:00.42*** join/#asterisk Penguin (~xwQ5kwYl6@our.systems.are.full.of.penguins.at.penguinsystems.net)
15:04.47scvhm
15:04.54scvdefinitely encountering some leak
15:07.18*** join/#asterisk tm1000 (sid6728@gateway/web/irccloud.com/x-emkhoghxwmbhdqel)
15:11.39*** join/#asterisk rmudgett (rmudgett@nat/digium/x-mllaruxtaxylxjsj)
15:11.52*** join/#asterisk rmudgett (rmudgett@nat/digium/x-ixyadnecghwveanb)
15:13.30*** join/#asterisk miralin (~Thunderbi@195.19.212.23)
15:20.59*** join/#asterisk nunne (sid38499@gateway/web/irccloud.com/x-nlrapscbpyxpawyy)
15:28.53*** join/#asterisk chadxz (cmcelligot@nat/digium/x-qekvqpjjdthlnepu)
15:30.40*** part/#asterisk chadxz (cmcelligot@nat/digium/x-qekvqpjjdthlnepu)
15:36.02*** join/#asterisk dan_j (sid21651@gateway/web/irccloud.com/x-xyjoudiilmjcgayw)
15:36.13*** join/#asterisk GameGamer43 (sid5533@gateway/web/irccloud.com/x-itrpxarpzficvdkb)
15:38.55*** join/#asterisk bof22 (~Thunderbi@185.13.183.107)
15:43.41*** join/#asterisk gregs (sid160074@gateway/web/irccloud.com/x-sygzqjesggvmuymm)
15:52.35scvsigh
15:52.50scvrebuild with MALLOC_DEBUG and now asterisk crashes on startup
15:52.53scvjust my luck -_-
15:53.49scv<PROTECTED>
15:53.49scvSegmentation fault
15:53.51scvlovely
15:58.13*** join/#asterisk igcewieling (~ewieling@ip98-170-211-145.pn.at.cox.net)
16:12.09*** join/#asterisk pchero (~pchero@109.70.54.56)
16:30.00*** join/#asterisk axisys (~axisys@unaffiliated/axisys)
16:31.47*** join/#asterisk Oatmeal (~Suzeanne@99-103-96-198.lightspeed.iplsin.sbcglobal.net)
16:45.48*** join/#asterisk ChkDigit (~u388mw@208.77.142.15)
16:57.16scvfun times, some areas seem to be mixing ast_* and regular allocator functions
16:57.28scvmaybe that's relevant to why its crashing
16:57.48*** join/#asterisk matrix1233 (~matrix123@197.2.13.84)
17:02.21scvyep that was it, got it building and reporting memory properly with patches
17:03.20*** join/#asterisk ctcx (~user@unaffiliated/ctcx)
17:06.39ctcxDoes * has default enabled presence and SIP SIMPLE?
17:06.46ctcxUsing asterisk 11
17:12.02ctcx[TK]D-Fender, robink: Does * has default enabled presence and SIP SIMPLE?
17:12.34[TK]D-FenderThere is no "default", and * is not a presense server
17:12.53[TK]D-Fenderit does not accept it from devices, itt only broadcast's its own usage
17:13.20[TK]D-FenderSIP messaging goes through dialplan apps @ functions which are documented on the WIKI
17:18.45SamotYou need to install a presence server if you're looking for that feature.
17:19.16SamotAs for SIP SIMPLE, you want it just configure it. WIKI covers it, like TK said.
17:20.10ctcxOk, this time I'll try better to search.
17:20.21ctcxBefore annoying mr TK again.
17:21.57*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
17:22.35ctcxIs this right https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=5242984 ? Because, I thought SMS as such was a slightly different thing...
17:23.13ctcxDifferent than sip message since SMS forcibly implies a mobile carrier paid service
17:27.06[TK]D-Fender* is not a "SIP server" is is a telephony engine across multiple protocols
17:27.15[TK]D-Fendermany apps server more than 1 technology
17:27.18[TK]D-Fenderserve*
17:28.03igcewielingctcx: Asterisk's app_sms expects to work with modems and carriers which support sms.    If you are referring to the generic term for "SMS" aka "messaging" that would be handled outside of Asterisk
17:28.52igcewielingI'm not aware of any carriers in the USA which support SMS in the way app_sms expects.
17:30.10[TK]D-Fenderhttps://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_MessageSend?src=search
17:30.41ctcxAlready had found, reading...
17:32.22*** join/#asterisk Hyper_Eye (~mwoodj@pdpc/sponsor/digium/hyper-eye)
17:33.17Kunsihm, how can i set asterisk log directory? logger.conf only specifies file, not path to file
17:34.07[TK]D-Fenderasterisk.conf <-
17:36.07*** join/#asterisk jkroon (~jkroon@uls-154-73-32-14.wall.uls.co.za)
17:36.54Kunsiah, i see
17:39.29ctcxI need to learn to also read the comments as well.
17:39.40ctcxI only focused in article contents.
17:40.18ctcx[TK]D-Fender: I'm sorry for being disturbing; I'm slow learner, but I'm seriously working on that.
17:40.58ctcxJust a last doubt regarding this. By chance, auth_message_requests default value is "no"?
17:41.13ctcxI.e., if this directive is not specified.
17:41.26igcewielingctcx: the sip.conf.sample might tell you.
17:42.09ctcxAAahhh, ok. Thanks.
17:43.41ctcxWith these settings done, is it now just a matter of using a client supporting SIP SIMPLE messages? Such as (I'm guessing) 3cx, pidgin, zoiper...
17:44.27[TK]D-Fender* will process them as your dialplan tells it to.
17:45.30ctcxSo it depends how I set the dialplan file...
17:47.42*** join/#asterisk u0m3 (~u0m3@5-12-199-171.residential.rdsnet.ro)
17:52.02*** join/#asterisk rrittgarn (~rrittgarn@75-150-221-205-Illinois.hfc.comcastbusiness.net)
18:00.30[TK]D-FenderThere is a function& applications for both sending and parsing out received messages.  Thre are very clear sample of thisto dreceive
18:00.34*** join/#asterisk [d__d] (~d__d]@ec2-54-85-45-223.compute-1.amazonaws.com)
18:00.35[TK]D-FenderAll processing = dialplan
18:02.14ctcxigcewieling: I don't have any sip.conf.sample file...
18:02.36igcewielingctcx: then go download the asterisk source and get one.
18:02.53igcewielingthe sample config files are a very important part of Asterisk's documentation
18:03.01ctcx!!!????
18:03.06ctcxSo it should be there!!
18:03.09ctcxWTH...
18:03.16ctcxI have problems.
18:03.17igcewielingctcx: unless you did something silly and install from an RPM
18:03.30ctcxigcewieling: I'm using Elastix distro.
18:03.37igcewielingctcx: sucks to be you.
18:03.44ctcxWhy?
18:03.58igcewielingbecause it can't be supported here.
18:04.02igcewieling~freepbx
18:04.03infobot[~freepbx] FreePBX is unable to be supported here. It is made up of complex dialplans and scripts which can't be easily supported by people who aren't deeply involved. Try joining #freepbx and asking there
18:04.19igcewielingthat also applies to Elastix.
18:04.28WIMPy~elastix
18:04.28infobotwell, elastix is a full linux distro that includes FreePBX and other 3rd party add-ons. It is all this extra stuff which makes Elastix VERY difficult to support, and is not supported in #asterisk. Try asking in #Elastix or on their forums at http://www.elastix.org
18:05.14igcewielingand as you now know, you are missing a lot of important information by not having the .sample files.   I refer to them at least a few times a week to see documentation for a setting or to found out that the default is for a setting.
18:05.21ctcxOk, I apologize to everybody here, but I think it's also a misunderstanding. I just mentioned that, but *I'm not asking for support for that*.
18:05.37ctcxThough Asterisk is also included in Elastix.
18:05.42ctcxBut anyway.
18:06.01WIMPyI don't think they'd even support elastix in #freepbx.
18:06.11ctcxElastix entire community sucks anyway.
18:06.25igcewielingctcx: get the asterisk source, even if you don't build asterisk from it.
18:06.28[TK]D-Fender<ctcx> So it should be there!! <- go download the * tarball
18:06.30ctcxBut again, I apologize and NOT asking for support for that.
18:06.38[TK]D-Fenderxxthis has nothing to do with what some distro chooses to include
18:06.55[TK]D-Fenderctcx, this has nothing to do with what some distro chooses to include
18:06.57ctcxAnd yes, I'm just downloading the source.
18:06.59igcewielingctcx: you sort of are.  You need help because your distro didn't include the sample configs.
18:07.15[TK]D-FenderJust go download it
18:07.25ctcxI'm doing it right now.
18:07.40[TK]D-Fendernot having already doesn't make downloading a tarball and viewing now hard
18:07.53scvboo
18:08.22ctcxI know, I know, I already understood.
18:08.22*** join/#asterisk Mango45 (~Mango45@d142-59-245-8.abhsia.telus.net)
18:08.32[TK]D-Fenderlast one wasn't for you....
18:09.35ctcxI meant yours sir, not scv's
18:10.26ctcxAnyway, I was lent this test server, so probably owner deleted the file accidentally or the like...
18:10.39[TK]D-FenderNo, distro's don't come witth the samples
18:11.00[TK]D-FenderThey don't expect you to configure anything yourself directly, that's the entire point of GUI's
18:11.38ctcxMm...
18:11.43ctcxok, will take it into account.
18:11.49Mango45I have a directrtpsetup question if anyone has time.
18:11.52Mango45Call path is carrier -> Asterisk, no NAT -> Asterisk, NAT -> Phone, same NAT
18:11.57Mango45Currently the Asterisk behind NAT proxies audio.  Can I get it get it to go straight to the phone?  I have directrtpsetup=yes and directmedia=yes set for all peers.
18:12.47[TK]D-FenderPhone is the weakest link, and you have the RTP ports FORWARDED to your NAT'd *.  That spells likely failure
18:13.29Mango45I do not have any RTP ports forwarded, and no SIP ALG.
18:13.55Mango45"Phone is weakest link", so if the phone could figure out the public IP, would audio go direct to it?
18:14.13[TK]D-Fenderclarify your sertup for that 2nd *
18:15.06Mango45The 2nd Asterisk and the phones are all behind the same router, with no ports forwarded.  All (relevant) peers have directrtpsetup=yes and directmedia=yes.  The 2nd Asterisk knows its public IP via externhost.
18:15.29[TK]D-Fenderthat 2nd * should have RTP as well as SIP forwarded to it like normal
18:15.51Mango45That wouldn't make audio go direct to the phone though, would it?
18:16.04Mango45No SIP forward required due to registration.
18:16.19[TK]D-FenderNo, it wouldn't, but that's what you are normally required to do just for that * to work properly
18:17.14Mango45I assume RTP works due to * sending RTP, and the router then allowing it to come back in the other direction.
18:17.51ctcx";auth_message_requests = yes    ; Enabling this option will authenticate MESSAGE requests."   "End to end security" .....   I guess like SSL/TLS?
18:18.14[TK]D-Fenderctcx, Whatever auth that peer is defined for
18:18.27[TK]D-Fenderat a minimum that means it'll challenge with the secret, etc
18:18.44*** join/#asterisk viro (~viro@unaffiliated/viro)
18:21.37igcewielingMango45: don't expect to make directmedia work with NAT is involved.
18:25.07Mango45igcewieling: Difficult or completely impossible?
18:25.27ctcxDoc says auth_message_requests is by default enabled. Does it mean not including this line at all will take it as "yes"?
18:26.22igcewielingMango45: I've never heard of anyone having success with it when using NAT.
18:26.52igcewielingctcx: correct
18:27.13ctcxAh, so it does have a "default value".
18:27.57Mango45Oh well, I can't imagine * adds much latency.
18:32.17[TK]D-Fender"Doc says auth_message_requests is by default enabled." <- sorta says it rightt there
18:34.25Mango45omg I'm an idiot
18:34.46Mango45Set(__DYNAMIC_FEATURES=Transfer6#Transfer7)
18:34.51Mango45That would be why direct audio wasn't working
18:39.24Mango45Now it works...direct to the caller!  Not even the carrier is proxying audio!
18:45.14igcewielingMango45: In *both* directions?
18:45.58Mango45Yes sir.
18:46.33*** join/#asterisk matrix1233 (~matrix123@197.0.236.98)
18:49.47igcewielingany thing interesting happening when you do this in the CLI:   rtp set debug on
18:49.54Mango45Nothing at all.
18:49.58igcewielingimpressive.
18:50.23Mango45SIP SHOW CHANNEL [channel id] confirms the audio IP is of the terminating carrier.
19:02.30igcewielingMango45: which version of Asterisk?
19:09.38*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
19:33.10*** join/#asterisk viro (~viro@unaffiliated/viro)
19:55.15*** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme)
19:57.42*** join/#asterisk matrix1233 (~matrix123@41.230.68.28)
20:02.50*** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme)
20:19.14*** join/#asterisk mahlon (~mahlon@martini.nu)
20:20.12*** join/#asterisk cresl1n (~Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
20:20.12*** mode/#asterisk [+o cresl1n] by ChanServ
20:22.06*** join/#asterisk matrix1233 (~matrix123@41.230.68.28)
20:49.15*** join/#asterisk monsterco (~monsterco@TOROON474AW-LP130-02-1177735178.dsl.bell.ca)
20:52.00*** part/#asterisk monsterco (~monsterco@TOROON474AW-LP130-02-1177735178.dsl.bell.ca)
20:56.20*** join/#asterisk viro (~viro@unaffiliated/viro)
20:57.23*** join/#asterisk matrix1233 (~matrix123@41.230.68.28)
21:00.05*** join/#asterisk axisys (~axisys@unaffiliated/axisys)
21:33.20*** join/#asterisk tzafrir (~tzafrir@bzq-82-81-175-197.red.bezeqint.net)
21:39.31*** join/#asterisk NirS (~Nir_s@87.69.126.26)
22:01.12Mango45igcewieling: Sorry for the delay.  11.7.0.
22:12.22*** join/#asterisk yulius (~yulius@201.170.106.136.dsl.dyn.telnor.net)
22:21.31*** join/#asterisk ctcx (~user@unaffiliated/ctcx)
22:21.46*** join/#asterisk DivideBy0 (~DivideBy0@unaffiliated/divideby0x0)
22:25.00ctcxIn the sip.conf file, does # mean a working line instead of a comment?
22:25.09ctcxOr is it just another comment as well?
22:25.25SamotInclude.
22:25.53Samot#extensions_custom.conf <-- inside extensions.conf would include that file and it's dialplan.
22:28.12*** join/#asterisk cresl1n (~Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
22:28.13*** mode/#asterisk [+o cresl1n] by ChanServ
22:29.07ctcxAaahh.
22:30.33*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
22:30.38[TK]D-FenderSamot, close
22:31.02ctcxAnyway, for all editings I should not use sip.conf nor extensions.conf, and instead use the _custom files, right?
22:31.22ctcx(I tried installing the freepbx module, but I guess it's not working as I was expecting...)
22:37.24[TK]D-Fender"the module"?
22:37.27[TK]D-FenderWhich module?
22:37.51*** join/#asterisk viro (~viro@unaffiliated/viro)
22:43.27ctcx[TK]D-Fender http://wiki.freepbx.org/pages/viewpage.action?pageId=1048598
22:44.09ctcxBut I cannot edit the direct files because now they say "do not edit these auto generated by freepbx"
22:45.26[TK]D-Fenderthat is general install instructions, not a "module"
22:45.38[TK]D-FenderAnd indeed you are not supposed to modify the base files
22:45.51[TK]D-FenderYou need to learn what FP generates and what you can hook into
22:46.02[TK]D-FenderAnd that is normally only in the _custom files
22:46.20ctcxAh, ok.
22:49.21ctcxI'm trying to do this https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_MessageSend (the first comment), but after a long google search I cannot tell difference between "sip_custom.conf" and "sip_general_custom.conf", nor tell which one to use...
22:50.40ctcxCould someone help a bit?
22:56.56[TK]D-FenderThose file names mean nothing.
22:56.59[TK]D-Fenderwhat's IN them does.
22:57.07*** join/#asterisk celer (~celer@pc1.robertwaltersjp-unet.ocn.ne.jp)
22:57.16[TK]D-FenderYou need to understand how the base configs actually work
22:57.34[TK]D-FenderAnd you don't sue EITHER for that
22:57.38[TK]D-Fenderuse*
22:59.21[TK]D-FenderMessageSend is a DIALPLAN application.
22:59.24[TK]D-Fenderthat is extensions.conf
22:59.29[TK]D-Fendernot sip.cofn
23:01.06ctcx[TK]D-Fender: er... sir, the comment I pointed to does clearly mention that
23:01.33SamotWell you do need sip.conf
23:01.43[TK]D-Fender<PROTECTED>
23:01.51[TK]D-FenderYou put that in EXTENSIONS.CONF, not SIP.CONF
23:01.59ctcxObviously I was not meaning the MessageSend command, I meant the first 2 lines
23:02.00[TK]D-FenderYou neeed to learn the very basics of * first
23:02.23[TK]D-FenderFrom that comment, then yes
23:02.39ctcxAnd I have been doing all day along.
23:02.43SamotYou have to have accept_outofcall_message=yes and outofcall_message_context=<context>
23:02.54ctcx^
23:02.56ctcxYes, yes
23:03.00SamotTo call on the context in the dialplan.
23:03.23ctcxBut those 2 are not in extensions.conf because they're not dialplan
23:03.31ctcxThey are for sip.conf
23:03.41SamotYou set them in the peer configuration.
23:03.41ctcxExcept I cannot use directly sip.conf
23:03.53SamotThat's accepting the outofcall messages.
23:03.59SamotThat's how you get it in there.
23:04.22ctcxOh, no....
23:04.24SamotYou can add them into the general config or by peer.
23:05.02ctcxAaahhh, if choosing to add them to config file, should it be the sip_general_custom one instead of the sip_custom one indeed?
23:05.14SamotIf you want them in your general Chan_SIP settings you need to use the Extra Settings option in the Chan_SIP settings page.
23:06.07Samotctcx: You can either add it to the GENERAL settings, which will apply to all peers.
23:06.16SamotOr you can add it to the peer/trunk that will be accepting the calls.
23:06.26ctcxMm.....
23:06.28ctcxthanks.
23:06.30SamotIt's an inbound message it needs a context to handle it in the dialplan.
23:09.27ctcxSamot, [TK]D-Fender: by any chance, and if I ever manage to make messages work, does * keep all message text history somewhere?
23:10.10[TK]D-Fendernot unless you put it somewhere
23:10.26[TK]D-FenderIt gets sent to the dialplan.  Everything that happens is your job
23:12.06SamotRight.
23:12.43SamotYou can save the information to a csv file, database, your choice.
23:15.24ctcxSo if I'm chatting with another SIP user through some client, all the messages are being "stored" in the dialpan?
23:17.27[TK]D-Fenderno
23:17.38[TK]D-FenderTher is no storage that you don't CODE
23:17.49[TK]D-FenderYou need to stop trying to fly and learn how to walk
23:18.19[TK]D-FenderDialplan != storage.  Dialplan = CALL PROCESSING PROGRAMMING INSTRUCTIONS
23:18.25[TK]D-FenderEXTENSIONS.CONF <-
23:18.32[TK]D-FenderGo read the book
23:20.02ctcxSo I'd need to code an entire thing for message to store somewhere... *specially* if a message is sent to an offline user for that user to receive it once logging in.
23:20.43[TK]D-FenderNot "specifically".  Everything.  Every singe step.
23:21.22[TK]D-FenderAnd there is never any proff that a user actually got the message
23:24.20ctcxGuess I cannot (or would turn impractical) use *'s SIP SIMPLE as full replacement for a chat server...
23:24.33ctcxOh, no, I'd have indeed to rely on Openfire.....
23:26.08ctcxMy great problem with this, just for the record, would be **duplicated users**!!!
23:26.45ctcx2 different user databases, each one with exactly the same users.
23:27.44*** join/#asterisk cresl1n (~Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
23:27.44*** mode/#asterisk [+o cresl1n] by ChanServ
23:28.49ctcxBecause if trying to send a text message through SIP with * to an offline user I guess message is simply lost, right?
23:29.24[TK]D-FenderYo never know if they DO get it
23:29.29[TK]D-FenderForget about "offline"
23:29.39[TK]D-Fender"SUCCESS - Successfully passed on to the protocol handler, but delivery has not necessarily been guaranteed." <- See this?
23:29.46[TK]D-FenderEven SUCCESS doesn't mean anything
23:30.04[TK]D-FenderYay, an IP packet was SENT.
23:30.11[TK]D-FenderRecieved?  Who knows
23:31.14ctcxWhat happens to the message/IP packet if receiving was not successful?
23:31.50[TK]D-FenderYou don't seem to be listening
23:31.53[TK]D-FenderYOU NEVER KNOW.
23:32.21[TK]D-FenderYOU. WILL. NEVER. KNOW. THAT. THEY. GOT. THE. PACKET.
23:32.28[TK]D-FenderIs it becoming clearer?
23:34.42ctcxYes, sorry.
23:35.00ctcxGuess I wanted to do impossible:
23:35.00ctcxGuess I cannot (or would turn impractical) use *'s SIP SIMPLE as full replacement for a chat server...
23:35.12ctcxFor the reasons described above.
23:35.29ctcxI'd need to think in more solutions... if there are.
23:35.36ctcxThanks very much for your help, and patience.
23:35.54ctcxI know I already used it all out.

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