> I still don't see how the asterisk sends events to jabber or why ok do you have a jabber server ? say it's mydom.com you make an account res_jabber@mydom.com and you tell the config in asterisk the details the master_thread is the / resource so if you add that account to your buddy list you will see it log in when you load the module 20:05 1 Brian West 1000 66.250.69.250 (exit) * c888 20:05 Brian West has left the conference. res_jabber/master_thread now say you have your dialplan dumping off all calls too the nextgen app you call the box on iax for instance and it executes the app now you will see another instance on your buddy list res_jabber/iax-xyz-whatever anthm, instead of spieling this all off in irc, how about documenting it? i just did copy and paste irc channel into README_res_jabber? > its better then nothing anyway whatever jabberid is defined as master will get a message when that call comes in you can start a pm with that id that sent you the message and control the call tell it answer for instance *** huslage (n=huslage@c-67-169-200-122.hsd1.or.comcast.net) has joined channel #callweaver then tell it stuff like streamfile *** Signoff: fanguin (Read error: 110 (Connection timed out)) if you dial any dtmf during all this you will get them all as msgs you can also query the main_thread resource and ask for a new outbound call *** Signoff: file[lap1op] (Connection timed out) > Now thats because you have some special logic in extensions.conf that sends it right? then once it's up the same rules apply > Or does Res_jabber gobble up the entire channel and won't let asterisk touch it? it's just an app > what is the name of the app to invoke that? yep exactly nextGen > why nextGen? that's what it is its a tester for nextgen > So I could only interact with it via a controller? the kicker is, once you have a chat session with 2 separate channels you can command them to trade audio over +udp > But can the controller call other internal asterisk applications? you can tell it "exec: playback beep" and it will > what about > like though that was not the real point > exec: JavaScript /opt/callweaver/js/vociemail.js ? exec anything > is it stable? *shrug* > is there a list of commands that I can do like exec: ? i'm not really selling it =D > huh... cypromis is the one who tossed it into the callweaver hence why there is no docs or anything > how does the ICD jabber differ from res_jabber? *** Signoff: factoryjoe () i didnt actually prepare if for release persae in the perl code you can see many of them it uses a proto called NTCP > NTCP? network telephony control protocol > yu my invention > alright can I post this in README.res_jabber? if you would like to sure *** Signoff: RoyK (Read error: 110 (Connection timed out)) the perl code was in the tar with the res_jabber b4 not sure if it's still there anthm: i think it's in contrib now ya res_jabber_addon in contrib just to test it you can edit the res_jabber.conf to make your jabber_client be the master you should make an account for the res_jabber with a real client and add it to the roster so you can see when it logs in and that is the basic way to test it you call the app nextgen and you will get a PM saying new call with details and you can just tell it "answer" 20:20 2 anthm 0 69.216.26.86 (exit) * c888 20:20 anthm 0 has left the conference. > can I use it in addition to my regular extension logic? > Like, still works like for app_queue regular, but i have the ability to all the sudden do a jabber redirect once you do NextGen it never comes back so if you want you could make the jabber say exec queue somequeue or something like that but you lose control until that exec is done which why exec is more of a test thing with the udp audio bridge you still never leave the main loop > can you originate another call, and then bridge them together with res_jabber? you still get all the dtmf events etc > udp audio bridge, hmm yes that is one of the things the perl script does > still fuzzy in my head. what does that me3an? it means > so I can originate a call tot he queue, then udp audio bridge them? if you know the jabber id of 2 difft calls you can tell 1 to talk to the other one > cuz I want to use FollowMe that tries your IM 20:24 1 MikeJ 65.170.43.60 (exit) * c888 20:24 Mike J has left the conference. and they will open udp ports and exchange media regardless of channel type > Won't the codecs fuck it up? > what jabber function is this? > I'm sure its like exec: right? the channels set read/write to raw yah there is actually no : that was a typeo > does it go to localhost 100% of the time? the format is header1: val1: headern: valn: being invisible carraige returns > Over Jabber? > Its not an XML based message -- still CR based? > But when jabber gets it, it converts it to XML right... assuming bah no way it's encapsulated text message xml makes me want to vomit > you talking about when talking to the master right? > based is fine for this i think. > jez, HTTP and SMTP is based:) the control messages are all text packets the jabber is not really relevant it's just a transport > what about event messages? they look the same but they start with event > So the need to be parsed with something that undmerstands event management still though right? > No fancy jabber callback functions right? they are abstracted by the perl code did you look at it ? > Yes > I am not planning on using perl however. * anthm needs some air