How to setup SignalWire and Twilio in Wazo

How to setup SignalWire and Twilio in Wazo. First, I should state that SignalWire is a competitor to Twilio. It is brought to us by the founders of Freeswitch.

I’ve been playing around with them for just a short time and have liked what they have done so far. I had problems for forever getting Twilio to work with outgoing calls in Wazo. Now, I can finally say that I have it working 100%. Same goes for SignalWire.

When you are filling out the SIP trunk section here is the information you will need:

  • Authentication username: this is something you picked in signalwire.
  • password: you picked this right after the username.
  • connection type: honestly – I think friend and peer works. I don’t think it is used.
  • IP Addressing: Static and then the server name is the name of your end point. This should be your project name followed by some code and then ends with sip.signalwire.com. you need to enter it all.
  • Skip the rest of that
  • Skip register
  • Go to Advanced tab – this was the key for me.
  • Rewriting the From field-Domain: user your username here
  • Rewriting the From field-Domain: here you put your SIP Endpoint
  • amaflag: default
  • I also filled in insecure (ALL) and port (5060) but again I am not entirely sure they are used.

That’s it. Twilio is the same way but usually the terminology is just a bit different.

Also want to mention that when setting up a phone they recommend TLS and port 5061. However, I think if you are using Asterisk you still need to use UDP and 5060.

WordPress 5.0 Publishing Failed

I couldn’t auto-save or just regularly save any post on WordPress 5.0. A google search turned up a few options but none of them worked for me.

Suggestions included changing permalinks then changing it back. There was a php.ini line that I tried. I think if I would have reverted to the old editor it might have worked.

While troubleshooting I checked Google Debugging at it was showing access-control-allow-headers errors. I searched for that and came up with almost nothing except one little gem of wisdom. it said that the URL I was using might be different than that of my site. Specifically, the hits were talking about http vs https. My SSL was good so I didn’t think that was the issue.

What I did notice was my admin page was lacking the www even though the admin section (and nothing in wp-settings) was www. I changed my settings to remove the www and then everything worked.

Be forwarned this will probably affect your SEO. Google showed only “www” links but now I am getting rid of the “www”.

Using Star Codes with Obihai 1000 Phones

I was unable to use star codes with obihai 1000 phones for a very long time.  It wasn’t really a big deal before but was irritating that I couldn’t find an answer.  Thanks to a post from voip.ms wiki i figured out that I had to change the ITSP digitmap line.  One just has to add |*xx| after |xx.|

Not sure why this was even the case as it is this issue only relates to Obihai phones.  In case anyone is curious I use these phones on a few different systems.  They are all Asterisk based.  Usually Wazo but sometimes direct to voip.ms.

File Explorer Closes Almost Immediately after Opening it in Windows 10

If your file explorer closes almost immediately after you tried to open it in Windows 10 then I would suggest the resolution below.  I found 3 other solutions but only this one worked for my situation.  I found it first at 4IT Support.

  • Right Click on the file explorer icon.
  • Select any pinned folder.
  • In the “View” tab go to the far right and click the word “options”
  • Select “change folder and search options”
  • In the “open File Explorer to” box select “this pc”
  • Click the “Clear” button next
  • done

Enjoy your fixed file explorer!

 

No Network Connections After Upgrading to Windows 10

If you are missing all of your network connections after upgrading to Windows 10 then chances are you have something in the computer that Windows 10 does not like. One of these programs includes Cisco VPN.

The last time this happened to one of my clients I had to copy and paste the commands into a file and copy them onto a flash drive. Then have the client copy those commands into a command prompt.

Here are the steps that I have ran sucessfully before.

  • Open an elevated command prompt by clicking on the start button and typing “cmd”. Command Prompt should be the first hit. Right click on it and select “Run as Administrator.”
  • copy and paste into the black box this: reg delete HKCR\CLSID\{988248f3-a1ad-49bf-9170-676cbbc36ba3} /va /f
  • If that doesn’t work you will have to edit the registry manually by typing in “regedit” hitting enter and then navigating to the above key and then deleting that key. Here is the key you should be looking for: HKEY_CLASSES_ROOT\CLSID\{988248f3-a1ad-49bf-9170-676cbbc36ba3}
  • The next command to enter into the command prompt is netcfg -v -u dni_dne
  • If that last command is successful then you should have your network connections back.

I’d also remove Cisco VPN from the computer.

DHCP Options for Sophos XG

Here is the clip from the manual for DHCP Options for the Sophos XG.  Got to keep remembering these!

 

Manage DHCP options dhcp[dhcp-options{add|binding|delete|list}] • To add a custom DHCP option dhcp[dhcp-options {add optioncode 1-255 optionname String optiontype {array-of |one-byte|two-byte|fourbyte |ipaddress|string|boolean }] • To delete a custom DHCP option dhcp[dhcp-options{delete optionname optionname}] • To display all configurable DHCP option dhcp[dhcp-options{list}] • To manage additional options for DHCP Server • Add option to DHCP Server dhcp[dhcp-options{binding add(dhcpname DHCP Server name optionname DHCP options value text)}] • Delete option from DHCP Server dhcp[dhcp-options {binding delete {dhcpname dhcp server name)}] • Show options assigned to DHCP Server dhcp[dhcp-options {binding show {dhcpname dhcp server name)}]

here is a sample from what you would type in to see what you already set:

 

console> system dhcp dhcp-options binding show dhcpname “DHCP Server”
Options Configured from GUI
—————————
Domain_Name
Subnetmask 255.255.255.0
Default_Gateway 192.168.1.1
Domain_Name_Servers
Options Configured from CLI
—————————
TFTP_Server_Name(66) “192.168.1.120”
ciscophone(150) “192.168.1.120”

Resetting Netflix on Panasonic Viera Smart TV

Resetting Netlfix on the Panasonic Viera Smart tv didn’t really go as planned.  However, I did resolve my issues.  Netflix wouldn’t load at first.  I tried to remove the channel (they call them apps) and I guess you can’t actually do that.  I also tried the netflix cheat code to get into the settings menu.  No luck.

What did work was changing my DNS entries for the TV.  Why that?  Who knows.  I certainly don’t know.  Everything else on the TV worked including youtube and amazon video.  I changed the DNS to default instead of my standard Google DNS of 8.8.8.8.

This is a 2012 smart tv.  I hate smart tvs.  Not just hate but I could go to bed thinking of ways to smash them. They never get updated.  The UI is never user-friendly and when things go wrong you can’t do much about it.  Give me a roku or googlecast any day of the week!

How I brought my Cisco 7961G Back to Life

This is how I brought my Cisco 7961G back to life.  Many hours later but here are my notes.

I used TFTpd32 as my tftpd software but I wasn’t having any luck with the DHCP piece for the 1 of my 2 7961G phones.  Prior to this last brick I had at one point been successful with a flash to SIP but then the next test it failed and I was back to square one.

In a nutshell:

  • I had to set both option 66 and option 150 to the ip address.  I made sure that the name included “”
  • I took the handset off the phone.  Weird.  I know but it was on the Cisco site as a possibility.
  • I used my router for the DHCP server and Tftpd for the tftp server and as the dns server
  • That Hex stuff..didn’t work
  • I used the firmware from the file called cmterm-7941-7961-sccp.8-0-3.zip
  • I added an XMLDefault.cnf.xml file and changed the one line inside it

My next challenge is to get it upgraded.

Valve needs to do ONE THING RIGHT and They Screwed it UP

Valve needs to do one thing right and they screwed it up.  Actually they have two things to do with the most important being stamping out bullying.  For that uncaring attitude I say SCREW YOU VALVE.  Now on to tonight’s issue.  Team Fortress 2 has changed to a ranking system to try and combat Blizzard’s new game called Overwatch.  That’s great and all.  They have two levels with the lowest level for those of us who have real lives.  It is called casual.  They should call it a waste of time.

Right now I really should be dropping f-bombs left and right but I am talking about something virtual instead of real life.  Granted, how “virtual” is it if you have almost 2000 hours(correction: only 876 hrs) invested in it?  In any event, I waited almost 10 minutes only for the game to crash while loading a match and then when I tried to wait again for a match I gave up over the 10 minute mark.

Here is the real doozy…

Does these douches comprehend how much freaking alcohol a person drinks waiting for a match on a FRIDAY night?!  Trust me it is far more when you “ain’t” doing anything.  On to a more endearing issue..if I am not able to play team fortress 2 I will move on to another game.  If I move on to another game then Valve has less or zero chance of me buying anything..especially with alcohol involved.  It makes me wonder what the hell they are smoking  that they can’t comprehend the rest of us?!  Now, let me get the monkey? out of the room.  Normal people don’t go and write blog posts that maybe 1 other person will read.  However, you can never rule out anything on the internet and how this post could gain traction.

SO VALVE,  start caring about real-life things like racism and fixing  your matchmaking skills.  You see, there is this fairly large 8 digit? large cash prize game called DOTA2 that you OWN that does better matchmaking then this.  How about asking that team?  While you are at it find a dictionary and look up the words bullying and racism  You put in as much effort as Donald Trump puts into his public displays.

Defragsvc Slowing down Computer

I’ve been having troubles with defragsvc slowing down a copy of Windows 10 hosted on VMware Esxi.  It was putting the hard disk at 100% usage which caused major lag for all the other computers trying to access the VM.  I changed the settings so that the defrag only happens once a month but it wouldn’t stop this existing defrag.

Then again, was it really defragging?  The numbers showed 0% fragmented yet the defrag kept running?  I tried to stop the service but it wouldn’t let me.  I tried it via the commandline and it said it wasn’t running.  Thought that was weird.  Eventually I found some information on how to permanently stop it at windowssvc.com.

Open a command prompt. (Run a command prompt as Administrator in Windows vista/7/8)
Copy red command line and Paste.
sc stop “defragsvc”
sc config “defragsvc” start= disabled

I look forward to seeing if this stays disabled or if it improves my server.  Solutionreach was also maxing my drive and I just can’t figure out why.  It only happens on Wednesdays and I don’t see anything in the settings that sets Wednesday apart from any other day.  I disabled it and later is when defragsvc started to cause issues.  This is all happening on just one computer.  I haven’t run into this issue anywhere else.