Jul
03
2017
0

How to connect Asterisk SIP Clients over Duel Layers of NAT

A common problem with SIP is it’s difficulty handling NAT(especially over multiple layers).  A common symptom is no audio stream.  The Asterisk CLI  shows a successful call connection succeeding followed by an error in /var/log/asterisk/messages:

[Jun 14 17:16:26] WARNING[2967] chan_sip.c: Retransmission timeout reached on transmission 4e2a8586-3a91c1cf-e73f6b64@10.1.10.115 for seqno 2 (Critical Response) — See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 6399ms with no response

(more…)

Jul
20
2009
3

ATI HD 4870 (catalyst 9.6) fails to load World of Warcraft

I just upgraded to a ATI HD 4870(w/ 1 Gig DDR 5!).  I read some rave reviews about the 4800 series cards and heard via the grapevine that ATI had much improved Linux support.  However, I was disappointed to find out that the catalyst 9.6 driver will not build with Fedora 11’s stock 2.6.29 kernel.  Bummer, I really like Fedora 11.

So I downgraded to Fedora 10 and the ATI driver built without problem.  My next mission was to install WoW, which went fine.  I was able to download and install without error.  But when I start the game I get one of two typical errors:

====================================================
[matt@localhost World of Warcraft]$ wine Wow.exe
err:alsa:ALSA_CheckSetVolume Could not find ‘PCM Playback Volume’ element
fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
fixme:mixer:ALSA_MixerInit No master control found on Brooktree Bt878, disabling mixer
fixme:advapi:SetSecurityInfo stub
archive Data\enUS\patch-enUS.MPQ opened
archive Data\patch.MPQ opened
archive Data\enUS\patch-enUS-2.MPQ opened
archive Data\patch-2.MPQ opened
archive Data\expansion.MPQ opened
archive Data\lichking.MPQ opened
archive Data\common.MPQ opened
archive Data\common-2.MPQ opened
archive Data\enUS\locale-enUS.MPQ opened
archive Data\enUS\speech-enUS.MPQ opened
archive Data\enUS\expansion-locale-enUS.MPQ opened
archive Data\enUS\lichking-locale-enUS.MPQ opened
archive Data\enUS\expansion-speech-enUS.MPQ opened
archive Data\enUS\lichking-speech-enUS.MPQ opened
fixme:win:EnumDisplayDevicesW ((null),0,0x39edac,0x00000000), stub!
^Cwine: Unhandled page fault on read access to 0x00000018 at address 0x624dbf3e (thread 0009), starting debugger…
============================================================

(more…)

Jun
18
2009
0

Remote Upgrades on Fedora based Systems

I’m doing a remote upgrade on a test server at work(VoiceIP Solutions). So today’s article will cover upgrading from Fedora 6 to Fedora 10. Before you start, backup any important data! Every once in a while some dependency issue will crop up that blows up your server.  Also upgrading from Fedora 6 to Fedora 11 is not as easy as say, upgrading from Fedora 10 to Fedora 11.  So be careful and upgrade on a regular basis!

The Goals of this Post:

– remote upgrade from Fedora 6 to Fedora 10

(more…)

Mar
24
2009
2

World of Warcraft won’t start under WINE after Fedora 10 update SOLVED

I did a ‘yum update’ on my Fedora 10 Linux box.  Right afterword I started WoW, but it crased and generated a error log that I saved to the desktop as, ‘imsettings-applet-bugreport.txt’  The error log complains that I’m not a member of the pulse-rt group.  I corrected that and WoW started normally.

Goals of this post:

-Describe how to add a user to the pulse-rt group for purpose of getting World of Warcraft under WINE running after a ‘yum update’

(more…)

Mar
24
2009
1

World of Warcraft keyboard bug using Fedora 10 and WINE 1.1.15

I have found an odd intermittent problem with World of Warcraft.  Once in a while, (and sometimes more) the keyboard will react with odd behaviour.  For instance I might be pressing the ‘w’ key to move forward and when I lift my finger off the key my toon continues to run.I don’t see any obvious errors.  The key bindings look fine to me.

I found some material online:

http://www.nabble.com/WoW-3.0.2.9056-Issues-td20171737.html

Hi All,
First off I want to say a big thank you for your great effort in producing Wine, my hats off to the developers.
I have Ubuntu 8.0.4.1 64bit edition and I have Wine 1.1.7 installed. I have noticed that when I play WoW, it appears that the keyboard buffer becomes full and my character goes off on his own. Sometime I can control it using the left, right and back keys, other times off it goes. Quite worrying when you are in a dungeon with a group and you are trying to fend off the monsters and your char starts to wander. This was also happening under Wine 1.1.6 as well.
I am not sure if this is a recent WoW issue as with the upgrade to V3 or is it a Wine issue. This weekend is the first time I have run WoW since March this year. I have been using Guild Wars and come to think of it, the character control there is a bit dodgy as well.
Any ideas?
Cheers and keep up the excellent work
EmyrB

(more…)

Mar
15
2009
2

Errors loading Asterisk addons, CDR(Call Detail Records) to MySQL

The other day I was doing an Asterisk 1.2 –> 1.4 upgrade.  I have a MySQL database that Asterisk records the Call Detail Record’s(CDR) too.  I deleted the asterisk 1.2 modules, then compiled/installed asterisk 1.4 & asterisk-addons 1.4.  Being that I hadn’t set up the CDR MySQL stuff in a while I loaded the res_mysql.conf, but I copied it from the cdr_addon.conf file by accident.  Because the two files have similer syntax It took me a while to figure this one out.  I checked all the passwords and I even checked the Asterisk CLI to see if the module loaded.  MySQL was populated with the same tables as before.  I also kept seeing this error (see below).

Possibly a mixed up addon file.

Possibly a mixed up addon file.

The error:

[Mar 15 03:25:44] ERROR[23793]: res_config_mysql.c:629 mysql_reconnect: MySQL RealTime: Failed to connect database server asterisk on  (err 2002). Check debug for more info.

The res_mysql & cdr_mysql have very similer config files, but you can’t ‘cut & paste’ between them.

Sample configuration for res_mysql.conf:

;
[general]
;dbhost = 127.0.0.1
;dbname = asterisk
;dbuser = myuser
;dbpass = mypass
;dbport = 3306
;dbsock = /tmp/mysql.sock

; Sample configuration for cdr_mysql.conf:

[global]
;hostname=database.host.name
;dbname=asteriskcdrdb
;table=cdr
;password=password
;user=asteriskcdruser
;port=3306
;sock=/tmp/mysql.sock
;userfield=1

Be careful not to mix the two between upgrades!