segunda-feira, dezembro 20, 2010

Howto: Asterisk PBX Holidays on your dial plan

Admin World | Howto: Asterisk PBX Greek National Holidays on your dial plan: "Howto: Asterisk PBX Greek National Holidays on your dial plan
Posted by admin on 09/04/2010 Leave a comment (2) Go to comments

Asterisk Logo

Well For some time now i work with asterisk servers and i try to learn as much as i can with a lot of reading and help from other IT friends.

This article is going to show how to tell asterisk which days of the year are holidays for Greece. It’s quite simple as principle but none of the greek IT community posted something similar to help the newbies, at least what i saw through Google. The most compicated part is where you must define the moving calendar holidays like easter and Clear Monday (??) :-) .

This scripting can also work with Other contries if you alter the dates on the astdb’s dates…

This example imports moving holidays to 2020 and standard calendar holidays for end of time….!

First of all create a file called and imput the following lines:
asterisk -rx 'database deltree holidays'
asterisk -rx 'database put holidays 20100215 1'
asterisk -rx 'database put holidays 20100402 1'
asterisk -rx 'database put holidays 20100405 1'
asterisk -rx 'database put holidays 20100524 1'
asterisk -rx 'database put holidays 20110307 1'
asterisk -rx 'database put holidays 20110422 1'
asterisk -rx 'database put holidays 20110425 1'
asterisk -rx 'database put holidays 20110613 1'
asterisk -rx 'database put holidays 20120227 1'
asterisk -rx 'database put holidays 20120413 1'
asterisk -rx 'database put holidays 20120416 1'
asterisk -rx 'database put holidays 20120604 1'
asterisk -rx 'database put holidays 20130318 1'
asterisk -rx 'database put holidays 20130503 1'
asterisk -rx 'database put holidays 20130506 1'
asterisk -rx 'database put holidays 20130624 1'
asterisk -rx 'database put holidays 20140303 1'
asterisk -rx 'database put holidays 20140418 1'
asterisk -rx 'database put holidays 20140421 1'
asterisk -rx 'database put holidays 20140609 1'
asterisk -rx 'database put holidays 20150223 1'
asterisk -rx 'database put holidays 20150410 1'
asterisk -rx 'database put holidays 20150413 1'
asterisk -rx 'database put holidays 20150601 1'
asterisk -rx 'database put holidays 20160314 1'
asterisk -rx 'database put holidays 20160429 1'
asterisk -rx 'database put holidays 20160502 1'
asterisk -rx 'database put holidays 20160620 1'
asterisk -rx 'database put holidays 20170227 1'
asterisk -rx 'database put holidays 20170414 1'
asterisk -rx 'database put holidays 20170417 1'
asterisk -rx 'database put holidays 20170605 1'
asterisk -rx 'database put holidays 20180219 1'
asterisk -rx 'database put holidays 20180406 1'
asterisk -rx 'database put holidays 20180409 1'
asterisk -rx 'database put holidays 20180528 1'
asterisk -rx 'database put holidays 20190311 1'
asterisk -rx 'database put holidays 20190426 1'
asterisk -rx 'database put holidays 20190429 1'
asterisk -rx 'database put holidays 20190617 1'
asterisk -rx 'database put holidays 20200302 1'
asterisk -rx 'database put holidays 20200417 1'
asterisk -rx 'database put holidays 20200420 1'
asterisk -rx 'database put holidays 20200608 1'

As you can see the first line removes all entries of the table holidays and then adds the holidays you want in the form %Y%m%d.

Now the line that calls astdb and checks if there is any time record matching the current time ( This is for 1.4) is:
exten => s,n,Set(HOLIDAYS=${DB_EXISTS(holidays/${STRFTIME(${EPOCH},GMT+2,%Y%m%d)})})
This line must be placed in a context that will run this command before starting doing the routing of the call. This command sets the ${HOLIDAYS} variable to 1 if the current date matches the records in the database, and to 0 if not.

Now there are several ways to route your call depending on the ${HOLIDAYS} variable value but i will show the most common and easy for me.

GotoIf Method:
exten => s,n,GotoIf($[${HOLIDAYS}>0]?,,)
This line says that if ${HOLIDAYS}>0 ie 1, then go to the context, context-name,priority and continiue from there. You could also to this:
exten => s,n,GotoIf($[${HOLIDAYS}>0]?,,: ,,)
which says that if it’s true to this else to that.

Now For a complete holidays definition i have set the following rules in the begining of the context that incoming calls are routed.
exten => s,1,answer
exten => s,n,Set(HOLIDAYS=${DB_EXISTS(holidays/${STRFTIME(${EPOCH},GMT+2,%Y%m%d)})})
; Holidays
exten => s,n,GotoIfTime(*|*|1|jan? s,n,GotoIfTime(*|*|6|jan?context-ext-closed,closed,1)
exten => s,n,GotoIfTime(*|*|25|mar?context-ext-closed,closed,1)
exten => s,n,GotoIfTime(*|*|1|may?context-ext-closed,closed,1)
exten => s,n,GotoIfTime(*|*|15|aug?context-ext-closed,closed,1)
exten => s,n,GotoIfTime(*|*|28|oct?context-ext-closed,closed,1)
exten => s,n,GotoIf($[${HOLIDAYS}>0]?context-ext-closed,closed,1)
exten => s,n,GotoIfTime(*|*|25-26|dec?context-ext-closed,closed,1)
; Working Days
exten => s,n,GotoIfTime(09:00-17:00|mon-fri|*|*?context-ext-open,open,1)
exten => s,n,Goto(biznet-ext-closed,closed,1)
I think is quite straight forward if you look the dates on the definitions. These rules redirect the call to a context-ext-closed if the dates match, which handles the call from there.

I hope this article is usefull for somebody, and i am here to answer any question.


- Sent using Google Toolbar"

sábado, dezembro 04, 2010

Routing for multiple uplinks/providers

what to do if you have more than one internet provider, two routers and one linux box?
4.2. Routing for multiple uplinks/providers

A common configuration is the following, in which there are two providers that connect a local network (or even a single machine) to the big Internet.

+------------+ /
| | |
+-------------+ Provider 1 +-------
__ | | | /
___/ \_ +------+-------+ +------------+ |
_/ \__ | if1 | /
/ \ | | |
| Local network -----+ Linux router | | Internet
\_ __/ | | |
\__ __/ | if2 | \
\___/ +------+-------+ +------------+ |
| | | \
+-------------+ Provider 2 +-------
| | |
+------------+ \________

There are usually two questions given this setup.
4.2.1. Split access

The first is how to route answers to packets coming in over a particular provider, say Provider 1, back out again over that same provider.

Let us first set some symbolical names. Let $IF1 be the name of the first interface (if1 in the picture above) and $IF2 the name of the second interface. Then let $IP1 be the IP address associated with $IF1 and $IP2 the IP address associated with $IF2. Next, let $P1 be the IP address of the gateway at Provider 1, and $P2 the IP address of the gateway at provider 2. Finally, let $P1_NET be the IP network $P1 is in, and $P2_NET the IP network $P2 is in.

One creates two additional routing tables, say T1 and T2. These are added in /etc/iproute2/rt_tables. Like this:

1 T1
2 T2

Then you set up routing in these tables as follows:

ip route add $P1_NET dev $IF1 src $IP1 table T1
ip route add default via $P1 table T1
ip route add $P2_NET dev $IF2 src $IP2 table T2
ip route add default via $P2 table T2

Nothing spectacular, just build a route to the gateway and build a default route via that gateway, as you would do in the case of a single upstream provider, but put the routes in a separate table per provider. Note that the network route suffices, as it tells you how to find any host in that network, which includes the gateway, as specified above.

Next you set up the main routing table. It is a good idea to route things to the direct neighbour through the interface connected to that neighbour. Note the `src' arguments, they make sure the right outgoing IP address is chosen.

ip route add $P1_NET dev $IF1 src $IP1
ip route add $P2_NET dev $IF2 src $IP2

Then, your preference for default route:

ip route add default via $P1

Next, you set up the routing rules. These actually choose what routing table to route with. You want to make sure that you route out a given interface if you already have the corresponding source address:

ip rule add from $IP1 table T1
ip rule add from $IP2 table T2

This set of commands makes sure all answers to traffic coming in on a particular interface get answered from that interface.

Now, this is just the very basic setup. It will work for all processes running on the router itself, and for the local network, if it is masqueraded. If it is not, then you either have IP space from both providers or you are going to want to masquerade to one of the two providers. In both cases you will want to add rules selecting which provider to route out from based on the IP address of the machine in the local network.
4.2.2. Load balancing

The second question is how to balance traffic going out over the two providers. This is actually not hard if you already have set up split access as above.

Instead of choosing one of the two providers as your default route, you now set up the default route to be a multipath route. In the default kernel this will balance routes over the two providers. It is done as follows (once more building on the example in the section on split-access):

ip route add default scope global nexthop via $P1 dev $IF1 weight 1 \
nexthop via $P2 dev $IF2 weight 1

This will balance the routes over both providers. The weight parameters can be tweaked to favor one provider over the other.

Note that balancing will not be perfect, as it is route based, and routes are cached. This means that routes to often-used sites will always be over the same provider.

Furthermore, if you really want to do this, you probably also want to look at Julian Anastasov's patches at , Julian's route patch page. They will make things nicer to work with.

Script will look like this

ip route add $P1_NET dev $IF1 src $IP1 table T1
ip route add default via $P1 table T1

ip route add $P1_NET dev $IF1 src $IP1

ip route add default via $P1

ip rule add from $IP1 table T1

terça-feira, novembro 30, 2010

UNetbootin - Homepage and Downloads

Very easy tool...
Record iso images in usb pendrive
UNetbootin - Homepage and Downloads: "Introduction

UNetbootin allows you to create bootable Live USB drives for Ubuntu, Fedora, and other Linux distributions without burning a CD. It runs on both Windows and Linux. You can either let UNetbootin download one of the many distributions supported out-of-the-box for you, or supply your own Linux .iso file if you've already downloaded one or your preferred distribution isn't on the list.

* Microsoft Windows 2000/XP/Vista/7, or Linux.
* Internet access for downloading a distribution to install, or a pre-downloaded ISO file


UNetbootin can create a bootable Live USB drive, or it can make a 'frugal install' on your local hard disk if you don't have a USB drive. It loads distributions either by downloading a ISO (CD image) files for you, or by using an ISO file you've already downloaded.

Another cool tool, that worked better

Then I tried to use Universal USB Creator (same as YUMI but Windows version), and it works!
Just giving alternative suggestions if all you tried failed!

domingo, novembro 28, 2010

List all installed rpm packages and it’s size

List all installed rpm packages and it’s size

Virtual Private Server disk space are usually limited so it’s always good to know how much space on the hard drive takes some rpm package. You can delete it later – you will save your disk space and of course some bandwidth if updates are released later on.

rpm -qa –qf ‘%10{SIZE}\t%{NAME}\n’ | sort -k1,1n

This applies to Linux environment servers only.

Filed under: Tips by Linux Admin
3 Responses to “List all installed rpm packages and it’s size”

David Bennett, on March 30th, 2009 at 9:21 am Said:

This command should be:

rpm -qa –queryformat=”%10{SIZE}\t%{NAME}\n” | sort -k1,1n
David Bennett, on March 30th, 2009 at 9:23 am Said:

NOTE: blog is editing entries, the parameter queryformat as two dashes in front. The queryformat value is encapsulated in standard double quotes.

sábado, novembro 27, 2010

Fix “No root device found” on Fedora 13 live USB stick @ subuya

Fix “No root device found” on Fedora 13 live USB stick: "Trying to boot the Fedora 13 ISO beta written on to a USB memory stick with LiveUSB Creator, I kept getting the error:

No root device found. Boot has failed, sleeping forever.

It looks like the wrong UID for the boot drive is set for some reason, so the boot loader is looking for a drive that doesn’t exist. Instead of booting by UID, you can boot by drive label. By default, X gives your USB drive the label FEDORA.

To temporarily fix this so that you can boot, you need to change the kernel line like so:

1. When the Fedora boot screen appears telling you that the system will start in 10 seconds, press Enter to access the boot menu.
2. Press Tab to open the boot options
3. Change: root=live:UUID=1390-4D09 (the UID will be different, derived from your USB stick) to root=live:LABEL=FEDORA
4. Press Enter to boot.

To fix the problem permanently, edit the same line in the syslinux.conf file in /syslinux directory of the USB drive (you’ll probably need to boot from another OS to do this).

- Sent using Google Toolbar"

quinta-feira, novembro 25, 2010

[APP] One Click Lag Fix APK - 2.0 - xda-developers

[APP] One Click Lag Fix APK - 2.0 - xda-developers: "[APP] One Click Lag Fix APK - 2.0

OneClickLagFixV2PLUS inside the app is currently in RELEASE status. It has been tested on a fairly enormous number of devices without issue.

This is an APK (Normal Android App) that will install an EXT2 lag fix for you.

The APK itself can support a number of different lag fixes. It currently has the old OCLF V1 fix, which uses symlinks, and it now also has a new V2 fix which uses bind mounts.

This is in a new thead, as the old thread is very very long, and this is now version 2.

New features of the OCLF2+ lagfix vs OCLF1+

- Bind mounts are faster and require less O/S overhead than symlinks, making this fix smoother in everyday use.
- The bind mount allows for Android to report the correct free space available.
- If something goes wrong at boot, and the bind mount does not initialize, you will boot up to a copy of your data from before the lagfix was applied. This makes V2 safer than V1. (copying /system/bin/playlogosnow onto /system/bin/playlogos1 will effectively restore your device to how it was before you applied the lagfix. There is also an undo option, which will copy all of your changed data back to RFS before restoring.)

- As a bonus, an option to set the wifi screen off timeout is included.

How to use this:

Copy over the APK file onto your phone, and run/install it as normal using 'My Files'. There will be a 'One Click Lag Fix' app installed. Run that, and select the option you want!

The app will automatically kill all running tasks, and enable flight mode. You should probably not use the device while the lag fix is running. If you accidentally hit back or home by mistake, re-enter the app and re-select the lag fix. It should still be running.

- Sent using Google Toolbar"

Portal Android - Comunidade de Desenvolvedores da Plataforma Android - Ver Fórum - Quench

Portal Android - Comunidade de Desenvolvedores da Plataforma Android - Ver Fórum - Quench: "- Sent using Google Toolbar"

Motorola Quench e Backflip também rodam Android 2.1 via atualização não-oficial | Gizmodo Brasil

Motorola Quench e Backflip também rodam Android 2.1 via atualização não-oficial | Gizmodo Brasil: "Motorola Quench e Backflip também rodam Android 2.1 via atualização não-oficial

Se você, dono de um Quench ou Backflip, estava desiludido por não receber atualização do Android pela Motorola, anime-se: duas ROM não-oficiais trazem o Android 2.1 para estes aparelhos. Elas estão funcionais, trazem algumas boas novidades aos aparelhos, e as instruções de instalação vêm a seguir:


O criador da ROM para o Quench é o francês Alexandre Dumont (@adumont), que também fez uma ROM para o Motorola Dext da qual falamos por aqui. O Alexandre pegou a ROM oficial da Motorola para o Dext que vazou em agosto - uma ROM com Android 2.1 - e a adaptou para que ela funcione no Quench.

Para instalar o Android 2.1 no Quench, você precisa fazer o seguinte:

- Baixe e instale os drivers da Motorola no seu computador;

- Siga o guia para instalar o ADB (Android Debug Bridge);

- Faça o root no Quench usando o tutorial do Skrilax_CZ;

- Instale o modo recovery do j_r0dd usando este tutorial;

- Baixe a ROM do Android 2.1 (adlxmod XT 2.0) para o Quench e coloque-a no cartão de memória, fora de qualquer pasta;

- Instale a ROM do Android 2.1.

Pra instalar a ROM, você precisa desligar o Quench, segurar o botão da câmera e ligá-lo de novo. Continue segurando o botão da câmera até surgir uma mensagem na tela. Entre no modo recovery, escolha a opção "Wipe", depois "Wipe data/factory reset" para apagar todos os dados do seu celular. Então escolha a opção "Flash zip from SD", selecione a ROM para instalá-la e, quando estiver pronto, reinicie o Quench.

Não testamos o método aqui, mas usuários do fórum Portal Android tiveram boas experiências com a ROM. Aliás, o Portal Android tem uma lista de tópicos que ensinam como rootear o aparelho, fazer backup e resolver problemas comuns do aparelho - vale a pena conhecer mais sobre o que os brasileiros andam comentando sobre o Quench.

Como disse antes, o maior trabalho está em encontrar as informações: seguindo estes passos, você deve levar pouco mais de 30 minutos para instalar o Android 2.1 no seu Quench.

E quais as vantagens? Bem, você vai poder usar os diversos apps que não suportam o Android 1.5, como o app oficial do Twitter e do Skype, além de contar com um navegador padrão mais rápido e obter atualizações dos apps embutidos como o Mapas e o Android Market. Você agora pode usar seu Quench como um hotspot 3G, compartilhando a internet do seu celular para outro dispositivo via Wi-Fi. E o método de root não faz você perder o 3G na Claro, problema do método mostrado da última vez para o Dext - ou seja, o root é seguro para qualquer operadora no Quench.

A maioria das conexões e sensores está funcionando nesta ROM - 3G, Wi-Fi, GPS, câmera, acelerômetro e mais - e a ROM tem alguns bons detalhes, como um teclado virtual melhor e maior duração de bateria (até seis dias em standby). Há alguns poréns, no entanto. Segundo o próprio Alexandre, o Wi-fi parece não estar funcionando de forma consistente para algumas pessoas (ele às vezes não liga), a bússola e o flash da câmera não funcionam, assim como a aceleração 3D - então jogos mais ou menos pesados não vão mais rodar no Quench. Você também precisa sempre ativar o viva-voz ao fazer e receber ligações, e outros probleminhas listados no primeiro post deste tópico.

quinta-feira, novembro 18, 2010

**SOLVED** Consolidated Info to HOPEFULLY Root Rogers 3.05.631.7 ROM-updating via RUU - xda-developers

**SOLVED** Consolidated Info to HOPEFULLY Root Rogers 3.05.631.7 ROM-updating via RUU - xda-developers: "UPDATE!! **SOLVED** April 25, 2010

Download new RUU
Flash with Goldcard method

1. Download RUU linked above.
2. Install update using RUU.
3. Turn on phone and connect to computer.
4. Get RA recovery and SPL also linked above and drop them to sdcard root directory.
5. Run SDK: adb shell
6. Install recovery: flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img
6. Turn off phone and turn on again holding Power+Home. RA Recovery should appear.
7. Flash zip from sdcard.
8. Use file: update-hboot-1762007-signed
9. Done. PSPL broken.
10. Build a shrine for orange_24

************************************************** **

- Sent using Google Toolbar"

HTC Magic HBOOT-1.76.0008

terça-feira, novembro 16, 2010

Android Installed programs

The following list of programs I have installed in my android cell phone
  • twitter
  • tm world clock
  • tweetdeck
  • linphone
  • google reader
  • accuweather quick
  • smooth calendas
  • taskiller
  • speed test
  • unit converter
  • NetworkInfo II
  • Battery watch
  • MSN Droid X
  • Irssi Connect bot
  • Jabbim
  • APNDroid
  • TaskManager
  • Silence Scheduler
  • APN+
  • GPS Test

quinta-feira, novembro 11, 2010

[How-To] Fix perfected SPL (fastboot remote: not allow) - xda-developers

[How-To] Fix perfected SPL (fastboot remote: not allow) - xda-developers: "[How-To] Fix perfected SPL (fastboot remote: not allow)

The following instructions :

* will void all warranties of your phone!
* will erase all your userdata!
* will change your current ROM/SPL!
* will change your current splash screen!
* could brick your phone!

Proceed at your own risk!

The 'trick' in fixing a perfected SPL is to fastboot a goldcard which contains a sappimg.nbh/zip that has :

* an non-perfected SPL (preferably an engineerings SPL).
* a ROM with a version that is HIGHER than your current ROM version.


1. Create a Goldcard.
2. Copy the required sappimg.nbh/zip to the Goldcard.
3. Boot your phone while holding the VOLUME-DOWN key.
4. Press the ACTION KEY (=trackball) to start the update.
5. Wait until the update completes and press the ACTION KEY (=trackball) to reboot your phone.
6. (Upgrade to the rooted ROM of your choice).


* ROM v2.53.707.2 (Engineerings SPL v1.33.2010) - MD5 : F9674D19BE5F949D0D9DC99714D210E3
* ROM v2.16.707.3 (NON-Perfected stock SPL v1.33.0009) - MD5 : DC391E4A3FC57861D7197C151176ED96
* ROM v2.16.151.1 (NON-Perfected stock SPL v1.33.0009) - MD5 : ADA4924293EFF619B05BB397446F862D

Aug-14-2009 : v2.53.707.2 (ekindangen)
Aug-14-2009 : v2.16.707.3 (ekindangen)
Aug-12-1009 : v2.16.151.1

Please inform us in case you have found a higher-version NBH/ZIP/RUU with a non-perfected SPL!
- Follow me on Twitter
- Buy me a Redbull
Last edited by Amon_RA; 15th August 2009 at 12:44 AM.

- Sent using Google Toolbar"

[HOWTO] Create a GoldCard - Bypassing the RUU/SPL CID check to Root/Downgrade - xda-developers

[HOWTO] Create a GoldCard - Bypassing the RUU/SPL CID check to Root/Downgrade - xda-developers: "[HOWTO] Create a GoldCard - Bypassing the RUU/SPL CID check to Root/Downgrade

If you are stuck on a ROM you don't like (t-mobile/asian carrier etc.) you can use this howto to create a goldcard to bypass the CID checks so you can downgrade and root your Hero.

01. Download QMAT 5.06 here
It’s a demo version so will only run for 10 minutes.

02. Format your SD card to FAT32. Please keep in mind some brands of SD cards do not work.

03. Use adb to run this command: adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid

04. Copy the SD card cid code displayed after the adb command.

05. Start Qmat and Click on Cyptoanalysis Tools > Crypto Toolbox.

06. Look at the bottom, there is a text box (beside the “Reverse String” button) enter the SD card cid code you got earlier.
Click on the “Reverse String” button, the result is reversed…
Example: 532600bd227d9c0347329407514d5402

07. Copy the reversed SD card cid code.

08. Go to QMAT goldcard site here to generate your goldcard (yes it says for G1 but works for our Hero too).

09. Enter your email. For the correct SD card cid code, you need to replace the first 2 characters to 00.
Example: From “532600bd227d9c0347329407514d5402” to “002600bd227d9c0347329407514d5402”

10. Click Continue and you will receive the goldcard.img in .zip format in your email.

11. Go to your email, download the zip file and save it to a directory and unzip it to goldcard.img

12. Download HxD Hex Editor from here

13. Install and launch HxD Hex Editor program. (make sure you use 'Run as Administrator' under Vista and win 7)

14. Go to Extra tab > Open Disk. Under Physical disk, select Removable Disk (Must be your SD card), uncheck “Open as Readonly), click OK.

15. Go to Extra again, Open Disk Image, open up goldcard.img which you’ve saved/unzipped earlier.
Now, you should have two tabs, one is your removable disk, the other is goldcard.img. Press OK when prompted for “Sector Size” 512 (Hard disks/Floppy disks), click OK.

16. Click on goldcard.img tab. Go to Edit tab > Select All, edit tab again > copy.

17. Click on the “removable disk” tab. Select offset 00000000 till offset 00000170 (including the 00000170 line), click on Edit tab and then Paste Write.

18. Click on File > Save. now you can exit the program.

19. Reboot your phone with this SD Card (now GoldCard) inside

20. Use the Official HTC RUU to downgrade to 2.73.405.5 (which you can get here) from which you can fastboot boot and/or root your phone with flashrec.


Original heads up by tangzq with link to this
That site used the XDA Sapphire goldcard howto here

And apparently myself and XDA as this builds on the HTC knowledge from the old days (here)

- Sent using Google Toolbar"

quarta-feira, novembro 10, 2010

[OFFICIAL] Samsung Galaxy 3 GT-i5800 (root, gps fix, upgrading) - Page 78 - xda-developers

[OFFICIAL] Samsung Galaxy 3 GT-i5800 (root, gps fix, upgrading) - Page 78 - xda-developers: "To those who already have rooted their mobile,enabled live wallpaper still need internet via ad-hoc(from laptop)

extract wpa_supplicant in from rmagyar's post

people who need their mobile to use internet from laptop replace the wpa_supplicant file using root explorer in system/bin folder restart your that it can see ad-hoc network but couldnt connect to it,struck in obtaining address thing....

First Configure it as a computer-to-computer (ad hoc) wireless connection, then press add in the wireless network window. Specify a network name (SSID) in the wireless network properties window and set it as open. If you want encryption for your wireless net work, please choose WEP and enter a pass key.Then clicks advanced and choose Ad-hoc for your WLAN network mode, and finish it. Please note you should enter the same SSID when you configure your mobile, or you will not be able to connect to the laptop.

Second, Configure your Wi-Fi mobile phone. In wifi settings add new wifi,enter a name and enter your SSID as your WLAN network name. Please note if your wireless network is open, you should choose open network for the WLAN security mode, otherwise you have to enter your WEP key as you entered above.

When this has been finished, go to the advanced settings. Choose IPv4 settings, specify the IP address as or others other than your modem's ip and laptop's ip. And enter ip of your laptop as the default gateway. Now click on start, and choose RUN, enter CMD and click ok. Enter ipconfig/all when a CMD window appears, wirte down the primary and secondary DNS addresses of the network that connect to the internet. Now enter these DNS address in your mobiles IPv4 settings.

Third, Configure ICS. Right click on the Local Network or any network that connect you to the Internet, select properties and then advanced. Enable Internet connection sharing (ICS) and choose your WLAN network.Just confirm and finish it. Then your mobile phone will be able to connect to the Internet through your laptop.

thanks rmagyar"

Samsung Galaxy 3 GT-i5800 (root, gps fix, upgrading)

very good info
Well, I tried this at first, it didn't work because Orange completely locked the phone's firmware so you can't apply any file. I decided to flash it first.

I launched Odin, prepared it and I put the phone on Download mode (start it with Home + Menu + Volume + Power, I don't remember if it's Volume up or Volume down, try both, there are 3 different possibilities depending of what you do with the Volume button...). I applied the I5800BOJH1 firmware with success (using instructions in the first post, in "UPGRADING"). I never lost nor my IMEI, nor my MAC address. IMPORTANT NOTE : I could NOT manage to make 3G work with this firmware, so I re-flashed my phone later with I5800XWJH2 and 3G worked, see under for more explanations.

Tutorial -> Howto root your I5800 the easy way (without software and still keep all your data and settings)
I used BackFireNL's method to root my phone, now that Orange firmware locks were removed. It worked fine. I got a fully rooted phone.

I started then to download many apps, remove useless stock apps, change some settings, to use Wifi successfully and even to buy some handful apps like Autostarts, Dolphin Browser (donate), Root Explorer (this one is really handy !!), Titanium Backup (donate)...
However, 3G wasn't working due to the firmware I used (see above), I5800BOJH1. I made a full backup with Titanium and I re-flashed it with I5800XWJH2 (there are too many bad reviews about I5800XXJI2/I5800XWJI4 and their problems on this topic, I'll update again only if Froyo is available), it did work, and I rooted my phone again (same method). Restoring every app including paid ones did work fine, so no problem at all with root.

I replaced TouchWiz (without removing it completely, for backup purposes) by LauncherPro but my battery started to drain at an incredible speed, I couldn't even use my phone during a normal day without getting it with no energy. A few days later, I found out that TouchWiz was still running even if LauncherPro was used, I could stop it (I don't remember if I only killed it or if I used Autostarts to block it forever) and battery life got fully restored.

GPS never worked fine. I changed NTP servers values and I installed octy's trial app, now I could manage to get a signal (not easily, but I got it), the phone needs much time to self-locate but I tried it indoors today, I'll post some news about how it works outdoors later.

Thanks for all your work anyway, you helped me much with my new phone.

Some random remarks : I updated Busybox using the app available on the Market. The app itself failed but it gives a busybox binary on sdcard that I copied successfully in bin or xbin, I don't remember which one. I'm using a firewall (Droid Wall) too, which is very useful if you got a limited data plan and/or if you're a bit paranoid with your apps, but I had to install iptables which was not in the ROM. Oh, and if you experience connection problems when connected, don't forget to check the firewall...

Originally Posted by Ano59  View Post
Originally Posted by rex4u  View Post @amon59
Good explanation and will be helpful to many. Please put details about ' how to prepare ODIN'. Remember this is for beginners. Good one.

Even I am waiting for some good efficient custom ROM.

Sent from my GT-I5801 using XDA App
Well, everything about Odin is perfectly described in the first post of the topic, which I gave a link to. I only added details about things that were not fully described.

I forgot something ; sometimes, the phone puts itself in USB Modem mode and I'm not able to revert it. You can do an hard reset to revert it (but you lose your data) or you can reboot the phone in recovery mode (same thing that when you root your phone ; press Home + Menu + Volume + Power to start the phone (probably Volume down + Volume up, not sure, try different combinations)) and decide to reboot the phone, one of the options that you can select in recovery mode (don't forget that this applies only with flashed firmware, if you keep Orange's one, you can only do a factory reset). This fixes the USB problem (even if it can occur again). A normal reboot fixes nothing, you have to use Recovery mode to fix it, even if you simply use it to reboot the phone.

However, a few posts ago...
1. Dial *#7284#. This should open app called PhoneUtil (there are other ways to get to it)

2. In USB section, swith it to Modem, then switch it back to PDA

3. Exit, and USB should work.
I'll try this if the problem occurs again, it'd be faster than a reboot. I'm also using AdbWireless and it works well without any USB connection.

Oh, and I tried the GPS outdoors. It is incredibly slow when you rebooted the phone, I got a fix only after several minutes, but once locked to a GPS signal, you can disable GPS/Wifi/3G/Anything or shut down the screen (not the phone), when you enable everything back, you get located very quickly. I wonder if there's a way to improve first fix delay though.

I've been told that task killers were completely useless and not productive, this was said in this topic too. So I removed my task killer and installed Watchdog.

I installed Swapper 2 to use a linux-swap on my SD card (I formated it with Gparted), it works (even if no one can tell if swapping is useful on Android devices).

I'd be interested in overclocking too. I know you can do it only with a custom ROM because it's a very low level change...I'm using SetCPU to underclock my device when needed and it works fine (I strongly advise you to buy this app, so you can slow down your CPU while screen is off and/or battery is low), it'd be better with some overclock when needed, though.

Now I will try Live Wallpapers. No reason for them not to work though, as some of you said they were working.

quarta-feira, novembro 03, 2010

[32A][HOW-TO] Upgrade to 6.35 Radio and 1.76.2007 SPL (Downgrade/Revert too!) - xda-developers

[32A][HOW-TO] Upgrade to 6.35 Radio and 1.76.2007 SPL (Downgrade/Revert too!) - xda-developers: "Upgrade to Radio and 1.76.2007 SPL

- HTC Magic / Sapphire 32A
- Engineering SPL
----- 1.33.2005
----- 1.33.2009
----- 1.33.2010
----- If you boot into fastboot and have issues with 'fastboot:remote not allow', then your SPL won't work. Upgrade to Engineering SPL before continuing.
----- If you do not have an Engineering SPL, download 1.33.2010 and flash through recovery before starting this procedure. Flash the SPL like any other file.
- Working ADB/Fastboot Drivers
- Basic knowledge or modding your phone

- Sent using Google Toolbar"

[ROM][32A] Stock HTC 3.05.401.3 Rooted [01-21-2010] - xda-developers

[ROM][32A] Stock HTC 3.05.401.3 Rooted [01-21-2010] - xda-developers:

Htc Magic Stock Rom.

[ROM][32A][6.35]SuperEclair v8.8 Port_v2.1 OC 576 MHz (CM5.0.8 build) [28-Jun-2010] - xda-developers

[ROM][32A][6.35]SuperEclair v8.8 Port_v2.1 OC 576 MHz (CM5.0.8 build) [28-Jun-2010] - xda-developers: HTC Magic 2.1 eclair rom.

Flashed 32B on 32A HTC Magic - xda-developers

Flashed 32B on 32A HTC Magic - xda-developers: "- Sent using Google Toolbar"

another article on htc magic, really hard to find an alternative way to upgrade it's rom.

Instalando o Android 2.2(Froyo) no HTC Magic/myTouch 3G | BrunoBemfica.NET

Instalando o Android 2.2(Froyo) no HTC Magic/myTouch 3G | BrunoBemfica.NET: "- Sent using Google Toolbar"

HTC Magic 2.2 froyo update how-to

ROM Android 2.2 (Froyo):

segunda-feira, outubro 25, 2010

Samsung Mobile Code-

samsung mobile code. - - - global code.

*#1234# = Firmware Version.
*#2222# = H/W Version.
*#8999*8376263# = All Versions Together.
*#8999*8378# = Test Menu.
*#4777*8665# = GPSR Tool.
*#8999*523# = LCD Brightness.
*#8999*377# = Error Menu.
*#8999*327# = EEP Menu.
*#8999*667# = Debug Mode.
*#92782# = PhoneModel. (Wap)
#*5737425# = JAVA Mode.
*#2255# = Call List.
*#232337# = Bluetooth MAC Adress.
*#5282837# = Java Version.
#*4773# = Incremental Redundancy.
#*7752# = 8 PSK uplink capability bit.
#*7785# = Reset wakeup & RTK timer cariables/variables.
#*7200# = Tone Generator Mute.
#*3888# = BLUETOOTH Test mode.
#*7828# = Task screen.
#*#8377466# = S/W Version & H/W Version.
#*2562# = Restarts Phone.
#*2565# = No Blocking? General Defense.
#*3353# = General Defense, Code Erased.
#*3837# = Phone Hangs on White screen.
#*3849# = Restarts Phone.
#*3851# = Restarts Phone.
#*3876# = Restarts Phone.
#*7222# = Operation Typ: (Class C GSM)
#*7224# = !!! ERROR !!!
#*7252# = Operation Typ: (Class B GPRS)
#*7271# = CMD: (Not Available)
#*7274# = CMD: (Not Available)
#*7337# = Restarts Phone. (Resets Wap Settings)
#*2787# = CRTP ON/OFF.
#*2886# = AutoAnswer ON/OFF.
#*3737# = L1 AFC.
#*5133# = L1 HO Data.
#*7288# = GPRS Detached/Attached.
#*7287# = GPRS Attached.
#*7666# = White Screen.
#*7693# = Sleep Deactivate/Activate.
#*7284# = L1 HO Data.
#*2256# = Calibration info? (For CMD set DEBUGAUTONOMY in cihard.opt)
#*2286# = Databattery.
#*2527# = GPRS switching set to (Class 4, 8, 9, 10)
#*2679# = Copycat feature Activa/Deactivate.
#*3940# = External looptest 9600 bps.
#*4263# = Handsfree mode Activate/Deactivate.
#*4700# = Please use function 2637.
#*2558# = Time ON.
#*3370# = Same as 4700.
#*3941# = External looptest 115200 bps
#*5176# = L1 Sleep.
#*7462# = SIM Phase.
#*7983# = Voltage/Freq.
#*7986# = Voltage.
#*8466# = Old Time.
#*2255# = Call Failed.
#*5187# = L1C2G trace Activate/Deactivate.
#*5376# = DELETE ALL SMS!!!!.
#*6837# = Official Software Version: (0003000016000702)
#*7524# = KCGPRS: (FF FF FF FF FF FF FF FF 07)
#*2337# = Permanent Registration Beep.
#*2474# = Charging Duration.
#*2834# = Audio Path. (Handsfree)
#*3270# = DCS Support Activate/Deactivate.
#*3282# = Data Activate/Deactivate.
#*3476# = EGSM Activate/Deactivate.
#*4760# = GSM Activate/Deactivate.
#*4864# = White Screen.
#*5171# = L1P1.
#*5172# = L1P2.
#*5173# = L1P3.
#*7326# = Accessory.
#*7683# = Sleep variable.
#*8465# = Time in L1.
#*2252# = Current CAL.
#*2836# = AVDDSS Management Activate/Deactivate.
#*3877# = Dump of SPY trace.
#*7728# = RSAV.
#*2677# = Same as 4700.
#*3728# = Time 2 Decod.
#*3725# = B4 last off.
#*7372# = Resetting the time to DPB variables.
#*7732# = Packet flow context bit Activate/Deactivate.
#*6833# = New uplink establishment Activate/Deactivate.
#*3273# = EGPRS multislot. (Class 4, 8, 9, 10)
#*7722# = RLC bitmap compression Activate/Deactivate.
#*2351# = Blinks 1347E201 in RED.
#*4472# = Hysteresis of serving cell: 3 dB
#*2775# = Switch to 2 inner speaker.
#*9270# = Force WBS.
#*7878# = FirstStartup. (0=NO, 1=YES)
#*3757# = DSL UART speed set to. (LOW, HIGH)
#*8726# = Switches USBACM to Normal.
#*8724# = Switches USBACM to Generator mode.
#*8727# = Switches USBACM to Slink mode.
#*8725# = Switches USBACM to Loop-back mode.
#*3838# = Blinks 3D030300 in RED.
#*2077# = GPRS Switch.
#*2027# = GPRS Switch.
#*0227# = GPRS Switch.
#*0277# = GPRS Switch.
#*8370# = Tfs4.0 Test 0.
#*8371# = Tfs4.0 Test 1.
#*8372# = Tfs4.0 Test 2.
#*8373# = Tfs4.0 Test 3.
#*8374# = Tfs4.0 Test 4.
#*8375# = Tfs4.0 Test 5.
#*8376# = Tfs4.0 Test 6.
#*8377# = Tfs4.0 Test 7.
#*8378# = Tfs4.0 Test 8.
#*8379# = Tfs4.0 Test 9.
#*7878# = FirstStartup. (0=NO, 1=YES)
#*3838# = Blinks 3D030300 in RED.
#*2077# = GPRS Switch.
#*2027# = GPRS Switch.
#*0227# = GPRS Switch.
#*0277# = GPRS Switch.
#*22671# = AMR REC START.
#*22672# = Stop AMR REC. (File name: /a/multimedia/sounds/voice list/ENGMODE.amr)
#*22673# = Pause REC.
#*22674# = Resume REC.
#*22675# = AMR Playback.
#*22676# = AMR Stop Play.
#*22677# = Pause Play.
#*22678# = Resume Play.
#*77261# = PCM Rec Req.
#*77262# = Stop PCM Rec.
#*77263# = PCM Playback.
#*77264# = PCM Stop Play.
#*22679# = AMR Get Time.
*#8999*364# = Watchdog ON/OFF.
*#8999*427# = WATCHDOG signal route setup.
*2767*226372# = Camera Reset. (deletes photos)
*2767*3855# = E2P Full Reset.
*2767*2878# = E2P Custom Reset.
*2767*927# = E2P Wap Reset.
*2767*226372# = E2P Camera Reset.
*2767*688# = Reset Mobile TV.
#7263867# = RAM Dump. (On or Off)
samsung mobile code. - - - wap / mms code.
*2767*43927# = Austria WAP Settings.
*2767*420927# = Czech WAP Settings.
*2767*33927# = France WAP Settings.
*2767*49927# = Germany WAP Settings.
*2767*30927# = Greece WAP Settings.
*2767*39927# = Italy WAP Settings.
*2767*31927# = Netherlands WAP Settings.
*2767*351927# = Portugal WAP Settings.
*2767*7927# = Russia WAP Settings.
*2767*34927# = Spain WAP Settings.
*2767*46927# = Sweden WAP Settings.
*2767*44927# = UK WAP Settings.
*2767*380927# = Ukraine WAP Settings.
*2767*73738927# = WAP Settings Reset.

*2767*43667# = Austria MMS Settings.
*2767*420667# = Czech MMS Settings.
*2767*33667# = France MMS Settings.
*2767*49667# = Germany MMS Settings.
*2767*30667# = Greece MMS Settings.
*2767*39667# = Italy MMS Settings.
*2767*31667# = Netherlands MMS Settings.
*2767*351667# = Portugal MMS Settings.
*2767*7667# = Russia MMS Settings.
*2767*34667# = Spain MMS Settings.
*2767*46667# = Sweden MMS Settings.
*2767*44667# = UK MMS Settings.
*2767*380667# = Ukraine MMS Settings.
samsung mobile code. - - - email code.
#*36245# Turns Email TestMenu on.
*2767*22236245# Email EPP set (....)!
*2767*837836245# Email Test Account!
*2767*29536245# Email Test2 Account!
*2767*036245# Email EPP reset!
*2767*136245# Email EPP set (1)!
*2767*736245# Email EPP set (7)!
*2767*3036245# Email...
*2767*3136245# Email...
*2767*3336245# Email...
*2767*3436245# Email...
*2767*3936245# Email...
*2767*4136245# Email...
*2767*4336245# Email...
*2767*4436245# Email...
*2767*4536245# Email...
*2767*4636245# Email...
*2767*4936245# Email...
*2767*6036245# Email...
*2767*6136245# Email...
*2767*6236245# Email...
*2767*6336245# Email...
*2767*6536245# Email...
*2767*6636245# Email...
*2767*8636245# Email...
*2767*85236245# Email...
samsung mobile code. - - - lock code.
*#7465625# = Check the locks.
*7465625*638*Code# = Enables Network lock.
#7465625*638*Code# = Disables Network lock.
*7465625*782*Code# = Enables Subset lock.
#7465625*782*Code# = Disables Subset lock.
*7465625*77*Code# = Enables SP lock.
#7465625*77*Code# = Disables SP lock.
*7465625*27*Code# = Enables CP lock.
#7465625*27*Code# = Disables CP lock.
*7465625*746*Code# = Enables SIM lock.
#7465625*746*Code# = Disables SIM lock.
*7465625*228# = Activa lock ON.
#7465625*228# = Activa lock OFF.
*7465625*28638# = Auto Network lock ON.
#7465625*28638# = Auto Network lock OFF.
*7465625*28782# = Auto subset lock ON.
#7465625*28782# = Auto subset lock OFF.
*7465625*2877# = Auto SP lock ON.
#7465625*2877# = Auto SP lock OFF.
*7465625*2827# = Auto CP lock ON.
#7465625*2827# = Auto CP lock OFF.
*7465625*28746# = Auto SIM lock ON.
#7465625*28746# = Auto SIM lock OFF.
samsung mobile code. - - - sound code.

Samsung phones.
Dial *#6984125*#
Test menu dial *#9072641*# (You need this one i think.)
Click 5 Audio - 2 AP volume config

Now you see zie je 4 things:
1 RCV config
2 EAR config
3 SPK config
4 BTH config

Now you see this:
1 MP volume
2 Keytone volume
3 Ringtone volume
4 Rec volume
5 FM radio volume
6 Camera volume
7 Voice call volume
8 Vt call volume
9 Voice memo volume

( SPK = Speaker )( Ear = Headset )

Tune Headset volume:
*#9072641*# - 2 EAR config - 3 Ringtone volume - Stap 6 tune it to 10
Tune movie volume:
*#9072641*# - 3 SPK config - 3 Ringtone volume - Stap 6 tune it to 10

Note it works but don't forget to type somewhere your old settings.


Samsung Symbian phones.
Dial *#0002*28346#

Now you will have this menu:
Test Audio
1 Voice Call
2 Play Sound
3 Record
4 VT Call
5 FM Radio
6 Back up

Push on 2 or go to Play Sound.
Now you have this list:
1 MP3 LoudSPK
2 MP3 HeadPHN
3 MP4 LoudSPK
4 MP4 HeadPHN
7 KT LoudSPK
8 KT HeadPHN
9 EQ LoudSPK
10 EQ HeadPHN

( Do not go higher than 6db )

Opvoeren Headset sound:
*#0002*28346# - 2 Play Sound - 2 MP3 HeadPHN - HS Gain - number 6.
Opgrade your movie sound:
*#0002*28346# - 2 Play Sound - 3 MP4 LoudSPK - DR Gain - number 6.
High sound by recording I8910
*#0002*28346# - 3 Records – CamcordAMR_AMR - 30 Change to 24.

Note it works but don't forget to type somewhere your old settings.


Samsung Windows Mobile phones.
Dail: *#0002*28346#

Now coms this:

Audio Gain:

Current Parth = XXXXXXXXXX

Music Speaker

Music 4p Earphone

FM Radio Earphone

FM Radio Speaker


Force Speaker

Voice Receiver

Voice Speaker

Voice 4p Earphone

Voice 3p Earphone

Voice Bleutooth (HFP)

Music Bleutooth (HFP)

Music 3p Earphone

TTYFull call




Choos want you want like ''Music Speaker'' and ''Music 4p Earphone''

Do the next things:

Music Speaker

Click on Music Speaker and on Gain.


L1VL2 set to 110

HPG7 set to 1110

L3L7 set to 10

OVL7 set to 00001001

OVR7 set to 00010010

And click on Apply - OK - Than Exit.

Music 4p Earphone

Klik op Music Speaker en dan op Gain.


L1VL2 set to 110

HPG7 set to 1110

L3L7 set to 10

OVL7set to 00001001

OVR7 set to 00010010

And click on Apply - OK - than Exit.

Note it works but don't forget to type somewhere your old settings.

welcome member.

* Renato (Sign Out)
* Inbox
* Edit Profile
* Invite

last news.
Page_white_text How To: S5250 - S5330 - S7320E.
by SamFirmware | 11 comments
Page_white_text Samsung introduces a different looking Android tablet (SMT-i9100) for KDDI Japan
by samsunghub | 1 comments
Page_white_text Galaxy S Kies Update!
by SamFirmware | 49 comments
Page_white_text New bada Reviews are coming!
by SamFirmware | 3 comments
last reviews.

samfirmware unlock service

Paypal Donation Button
twitter and youtube.


All Samsung Logo are Samsung Trademark. Samsung Mobile Fanpage! Copyright @2010

RenatoSign Out

- Sent using Google Toolbar"

sexta-feira, outubro 22, 2010

Samsung firmware

Samsung firmware, news and updates.
I found the I5800 firmware to america (Brazil) it worked fine, using this instructions

Actually many firmware are available for each area (Europe, Asia and America). Last firmware version are:

Europe: I5800XWJH2
Asia: I5801DDJG6
America: I5800LVIJG8

All roms use OPS 531 and they can be flashed using ODIN for 5800.

Flashing with ODIN it's very simple (sorry for picture):

1) Select "One Package"
2) Select OPS file for I5800
3) In one package select the firmware that you want to flash.
4) Start

In about two minutes your mobile will be upgrade.

DOWNLOAD ODIN AND OPS FOR I5800 HERE --> All necessary files!
DOWNLOAD I5800/5801 Flashing Tutorial (English) HERE --> Courtesy of

I5800XWJH2 for I5800 EUROPE (August 2010) - CLICK HERE - (password =
I5800XXJI2 for I5800 EUROPE (September 2010) - CLICK HERE - (password =
I5800XWJI4 for I5800 EUROPE (September 2010) - CLICK HERE - (password =
I5801DDJG6 for I5800 ASIA (July 2010) - CLICK HERE - (password =
I5800LVIJG8 for I5800 AMERICA (July 2010) - CLICK HERE - (password =
I5800BOJH1 for I5801 (August 2010) - CLICK HERE - (password =

Fixed I5800XXJI2 Firmware (no memory problems) - Mirror 01 - Mirror 02

* To enable copy protected apps for the new september firmware in market please read this topic
* For I5800 latest firmware (September 2010) read this post:

[OFFICIAL] Samsung Galaxy 3 GT-i5800 (root, gps fix, upgrading) - xda-developers

[OFFICIAL] Samsung Galaxy 3 GT-i5800 (root, gps fix, upgrading) - xda-developers: "- Sent using Google Toolbar"

segunda-feira, outubro 18, 2010

Guide to Rooting Android 2.1 on a Motorola Droid - Droid Life: A Droid Community Blog

Guide to Rooting Android 2.1 on a Motorola Droid - Droid Life: A Droid Community Blog: "It’s about time we revisit the whole “rooting Android 2.1″ issue since I still seem to get daily questions on whether or not it can be done. In fact, this post will act as the one-stop shop for gaining root access to 2.1 rather than the few posts we have separated throughout the site which are inter-linked and seem to be causing some confusion.

First we need to continue to clarify the rooting process. At this time, 2.1 has not actually been rooted. Let me repeat that: Android 2.1 has NOT been rooted. The process highlighted in this post is simply a way to get you from stock non-rooted 2.1 to a rooted 2.1 ROM. If that doesn’t work for you, then do not proceed with these instructions. There is no way to simply take your current phone /2.1 OS and gain root access to it except through use of the Android SDK which is a different process for another day.

- Sent using Google Toolbar"

How To Solve GPS Problem on Samsung Galaxy 5 I5500

How To Solve GPS Problem on Samsung Epic 4G | Gadget News: "Some Epic 4G complains about GPS system on Epic 4G. The complain include how hard they connect to satellite GPS or the inaccurate position information. You can reset Epic 4G for 4-8 times according to the condition, it help you to clear the GPS data cache.

Here are another the simple solution to fix GPS issue on Samsung Epic 4G:
1. Enter *#1472365# in the dialer
2. Tap Setup, select Position Mode, select Starting Mode
3. Change the option from “Hot Start” to “Cold Start”

- Sent using Google Toolbar"

quinta-feira, outubro 14, 2010

Sameer Prabhakar - Mad Ramblings: Samsung I5700 (Galaxy SPICA) Android 2.1 Flashing Guide (Updated)

I guess work for Samsung I5500 Galaxy Europa / Galaxy 5
Sameer Prabhakar - Mad Ramblings: Samsung I5700 (Galaxy SPICA) Android 2.1 Flashing Guide (Updated):


What you need :

The firmware : I570EDDJB2 in my case. (Unreleased Android 2.1 (Eclair) firmware from Samsung).
Multiloader application and Spica OPS (Odin_v4_03.exe + spica.ops) :
*** Please use the new spica_jc3.ops file for the firmwares I5700XXJBA, I570EXXJC3 I570EXXJC5
Drivers for I5700 :
Samsung USB Cable

Before you start :
Backup your data !
Remove the SIM lock if any.
Create a folder and extract all files listed above + the firmware (do not extract the tar file from within the firmware)
Ensure your phones battery is sufficiently charged (and your laptops battery too if you live in a country like ours lol ;-))
Shutdown any service/software which could be using the USB port, especially the Samsung PC suite. - Very Important

Flashing :

Edit : You should probably do a hard reset before you start by punching in the following code on the phone *2767*3855#

1. Shutdown your phone and remove the SDCARD and the SIM

2. Put the phone in 'Download Mode' by pressing Volume Down + Camera + Power button.
Image Courtesy :
3. Connect the Phone to the PC using USB
4. Install drivers using the drv5700 files- A lot of guys are going wrong here. Open your device manager and ensure the two Samsung devices are shown properly before you go ahead.(circled in red) - see image below :

4a. Disconnect phone from the USB. *** (Very Important), thanks to Srikanth Kapa (For all you guys having problems with 'Setup Connection'
5. Open Odin Multi Downloader v4.03.exe and then reconnect the phone, you should see the a COM port number with a yellow background.
6. Select the files as shown in the image below :

Image Courtesy :
If you are using some other firmware and there is only one tar file select Option : One Package and load the file under One Package TAB.

Cross check the files and if you need to change anything click on 'Reset Files' and select files again.

7. Once you are ready hit the START button. DO NOT DISCONNECT the phone until the firmware download completes.

8.Watch the 'Message: window and wait till it shows <1> Close serial port and wait until rebooting.- This usually takes not more than 1-3 minutes.

9. At this point your flashing is complete and the device should be automatically rebooting, once the reboot is complete unplug the USB cable and flick open the Eclair green locking slider ;-)

Congrats !!! Welcome to the delicious ECLAIR club :-)

Issues :

Google Maps seems to be a bit temperamental (Upgraded to ver 4.0.0 from the new 2.1 Market). Phone has hung a couple of times but nothing really serious.

New Features :

Multiple Accounts Support
Exchange Support - No Calendar support or GAL lookup.
Camera now has Scene mode, White balance, Color effect
Search across the device including SMS/MMS
HTML5 Support in the browser.
Live Wallpapers
Refreshed UI

Hopefully Samsung will include pinch and zoom in the final release version :-)

Thanks to the guys at :

Screen Shots :

- Sent using Google Toolbar"

domingo, agosto 08, 2010

Voip provider with iNum

"QXIP (pronounced Quick-SIP) is a free, open SIP and iNUM network for powerusers and developers.

We have a solid, compact and redundant network structure and like living on the edge of technology. If you are looking for a free account to make regular SIP calls, our friends at Ekiga are probably a better choice at this stage (no worries! Our networks are peering so you will still be able to access all of our public test services until we're ready for primetime). On the other hand, if you are a SIP lover, phreaker or developer of any kind on any platform looking for a new sandbox to play with and want to share ideas and contribute our platform, yes, this is for you.

You do not need an account to start messing with QXIP. Just send us some traffic and you're in.

- Sent using Google Toolbar"

sexta-feira, agosto 06, 2010

Flash Operator Panel 2 - fop2 - Fedora 12 (64bit) and Perl version

Flash Operator Panel 2 | Forums • View topic - Fedora 12 (64bit) and Perl version: "[root@pbxserver ~]# /usr/local/fop2/fop2_server --test
Can't load '/tmp/par-root/cache-3c726e50873684259d400fa5a7366252/' for module Filter::Crypto::Decrypt: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/ line 230.
at /usr/lib/perl5/site_perl/5.8.8/PAR/ line 109
BEGIN failed--compilation aborted at /tmp/par-root/cache-3c726e50873684259d400fa5a7366252/inc/lib/Filter/Crypto/ line 37.
Compilation failed in require at script/ line 1.
BEGIN failed--compilation aborted at script/ line 1.

To fix this bug just do a soft link as shown bellow (please change the original file to its lattest version)

ln -s /usr/lib64/ /usr/lib64/

change to /usr/lib if your system is not 64bits.

quinta-feira, julho 22, 2010

Resolving hangup detection problems with fxo cards x100p or a digium tdm400p

Resolving hangup detection problems with fxo cards x100p or a digium tdm400p: "Resolving hangup detection problems with fxo cards x100p or a digium tdm400p"

When installing zaptel pstn cards, such as the x100p or a digium tdm400p card with fxo module(s), very often problems occur with hangups of the zaptel end not being detected by asterisk.

For example:

You are using zaptel to dial in into your asterisk server, noone is there, you hit voicemail, you leave a message and hangup the phone.

When you listen to the recordings of the answering machine, you notice a very large recording, asterisk kept the line open for hours and hours.

A common approach is to go have a look at voicemail and see what is going on, force it to hangup after some seconds of silence etc etc.

This is not a good approach as in most cases the problem is not only with voicemail but with any call with at least 1 zap leg. (although it doesnt show up as often on a ZAP to SIP call as normally at the end of a conversation both ends will hangup, and the sip bye will go through, ending both call legs).

Possible Solutions: ordered by recommendation - higher is better

1) Try reverse polarity (cvs-head only, dates after 17nov '04 - bug here )

If your asterisk version is recent enough (and you did a make samples) you should see the following in zapata.conf:

; In some countries, a polarity reversal is used to signal the disconnect
; of a phone line. If the hanguponpolarityswitch option is selected, the
; call will be considered "hung up" on a polarity reversal

If you now uncomment this hanguponpolarityswitch line, and your pstn line uses polarity reversal, asterisk should detect it and hangup the line.
This solution is by far the best, as it will not get you false hangups and will hangup in 100% of the calls.

If you want to see if this might work, you might want to try to load the wctdm kernel module with the debug=1 parameter. (insmod wctdm debug=1) and look for reverse polarity messages on the console).

You might want to try this option if you enabled the fxs Kewlstart signalling in zapata.conf

2) Go fix your location in zapata.conf

By default, asterisk listens for a busy tone or a a dial tone on the line to detect if the line got hung up.

These tones are different in different countries, duration and tones might differ a little between carriers.

The definitions of these indications can be found in /etc/asterisk/indications.conf
Try to find your country in the list, if its there, go look at /etc/asterisk/zapata.conf

; On trunk interfaces (FXS) and E&M interfaces (E&M, Wink, Feature Group D
; etc, it can be useful to perform busy detection either in an effort to
; detect hangup or for detecting busies
; On trunk interfaces (FXS) it can be useful to attempt to follow the progress
; of a call through RINGING, BUSY, and ANSWERING. If turned on, call
; progress attempts to determine answer, busy, and ringing on phone lines.
; This feature is HIGHLY EXPERIMENTAL and can easily detect false answers,
; so don't count on it being very accurate. Also, it is ONLY configured for
; standard U.S. tones

Lets explain what those 3 options mean:

With this option enabled, asterisk will try to 'listen' for busy signals on the line, if your carrier sends you a busy tone on a hangup, this should detect it. (Note that this is not exact science, asterisk might think your cat screaming is a busy tone and hangup. In case of loopstart in zapata.conf, you will certainly need this.

To avoid this, they invented the next option,

Busycount defines the amount of busy tones asterisk needs to recognize before actually considering the line to really really give a busy tone, to avoid false hangups on non hangup sounds.
The standard setting is 3, but you could change that to 6 or 10 if you would want to.

A side effect is, that it will take longer to detect a hangup and in case of a real hangup, the line will stay occupied for a little longer than with a lower value of busycount.

This option is similar to the busydetect option, but will also listen for a ringing tone, congestion tone and will try to detect if the line got answered.
It might work for you, but its highly unreliable and will probably give many false hangups.

Please note that none of these 3 options should be activated on digital zaptel channels, (BRI, PRI) as they will not help with anything, they will just cause false hangups).

When you get the reverse polarity to work, dont use these options either.

3) Check your signalling settings in zapata.conf:

; fxs_ls: FXS (Loop Start)
; fxs_gs: FXS (Ground Start)
; fxs_ks: FXS (Kewl Start)


The correct choice for the signalling= line depends on your carrier.
When you call them with this question they probably wont have a clue what you are talking about so trying several might be a good idea.

Kewl start is the best option there is, but it might not work in your situation, try to call your telco and ask for "disconnect supervision"
In this case, the telco will cut the power on the 2 telephone lines for a small period of time or will reverse the polarity on the lines.

(You could check this by calling to that pstn line, and connecting a phone with a lighted keypad and without external power supply there).
If the lights go out when the other end disconnects, the telco has disconnect supervision.

Loop start does not send a hangup signal, you will need the busydetect parameter.

I dont know if you need extra options with Ground start signalling, i never tried it myself. Let us know if you know.

4) Sell your x100p or clone on ebay or feed it to the dogs, and buy a real TDM card, like the tdm400p.

The x100p's are not very good with the hangups or with callerids.

5) Buy a device like : this device

sexta-feira, julho 16, 2010

How to unlock SIP / Voip on your Nokia N97

How to setup voip (sip client) on nokia phone enables
WINK Streaming - How to unlock SIP / Voip on your Nokia N97: "History

Nokia indicated that SIP would be enabled on N97 phones with the release of v20 firmware, a feature that was expected to be delivered by many users. With no sip in v20 a few users on the Nokia discussion board took matters into their own hands and tried everything possible to get things working. The result is a perfectly working SIP client that works on WIFI and 3G.
THIS WILL ONLY WORK FOR N97's with v20 Firmware OR NET SETTINGS already installed !!

While not tested, it is possible that this solution may work on other Nokia Phones (n96, 5800, N97 mini, etc.) that have SIP Settings ( Settings / Connectivity / Admin Settings / SIP Settings) Menu, but do not have SIP enabled as is the case with the N97.

Special thanks to techman29, miniMAXIME, MickJT and vishaldesai823 over at for helping come up with this patch.
UPDATE: Nokia has finally released the final version - the download below is now this official package SIP_VoIP_3_1_Settings_S60_5_x_v1_0_en.sis. The functionality appears to be no different.

Special Considerations

* When you Dial from your Contact List if there is a + infront of the number you are dialing, you may not be able to complete your call. Your VoIP provider might not be able to handle this, so to test your installation use the Dial Pad, then hit Options > Internet Call. That will best let you know if you have any issues.

* Once you have things installed and working you can add contacts from your contact book under your SIP profile - Just select Options / New Contact / Add From Contacts. This is useful for keeping track of people you might call using SIP.

* There are many advanced settings that are available to you that will allow you to tweak things to get SIP working in the manner you like. While most of the data in the documentation is not valid for the N97, it should give you an idea of what is available and what it does. You can get the PDF from Nokia here:SIP_VoIP_Release_3_x_Settings_Application_User_Guide_v2_0_en.pdf


Here is how to get the best possible experience of running VoIP on your N97 with what is currently available from Nokia, of course with a few hacks and such. Hopefully when Nokia comes around to releasing an official package there will be more features available - but until then this is how to get SIP working optimally.

Remove the old applications
Settings / Application mgr. / Installed Apps
Remove anything you may have installed. In the app manger under installed apps look for 'InternetAdvSetting' or anything that begins with 'SipSettings*' etc. Get rid of them both.

Install 'InternetAdvSettings' by Nokia
You can download the file here.
This file has been extracted from the latest 'SIP_VoIP_3_x_Settings_v2_0_en.sis'. This original file will not work as a standalone installer - but one of the parts within it solves the issues, we have supplied the extracted part for you.

* Download the file above or click here
* Extract 'sis' installer from the ZIP file
* Install the SIS File on your Phone (it is SIGNED by NOKIA so it is SAFE)
* When you get a message that says the App is incompatible with your phone - Hit Continue as this is not true, it works just fine. You should however not see this error anymore.
* You should now have a new ICON called 'Advanced VoIP' under Settings / Connectivity / Admin Settings / Net Settings

Create your SIP profile
Settings / Connectivity / Admin Settings / Sip Settings / New Sip Profile
Name your Profile something you like, such as 'VOIP' - this will be the name it shows up under contacts. For example if you named it 'VOIP' when under a contact it will display as 'VOIP Call'. For a typical install see the bottom of this page. Set the Transport Type to UDP if calls are not working over 3G !

Create a VoIP Service
Settings / Connectivity / Admin Settings / Net Settings / Advanced VoIP settings / Create new Serivce
In order to actually use the SIP profile created in Step 3 you must Create a VoIP service. To do this select 'Create new service' and then select the Profile you created in Step 2. This will add a new item under 'Net settings' if you named your profile 'VoIP' it will show up as 'VoIP Sett'.

Adjust your Codecs
Connectivity / Admin Settings / Net Settings / Advanced VoIP settings / Voip Servies / / Codecs /
If you know that your SIP provider supports G.729 then move that codec up to be #1 in the list - this should be self explanitory. If you don't know what you are doing, skip this step!

Enable SIP over 3G
Connectivity / Admin Settings / Net Settings / Advanced VoIP settings / Voip Services / / Profile settings
To enable SIP Calls over 3G set both 'AWCDMA' and 'UAWMAC' to ON. Note that you will be charged for data when using 3G - and your phone should warn you when doing so.

Make SIP Calls look pretty in your Call Log
Connectivity / Admin Settings / Net Settings / Advanced VoIP settings / Voip Services / / Profile settings
If you only want to see the callers number in your Call Log you can set a parameter that will strip the domain name out of the number calling you. Say the number (555) 123-4545 calls you on your SIP line:

Ignoring Domain Part: ON - the number will show as 5551234545
Ignoring Domain Part: OFF - the number will show as

The problem is if you have 'Ignoring Domain Part = Off' it is impossible to call back from say your mobile number or add the number to your address book. For that reason it is best to set this to ON.

Prevent your SIP Client from TIMING OUT with the Server (STUN Server)
If you notice that after a few minutes and you can no longer receive calls you likely have a timeout issue. This can be fixed by using advanced settings and setting up a STUN server.
Connectivity / Net Settings / Advanced VoIP settings / NAT Firewall Settings

* Open Domain parameters, then select your SIP server domain, it should be there.

* STUN Settings (for a list of public servers google 'public stun servers')
STUN server: ex.
Port: 3478 (or whatever your server uses)
Username: (blank)
Password: (blank)
Shared Secret: Off
Start Port: 49152
End Port: 65535

* TCP NAT bind refresh timer:1200

* UDP NAT bind refresh timer:28

* CRLF refresh: ON

How to Start and Stop VoIP Service
Contacts / Globe Icon
To start or stop the SIP service enter contacts then see the newly created Globe Icon - select your SIP user name, hit 'Options' and either log in or log out. When the service is connected to the SIP Server you will see a phone sitting on top of a globe up on the status bar.

Setting up your SIP Profile

The following is how to set up your SIP profile. If you have the service running, you must stop it in order to modify it this can be done following bullet #9 above.

Settings / Connectivity / Admin Settings / SIP Settings / Options / New SIP Profile

Profile Name: VoIP (Or whatever you choose to call it)
Service profile: IETF
Default Destination: (Choose what ever is applicable to you such as 'Internet')
Public user name: sip:@
Use compression: No
Registration: When Needed (or whatever you like)
Use security: No

Proxy server (you might not need this - or you might. Try without first)
Proxy server address: None
Realm: (IP Address to Server)
User name: (Your SIP number)
Password: (Your password)
Allow loose routing: Yes
Transport type: Auto (If SIP is not working over 3G try UDP )
Port: 5060

Registrar Server
Registrar server address: sip: (ex.
Realm: (IP Address to Server)
User name: (Your sip login or number)
Password: (Your password)
Transport type: Auto (If SIP is not working over 3G try UDP )
Port: 5060

Good Luck!

- Sent using Google Toolbar"

terça-feira, julho 13, 2010

Audacity: Free Audio Editor and Recorder

Audacity: Free Audio Editor and Recorder
Audacity® is free, open source software for recording and editing sounds. It is available for Mac OS X, Microsoft Windows, GNU/Linux, and other operating systems. Learn more about Audacity... Also check our Wiki and Forum for more information.
wave editor

domingo, julho 11, 2010

DAHDI Modules in FC11

That seems to work on fedora core 11.
Download latest dahdi-linux from

Follow theses instructions and have the modules...


yum -y install dahdi-tools kernel-devel kernel-headers
Then after that try the normal:
cd dahdi-linux*
make distclean
make install all
I could be wrong on that last part, but the instructions for it are in the readme in the packages folder.

sábado, julho 03, 2010

How to setup a mySQL (DSN) datasbase source in CentOS with myODBC and unixODBC command line. |

How to setup a mySQL (DSN) datasbase source in CentOS with myODBC and unixODBC command line. |




How to setup a mySQL (DSN) datasbase source in CentOS with myODBC and unixODBC command line.

Setup guide is using the same hardware and CentOS install we used in our prior how to on Zenoss. I use the Zenoss database on the localhost but this can easly be changed for setting up a ODBC connection on a remote host machines useing any database.

This entire install process is done as root, so login to your server and lets get started.
Install myODBC and unixODBC as a dependency.
yum install mysql-connector-odbc

Dependencies Resolved
Package Arch Version Repository Size
mysql-connector-odbc i386 3.51.12-2.2 base 142 k
Installing for dependencies:
unixODBC i386 2.2.11-7.1 base 832 k

Transaction Summary
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 973 k
Is this ok [y/N]:

Print your config infomation.
odbcinst -j
unixODBC 2.2.11
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
USER DATA SOURCES..: /root/.odbc.ini

Edit /etc/odbc.inst and /etc/odbcinst.ini
Below are my examples.
vi /etc/odbcinst.ini

Description = ODBC for MySQL
Driver = /usr/lib/
Setup = /usr/lib/
UsageCount = 2

[MySQL ODBC 3.51 Driver]
Description = ODBC 3.51 for MySQL
DRIVER = /usr/lib/
SETUP = /usr/lib/
UsageCount = 2

vi /etc/odbc.inst
Driver = /usr/lib/
SERVER = localhost
PORT = 3306
DATABASE = events
USER = root

Note: The PASSWORD: is the one we setup during our Zenoss installation and is REQUIRED because Splunk uses it to authenticate to the database.

Once you create your files and save them here is how you do the install.
Install driver
odbcinst -i -d -f /etc/odbcinst.ini

Install system DSN
odbcinst -i -s -l -f /etc/odbc.ini

Test your DSN install by lisinting your installed data sources.
odbcinst -s -q

Test that you can connect to the database via the ODBC.
isql -v zenoss root BlAh
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
SQL> quit
You are done. Here are some quick and dirty ways to fix some problem I had during the install.
I did not have libtool installed properly.
Install libtool
yum install libtool

Before the include I added
/opt/splunk/lib <---- I later commented this out.

Load the new
ldconfig (you will not recive any confermation)

I also had a problem acidently loading user DSN so you can remove the user odbc.ini file or copy the one from /etc to the profile.
rm /home/name/.odbc.ini

How to remove a driver.
odbcinst -u -d -n zenoss
zenoss has been deleted (if it existed at all) because its usage count became zero.

How to remove a datasource.
odbcinst -u -s -l -n zenoss
odbcinst: DSN removed (if it existed at all). ODBC_BOTH_DSN was used as the search path.

Remeber if you change a odbc peramerter you need to install it again.
odbcinst -i -s -l -f /etc/odbc.ini
My next article will be how to setup Splunk to use the Zenoss myODBC connection as a datasource.

quinta-feira, julho 01, 2010

Asterisk cmd Queue -

Asterisk cmd Queue -

Very usefull. How to work with queues using asterisk


Asterisk 1.6.0:

Asterisk 1.4:

Asterisk 1.0 through 1.2:

Queues an incoming call in a particular call queue as defined in queues.conf or dynamic realtime.

The option string may contain zero or more of the following characters:
  • d — data-quality (modem) call (minimum delay).
  • h — allow callee to hang up by pressing *.
  • H — allow caller to hang up by pressing *.
  • n — no retries on the timeout; will exit this application and go to the next step.
  • r — ring instead of playing MOH.
  • R — stops moh and rings once an agent is ringing (Asterisk Trunk)
  • t — allow the called user to transfer the calling user.
  • T — allow the calling user to transfer the call.
  • w — allow the called user to write the conversation to disk via Monitor.
  • W — allow the calling user to write the conversation to disk via Monitor.
  • c — continue in the dialplan if the callee hangs up (Asterisk 1.6.0 and above).
  • i — ignore call forward requests from queue members and do nothing when they are requested (Asterisk 1.6.0 and above).
  • k — Allow the called party to enable parking of the call by sending the DTMF sequence defined for call parking in features.conf (Asterisk 1.6.0 and above).
  • K — Allow the calling party to enable parking of the call by sending the DTMF sequence defined for call parking in features.conf (Asterisk 1.6.0 and above).
  • x — allow the called user to write the conversation to disk via MixMonitor (Asterisk 1.6.0 and above).
  • X — allow the calling user to write the conversation to disk via MixMonitor (Asterisk 1.6.0 and above).

In addition to transferring the call, a call may be parked and then picked up by another user.

'URL' allows you to specify a URL that will be sent to the called party if the channel supports it. You can also use an external application like QueueMetrics or Asteria Solutions Agent Client to launch the URL if your terminal does not support it.

  • In Asterisk 1.4, the optional AGI parameter will setup an AGI script to be executed on the calling party's channel once they are connected to a queue member.

'announceoverride' allows you to override the announcement specified in queues.conf using 'announce = ...' or add one to it in the first place.

'timeout' sets the time in seconds that a call will wait in the queue before it is routed to the next priority in the dialplan. It defaults to 300 seconds (5 minutes).

The timeout will cause the queue to fail out after a specified number of seconds, checked between each queues.conf 'timeout' and 'retry' cycle.
This application sets the following channel variable upon completion:

Note: This doesn't do what you think it should do (in 1.2.4 anyway). Once a call is inside a queue, it is only checked to see if it is timed out every so often (depending on the value of 'timeout=' for that queue in queues.conf). This means that if queues.conf says 'timeout=10' and you call the queue with 'Queue(queuename,,,,5)', it will be ten seconds before the call times out. If you call the Queue with 'Queue(queuename,,,,11)', it'll be 20 seconds. I.E. the value of 'timeout' supplied to the command DOES NOT override the value of 'timeout=' in queues.conf. Don't think about changing the value of 'timeout=' in queues.conf to, say, 1 or the calls will get offered to the members for only one second at a time.

This article attempts to explain this behavior. Note that this article states that the value of the 'timeout' parameter is absolute, which is not correct.

New in Asterisk 1.4: The MEMBERINTERFACE channel variable holds information about which queue member received the call. Variable is not available until you set 'setinterfacevar=' to 'yes' in queues.conf.
Note: This parameter must be wrote INSIDE of each queue, not in the general context because it won't work.

Return codes

This application returns -1 if the originating channel hangs up, or if the call is bridged and either of the parties in the bridge terminate the call. Returns 0 if the queue is full, nonexistent, or has no members.

This method only works when there are no members defined in queues.conf, and instead only added with AddQueueMember(). However with "Member => Agent/101" in queues.conf the Queue command always returns as if there were a member.
Update: 'leavewhenempty = yes' in queues.conf fixes this (in CVS since Sep 28, 2004)


  • If 'persistentmembers = yes' is used in queues.conf, dynamically added agents are saved in the Asterisk Berkeley database, and are preserved across restart. If not, dynamically added agents are lost upon Asterisk restart.
  • Use the 'Local' channel construct to point to an appropriate dial-out extension in the dialplan if you'd like to add remote agents using AgentCallbackLogin()
  • Transfers of calls that are answered out of a queue must be done using Asterisk '#' transfers (enabled with the 't' option above). SIP transfers result in the Agent remaining affiliated with the call until its eventual termination, preventing that agent from being offered another call.
  • The application sets the following channel variable upon completion: QUEUESTATUS. The status of the call as a text string, one of TIMEOUT, FULL, JOINEMPTY, LEAVEEMPTY, JOINUNAVAIL, or LEAVEUNAVAIL.
  • A member assigned to a queue ("member => Agent/1234" for example) can be a phone (e.g. "member => SIP/phone1").
  • Check the timeout settings of your extensions involved in the queue.
  • Snom Phones have in their web interface an "invisible" timeout of 60 seconds. The Playback command, even if an empty file is played, seems to help in avoiding a call being dropped after 60 seconds.


Example 1: Basics

exten => s,1,Answer
exten => s,2,SetMusicOnHold(default)
exten => s,3,DigitTimeout,5
exten => s,4,ResponseTimeout,10
exten => s,5,Background(welcome)
exten => s,6,Queue(tech-queue)

The s,1,Answer is important in order not to have ringing in the background of your hold music.

Example 2: Use BLF LED to show queue login status of an agent

Look at this post (in German), requires bristuff'ed Asterisk 1.2 or 1.4

Example 3

Here is a working queue-solution as example:

A call comes in over a sip channel, is routed to the extension which handles the example-queue (here extension 129) in the context example-queue in extensions.conf. The call, if not answered by an agent, should remain for 300 seconds in the queue, before it is routed to the next priority which transfers the call to voicemail.
The called and the calling user are able to transfer the call (tT as options of the queue command in extensions.conf).

Signaling the call to logged on agents should work like this:

After the first priority "Playback(some_announce)" has finished, all agents should be signalled (ringall in queues.conf) for at least 15 seconds (timeout in queues.conf). The caller should hear music on hold in the meanwhile. If the call wasn't answered by an agent, there should be some time before the call is signalled again (retry in queues.conf). The actual queue position is announced to the caller every 30 seconds (announce-frequency and announce-holdtime in queues.conf).


exten => 129,1,Playback(some_announce) ; Important, see notes
exten => 129,2,Queue(example_queue|tT|||300) ;dont set n option until really needed
exten => 129,3,Playback(some_announce_after_leaving_queue)
exten => 129,4,Voicemail(s1234)


music = default
strategy = ringall
context = queue-out ; Here we go when the caller presses a single digit, while in the queue
timeout = 15
announce-frequency = 30
announce-holdtime = yes
joinempty = yes
member => Agent/1234
member => Agent/1235


ackcall=no ; Agent does NOT have to press # to answer the call
musiconhold => default
agent => 1234,0000,Agent1_Name
agent => 1235,0000,Agent2_Name

See also

  • Function QUEUE_MEMBER_COUNT: Count number of members answering a queue
  • Function QUEUE_MEMBER_LIST: Returns a comma-separated list of members associated with the specified queue
  • Function QUEUE_WAITING_COUNT: Count number of calls currently waiting in a queue
  • Asterisk call queues
  • Asterisk config queues.conf
  • Applications used: Answer | SetMusicOnHold | DigitTimeout | ResponseTimeout | Background
  • Asterisk RealTime Queue, to store queues in a database with automatic update of changes (no need for explicit reload).
  • Asterisk agents
  • Asterisk Queue Callback - Dialplan and Perl script to allow your callers to hang up without losing their place in the queue.
  • Function DIALGROUP: New in 1.6: Poor man's calling queue
  • Queue-Tip - Opensource (GPL) Asterisk Queue Monitoring and Reporting suite using Adhearsion and Ruby on Rails.
  • OrderlyQ - Extension to Asterisk Queues that lets callers hang up, then call back without losing their place.
  • OrderlyStats - FREE Dedicated Real Time Call Centre Management and Statistics Package.
  • app_icd: Look at ICD if you desire a more customizable queue and call center solution
  • IPSwitchBoard BETA - Queue Log Analyzer
  • QueueMetrics is a software package to analyze the queue_log file and extract a wealth of aggregate statistics on queue activities. The software is available for download and public trial.
  • Asteriskguru Queue Statistics - The Asteriskguru queue statistics, is a PHP based program, which gives anyone who uses queues or CDRs overview in Asterisk a deep insight in the quality of the service which is delivered to their customers.
  • AstQueueIcon: Alternative free queue solution utilitzing the call parking feature instead of the queue application. As the queue app stays out of the media path, features like call forwarding will not be denied for the agents.
  • Asterisk Queues Tutorial (from Orderly Software).
  • 1.6.x Patch to add ringing: Adds optional support for giving ringing indication when the queue finds a member/agent to call. (as opposed to always playing MOH)