00:00.12 | apb1963 | so take it out of the hosts file? |
00:00.22 | [TK]D-Fender | or prepare an extra resolver, etc |
00:00.35 | [TK]D-Fender | but yeah, removing is a solid option unless you seriously need that for something else |
00:00.42 | [TK]D-Fender | at which point... get ANOTHER DDNS name |
00:00.42 | apb1963 | I'm not sure if I do or not |
00:00.46 | [TK]D-Fender | so * has something real |
00:00.55 | apb1963 | wait.. what? |
00:00.58 | [TK]D-Fender | YOUR server... you should know why you do this stuff :p |
00:01.23 | apb1963 | meh... I set stuff up, it works... I leave it alone.. I get older. |
00:01.29 | apb1963 | I forget. |
00:03.03 | apb1963 | can you give me some more info on "another ddns name" ? Are you saying point a second DNS at the same dynamic IP? |
00:03.17 | apb1963 | err... FQDN? |
00:03.51 | apb1963 | just in case I remember to do it some day :) |
00:05.28 | apb1963 | yeah I don't know about the hosts file... it has 127.0.1.1 as my FQDN ... localhost isn't the same at 127.0.0.1 so I'm not sure it's not being used for something. I don't think I set that up, that's installation default I'm reasonably sure. |
00:07.24 | apb1963 | [TK]D-Fender, look at the second answer here in reference to GNOME. This is why my machine/network is are always at odds with asterisk. |
00:07.31 | apb1963 | http://unix.stackexchange.com/questions/11844/etc-hosts-for-debian |
00:09.09 | *** part/#asterisk deweydb_ (~deweydb@S0106689e199caaf4.no.shawcable.net) |
00:11.30 | [TK]D-Fender | apb1963> can you give me some more info on "another ddns name" ? Are you saying point a second DNS at the same dynamic IP? <- yes |
00:11.57 | [TK]D-Fender | that machine name is fine |
00:12.06 | [TK]D-Fender | its the EXTERNAL one you should make sure is not in there |
00:12.19 | apb1963 | well that IS the external one |
00:12.21 | [TK]D-Fender | because no interna service should point to your FQDN name |
00:12.46 | apb1963 | Please read the link I mention above. GNOME uses it. |
00:13.01 | [TK]D-Fender | Gnome shouldn't know anything about you having a domain name |
00:13.08 | [TK]D-Fender | your MACHINE NAME should not match <- |
00:13.25 | [TK]D-Fender | If you did that ... go slap yourself for a SECOND shoo-on-sight-offense :p |
00:13.29 | drmessano | You are seriously misunderstanding FQDN from an external and internal context |
00:14.20 | drmessano | server01.internaldomain.com is not the same as www.mydomain.com. Hosts is referring to your machine name, which may exist in an INTERNAL DOMAIN |
00:15.00 | apb1963 | From the link I mentioned: |
00:15.04 | apb1963 | In your case, because you don't have a permanent IP address, you can also have |
00:15.04 | apb1963 | 127.0.1.1 machinename.domain machinename |
00:15.04 | apb1963 | This line seems to be required for some applications like GNOME, but it might actually cause problems with other applications! |
00:15.23 | drmessano | machinename.domain is NOT THE EXTERNAL ADDRESS |
00:16.01 | apb1963 | Now, if that's not GNOME knowing something about having a domain name, then obviously I don't understand what that is saying. |
00:16.08 | drmessano | Youre not |
00:16.14 | drmessano | Not at all understanding |
00:16.45 | drmessano | pbx01.local is an example of a FQDN on an INTERNAL domain |
00:17.01 | drmessano | Its NEVER your internet hostname |
00:18.05 | apb1963 | My hosts file contains, by default - the following: |
00:18.09 | apb1963 | 127.0.0.1 localhost |
00:18.09 | apb1963 | 127.0.1.1 blue.publicserviceclub.com blue |
00:18.20 | [TK]D-Fender | #2 = fail |
00:18.22 | drmessano | and thats wrong |
00:18.40 | apb1963 | I didn't set it that way, the installation did. |
00:19.01 | [TK]D-Fender | I know I never tell my servers that kind of info. |
00:19.04 | apb1963 | That is the default hosts file as setup by the install scripts. |
00:19.06 | drmessano | You dont give a box the same FQDN as the outside |
00:19.06 | [TK]D-Fender | comment it out |
00:19.22 | [TK]D-Fender | brb |
00:19.56 | apb1963 | If you read the link I provided above, you should understand why they did that. |
00:20.09 | drmessano | Im not the one having a hard time understanding |
00:20.13 | apb1963 | It is not wrong for GNOME, if I'm understanding the link correctly. |
00:20.19 | drmessano | It IS wrong |
00:20.44 | apb1963 | Then why did the distribution maintainers decide it was right? |
00:20.57 | drmessano | They didnt |
00:21.09 | drmessano | You misinterpreted the machinename.domain |
00:21.10 | apb1963 | Then why is it set that way in the file? |
00:21.15 | drmessano | They dont want the EXTERNAL HOST NAME |
00:21.38 | apb1963 | They didn't ask for both an internal and external, they asked for one host name. |
00:21.40 | drmessano | You've obviously no concept of an INTERNAL DOMAIN |
00:21.44 | drmessano | RIGHT |
00:21.59 | drmessano | Your BOX is not blue.publicserviceclub.com |
00:22.22 | drmessano | You TOLD the installer that |
00:23.30 | drmessano | As I said above |
00:23.34 | drmessano | and I will say it again |
00:24.01 | apb1963 | fair enough... so I should have told it what, precisely. So I can understand and get it right. |
00:24.14 | drmessano | machinename.domain is expecting something like pbx01.myinternaldomain |
00:24.23 | drmessano | Not your internet hostname |
00:24.53 | apb1963 | "something like". That's what I'm not understanding. What exactly? Something I make up and it doesn't matter? Or is it relevant to something related? |
00:24.59 | drmessano | ANYTHING |
00:25.02 | apb1963 | ok |
00:25.03 | drmessano | Its an internal domain |
00:25.07 | drmessano | blue.local |
00:25.09 | drmessano | blue.internal |
00:25.16 | drmessano | pbx01.blue.local |
00:25.29 | drmessano | Anything BUT the internet hostname |
00:25.59 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
00:26.29 | apb1963 | cool. thank you. So "127.0.1.1 blue.internal" will do it? |
00:26.34 | drmessano | Sure |
00:27.06 | Samot | I wish free Google Voice would die. |
00:27.17 | drmessano | Soon |
00:27.24 | drmessano | They are killing hangouts |
00:27.28 | apb1963 | odd... I had thought 127.0.0.1 was all that was needed. |
00:27.30 | Samot | Oh yeah? |
00:27.31 | drmessano | So XMPP is surely gone next |
00:27.42 | drmessano | apb1963: Its not a matter of needed |
00:27.55 | apb1963 | ? |
00:28.01 | drmessano | You told the PBX to resolve blue.publicserviceclub.com to 127.0.1.1 |
00:28.08 | drmessano | So its using it in invites |
00:28.13 | drmessano | Thats not gonna work |
00:29.06 | apb1963 | click. Got it. thank you |
00:29.48 | Samot | I don't know..they've been saying Hangouts and GV were going to die for almost a year now. |
00:30.01 | drmessano | Samot: Negative |
00:30.02 | apb1963 | hmm... restart asterisk? |
00:30.08 | drmessano | apb1963: Yes |
00:30.16 | drmessano | Samot: Google Voice was never going to die |
00:30.25 | drmessano | Samot: They were killing Talk |
00:30.48 | apb1963 | Samot, you sell phone services? |
00:30.51 | drmessano | Samot: With the new chat apps, they decided to kill Hangouts |
00:31.07 | Samot | Yeah, I saw something about that last year. |
00:31.21 | Samot | But I thought they said Hangouts was going to stay despite the new apps. |
00:31.28 | drmessano | Nope |
00:31.37 | Samot | I know they dump some On Air thing to YouTube Live. |
00:31.40 | drmessano | They've also revamped GV |
00:31.44 | drmessano | Updated apps for it |
00:31.47 | Samot | Since when? |
00:31.56 | drmessano | Its rolling out this week |
00:32.02 | Samot | apb1963: Yes. |
00:32.03 | drmessano | New features coming |
00:32.20 | apb1963 | Samot, now I understand your dislike of GV :) |
00:32.30 | Samot | No. |
00:32.38 | drmessano | Thats lame |
00:32.41 | Samot | That absolutely has nothing to do with it. |
00:32.56 | drmessano | You can apologize to my friend |
00:33.05 | apb1963 | woohoo! |
00:33.17 | apb1963 | It's working |
00:33.20 | apb1963 | Thanks!! |
00:34.47 | apb1963 | Yeah, that machine.internaldomain vs external domain... I've never seen that documented anywhere... or explained well enough to understand it. |
00:35.28 | apb1963 | So I appreciate you taking the time to educate me. drmessano |
00:35.34 | apb1963 | Thanks again! Peace out. |
00:35.43 | apb1963 | (as they say nowadays :) |
00:37.30 | Samot | apb1963: It's well documented. |
00:37.42 | Samot | Like basics of linux and DNS. |
00:39.17 | *** part/#asterisk kharwell (kharwell@nat/digium/x-awouqeflyffnzubi) |
00:39.56 | Samot | drmessano: He still hasn't apologized and like my feels are all hurting. |
00:45.04 | Samot | Ooh DigitalOcean is bring in load balancing.. |
00:45.12 | Samot | s/bring/bringin/ |
00:45.54 | Samot | API based as well.. |
00:48.03 | file | Samot: ECMP based using BGP interests me... more |
00:50.41 | Samot | There's not much info on how they are doing it. It was just a 2017 roadmap announcement. |
00:50.49 | Samot | So I will be interested to see how they do it. |
00:52.00 | file | it wouldn't surprise me if it's actually an nginx based image in a droplet that is driven based on data from their backend, with the API they mention |
00:56.22 | *** join/#asterisk chendy (~alexc@183.12.65.129) |
01:11.01 | dan_j | I'm suddenly getting 'Exceptionally long voice queue length queuing to' when asterisk tries to playback the voicemail greeting. I've tried restarting asterisk but that doesn't help. |
01:11.22 | dan_j | I've not changed anything. It's suddenly started happening. |
01:11.31 | dan_j | What does it mean? |
01:13.05 | dan_j | the debug shows this at the same time 'ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port' |
01:13.31 | Samot | Show the call and debug |
01:15.39 | dan_j | Hmm. It's happening on both asterisk servers that are in that pacemaker cluster |
01:15.48 | dan_j | One moment. |
01:18.07 | dan_j | https://www.irccloud.com/pastebin/bWuVlHQK/ |
01:19.18 | dan_j | All I did was re-record a greeting, but it wasn't from within app_voicemail. It was recorded via my own script and saved to the voicemail realtime db |
01:19.55 | dan_j | I've opened the recording from the db and it's in the correct format. |
01:20.31 | Samot | No... |
01:20.39 | Samot | I don't want a core debug. |
01:20.50 | Samot | I want a verbose call with a SIP debg. |
01:20.56 | Samot | So pjsip set logger on |
01:20.58 | dan_j | And I can't seem to hang up that channel now. It's just stuck in 'core show channels' even if i request a hangup. |
01:21.05 | Samot | core set debug 0 |
01:21.08 | dan_j | oh. ok. onesec |
01:21.09 | Samot | core set verbose 10 |
01:21.13 | Samot | pjsip set logger on |
01:21.14 | dan_j | i thought you meant core debug |
01:21.20 | Samot | No. |
01:21.26 | dan_j | one moment |
01:23.10 | dan_j | gonna be difficult to get a clean sip debug. the call is originating from my carrier and they use a range of ips. there are 50 endpoints connected, so if i do set logger on, i'll get all their packets too |
01:23.17 | dan_j | will try to get it as clean as possible. |
01:23.48 | Samot | Then just a verbose call for now. |
01:25.39 | dan_j | https://www.irccloud.com/pastebin/nQnTQ4cZ/ |
01:25.47 | dan_j | Sorry, only just saw what you wrote. |
01:27.24 | dan_j | https://www.irccloud.com/pastebin/j9NIajMX/ |
01:27.30 | dan_j | Thats just the verbose |
01:27.34 | *** join/#asterisk andresmujica (~andresmmu@ubuntu/member/andresmujica) |
01:28.10 | dan_j | Just going to check my other cluster that uses the same voicemail database |
01:28.15 | klow | on chan_sip "sip show channelstats" , how does asterisk know % of packets lost on send |
01:29.06 | Samot | Well something is happening. |
01:29.11 | Samot | This looks like a deadlock issue. |
01:29.13 | dan_j | The other cluster seems fine |
01:29.34 | dan_j | Exactly the same dialplan and voicemail db |
01:29.41 | Samot | You're creating a local channel to call the voicemail. |
01:30.15 | Samot | That error generally means there's nothing servicing the channel, from what I remember. |
01:30.49 | dan_j | Yes. thats what i saw too. but it's weird because its suddenly started happening. |
01:30.56 | dan_j | and a reboot doesnt seem to shift it. |
01:31.08 | dan_j | I'm going to re-record the greeting from within app_voicemail and see if the issue continues. |
01:40.08 | dan_j | Hmm. Seems to be fine when recorded via app_voicemail. This is the first time i'm using my recording code with v13. Works fine with v11. I wonder if something has changed that makes it not compatible. |
01:40.17 | dan_j | Cant imagine what though. |
01:44.34 | dan_j | The file plays back fine before it gets saved to the db. And then when app_voicemail tries to play it, it gets stuck. |
01:50.27 | dan_j | Gonna have to try this again tomorrow. Thanks for the help. |
02:11.03 | *** join/#asterisk sarsaeol (~sarsaeol@unaffiliated/sarsaeol) |
02:13.23 | sarsaeol | i am taking over an asterisk system that used to send voicemail notifications through MS exchange, wondering why the imapuser might look like a path, is this domain info? ex: 3005 => 1456369,User Name,,,imapuser=company\asteriskvmail\username|imappassword=password |
02:14.00 | sarsaeol | i've only ever personally seen the imapuser be something like "user@gmail.com" or similar |
02:14.25 | Samot | Can't say. |
02:14.38 | Samot | IMAP based voicemail is gross. |
02:15.17 | Samot | Factor in that locals like some fileshare thing MS would do. |
02:15.23 | Samot | Even more gross. |
02:15.28 | sarsaeol | oh god |
02:16.35 | Samot | Well I'm not sure. |
02:17.09 | Samot | I mean if I *had* to do IMAP for voicemail, Exchange would not me on any list of choices as the IMAP server. |
02:17.16 | Samot | s/me/be/ |
02:17.31 | sarsaeol | lol gj bot |
02:17.52 | Samot | But, that could be the domain info. |
02:17.54 | Samot | Because Ms. |
02:18.20 | Samot | Well domain\user details. |
02:19.55 | Samot | Guessing that multiple users check the same IMAP box... |
02:20.08 | Samot | So they can see what VMs are there and if they've been read, etc. |
02:23.14 | sarsaeol | okay, looks like i need to read up on IMAP VM storage then |
02:23.48 | sarsaeol | i had assumed this was just attaching a wav and sending a notification without real integration with the voicemail box, what a can of worms i've opened today |
02:24.08 | Samot | No. |
02:24.14 | Samot | This is actual IMAP based storage. |
02:24.39 | sarsaeol | yup, it's becoming more clear with each passing second =\ |
02:24.44 | sarsaeol | sighs |
02:25.19 | sarsaeol | in any case, cheers for clearing that up Samot, luckily they are moving off of exchange, so perhaps that will clear some things up in the config |
02:25.34 | Samot | Not really. |
02:25.37 | sarsaeol | lol |
02:25.43 | Samot | Exchange is just the IMAP server. |
02:26.01 | Samot | The question is, do they want to change from IMAP storage? |
02:26.18 | Samot | Otherwise you're just setting up a new IMAP server to store voicemails at. |
02:27.10 | Samot | The benefits are the voicemails appears as emails in their client. |
02:27.34 | Samot | And those voicemails are treated like emails. The other users can see a message was read or moved to another folder..etc. |
02:28.46 | Samot | Changing storage methods changes their entire method of managing and accessing their voicemails. |
02:29.14 | Samot | So yeah, this is a big, ugly can of worms. |
02:29.20 | sarsaeol | \o/ |
02:29.53 | Samot | They could have 20 users managing one voicemail account via IMAP. |
02:30.24 | Samot | All used to managing their VM like an email. |
02:30.46 | Samot | So. Many. Will. Whine. |
02:35.52 | Samot | Sucks to be you. |
02:36.09 | sarsaeol | hahahaha i see that now! |
02:36.40 | sarsaeol | they came in out of the blue, never worked with us before, the boss puts it on my desk like "this is easy, they want it done by friday" |
02:37.39 | sarsaeol | although it does seem like every mailbox in the relevant context is tied to only the individual user, no perhaps no shared mailboxes etc. |
02:37.56 | sarsaeol | but yeah, replicating this on a new IMAP server is gonna be a pain in my ass |
02:39.13 | Samot | What are they moving to? |
02:39.20 | Samot | For an email server? |
02:39.25 | sarsaeol | brace yourself |
02:39.30 | sarsaeol | office 365 |
02:39.38 | Samot | So total MS heads. |
02:39.43 | sarsaeol | so, out of the frying pan into the fire |
02:39.52 | sarsaeol | yeah aside from this one asterisk box i guess =D |
02:39.54 | Samot | You may want to inform your boss of all this. |
02:39.59 | sarsaeol | oh i will for sure |
02:40.06 | Samot | And tell him Friday ain't happening. |
02:40.20 | Samot | One, you'll need a test box. |
02:40.29 | sarsaeol | he quoted them like 2 hours (out minimum) because he thought it was just changing the smtp server used to send email notifications |
02:40.29 | Samot | So you can test imap storage setup and stuff. |
02:40.32 | Samot | Because I bet you.. |
02:40.34 | Samot | Right now.. |
02:40.45 | Samot | They 100% expect their voicemail to move with their email. |
02:42.03 | Samot | They are doing nothing more than converting from an on-premise Exchange to basically a hosted per seat version. |
02:43.16 | Samot | "We get our voicemails in email." |
02:43.27 | sarsaeol | that's all they said! |
02:43.35 | sarsaeol | how'd you know!? ;) |
02:43.44 | Samot | Should be followed by "You mean email notices?" |
02:44.04 | sarsaeol | i believe that /was/ the follow up, but the person on the other line didn't know the real difference |
02:44.21 | sarsaeol | and so just said 'yes' to 'are they just email notifications' |
02:44.26 | sarsaeol | when really... |
02:44.40 | Samot | The email lives in IMAP |
02:45.24 | sarsaeol | right, well at least I understand the difference now and will learn something |
02:45.36 | sarsaeol | even if we just drop them like a hot potato =P |
02:46.31 | Samot | Well it's more than two hours, that's for sure. |
02:46.51 | Samot | Like I said, you'll need to test the IMAP connection, etc with Office 365. |
02:46.59 | Samot | So you'll need a box that can do that. |
02:47.19 | Samot | Can't do it on theirs, you'll break their current voicemail. |
02:47.39 | sarsaeol | gives the client to Samot and runs away |
02:47.45 | Samot | Oh hell no. |
02:47.55 | sarsaeol | no take-backs! |
02:48.01 | Samot | I'd never would have gotten this far with them. |
02:48.44 | sarsaeol | yeah this tends to happen when sales doesn't talk to noc |
02:49.12 | Samot | That's why there should be a "Sales Engineer" |
02:49.31 | sarsaeol | no argument from me |
02:49.43 | sarsaeol | i can set up a server and replicate their setup pretty easily tomorrow, that will be the easy part |
02:49.50 | Samot | I have a buddy that works at Cloudera.. |
02:49.54 | Samot | He's a Sales Engineer.. |
02:50.03 | Samot | His job is to go where sales guys go. |
02:50.11 | Samot | Be in all the meetings. |
02:50.22 | Samot | And shake his head no while the sales guy says "yes". |
02:50.49 | igcewieling | remembers a series of Dilbert comics |
02:51.43 | Samot | When I joined the CLEC they didn't have a sales engineer and they kept screwing up their IP based sales for voice. |
02:51.51 | Samot | Because of stuff like this. |
02:52.22 | Samot | But like after contracts were signed and the balls was rolling..so a complete waste. |
02:52.35 | Samot | Or even getting to turn up to find out stuff isnt right. |
02:52.53 | sarsaeol | sounds like my daily life tbh |
02:53.04 | Samot | $1,200/month contracts down the drain.. |
02:53.04 | sarsaeol | there's always some new clusterfuck around every corner |
02:53.18 | Samot | Well I stopped that. |
02:54.33 | sarsaeol | i make valiant attempts to instill some critical thinking in the people who make these decisions, it just doesn't always stick when they are faced with desperate people willing to pay |
02:54.52 | Samot | Revenue isn't revenue if it costs more to do it. |
02:55.05 | Samot | If it's $125/hour and its two hours... |
02:55.26 | Samot | And you have to spend three hours plus spin up a system for testing, etc. |
02:55.38 | Samot | Now that sale put you in the red. |
02:56.04 | Samot | Not only for that sale but it was three hours of time you could have been doing revenue generating work. |
02:56.25 | sarsaeol | i mean, we wouldn't eat the cost, can't afford to. we'll let them know the scope has changed. luckilu no support contract was signed, this was jsut a prelim estimate |
02:56.51 | sarsaeol | but your point is well made, it's exactly the reason we need some education in sales |
02:57.16 | Samot | Well someone in engineering should have been bitching by now. |
02:58.28 | sarsaeol | lol there's literally no one but me here |
02:58.36 | sarsaeol | but in the morning! |
02:58.41 | Samot | Of course, I did piss a lot of people off with it. |
02:58.42 | sarsaeol | i will raise hell =] |
02:58.54 | Samot | Because everyone worked at the same time.. |
02:59.25 | Samot | So if there were five pieces to the job, five people would work on their own.. |
02:59.30 | Samot | No structure. |
03:00.00 | Samot | And they would step on each other, change what the others did or just set stuff up without all the details.. |
03:00.13 | Samot | Because someone had to give them and hadn't. |
03:00.40 | Samot | A system was put into place that wouldn't let steps be done unless other steps/processes were completed. |
03:00.55 | Samot | So it started to show who was lazy and half assing their work. |
03:03.29 | Samot | Thank god I left. I will never go back to a large company again. |
03:24.32 | *** join/#asterisk fstd_ (~fstd@unaffiliated/fisted) |
03:26.56 | sarsaeol | thanks for all the insight Samot o/ |
03:27.00 | sarsaeol | much obliged |
03:27.17 | *** part/#asterisk sarsaeol (~sarsaeol@unaffiliated/sarsaeol) |
03:35.36 | *** join/#asterisk clopez_ (~tau@neutrino.es) |
03:39.04 | *** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com) |
03:43.54 | vader- | can this (http://www.kaplansoft.com/teksip/) be used to connect a SIP Trunk to and then connect a SIP Device just for a simple call tansfer? |
04:05.34 | *** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net) |
05:03.33 | *** join/#asterisk putnopvut_ (putnopvut@asterisk/master-of-queues/mmichelson) |
05:03.33 | *** mode/#asterisk [+o putnopvut_] by ChanServ |
05:11.02 | *** join/#asterisk lvlinux (~ruel@unaffiliated/lvlinux) |
05:13.19 | drmessano | vader-: Why wouldn't you use Asterisk for this? |
05:13.31 | drmessano | It kinda absolutely does the same thing |
05:13.38 | drmessano | It's a B2BUA |
05:14.14 | vader- | just trying something quick and simple |
05:14.34 | vader- | im breaking a number off the sip trunk and redirecting it to this so i can use this phone |
05:14.40 | drmessano | ASTERISK is quick and simple |
05:14.45 | vader- | kinda have it semi working |
05:14.51 | vader- | i can't get any inbound calls |
05:14.54 | vader- | working |
05:15.02 | vader- | outbound is working but i can't hear the remote caller |
05:15.12 | drmessano | I'm sure they have excellent support |
05:15.21 | vader- | 2talk.com is the sip trunk provider |
05:21.07 | Samot | He did this in #freepbx. |
05:21.28 | Samot | Dude, if you're going to use MS based voice products you need to find a room/site for it. |
05:23.08 | drmessano | Oh lovely |
05:24.11 | Samot | His reason: No other IP telephony rooms, really. |
05:26.23 | drmessano | Yeah, no |
05:26.37 | drmessano | If you're going to use commercial software |
05:26.40 | drmessano | They have support |
05:26.42 | drmessano | Go call them |
05:27.36 | drmessano | For $219 you also get support with TekSIP |
06:00.12 | *** join/#asterisk fbnts (~fbnts@s099.spireinns.co.uk) |
06:19.15 | *** join/#asterisk wasanzy (~wasanzy@41-66-254-58-dedicated.4u.com.gh) |
06:21.10 | *** join/#asterisk Rasputin3711 (~Rasputin3@87.255.254.66) |
06:29.05 | vader- | ya i was trying to get away with using their free version since all i am trying to do proxy 1 trunk to 1 device |
06:29.15 | vader- | thought this would be a good use case for their free version of the app |
06:29.49 | drmessano | Asterisk works too |
06:33.41 | Samot | But why ask help in a place that's nothing near what you are doing? |
06:33.51 | Samot | First it was Skype SFB. |
06:34.11 | Samot | Now it's some Windows SIP proxy. |
06:57.17 | *** join/#asterisk Pasha (~Cory@unaffiliated/cory) |
07:02.08 | *** join/#asterisk bof22 (~Thunderbi@185.13.183.107) |
07:13.42 | vader- | Samot, people in here and in ##freepbx deal with a wide variety of systems. Someone may have run across something similar or may have insight... I don't see where my question caused so much pain. |
07:14.30 | Samot | You ask questions in the form of "will this work?" or "can i do this with X?" |
07:14.55 | Samot | And yes, people *could* have some experience with it.. |
07:15.07 | Samot | But highly unlikely... |
07:15.34 | Samot | We helped with SFB.. |
07:15.42 | Samot | But we were actually Googling things. |
07:16.39 | Samot | I get people asking, every once in awhile, about other things... |
07:16.57 | Samot | Could be in relation to Asterisk or their use of Asterisk, such as phones or Kamailio... |
07:17.09 | *** join/#asterisk jkroon (~jkroon@dustpuppy.is.co.za) |
07:17.17 | Samot | But you have continually done this. |
07:17.42 | Samot | You don't ask the occasional non-Asterisk/FreePBX question. Its what you ask the most of. |
07:17.49 | Samot | And ask for help. |
07:17.54 | Samot | "How can I do this?" |
07:19.05 | Samot | 12:26:34 AM <drmessano> If you're going to use commercial software |
07:19.14 | Samot | 12:26:38 AM <drmessano> They have support |
07:19.36 | drmessano | It's one thing if you're using it WITH Asterisk |
07:19.37 | Samot | It's kind of a thing people look at when they opt for commercial vs. open source. |
07:19.41 | drmessano | We all love a challenge |
07:19.42 | Samot | Yes. |
07:19.48 | Samot | The SIP proxy in front of Asterisk.. |
07:19.53 | Samot | We'd be up for that. |
07:19.56 | drmessano | But asking about unrelated software is kinda uncool |
07:20.04 | Samot | The SIP proxy in front of SFB.. |
07:20.05 | Samot | No. |
07:20.57 | Samot | Not to mention.. |
07:21.09 | Samot | Going into multiple rooms and blasting them all with the questions. |
07:21.14 | drmessano | What I dont think you understand |
07:21.15 | Samot | Like a buckshot.. |
07:21.26 | drmessano | Theres ASTERISK |
07:21.30 | drmessano | Which DOES THIS |
07:21.35 | *** join/#asterisk WIMPy (~wimpy@x4dbaec9c.dyn.telefonica.de) |
07:22.05 | drmessano | So its not like you're asking about something unrelated.. you're asking in #ASTERISK about another piece of software that does EXACTLY the thing that ASTERISK does and *WHY WE ARE HERE* |
07:22.24 | drmessano | Thats like going to #MySQL and asking Postgres questions |
07:22.38 | drmessano | if you don't want to use Asterisk, why ask in #Asterisk? |
07:22.40 | Samot | Well it's the only database room. |
07:22.50 | drmessano | JUST USE FUCKING ASTERISK |
07:23.28 | drmessano | You do realize you can install it and only configure like 2 SIP peers and be done with it? |
07:23.38 | Samot | Or read the manuals/docs/support data. |
07:23.47 | drmessano | Basic dialplan.. Take all calls on Peer 1 and send them to Peer 2 |
07:23.50 | drmessano | Done, handled |
07:24.00 | Samot | Or you can install *gasp* FreePBX. |
07:24.11 | Samot | And be done even quicker, cuz like GUI. |
07:24.13 | drmessano | "I only need something Simple" |
07:24.20 | drmessano | Asterisk is literally something *simple* |
07:24.36 | Samot | Microsoft voice servers and MS based SIP proxies.. |
07:24.38 | Samot | Not simple. |
07:24.58 | Samot | SFB is taking a butcher knife to something when you needed a scapel. |
07:25.06 | Samot | SFB is taking a butcher knife to something when you needed a scalpel. |
07:25.29 | drmessano | But anywho.. this is just equine necromancing |
07:25.46 | Samot | Oh. |
07:25.48 | Samot | Dead Horse. |
07:25.53 | drmessano | If you dont want to use Asterisk, stop asking for help |
07:25.56 | Samot | I'm literally listening to it right now. |
07:26.31 | Samot | Use Your Illusion I |
07:27.00 | Samot | No body understands quite while we're here...searching for answers that never appear... |
07:27.23 | Samot | And when she said, she like wrecked my car. I didn't know what to do! |
07:28.39 | Samot | But yeah, what he said. |
07:28.51 | drmessano | 6 people shot in Chicago at the memorial for a shooting victim. Wounded include the victims mother and a 12 year old girl |
07:29.06 | drmessano | Chicago needs to just be walled off |
07:29.10 | Samot | I just found it funny I was listening to Dead Horse when you made the equine comment. |
07:29.13 | Samot | No shit. |
07:29.38 | Samot | #ThanksChicagoForMakingDetroitLookGreatAgain |
07:29.49 | drmessano | #SoTruthy |
07:30.18 | Samot | Because wasn't the line of thought a while back that Detroit needed to be walled off.... |
07:30.21 | drmessano | Give it a few more weeks and there wont be anyone left |
07:30.23 | Samot | Or given to Canada.. |
07:30.42 | drmessano | Yeah, Detroit was like first in line for forced secession |
07:30.58 | Samot | And for the record.. |
07:31.08 | Samot | That fscking Journey song is about Windsor. |
07:31.18 | Samot | THERE'S NO SOUTH DETROIT. |
07:31.24 | drmessano | lol |
07:31.41 | drmessano | I want to move to Ontario |
07:31.49 | Samot | Windsor just happens to be south of Detroit. |
07:32.12 | Samot | It's one of the few spots that people have to go South to get to Canada from the lower 48. |
07:32.15 | drmessano | I keep seeing Ontario license plates everytime I travel |
07:32.26 | Samot | Hell even Alaskan's have to go east. |
07:32.39 | Samot | And north.. |
07:32.58 | Samot | Detroit, you go south to get to the Great White North. |
07:32.59 | drmessano | So Ontario is like the Georgia of Canada |
07:33.42 | Samot | Yeah. |
07:33.59 | drmessano | Are they 25 years behind? |
07:34.24 | Samot | They don't have the little metal flaps on gas pumps. |
07:34.30 | Samot | So you don't have to hold the handle. |
07:35.10 | Samot | Stores just got self checkout 2016 |
07:35.22 | Samot | Like some are still converting. |
07:36.09 | Samot | My wife's cell company just got LTE |
07:36.14 | Samot | And will be 4G by end of 2017. |
07:36.45 | drmessano | WOw |
07:36.48 | Samot | Yeah. |
07:37.02 | Samot | When I went there last year to get service.. |
07:37.10 | Samot | They said they couldn't use my LG Vista. |
07:37.16 | Samot | Because they were only 3G |
07:37.29 | Samot | They said, "Yeah by Q3 or so 2017 we'll have 4G" |
07:37.44 | Samot | And I said "Yeah but that's about the time 5G is going to start rolling" |
07:38.17 | Samot | So I think their LTE/4G is hand me downs. |
07:38.34 | drmessano | Thats not uncommon |
07:38.46 | drmessano | South America is grateful for all the EDGE gear |
07:38.57 | Samot | Well its one of those pay as you go places. |
07:39.05 | drmessano | Oh right |
07:39.09 | Samot | So they use Rogers |
07:39.14 | Samot | And T-Mobile |
07:39.21 | drmessano | Wait until Canada gets the iPhone |
07:39.25 | Samot | Haha. |
07:39.33 | drmessano | It has apps |
07:39.36 | drmessano | Pretty rad |
07:39.41 | Samot | Oh man.. |
07:40.08 | Samot | My wife's Galaxy Notebook II is having antenna issues. |
07:40.17 | Samot | So she has to replace it. |
07:40.21 | Samot | And she's not happy. |
07:40.23 | Samot | Why? |
07:40.58 | Samot | "I'll have to start Bubble Bobble all over again. I'm at a REALLY high level. It took a long time to get there. I have to re-do ALL OF IT" |
07:42.17 | drmessano | :( |
07:52.46 | *** join/#asterisk rrittgarn (~rrittgarn@75-150-221-205-Illinois.hfc.comcastbusiness.net) |
08:10.18 | *** join/#asterisk pchero_work (~pchero@2a00:c80:1072::c96) |
08:10.57 | *** join/#asterisk tuxian (~tuxian@igilmour.plus.com) |
08:16.03 | *** join/#asterisk gusto (~gusto@2001:4c50:62e:443:ee34:53bd:4cbf:22a1) |
08:17.26 | *** join/#asterisk tzafrir (~tzafrir@local.xorcom.com) |
08:19.52 | *** join/#asterisk _0x5eb_ (~seb@seb-hpws2.elen.ucl.ac.be) |
08:21.33 | *** join/#asterisk chendy (~alexc@121.34.146.10) |
08:26.06 | *** join/#asterisk tuxian (~tuxian@igilmour.plus.com) |
08:26.11 | *** join/#asterisk hehol (~hehol@gatekeeper.loca.net) |
08:44.38 | *** join/#asterisk putnopvut (putnopvut@asterisk/master-of-queues/mmichelson) |
08:44.38 | *** mode/#asterisk [+o putnopvut] by ChanServ |
08:56.21 | TandyUK | lol Samot, is she not logged into google play? |
08:59.33 | *** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net) |
09:15.53 | *** join/#asterisk Tiffon (~name@unaffiliated/tiff0n) |
09:32.31 | *** join/#asterisk ace_me (~IceChat9@unaffiliated/ace-me/x-814638) |
09:53.02 | *** join/#asterisk Maliuta (~nobusines@unaffiliated/maliuta) |
09:54.00 | *** join/#asterisk MaliutaLap (~nobusines@unaffiliated/maliuta) |
09:58.09 | *** join/#asterisk TandyUK (~admin@87.252.44.195) |
10:06.50 | *** join/#asterisk Kaian (~kaian@6.62-99-78.static.clientes.euskaltel.es) |
10:21.44 | *** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc) |
10:25.23 | *** join/#asterisk mbecroft (~user@ak2.becroft.co.nz) |
10:28.22 | *** join/#asterisk tuxian (~tuxian@194.12.3.78) |
10:30.39 | *** join/#asterisk u0m3_ (~u0m3@86.127.133.199) |
10:31.07 | *** join/#asterisk fbnts (~fbnts@s099.spireinns.co.uk) |
10:43.37 | *** join/#asterisk chendy (~alexc@121.34.146.10) |
10:46.35 | *** join/#asterisk sekil (~sekil@cable-89-216-194-185.dynamic.sbb.rs) |
11:26.39 | jkroon | using asterisk realtime - how can I set multiple setvar statements? |
12:07.35 | *** join/#asterisk brad_mssw (~brad@66.129.88.50) |
12:09.40 | *** join/#asterisk Rasputin3711 (~Rasputin3@87.255.254.66) |
12:23.24 | *** join/#asterisk chendy (~alexc@121.34.146.10) |
12:53.48 | *** join/#asterisk libardi (~libardi@187.64.235.241) |
13:02.34 | *** join/#asterisk axp (~axp@80.121.172.38) |
13:04.42 | axp | hi |
13:06.39 | axp | i do have a running asterisk installation, however, if the network goes down, Asterisk will not take any calls, is there a way that asterisk checks if the phones are connected? maybe the reinvite parameter? |
13:09.49 | WIMPy | Take? Or drop? Not sure what the question is. |
13:12.41 | *** join/#asterisk agent_white (~agent_whi@unaffiliated/agent-white/x-6197888) |
13:23.58 | axp | WIMPy, the problem is if i restart e.g. my network switch all SIP phone will not ring |
13:29.17 | *** join/#asterisk [TK]D-Fender (~joe@216.191.106.165) |
13:34.11 | [TK]D-Fender | axp, get an internal DNS server |
13:34.24 | [TK]D-Fender | * can lock up waiting for DNS requeets to resolve |
13:35.33 | axp | i do have an internal DNS |
13:40.51 | [TK]D-Fender | is tthat what ou have * pointed to? |
13:42.49 | *** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n) |
13:42.49 | *** mode/#asterisk [+o cresl1n] by ChanServ |
13:45.17 | WIMPy | That doesn't prevent Asterisk from doing strange things. |
13:45.56 | WIMPy | I have to admit it was quite painfull, but I finally got the Astribank working on the Raspberry Pi. \o/ |
13:48.09 | tzafrir | WIMPy, you need dahdi-tools 2.11 |
13:48.40 | tzafrir | That is: using libusbx / libusb1 instead of the old libusb 0.1 |
13:49.23 | tzafrir | wonders who will be at FOSDEM |
13:50.08 | WIMPy | That was there already. |
13:50.31 | tzafrir | Any other issues? |
13:51.34 | WIMPy | My last big issue was with system includes and Asterisk itself. |
13:52.10 | WIMPy | But getting DAHDI on that thing was a bit of a journey. |
14:04.59 | *** join/#asterisk rwb (~Thunderbi@204.13.43.166) |
14:16.37 | WIMPy | Looks like th RPi can manage up to 5 channels MOH. If there is no networkl traffic. |
14:16.37 | *** join/#asterisk theGoat (~textual@pool-72-94-172-191.phlapa.fios.verizon.net) |
14:17.00 | *** join/#asterisk chendy (~alexc@121.34.146.10) |
14:21.15 | dan_j | Hi. I've got an agi script which allows users to update their voicemail greeting without accessing the voicemail system. the messages are stored in mysql, but recently asterisk has been complaining about the format. In v11, i get warnings about the format, and in v13 it just deadlocks. |
14:21.19 | dan_j | Heres my agi script |
14:21.25 | dan_j | https://www.irccloud.com/pastebin/lTyf2Zis/ |
14:21.41 | dan_j | The insert is done on line 67 |
14:21.50 | dan_j | Any ideas whats wrong? It has previously worked. |
14:22.15 | dan_j | The recording is done on line 77 |
14:22.51 | dan_j | The CLI says this when it tries to give it a go |
14:22.54 | dan_j | https://www.irccloud.com/pastebin/SAWpjyaW/ |
14:24.52 | theGoat | is the file there, if not, try and touch the file to create it and see what happens |
14:27.22 | *** join/#asterisk brad_mssw (~brad@66.129.88.50) |
14:28.45 | dan_j | theGoat: It is there and it can be previewed on line 58 prior to saving it to the database. |
14:29.35 | dan_j | It works fine before it's saved to the db, but once saved, it can't be replayed by asterisk. But I can download the blob using mysql workbench and play the file fine on my pc. |
14:30.17 | theGoat | anything in the mysql logs? |
14:30.43 | *** join/#asterisk kharwell (kharwell@nat/digium/x-fqssxtindnnaycbp) |
14:30.43 | *** mode/#asterisk [+o kharwell] by ChanServ |
14:37.48 | dan_j | theGoat: I'll enable general logging and debug so i can get more info from mysql |
14:52.03 | dan_j | theGoat: Nothing showing in the logs. No errors and looking at the insert, it seems fine. |
14:52.37 | Samot | dan_j: wav files have to be done in a certain format. |
14:52.54 | dan_j | Samot: they are recorded from asterisk so they are in the correct format already. |
14:53.17 | dan_j | the script i'm using to record is my first pastebin, line 77 is the recording line. |
14:53.34 | dan_j | Although i've changed the format back to 'wav' instead of 'WAV' since I posted that. |
14:53.55 | Samot | What happens when you record the voicemail greeting normally? |
14:54.02 | dan_j | works fine. |
14:54.20 | dan_j | And i've compared the two files and audicity tells me they are the same format. |
14:54.47 | dan_j | something i'm missing but can't figure out what. it has worked for months and suddenly decided to stop working. |
14:55.29 | theGoat | upgraded asterisk or mysql? |
14:56.43 | dan_j | Actually, it's working on my old v11 boxes. But it isn't working on my new v13 boxes and also a test v11 box I just set up don't work. So maybe something has been updated. I've not updated my old v11 boxes for months. |
14:57.01 | tzafrir | WIMPy, we now use rPi2 as a platform. One problem with it is that all hardware interrupts (including USB. USB network, SD) are routed to the first core |
14:57.03 | dan_j | I'm running the same v11 version on all my boxes, but my test one is failing |
14:58.23 | dan_j | I'm going to upgrade mysql to see if that fixes things. |
14:58.29 | theGoat | how about running a packet capture while the db traffic is going on. or maybe something like selinux or something like that is borking it |
14:58.52 | theGoat | look at the linux audit logs first to see if there is anything |
14:58.56 | WIMPy | tzafrir: I'm currently on a 1B. And that seems to be maxed out at either 5 dahdi channels or 2 dahdi+2 iax channels. |
14:59.37 | tzafrir | Ah, OK. I was going to point you to our packages repo (http://updates.xorcom.com/servers/spark/), but that is irrelevant for you, then |
15:00.21 | WIMPy | I've got some model 2 here as well. Haven't ever used them, yet. |
15:00.56 | Samot | dan_j: Show your voicemail.conf |
15:01.34 | dan_j | https://www.irccloud.com/pastebin/TEMBDcDU/ |
15:01.40 | dan_j | From my test server |
15:05.14 | Samot | So not using the AGI, it puts the recording in the database table without issue? |
15:05.22 | Samot | Playsback just fine? |
15:08.56 | dan_j | Yes. In AGI, recording (line 77) and then playing back (line 58) the file is fine. |
15:09.26 | dan_j | It's something about the insert. |
15:09.47 | dan_j | I'm just upgrading mysql to match the version that the script works on. I didnt realise that yum installed mysql 5.1 |
15:12.02 | Samot | Why does the insert matter? |
15:12.21 | Samot | If you record a voicemail straight through the system and avoid the AGI, it works fine. |
15:12.27 | WIMPy | tzafrir: Is the dialtone generated on Astribank and not sent over USB? |
15:12.28 | *** join/#asterisk tuxd00d (~tuxd00d@ip68-106-11-24.ph.ph.cox.net) |
15:12.45 | Samot | It's still using the database for voicemail either way. |
15:12.50 | Samot | So how is it the insert? |
15:12.57 | Samot | Or it being MySQL 5.1? |
15:13.51 | tzafrir | WIMPy, if it is generated, it is generated on the host and not on the Astribank. |
15:14.14 | tzafrir | With DAHDI the dialtone is generated at the DAHDI kernel driver, IIRC |
15:15.01 | WIMPy | tzafrir: Hmm. Then playing file must be the hard part, not the USB stuff. |
15:15.37 | dan_j | Samot: Sorry. It was the only thing i could think of that wasn't the same as the working system. |
15:15.53 | tzafrir | playing a wav file? That is mostly cached in the memory already? |
15:16.02 | dan_j | Samot: Upgrading didnt help. |
15:16.06 | Samot | dan_j: So a verbose debug of you recording the call via the normal voicemail system. |
15:16.11 | Samot | asterisk -rvvvvvvvvvvv |
15:16.18 | Samot | Thats it.. |
15:16.34 | dan_j | via the normal voicemail system? I know that works though. |
15:16.39 | Samot | I know. |
15:16.41 | Samot | Show it. |
15:16.46 | WIMPy | tzafrir: Yes. |
15:16.49 | dan_j | Ok. 1sec |
15:16.50 | Samot | Then you're going to show one that goes through your AGI. |
15:16.51 | *** join/#asterisk MaliutaLap (~nobusines@unaffiliated/maliuta) |
15:16.55 | Samot | And we're going to compare. |
15:16.57 | Samot | But remember.. |
15:17.03 | Samot | Normal first.. |
15:17.14 | Samot | Then AGI based with "agi set debug on" |
15:17.20 | WIMPy | And yes, I have them as wav, not alaw. |
15:19.03 | *** join/#asterisk scgm11_ (~textual@r179-24-146-130.dialup.adsl.anteldata.net.uy) |
15:25.36 | dan_j | Samot: Verbose of normal system. Doesn't offer any feedback on what mysql is doing though. |
15:25.52 | Samot | That's fine. |
15:26.24 | dan_j | https://www.irccloud.com/pastebin/s2SDME68/ |
15:27.26 | Samot | OK. |
15:27.35 | Samot | Now do it with the AGI metho. |
15:27.38 | Samot | Now do it with the AGI method |
15:27.43 | Samot | with: agi set debug on |
15:28.40 | dan_j | https://www.irccloud.com/pastebin/QoJDG67p/ |
15:29.58 | dan_j | I played back the recording on line 253 prior to saving it between line 259 and 260. |
15:30.36 | dan_j | I've been deleting the temporary file once it's saved to the DB. I'm going to stop that and then compare the temporary file with the version in the database to see if theres a difference. |
15:30.45 | *** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com) |
15:33.41 | Samot | Well... |
15:33.55 | Samot | You say it worked on v11 but it gave warnings... |
15:34.57 | *** join/#asterisk Rini (uid196547@gateway/web/irccloud.com/x-cucmduklxybntkmn) |
15:35.54 | dan_j | The voicemail system playback gives warnings (and doesnt play). Not the recording. |
15:36.09 | dan_j | But only if i've used my agi script to save the recording to the database |
15:36.32 | Samot | Because VoiceMailMain() is doing a lot of the work. |
15:36.39 | Samot | It records the file in .raw format. |
15:36.43 | Samot | The converts it. |
15:37.21 | dan_j | I've downloaded the blob that's created by VoiceMailMain() and it's the same format as the blob generated by my agi script. |
15:37.53 | Samot | So on v11 it doesnt work. |
15:38.00 | Samot | Just gives warnings.. |
15:38.06 | Samot | On v13 it doesn't work.. |
15:38.18 | Samot | But those warnings have turned into errors.. |
15:38.32 | Samot | Either version VoiceMailMain() has no issues. |
15:38.46 | dan_j | Almost correct. It works fine on my old v11 boxes. |
15:39.01 | Samot | So it doesn't give warnings? |
15:39.04 | dan_j | and it's been working for months. But i'm moving to v13 where it doesnt work. So I set up a test v11 box and it doesnt work on that either. |
15:39.08 | igcewieling | dan_j: I've not read all the scrollback. Any no chance your AGI is ending early because the caller hung up? |
15:39.35 | dan_j | No warnings on the old v11 boxes where it works. Only the new v11 boxes. |
15:39.47 | Samot | What version of v11 are you running that it works on? |
15:39.53 | igcewieling | dan_j: check the charset of the tables, maybe a show create. |
15:39.57 | dan_j | igcewieling: Nope. It's me doing the calling and the confirmation message only gets played once its saved to the db |
15:40.44 | Samot | What version of v11 are you running that it works on? |
15:40.44 | dan_j | igcewieling: just going to compare the original file to the file that's retrieved from the db to see if they match. However the DB schema was taken from the old db so the charset should be the same. I'll check that now. |
15:40.46 | igcewieling | also check mysql versions, that has bitten me in the past. |
15:41.08 | dan_j | igcewieling: Just upgraded so the db version matches the working one. |
15:41.12 | Samot | What version of v11 are you running that it works on? |
15:41.27 | dan_j | 11.10.2 |
15:41.36 | Samot | Thank you. |
15:41.39 | dan_j | Thats the version I put on my test box (which doesnt work) |
15:41.52 | igcewieling | Mysql has a setting to log queries, that has helped me in the past too. |
15:42.05 | dan_j | s/put/I also put |
15:42.16 | Samot | VoilMailMain() stores messages in the DB without issue. |
15:42.16 | dan_j | hmm. how do you use that :) |
15:42.22 | dan_j | yep |
15:42.26 | Samot | er VoiceMailMain() |
15:42.46 | Samot | The only time the issue happens is when he records the greetings in his own way. |
15:43.04 | Samot | I don't think the database has anything to do with this. |
15:43.11 | Samot | I think he's recording greetings wrong. |
15:43.23 | Samot | Stored in the DB or straight on the system. |
15:43.37 | dan_j | I dont get it. The temporary file and the file that I extract from the DB are identical. Asterisk just doesnt want to play it. |
15:44.16 | igcewieling | dan_j: any chance the problem file is stereo, not mono? |
15:44.28 | dan_j | The temporary file can be played, but the identical file from the DB causes Voicemail() to either warn in v11 or deadlock in v13 |
15:44.46 | Samot | I said format issue. |
15:44.49 | Samot | It was dismissed. |
15:45.01 | Samot | This is why the exercise happened. |
15:45.03 | *** join/#asterisk rmudgett (rmudgett@nat/digium/x-msqonwtntbqpwwyk) |
15:45.03 | *** mode/#asterisk [+o rmudgett] by ChanServ |
15:45.08 | dan_j | igcewieling: It's recorded from within asterisk and asterisk can play it back prior to saving to the db |
15:45.12 | Samot | To show it most like _is_ a format issue. |
15:45.29 | Samot | dan_j: Youre using a different app for that |
15:45.45 | Samot | You're comparing Playback to how Voicemail() runs. |
15:46.02 | Samot | You have no idea what VoiceMailMain() or Voicemail() are doing. |
15:46.12 | Samot | Are they converting the file? |
15:46.18 | dan_j | I dont understand how it can be a format issue if the format saved by VoicemailMain is identical to the format saved by my agi script. |
15:46.31 | Samot | What format is that? |
15:46.35 | igcewieling | dan_j: how are you determineing "sameness" |
15:46.36 | Samot | What is the exact format? |
15:47.29 | dan_j | igcewieling: I took the temporary file from before it's inserted into the DB, i used mysql workbench to save the blob to a 2nd file and I used a diff program to compare the two files. |
15:47.55 | Samot | No. |
15:48.01 | Samot | What audio format settings?! |
15:48.09 | dan_j | yes. im getting that |
15:48.30 | igcewieling | md5sum might be better for that, but I doubt that makes a difference |
15:48.39 | dan_j | the one from the db is 8000Hz Mono 16bit Waveform Audio |
15:49.41 | Samot | The one your AGI created? |
15:49.48 | dan_j | same |
15:50.03 | Samot | And the one VoiceMailMain created? |
15:50.48 | dan_j | All the same. According to audacity |
15:50.51 | *** join/#asterisk seanbright (~sean@asterisk/contributor-and-bug-marshal/seanbright) |
15:50.51 | *** mode/#asterisk [+o seanbright] by ChanServ |
15:51.43 | dan_j | going to check the charset to see if mysql to sending the info back to asterisk differently. |
15:53.25 | dan_j | Nope. both charsets are the same between the working server and the other servers. |
15:53.37 | dan_j | I'm going to double check that the working server is actually still working. |
15:57.11 | *** join/#asterisk anthm (~anthm@freeswitch/developer/anthm) |
15:58.15 | dan_j | Yep. Still works perfectly on the old v11 box. I'm confused. |
16:07.35 | dan_j | Weird. I commented out ;format=wav49|gsm|wav and it's working now. 20 hours later |
16:09.37 | Samot | I bet format=wav would work too. |
16:09.53 | Samot | That was the other thing, VoiceMailMain() was making three versions of the file. |
16:09.59 | Samot | And using all three.. |
16:10.10 | Samot | Your AGI created one format of three. |
16:12.01 | dan_j | VoiceMailMain stores all 3 files in the blob field? |
16:12.48 | Samot | No. |
16:13.11 | Samot | Or maybe. I really don't know. |
16:13.23 | Samot | Or it tries to use those formats to convert the file to best format. |
16:13.28 | dan_j | Just looked at my v13 box and it already had format=wav, and thats the one that deadlocks. :( |
16:13.58 | dan_j | This evening, I'm going to comment out format=wav, so there is no format line and see if it still deadlocks. |
16:14.12 | *** join/#asterisk miralin (~Thunderbi@194.8.128.48) |
16:29.17 | *** join/#asterisk EnrgySmth (d8eba101@gateway/web/freenode/ip.216.235.161.1) |
16:32.22 | *** join/#asterisk luckman212 (~luckman21@gateway/vpn/privateinternetaccess/luckman212) |
16:41.25 | *** join/#asterisk Centinel (~jsmith@fsf/member/Centinel) |
16:42.30 | Centinel | We're running an Asterisk 13.13.1 PBX. We've got a bunch of Cisco 7940s set up to register to this PBX. I can see the REGISTER messages coming in through the Asterisk CLI, but it looks like Asterisk simply isn't processing them. Any ideas? |
16:43.39 | *** join/#asterisk DivideBy0 (~DivideBy0@unaffiliated/divideby0x0) |
16:43.39 | *** mode/#asterisk [+o DivideBy0] by ChanServ |
16:45.04 | Samot | Centinel: So Asterisk isn't receiving the REGISTER and sending back a 401 Unauthorized challenge? |
16:45.37 | *** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n) |
16:45.37 | *** mode/#asterisk [+o cresl1n] by ChanServ |
16:46.44 | Centinel | No - I can see Asterisk receiving the REGISTER messages in the CLI. I used sip set debug to take a closer look at one of the phones. It's just that nothing appears to be happening in response. |
16:47.15 | Centinel | We have some newer Cisco phones - SPA525G - and they can register just fine. |
16:47.50 | Samot | Are our 79xx phones using the SIP firmware? |
16:48.06 | Samot | Cisco 79xx phones are designed for the Cisco UC platform. |
16:48.17 | Samot | They have to be updated/flashed to the SIP firmware. |
16:48.26 | Samot | In order to do SIP. |
16:48.41 | Samot | Cisco SPA 5xx phones are SIP phones purely. |
16:49.06 | Centinel | I assume so. If I change host=dynamic to host=phone_ip_address, calls work just fine. |
16:49.37 | Samot | Because it's not registering. |
16:49.38 | Centinel | There was a very major change yesterday, though. We had been running an ancient copy of Asterisk 1.4. A power surge blew out the old server it was running on, so we had to switch over to an Asterisk 13 VM I had been setting up for my (eventual) transition to Asterisk administration. |
16:49.42 | Samot | It's just sending calls to that IP |
16:49.53 | Centinel | Exactly. |
16:50.01 | Samot | So it's not registering. |
16:50.10 | Centinel | But only on the old phones. |
16:50.57 | Samot | Show the register attempts. |
16:51.13 | Samot | With the host=dynamic for it. |
16:51.16 | Samot | Not the IP. |
16:51.53 | Centinel | http://pastebin.com/Bj3DvQzM |
16:52.58 | Samot | So the settings for this device from sip.conf |
16:53.02 | Samot | Mask the secret. |
16:55.12 | Centinel | http://pastebin.com/uPLhPrP7 |
16:56.49 | *** join/#asterisk bradley1 (~bradley@207.58.228.18) |
16:57.48 | Centinel | @bradley1 is working on this too, @Samot. |
16:58.09 | Samot | Where's the secret? |
16:58.21 | Centinel | There isn't one for this particular device. |
16:58.37 | Samot | Then how will a register work? |
16:58.57 | Samot | Theres nothing for it to build the digest challenge with. |
16:59.09 | Samot | Or the check against the challenge. |
17:00.16 | bradley1 | I don't think a secret is required? |
17:00.16 | Centinel | There are a few of the new phones that don't have a set secret either. They seem to register okay. |
17:00.40 | Samot | Asterisk is clearly receiving the REGISTER |
17:00.50 | Samot | It's not sending back a 401 challenge. |
17:03.06 | Centinel | Well if that's what will fix it, I can certainly think of worse things. |
17:03.37 | Samot | Set up the device config with the secret and see if the 401 is sent. |
17:08.49 | igcewieling | I'm starting to think the best way to provide T.38 fax service to our customers is to simply outsource it. |
17:09.57 | Samot | Whys that? |
17:10.07 | Samot | I don't have issues with it. |
17:10.24 | igcewieling | failing for no reason is the most common. |
17:10.43 | igcewieling | Not even involving Asterisk. |
17:11.26 | igcewieling | I assume it is some weird interaction between the MSX/Nextone and asterisk and/or Adtran endpoints. |
17:11.58 | Samot | Hrmmm. |
17:12.05 | Samot | I've done it over Adtrans will little issue. |
17:12.21 | igcewieling | Every few months I try routing it via Asterisk instead of direct to the endpoint but it never woks. |
17:12.25 | Samot | Including sending it to the Adtran and breaking it into FXS or PRI. |
17:12.27 | igcewieling | Samot: how many adtrans? |
17:12.36 | Samot | Well this was when I was at the CLEC. |
17:12.37 | igcewieling | we have 100+ adtrans with faxing. |
17:12.47 | Samot | So all of them. |
17:13.01 | Samot | Oh, way more than that. |
17:13.15 | Samot | We covered all of Michigan. |
17:13.15 | igcewieling | Oh, I realize it is SUPPOSED to work. It doesn't for us. |
17:13.24 | Samot | Parts of WI, IL, IN |
17:13.33 | igcewieling | Like I said, I assume it is an issue with the Nextone/MSX "SBC" |
17:13.40 | Samot | That is possible. |
17:15.23 | igcewieling | our current setup is: Level 3 -> our MSX/Nextone SBC -> Adtran endpoint. and adtran endpoint -> kamailio proxy to add PAID -> MSX/Nextone -> level 3. |
17:15.39 | igcewieling | first is inbound, second is outbound. |
17:15.46 | Centinel | @Samot Added a secret to the phone. Asterisk still picks up the REGISTER messages and still doesn't act on them. |
17:16.49 | Samot | Show it. |
17:17.11 | Samot | Well I don't know about Level 3 |
17:17.19 | Samot | But at the CLEC we had our own network. |
17:17.23 | Centinel | http://pastebin.com/yHW12wcv |
17:17.51 | Centinel | The only change in the sip.conf context is the addition of a secret. Everything else is the same. |
17:21.33 | Samot | One sec. |
17:24.58 | Samot | Centinel: Do: sip show peer 0807 |
17:25.06 | Samot | pb the output. |
17:26.26 | Centinel | http://pastebin.com/xGkn2RBP |
17:27.45 | Samot | CSeq: 104 REGISTER <-- That's not right. |
17:28.33 | Samot | Centinel: Keep the SIP debug going for that device... |
17:28.38 | Centinel | The number started at 100 and has been incrementing with each new set of registration messages. |
17:28.47 | Samot | Power down the device.. |
17:28.52 | Samot | Let it sit for a sec.. |
17:28.55 | Samot | Power it back up.. |
17:29.00 | Samot | Show the register from that. |
17:29.23 | Samot | CSeq: 860 REGISTER <-- That was the first debug. That's still wrong. |
17:29.26 | Samot | It needs to be a 1 |
17:30.43 | Centinel | I'm wondering if the version of the firmware on the phone might need updated now that we've jumped a whole bunch of Asterisk versions. But yes, I power cycled the device. |
17:30.47 | Centinel | Waiting for output now. |
17:31.13 | Samot | IMHO: 79xx phones should be introduced to sledgehammers. |
17:32.14 | Centinel | Only if I get to do it Office Space-style. |
17:33.37 | Samot | That's how we did it. |
17:33.52 | Samot | When the CLEC finally replaced those shitty ass phones. |
17:35.14 | Centinel | The first output has arrived, and it looks like it's back to 103: http://pastebin.com/kzHdRX7H |
17:37.00 | Centinel | And incrementing again. |
17:37.35 | Centinel | If nothing else, this is certainly an interesting introduction to IP telephony. I hadn't planned to dive into this for another few months. |
17:38.02 | Centinel | Although I'm not entirely clueless. I'm in the middle of one of Digium's training courses. |
17:46.47 | Samot | Phones and devices are local to the PBX |
17:46.48 | Samot | ? |
17:47.32 | Centinel | As in, on the same subnet and VLAN? Yes. |
17:48.24 | Samot | permit=10.0.16.0/255.255.252.0 <- Change that 0.0.0.0/0.0.0.0 |
17:48.29 | Samot | Humor me on it. |
17:48.41 | Samot | Then do a sip reload |
17:50.51 | *** join/#asterisk Tiffon (~name@unaffiliated/tiff0n) |
17:52.58 | Centinel | We're going to take a short break and then set up a dedicated test phone. After that's done, we'll see if that helps. |
17:57.26 | *** join/#asterisk tuxd00d (~tuxd00d@ip68-106-11-24.ph.ph.cox.net) |
17:59.14 | *** join/#asterisk defsdoor (~andy@cpc35-sutt4-2-0-cust184.19-1.cable.virginm.net) |
18:01.33 | *** join/#asterisk tuxian (~tuxian@194.12.3.78) |
18:03.20 | *** join/#asterisk Juggie (~Juggie@unaffiliated/juggie) |
18:03.45 | Centinel | It seems a firmware update fixes the problems. |
18:05.41 | Samot | OK. |
18:24.01 | *** join/#asterisk skywayskase (~skywayska@67.139.42.219) |
18:41.39 | *** join/#asterisk jkroon (~jkroon@uls-154-73-32-15.wall.uls.co.za) |
19:04.16 | *** join/#asterisk u0m3 (~u0m3@5-12-7-222.residential.rdsnet.ro) |
19:05.18 | miralin | hi guys, does anyone experienced in HEP and webrtc? I have some webrtc clients, they connect to my asterisk through websocket and also i have HOMER that recieve from asterisk call information through HEP protocol. The problem is that for my webrtc clients in source and destination field asterisk paste the same ip (client ip) and in call flow it's looks like client send himself all invite, register and other sip packets. Any idea? |
19:05.55 | *** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com) |
19:08.29 | dan_j | Where can I find the database schema for musiconhold realtime? |
19:16.10 | *** join/#asterisk skywayskase (~skywayska@67.139.42.219) |
19:17.53 | dan_j | Found it |
19:22.54 | *** join/#asterisk skywayskase (~skywayska@67.139.42.219) |
19:24.59 | *** join/#asterisk libardi (~libardi@187.64.235.241) |
19:46.05 | dan_j | Is it possible to reload extconfig.conf without a restart? |
20:04.58 | *** join/#asterisk anpi (~crr@unaffiliated/anpi) |
20:13.45 | *** join/#asterisk skywayskase (~skywayska@67.139.42.219) |
20:18.25 | *** join/#asterisk skywayskase (~skywayska@67.139.42.219) |
20:23.31 | cusco | try config reload /path/to/conf |
20:23.37 | cusco | (in asterisk cli) |
20:24.04 | dan_j | thanks. that seems to have done it |
20:24.48 | dan_j | hmm. maybe not. it's not added the new moh classes from the db. Never mind. I'll just have to wait. Thanks anyway |
20:26.23 | *** join/#asterisk ChannelZ (channelz@burner.com) |
20:35.33 | *** join/#asterisk agent_white (~agent_whi@unaffiliated/agent-white/x-6197888) |
20:36.19 | cusco | dan_j: also reload musiconhold.conf ? |
20:36.23 | cusco | or reload the moh module |
20:41.52 | *** join/#asterisk imcdona (~imcdona@2607:f0d8:20:1001:94fe:2a00:16b0:7ff2) |
20:42.34 | *** join/#asterisk dmasiero (~doug@lantern.masiero.us) |
20:45.38 | *** join/#asterisk skywayskase (~skywayska@67.139.42.219) |
20:50.32 | *** join/#asterisk tzafrir (~tzafrir@bzq-82-81-175-197.red.bezeqint.net) |
20:52.59 | dan_j | Samot: It appears that the v13 deadlock is a separate issue. I've commented out ;format=wav and it still deadlocks when trying to playback a file created by my agi script. |
20:53.15 | dan_j | Going to upgrade to v13 on my test box and see if the same occurs. |
20:55.09 | *** join/#asterisk netman (~netman@185.94.249.77) |
21:03.10 | *** part/#asterisk kharwell (kharwell@nat/digium/x-fqssxtindnnaycbp) |
21:15.46 | *** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com) |
21:18.08 | *** join/#asterisk skywayskase (~skywayska@67.139.42.219) |
21:20.08 | dan_j | Hi. I've got an AGI script with allows a user to record their voicemail greeting outside of app_voicemail. in v11 it works fine. But in v13, Voicemail() is unable to play the greeting recorded by my AGI script. The recordings are stored in a realtime db. |
21:20.22 | dan_j | Any ideas how I can diagnose this? I've been fighting with it for over 24 hours now. |
21:20.30 | dan_j | Any help is greatly appreciated! |
21:22.52 | dan_j | I've just confirmed the issue by downgrading to v11 and accessing the same voicemail box without re-recording. In v11 it plays fine. In v13, the channel deadlocks. |
21:26.23 | *** join/#asterisk rmudgett (rmudgett@nat/digium/x-whukezsdldptztca) |
21:26.23 | *** mode/#asterisk [+o rmudgett] by ChanServ |
22:08.13 | *** join/#asterisk rwb (~Thunderbi@65.183.151.239) |
22:10.37 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
22:17.12 | dan_j | If I extract the recording from the database and play it using Playback(), asterisk is able to play it. |
22:19.55 | dan_j | Even weirder, if I take that message and insert it as a voicemail message, it plays fine too. It just causes a deadlock when it's a greeting. |
22:37.55 | *** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net) |
22:50.04 | *** join/#asterisk kharwell (~kharwell@user-24-214-15-130.knology.net) |
22:50.04 | *** mode/#asterisk [+o kharwell] by ChanServ |
22:59.39 | *** join/#asterisk monsterco (~monsterco@toroon474aw-lp130-02-70-50-209-133.dsl.bell.ca) |
23:00.40 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
23:00.40 | *** part/#asterisk monsterco (~monsterco@toroon474aw-lp130-02-70-50-209-133.dsl.bell.ca) |
23:04.42 | *** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com) |
23:55.27 | *** join/#asterisk jeffspeff (~Jeff@209.141.208.197) |