The file-max file /proc/sys/fs/file-max sets the maximum number of file-handles that the Linux kernel will allocate. We generally tune this file to improve the number of open files by increasing the value of /proc/sys/fs/file-max to something reasonable like 256 for every 4M of RAM we have: i.e. for a machine with 128 MB of RAM, [...]
Archive for June, 2008
When you have CentOS and try to replace files we need confirmation by default. Maybe you are thinking use –force option, but it not works ok because by default CentOS has “cp -i” alias. Now if we won’t it, we need use: “unalias cp” for alias remove.
Aquí tenemos una aplicación que nos ayudara a determinar si nuestro firewall esta haciendo el port forward que requerimos para nuestras llamadas de voip. Se trata de una aplicación que envia un mensaje UDP PING para identificar que el port forward y no este bloqueado por el firewall. http://www.voipuser.org/port_forward_tester.html
¿Alguna ves te has preguntado como ejecutar un AGI mientras generas un Dial()? A continuación propongo una manera de hacer eso que a muchos nos es muy útil en muchos de los casos. Bien, pues como saben con Dial() podemos generar llamadas al mismo tiempo utilizando & entre cada destino. Haciendo uso de esto podemos [...]
There is an example of how to generate dial from CLI and playback a message when user answer. CLI> originate SIP/user application Playback hello-message
Normalmente cuando manejamos NAT presente en Asterisk es muy necesario hacer uso de la opción qualify en nuestro sip.conf para nuestros peers que se encuentren en situaciones de NAT, osea detrás de un NAT pues. ¿Y porque es útil? Al hacer uso de qualify Asterisk enviara periódicamente un comando de SIP OPTIONS(rápidamente digamos que es [...]
If you’re thinking… “How can I kill an active call?” you can try it with: “soft hangup” asterisk*CLI> help soft soft hangup Request a hangup on a given channel Do you know how to see the list of active channels? asterisk*CLI> core show channels How to kill an active call? sasterisk*CLI> soft hangup SIP/54028-0b864c40
