Hi All,
I am using openser as a proxy and presence server. now i am add new module IMC for support chat conference. But how i can test changes are right????????
There is any standard phone Or sip client which support IMC module and able to send messages like create,join.... for conference.
So, i can test our sip proxy...........
Thanks & Regards, --Amit
El Monday 17 December 2007 06:02:49 Amit Vijayvargiya escribió:
Hi All,
I am using openser as a proxy and presence server. now i am add new module IMC for support chat conference. But how i can test changes are right????????
There is any standard phone Or sip client which support IMC module and able to send messages like create,join.... for conference.
No, there are not. That 's the reason IMC is managed via MESSAGE commands.
So you send a MESSAGE to "chat-manager@" (or whatever you name it) with text: create room 123
Hi,
i am doing the same but in openser i m getting the following error
Dec 17 15:14:37 [26267] ERROR:imc:imc_handle_message: room [chat- manager] does not exist! Dec 17 15:14:37 [26267] ERROR:imc:imc_manager: failed to handle 'message'
it saying room not exist wat it mean for that i m also insert one row in imc_rooms table..............
Thanks & Regards --Amit
On Mon, 2007-12-17 at 09:18 +0100, Iñaki Baz Castillo wrote:
El Monday 17 December 2007 06:02:49 Amit Vijayvargiya escribió:
Hi All,
I am using openser as a proxy and presence server. now i am add new module IMC for support chat conference. But how i can test changes are right????????
There is any standard phone Or sip client which support IMC module and able to send messages like create,join.... for conference.
No, there are not. That 's the reason IMC is managed via MESSAGE commands.
So you send a MESSAGE to "chat-manager@" (or whatever you name it) with text: create room 123
El Monday 17 December 2007 10:52:05 Amit Vijayvargiya escribió:
Hi,
i am doing the same but in openser i m getting the following error
Dec 17 15:14:37 [26267] ERROR:imc:imc_handle_message: room [chat- manager] does not exist! Dec 17 15:14:37 [26267] ERROR:imc:imc_manager: failed to handle 'message'
it saying room not exist wat it mean for that i m also insert one row in imc_rooms table..............
No, you cannot create rooms or chat users via SQL, sorry. It could be a useful feature (instead of IMHO annoying managing like IRC commands) but it's not possilbe. I opended a "feature request" for this:
https://sourceforge.net/tracker/?func=detail&aid=1819835&group_id=13...
Regards.
Hi,
Thats ok.
i m sending one message to openser with uri chat- manager@domain.com and with massage create room 123
but it given error
Dec 17 15:14:37 [26267] ERROR:imc:imc_handle_message: room [chat- manager] does not exist!>
Dec 17 15:14:37 [26267] ERROR:imc:imc_manager: failed to handle 'message'
in openser.cfg i m configure this for massages
if (is_method("MESSAGE") && (uri=~ "sip:chat-[0-9]+@" || uri=~ "sip:chat-manager@")){
log(1,"The user is not available (status 408), will not try the next osp route\n");
imc_manager(); sl_send_reply("200","Ok"); exit();
}
tell me if i am wrong........ i want to create rooms via message and also add members ..............
Thanks & Regards --Amit
On Mon, 2007-12-17 at 10:54 +0100, Iñaki Baz Castillo wrote:
El Monday 17 December 2007 10:52:05 Amit Vijayvargiya escribió:
Hi,
i am doing the same but in openser i m getting the following error
Dec 17 15:14:37 [26267] ERROR:imc:imc_handle_message: room [chat- manager] does not exist! Dec 17 15:14:37 [26267] ERROR:imc:imc_manager: failed to handle 'message'
it saying room not exist wat it mean for that i m also insert one row in imc_rooms table..............
No, you cannot create rooms or chat users via SQL, sorry. It could be a useful feature (instead of IMHO annoying managing like IRC commands) but it's not possilbe. I opended a "feature request" for this:
https://sourceforge.net/tracker/?func=detail&aid=1819835&group_id=13...
Regards.
El Monday 17 December 2007 11:06:04 Amit Vijayvargiya escribió:
Hi,
Thats ok. i m sending one message to openser with uri chat-
manager@domain.com and with massage create room 123
but it given error
Dec 17 15:14:37 [26267] ERROR:imc:imc_handle_message: room [chat- manager] does not exist!>
Dec 17 15:14:37 [26267] ERROR:imc:imc_manager: failed to handle 'message'
in openser.cfg i m configure this for massages
if (is_method("MESSAGE") && (uri=~ "sip:chat-[0-9]+@" || uri=~
"sip:chat-manager@")){
log(1,"The user is not available (status 408), will not try the
next osp route\n");
imc_manager(); sl_send_reply("200","Ok"); exit(); }
tell me if i am wrong........ i want to create rooms via message and also add members ..............
I don't remember the exact commands, read the examples in module doc, it's clearly explained ;)
Hi Iñaki,
Thanks a lot.............. i found the solution.... Thanks for ur help........
Thanks & Regards, --Amit
On Mon, 2007-12-17 at 11:09 +0100, Iñaki Baz Castillo wrote:
El Monday 17 December 2007 11:06:04 Amit Vijayvargiya escribió:
Hi,
Thats ok. i m sending one message to openser with uri chat-
manager@domain.com and with massage create room 123
but it given error
Dec 17 15:14:37 [26267] ERROR:imc:imc_handle_message: room [chat- manager] does not exist!>
Dec 17 15:14:37 [26267] ERROR:imc:imc_manager: failed to handle 'message'
in openser.cfg i m configure this for massages
if (is_method("MESSAGE") && (uri=~ "sip:chat-[0-9]+@" || uri=~
"sip:chat-manager@")){
log(1,"The user is not available (status 408), will not try the
next osp route\n");
imc_manager(); sl_send_reply("200","Ok"); exit(); }
tell me if i am wrong........ i want to create rooms via message and also add members ..............
I don't remember the exact commands, read the examples in module doc, it's clearly explained ;)