login | register
Sat 17 of May, 2008 [13:36 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Juan Ortega, Thu 15 of May, 2008 [10:33 UTC]: Hi everybody, I'm Juan, an ITCom student, and I need to know what basic elements I need to create a VoIP network. Can anybody helpme, please?,Thank you very much
  • gineta, Wed 14 of May, 2008 [03:58 UTC]: any here not fine the configuration of firewall juniper -screem for VOIP asterisk????
  • Anoop Prabhakaran, Tue 13 of May, 2008 [12:16 UTC]: I am developing Asterisk IVR, Whenever i make a internation call to the IVR system, the DTMF is not getting detected properly, this happens only for the first time, second call onwards system works fine. why this is happening
  • joe, Mon 12 of May, 2008 [04:27 UTC]: Is there an opensource browser based softphone, or a system like Busta where everything is not manages through their website?
  • Nick Barnes, Fri 09 of May, 2008 [11:36 UTC]: Christopher - yesterday I tried an Asterisk install on a CentOS 5.1 box with stock GUI and it all worked fine. Sorry I can't help.
  • aero, Fri 09 of May, 2008 [08:20 UTC]: can someone help me out on this, i tried to play some sound files on my asterisk box and this is the error message i got. WARNING[4429]: format_wav.c:169 check_header: Unexpected freqency 22050 May 8 11:17:39 WARNING[4433]: codec_gsm.c:194 gsmtolin_fra
  • Christopher Faust, Thu 08 of May, 2008 [14:15 UTC]: I beleive that I may have to change something in the xserver configuration. Please advise
  • Christopher Faust, Thu 08 of May, 2008 [14:14 UTC]: Everything was perfect. In the bios I have increased the memory allocated Still receive input not supported on my display.
  • Christopher Faust, Thu 08 of May, 2008 [14:13 UTC]: This would not be my main box. I am doing some testing to see if I can install zaptel and asterisk 1.4 on a full centos 5.1 box with development software Its bizzare, because before I went through the asterisk and zaptel installation everything was perfe
  • Nick Barnes, Thu 08 of May, 2008 [13:44 UTC]: Christopher - I can't see any way in which an Asterisk installation would muck your GUI, but remember that it is advised not to use a GUI on an Asterisk box anyway.
Server Stats
  • Execution time: 0.38s
  • Memory usage: 2.20MB
  • Database queries: 33
  • GZIP: Disabled
  • Server load: 0.96

Asterisk SIP Messaging

Asterisk SIP Messaging



For correct messaging support, there are some changes required to core. Anyways, if you require this functionality within it's limits, there's a way to do it (at least for SIP). First, you'll need Asterisk presence set-up and working from CVS HEAD. Messages are delivered according to presence hints (and not according to dialplan). If you want, you can enable queuing, which requires sqlite3 database.



After applying presence patch and configuring presence, visit this page: http://juraj.bednar.sk/work/software/asterisk/messaging/. sip_message_support.patch is a patch for chan_sip.c. On the top, choose if you want queuing support (queuing messages for delivery to devices when they become online): if you don't want queuing support, comment out the include, compile and that's all.

Otherwise, edit channels/Makefile and add -lsqlite3 to chan_sip.so CC line. Grab the chan_sip_queue* files, edit chan_sip_queue.h and set the path to the queue database (you will probably want to change that). Run chan_sip_queue_init.sh (from the channels directory, it needs chan_sip_queue.h in current directory to determine the path), which will initialize the queue (create a database and a table which will hold the queue). Compile, run and there you should go.



Tested with Xten's eyeBeam. There should probably be better delivery checking, cleaner installation, etc. Patches should be mailed to author and asterisk (at) bednar (dOt) sk.



There's also an interview http://www.sineapps.com/news.php?rssid=933 with Joshua Colp on Asterisk News page, where he mentions he is working on better messaging implementation for Google's Summer of Code. His work is availaible for download http://quark.file-radio.com/asterisk/asterisk-messaging-1.tgz, although I have no idea how it works besides what's mentioned in the interview. I hope he'll finish soon and post 1.2 asterisk will include comprehensive messaging support.



Here is a version of the patch for asterisk 1.4.0 as 1.4.0 does not support SIP/SIMPLE messaging without the patch. It has been moderately tested so use with care. http://www.sipalive.com/dev/asterisk/



Comment by oej:

Although this is a great SIP patch, it will not be included in Asterisk due to it's one-channel perspective. As Juraj says, this is a hack and proof-of-concept. There are work going on to create a multi-protocol IM and presense solution for Asterisk.

Tip

If all breaks you could at least dig warnings like the one (taken from Asterisk 1.4.9) below out of /var/log/asterisk/messages:


WARNING10670: chan_sip.c:9419 receive_message: Received message to 502 <sip:1234@192.168.10.9> from <sip:@192.168.10.212>;tag=1000--849473249, dropped it...
 Content-Type:text/plain
 Message: This was a test message.


See also


Created by juraj, Last modification by JustRumours on Wed 19 of Sep, 2007 [21:00 UTC]

Comments Filter

not worrking

by cingkele on Monday 18 of September, 2006 [04:04:10 UTC]
I try to patch but not work for me.

Sep 18 12:02:27 WARNING2722: chan_sip.c:7545 receive_message: Received message to "222"<sip:222@voip.ung.ac.id> from "Iwan"<sip:555@voip.ung.ac.id>;tag=91435f6e, dropped it...
 Content-Type:text/html
 Message: <FONT face=Arial size=2>test</FONT>

can you help me please

Jurai patch updated.

by Francesco P. Sileno on Tuesday 14 of March, 2006 [20:19:38 UTC]
While waiting for SIP messaging integration in Asterisk, I've updated Jurai's patch to get it work on Asterisk 1.2.5. I've tested it only in non-queueing mode.

I've notified Jurai, in the meanwhile you can get it here: http://www.rlyeh.it/tmp/sip_message_support_1.2.5.patch.gz (this is only the diff file, you must download the other files from Jurai's site).

If I've missed some other working alternatives or upgrades to Asterisk, please le me know! :)

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver