Hi Daniel,
Im a kamailio 3.1 (testing noobie)
Im trying to setup a simple buddy list supporting presence server. (I gather xcap is the way to go)
The simple presence thingy works nicely & instantly (thanks to those #!defines )
But I haven't been able to get this configuration going
http://sip-router.org/docbook/sip-router/branch/master/modules_k/xcap_server...
I mean loading the modules & setting the modparams is a snap but this routing logic always gets to me. (i.e. those filing off .......... lines in the the routing logic section. Did I mention I was a noobie especially of routing logic section ?)
Anyway you have also added this declarative #!ifdef WITH_XHTTPAUTH with in that section, where as its missing in the top section of the kamailio.cfg file.
Pasting just about anywhere (or in the end before the } doesn't work for me. Could u be kind enough to elaborate a little more on that or come up with a fuller kamailo.cfg sample file.
Thanx & Regards --
Hello,
I was writing and just published a complete tutorial about this topic (sent an email few minutes ago), see the docs at: http://bit.ly/btrJij
Let me know if works for you. Whenever you have a problem, try to be very descriptive with what does not work. Also, gather message logs and SIP traces.
Cheers, Daniel
On 9/29/10 3:55 PM, X- x -X wrote:
Hi Daniel,
Im a kamailio 3.1 (testing noobie)
Im trying to setup a simple buddy list supporting presence server. (I gather xcap is the way to go)
The simple presence thingy works nicely & instantly (thanks to those #!defines )
But I haven't been able to get this configuration going
http://sip-router.org/docbook/sip-router/branch/master/modules_k/xcap_server...
I mean loading the modules & setting the modparams is a snap but this routing logic always gets to me. (i.e. those filing off .......... lines in the the routing logic section. Did I mention I was a noobie especially of routing logic section ?)
Anyway you have also added this declarative #!ifdef WITH_XHTTPAUTH with in that section, where as its missing in the top section of the kamailio.cfg file.
Pasting just about anywhere (or in the end before the } doesn't work for me. Could u be kind enough to elaborate a little more on that or come up with a fuller kamailo.cfg sample file.
Thanx & Regards
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
Hi Daniel.
Thanks. It works like a charm. Very expressive tutorial.
but just looking at the logs I see stuff like this which is erroring. doesnt crash the server or stuff just some error
Tested with "sip-communicator-1.0-alpha6-nightly.build.2976-linux.bin" And the specs/conf on that tutorial website copies around 11:00 GMT (in case u have any change after that).
debbox:/usr/local/etc/kamailio# tailf /var/log/syslog Sep 30 18:24:38 debbox kamailio[2744]: ERROR: <script>: ===== xhttp: xcap-caps : <null> Sep 30 18:24:38 debbox kamailio[2746]: ERROR: <script>: ===== xhttp: resource-lists : sip:bob@192.168.90.40 sip%3Abob@192.168.90.40 Sep 30 18:24:38 debbox kamailio[2746]: ERROR: <script>: ===== xhttp: get sip:bob@192.168.90.40 sip%3Abob@192.168.90.40 => /xcap-root/resource-lists/users/sip:bob@192.168.90.40/index Sep 30 18:24:38 debbox kamailio[2748]: ERROR: <script>: ===== xhttp: pres-rules : sip:bob@192.168.90.40 sip%3Abob@192.168.90.40 Sep 30 18:24:38 debbox kamailio[2748]: ERROR: <script>: ===== xhttp: get sip:bob@192.168.90.40 sip%3Abob@192.168.90.40 => /xcap-root/pres-rules/users/sip:bob@192.168.90.40/presrules Sep 30 18:24:38 debbox kamailio[2750]: ERROR: <script>: ===== xhttp: pres-rules : sip:bob@192.168.90.40 sip%3Abob@192.168.90.40 Sep 30 18:24:38 debbox kamailio[2750]: ERROR: <script>: ===== xhttp put: refreshing watchers for sip:bob@192.168.90.40 sip%3Abob@192.168.90.40
Note: It does have issues. when a user deletes a buddy. The buddy is still seen at the other end with the status(online/away/offline). And when ever "He" sends in a text msg. "He" gets automatically added in the buddy list without prompt or anything in the user (who deleted him in the first place). Im guessing this has something to do with the ALPHA versions client as well. But thats just a guess.
On Wed, Sep 29, 2010 at 10:46 AM, Daniel-Constantin Mierla < miconda@gmail.com> wrote:
Hello,
I was writing and just published a complete tutorial about this topic (sent an email few minutes ago), see the docs at: http://bit.ly/btrJij
Let me know if works for you. Whenever you have a problem, try to be very descriptive with what does not work. Also, gather message logs and SIP traces.
Cheers, Daniel
On 9/29/10 3:55 PM, X- x -X wrote:
Hi Daniel,
Im a kamailio 3.1 (testing noobie)
Im trying to setup a simple buddy list supporting presence server. (I gather xcap is the way to go)
The simple presence thingy works nicely & instantly (thanks to those #!defines )
But I haven't been able to get this configuration going
http://sip-router.org/docbook/sip-router/branch/master/modules_k/xcap_server...
I mean loading the modules & setting the modparams is a snap but this routing logic always gets to me. (i.e. those filing off .......... lines in the the routing logic section. Did I mention I was a noobie especially of routing logic section ?)
Anyway you have also added this declarative #!ifdef WITH_XHTTPAUTH with in that section, where as its missing in the top section of the kamailio.cfg file.
Pasting just about anywhere (or in the end before the } doesn't work for me. Could u be kind enough to elaborate a little more on that or come up with a fuller kamailo.cfg sample file.
Thanx & Regards
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlahttp://www.asipto.com
Hello,
On 9/30/10 2:54 PM, X- x -X wrote:
Hi Daniel.
Thanks. It works like a charm. Very expressive tutorial.
but just looking at the logs I see stuff like this which is erroring. doesnt crash the server or stuff just some error
Tested with "sip-communicator-1.0-alpha6-nightly.build.2976-linux.bin" And the specs/conf on that tutorial website copies around 11:00 GMT (in case u have any change after that).
debbox:/usr/local/etc/kamailio# tailf /var/log/syslog Sep 30 18:24:38 debbox kamailio[2744]: ERROR: <script>: ===== xhttp: xcap-caps : <null> Sep 30 18:24:38 debbox kamailio[2746]: ERROR: <script>: ===== xhttp: resource-lists : sip:bob@192.168.90.40 mailto:sip%3Abob@192.168.90.40 Sep 30 18:24:38 debbox kamailio[2746]: ERROR: <script>: ===== xhttp: get sip:bob@192.168.90.40 mailto:sip%3Abob@192.168.90.40 => /xcap-root/resource-lists/users/sip:bob@192.168.90.40/index http://sip:bob@192.168.90.40/index Sep 30 18:24:38 debbox kamailio[2748]: ERROR: <script>: ===== xhttp: pres-rules : sip:bob@192.168.90.40 mailto:sip%3Abob@192.168.90.40 Sep 30 18:24:38 debbox kamailio[2748]: ERROR: <script>: ===== xhttp: get sip:bob@192.168.90.40 mailto:sip%3Abob@192.168.90.40 => /xcap-root/pres-rules/users/sip:bob@192.168.90.40/presrules http://sip:bob@192.168.90.40/presrules Sep 30 18:24:38 debbox kamailio[2750]: ERROR: <script>: ===== xhttp: pres-rules : sip:bob@192.168.90.40 mailto:sip%3Abob@192.168.90.40 Sep 30 18:24:38 debbox kamailio[2750]: ERROR: <script>: ===== xhttp put: refreshing watchers for sip:bob@192.168.90.40 mailto:sip%3Abob@192.168.90.40
all these are from configuration file. You can simple comment or remove them. I added them there for debugging purposes. Look into event_route[xhttp:request] and remove xlog() calls. ERROR prefix is automatically added because the message is sent to L_ERR log level.
Note: It does have issues. when a user deletes a buddy. The buddy is still seen at the other end with the status(online/away/offline).
Inaki spotted and the config was updated meanwhile, check again the tutorial.
And when ever "He" sends in a text msg. "He" gets automatically added in the buddy list without prompt or anything in the user (who deleted him in the first place). Im guessing this has something to do with the ALPHA versions client as well. But thats just a guess.
SC and xcap support is in an early stage as well, I mentioned in the tutorials some things, like auto-adding accept rule for an watcher when you subscribe to it (you become watcher for your watcher). I am waiting for a bug to be fixed in bria 3.1 for more tests -- unfortunately there are no many good and trustable sip clients with simple&xcap support out there that can be used for testing.
Cheers, Daniel
On Wed, Sep 29, 2010 at 10:46 AM, Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> wrote:
Hello, I was writing and just published a complete tutorial about this topic (sent an email few minutes ago), see the docs at: http://bit.ly/btrJij Let me know if works for you. Whenever you have a problem, try to be very descriptive with what does not work. Also, gather message logs and SIP traces. Cheers, Daniel On 9/29/10 3:55 PM, X- x -X wrote:
Hi Daniel, Im a kamailio 3.1 (testing noobie) Im trying to setup a simple buddy list supporting presence server. (I gather xcap is the way to go) The simple presence thingy works nicely & instantly (thanks to those #!defines ) But I haven't been able to get this configuration going http://sip-router.org/docbook/sip-router/branch/master/modules_k/xcap_server/xcap_server.html#id2525604 I mean loading the modules & setting the modparams is a snap but this routing logic always gets to me. (i.e. those filing off .......... lines in the the routing logic section. Did I mention I was a noobie especially of routing logic section ?) Anyway you have also added this declarative #!ifdef WITH_XHTTPAUTH with in that section, where as its missing in the top section of the kamailio.cfg file. Pasting just about anywhere (or in the end before the } doesn't work for me. Could u be kind enough to elaborate a little more on that or come up with a fuller kamailo.cfg sample file. Thanx & Regards -- _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://www.asipto.com
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
Daniel-Constantin Mierla writes:
SC and xcap support is in an early stage as well, I mentioned in the tutorials some things, like auto-adding accept rule for an watcher when you subscribe to it (you become watcher for your watcher). I am waiting for a bug to be fixed in bria 3.1 for more tests -- unfortunately there are no many good and trustable sip clients with simple&xcap support out there that can be used for testing.
daniel,
if you find somewhere a nokia mobile phone, it should include support for both. i don't know how trustable it is though, but has worked in my tests.
-- juha
On 9/30/10 3:27 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
SC and xcap support is in an early stage as well, I mentioned in the tutorials some things, like auto-adding accept rule for an watcher when you subscribe to it (you become watcher for your watcher). I am waiting for a bug to be fixed in bria 3.1 for more tests -- unfortunately there are no many good and trustable sip clients with simple&xcap support out there that can be used for testing.
daniel,
if you find somewhere a nokia mobile phone, it should include support for both. i don't know how trustable it is though, but has worked in my tests.
what are the models for these nokia phones? I have some with sip client inside, but they might be old -- i haven't seen any xcap settings there.
Cheers, Daniel
Daniel-Constantin Mierla writes:
what are the models for these nokia phones? I have some with sip client inside, but they might be old -- i haven't seen any xcap settings there.
daniel,
the phone should have VoIP Release 3.0 or later:
http://www.forum.nokia.com/info/sw.nokia.com/id/e8606b12-0c65-45d3-88a3-3b5e...
i don't know, which models have this software. i have tested with E75 that is about one year old. below find some instructions that i have written.
-- juha
-----------------------------------------------------------------------------
Nokia E75 SIP Configuration (VoIP Release 3.0)
Preliminary instructions Send comments to jh@tutpro.com
1) Install "Advanced VoIP settings" tool from page
http://www.forum.nokia.com/info/sw.nokia.com/id/d476061e-90ca-42e9-b3ea-1a85...
2) Menu -> Control panel -> Net settings -> Advanced VoIP settings -> Create new service -> Create new SIP profile
Username john.wayne@tutpro.com Password top_secret Would you like to create presence settings? Yes Type your XDM service provider address http://xcap.tutpro.com:8080/xcap-root@tutpro.com/ Don't activate service yet.
3) Menu -> Control panel -> Net settings -> Advanced VoIP settings -> VoIP services -> tutpro.com -> Profile settings
AWCDMA On Voicemail settings ID tutpro.com Voicemailbox preferred ... A WLAN or GPRS internet access point Voicemailbox resubscri ... 1800 Voicemailbox address john.wayne@vm.tutpro.com Voicemailbox listen address john.wayne@vm.tutpro.com Minimum value for session interval 600
4) Menu -> Control panel -> Net settings -> Advanced VoIP settings -> VoIP services -> tutpro.com -> Codecs
Select iLBC and move it to 1st position Select G729 and move it to 4th position
5) Menu -> Control panel -> Net settings -> Advanced VoIP settings -> SIP settings -> tutpro.com
Default destination Internet Proxy server Proxy server address sip.tutpro.com Realm tutpro.com Username john.wayne Password top_secret Registrar server Registrar server address tutpro.com Realm tutpro.com Username john.wayne Password top_secret
6) Menu -> Control panel -> Net settings -> Advanced VoIP settings -> NAT firewall settings -> Domain parameters -> Create parameters -> tutpro.com CRLF refresh On
7) Menu -> Control panel -> Net settings -> Advanced VoIP settings -> Presence settings -> Tutpro.com Publishing interval 900
8) Menu -> Control panel -> Net settings -> Advanced VoIP settings -> XDM settings -> Tutpro.com Access point A WLAN or GPRS internet access point
9) Menu -> Control panel -> Net settings -> TutPro settings
Default service Yes Service connectivity Select Internet Availability request Accept automatically
Use by selecting and activating tutpro.com from Contacts.
On 9/30/10 5:13 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
what are the models for these nokia phones? I have some with sip client inside, but they might be old -- i haven't seen any xcap settings there.
daniel,
the phone should have VoIP Release 3.0 or later:
http://www.forum.nokia.com/info/sw.nokia.com/id/e8606b12-0c65-45d3-88a3-3b5e...
i don't know, which models have this software. i have tested with E75 that is about one year old. below find some instructions that i have written.
thanks for sharing the tutorial. I don't have E75, but I will check for my models.
Meanwhile, if you have a chance to test, let me know if there are issues.
Cheers, Daniel
Hey Daniel, I tested the with sip-communicator-1.0-alpha6-nightly.build.2979-linux.binhttp://distro.ciit.net.pk/miscellaneous/sip-communicator-1.0-alpha6-nightly.build.2979-linux.bin . The thing about contact still being in the buddy list still holds. (I.e the status of the person (Alice) online/offline still shows in contact list of bob even after the person (alice) has deleted him(Bob)). But this time when the person who was deleted (bob), when he logs out & logs back in. Only then the other person(alice) is alway seen offline to him.
And even then Bob can call/msg alice even if alice is seen offline in the buddy list of bob. And if Alice is online (without bob in her list), she still receives boobs msg/call.
Thought I should report that. Not sure if it has anything to do with OM specifications.
Cheers ---
On Thu, Sep 30, 2010 at 11:40 AM, Daniel-Constantin Mierla < miconda@gmail.com> wrote:
On 9/30/10 5:13 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
what are the models for these nokia phones? I have some with sip client
inside, but they might be old -- i haven't seen any xcap settings there.
daniel,
the phone should have VoIP Release 3.0 or later:
http://www.forum.nokia.com/info/sw.nokia.com/id/e8606b12-0c65-45d3-88a3-3b5e...
i don't know, which models have this software. i have tested with E75 that is about one year old. below find some instructions that i have written.
thanks for sharing the tutorial. I don't have E75, but I will check for my models.
Meanwhile, if you have a chance to test, let me know if there are issues.
Cheers, Daniel
-- Daniel-Constantin Mierla http://www.asipto.com
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
Hello,
to be sure you have last version, have you updated kamailio config like in the wiki as well, or only sip communicator?
Cheers, Daniel
On 10/1/10 3:00 PM, X- x -X wrote:
Hey Daniel, I tested the with sip-communicator-1.0-alpha6-nightly.build.2979-linux.bin http://distro.ciit.net.pk/miscellaneous/sip-communicator-1.0-alpha6-nightly.build.2979-linux.bin . The thing about contact still being in the buddy list still holds. (I.e the status of the person (Alice) online/offline still shows in contact list of bob even after the person (alice) has deleted him(Bob)). But this time when the person who was deleted (bob), when he logs out & logs back in. Only then the other person(alice) is alway seen offline to him.
And even then Bob can call/msg alice even if alice is seen offline in the buddy list of bob. And if Alice is online (without bob in her list), she still receives boobs msg/call.
Thought I should report that. Not sure if it has anything to do with OM specifications.
Cheers
On Thu, Sep 30, 2010 at 11:40 AM, Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> wrote:
On 9/30/10 5:13 PM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: what are the models for these nokia phones? I have some with sip client inside, but they might be old -- i haven't seen any xcap settings there. daniel, the phone should have VoIP Release 3.0 or later: http://www.forum.nokia.com/info/sw.nokia.com/id/e8606b12-0c65-45d3-88a3-3b5e1519ef17/Nokia_VoIP_Release_3_0_FAQ_v1_0_en.pdf.html i don't know, which models have this software. i have tested with E75 that is about one year old. below find some instructions that i have written. thanks for sharing the tutorial. I don't have E75, but I will check for my models. Meanwhile, if you have a chance to test, let me know if there are issues. Cheers, Daniel -- Daniel-Constantin Mierla http://www.asipto.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
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