I had debated myself whether it could be asterisk or application error. I'm trying to write something to the receiver and the receiver already closed my acceptance.
Should I need to produce an error or not?
To sort this problem if you have certain delay (like sleep or usleep to .5 secs) to receive the data from Asterisk you are fine. Any scripts or remote manager sockets calling this need to wait for the same to get this error go away.
sleep(.5); // or if it can take only integers you can have sleep(1);
Make sure you consider this time when handling call.
Alternatively if you want to get the error to ignore, you can edit utils.c and comment the line producing this error. Also keep in mind when you have errors with file or socket, it will get ignored.
Hope it helps !
Monday, October 26, 2009
Wednesday, October 14, 2009
Unique BootID in Linux
# cat /proc/sys/kernel/random/boot_id
91cbd9c4-8a68-4d14-8193-8486417410d1
Gives you the random unique boot for every boot. If you application would like to see whether you system has rebooted or not, you can check with this value.
Hope it helps.
91cbd9c4-8a68-4d14-8193-8486417410d1
Gives you the random unique boot for every boot. If you application would like to see whether you system has rebooted or not, you can check with this value.
Hope it helps.
UUID LIBUUID GUID in linux
Generating UUID in linux is much easier than having an user space app to create it.
It is patched to the latest kernel of linux.
Try,
cat /proc/sys/kernel/random/uuid
d9083201-9574-4ea2-a4fc-9b8ebf9a44e4
on your linux machine. You will get randomly generated number.
Hope it helps.
It is patched to the latest kernel of linux.
Try,
cat /proc/sys/kernel/random/uuid
d9083201-9574-4ea2-a4fc-9b8ebf9a44e4
on your linux machine. You will get randomly generated number.
Hope it helps.
Monday, September 28, 2009
VoIP Routing - Phone to GSM
I was looking for a device which can take sim card and dial remotely through voip.
You can get those devices here.
This is plan SIP. Your ISP might block SIP traffic eventhough if it is run on other ports other than 5060. Grab one of the device and connect to a SIP Provider and dial through your softphone and Enjoy.
Please leave a comment if you face any problems.
You can get those devices here.
This is plan SIP. Your ISP might block SIP traffic eventhough if it is run on other ports other than 5060. Grab one of the device and connect to a SIP Provider and dial through your softphone and Enjoy.
Please leave a comment if you face any problems.
Thursday, August 6, 2009
VoIP Routing - Phone to GSM - Part 2
It is always good to experiment any technologies free. Oof the good things with voip is you can try before you can realize whether something works with zero cost.
Let us try to experiment making few phone calls.
Try to download free softphones.
Below are the softphones i experienced good,
Xlite
Zoiper
The good thing about Zoiper is, it is simple and can communicate with native IAX protocol to asterisk.
Xlite has good features with SIP Protocol, such as recording, conferencing, etc.,
Register http://www.sipphone.com and connect to their service with the two softphones.
Configuration instructions are here,
http://support.gizmo5.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=440
It is very simple. Usual settings to connect to any server. You won't go wrong.
Give a try.
Let us try to experiment making few phone calls.
Try to download free softphones.
Below are the softphones i experienced good,
Xlite
Zoiper
The good thing about Zoiper is, it is simple and can communicate with native IAX protocol to asterisk.
Xlite has good features with SIP Protocol, such as recording, conferencing, etc.,
Register http://www.sipphone.com and connect to their service with the two softphones.
Configuration instructions are here,
http://support.gizmo5.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=440
It is very simple. Usual settings to connect to any server. You won't go wrong.
Give a try.
Labels:
counterpath,
did,
gsm gateway,
sipphone,
voip tutorial,
xlite,
zoiper
Wednesday, August 5, 2009
Phone to GSM Gateway VoIP Routing - Part 1
It is been request from my friends how to connect Normal phone Number to a GSM Gateway connected remotely in a different country.
This article gives a brush up how to use the SIP Protocol to make VoIP Calls and communicate freely in the internet.
Visit few of the public service providers:
1. http://www.sipphone.com
2. http://www.iptel.org/toboggan/login
3. http://www.sipgate.com/
I find these ones are reliable with their service.
If you would like to have your own server at home. You can use the following softwares as sip proxy.
1. Asterisk
2. openser
3. freeswitch
I would recommend Asterisk, since it is used by large users and enterprise and proven to be stable. It can also even run in routers and embedded devices too.
Try to get the accounts setup or install the softwares in a Linux Machine, Before we go to the next step. I would be choosing, sipphone & Asterisk in my forthcoming examples and configurations.
Wednesday, July 15, 2009
Prism - Making Web Unique
It was one of my need to have multiple users using the same website. Prism gives the comfort of browsing like an application and every time with a click it will launch as desktop application.
Also When I do important stuffs browsers crash often. Even though chrome claims to be the same, it still has the problem of closing all the tabs simultaneously.
Prism removes the hurdle.
http://prism.mozilla.com/
Also When I do important stuffs browsers crash often. Even though chrome claims to be the same, it still has the problem of closing all the tabs simultaneously.
Prism removes the hurdle.
http://prism.mozilla.com/
Subscribe to:
Posts (Atom)
