[SR-Users] Kamailio Presence module
Andreas Granig
agranig at sipwise.com
Tue Sep 18 22:22:34 CEST 2012
On 09/17/2012 10:36 AM, Gary Shergill wrote:
> root at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120918/6af350f7/attachment.pgp>
More information about the sr-users
mailing list