On 09/17/2012 10:36 AM, Gary Shergill wrote: > root@opensep:~# service kamailio restart > Not starting Kamailio: invalid configuration file! > -e > 0(7892) : <core> [cfg.y:3591]: parse error in config file > /etc/kamailio/kamailio.cfg, line 392, column 32-36: syntax error > 0(7892) : <core> [cfg.y:3591]: parse error in config file > /etc/kamailio/kamailio.cfg, line 392, column 32-36: Invalid arguments > 0(7892) : <core> [cfg.y:3594]: parse error in config file > /etc/kamailio/kamailio.cfg, line 392, column 37: > ERROR: bad config file (3 errors)
Check what's in line 392, it should give you a hint what's wrong. > Anyone knows what is wrong please? Hoping to get presence and IM > working on the Kamailio server (enabling this presence module enables > IM, correct?). I'm also not familiar with the default kamailio config, but presence itself has nothing to do with IM per se. There are two ways doing IM in SIP: one is page-mode using MESSAGE requests, which should take pretty much the same route as INVITE (that is: authorization of caller, normalization of callee, lookup in location table, then t_relay to callee); the other one is MSRP, which is actually an INVITE with a special payload. If you use sylkserver, then you can just forward the INVITE to sylkserver, which has an MSRP relay integrated, otherwise you can use http://kamailio.org/docs/modules/3.3.x/modules/msrp.html to handle MSRP directly within kamailio without a 3rd party server. Andreas
signature.asc
Description: OpenPGP digital signature
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users