Re: [SR-Users] MSILO - dumped messages get duplicated
Sorry to hijack this thread, but I was trying to follow along (Kamailio 4.1.4) and everything seems OK except that when the offline user registers and msilo attempts to deliver his messages, I get this no corresponding socket for af 2 error and the messages remain in the db. I have TLS enabled in kamailio.cfg (listen=tls:79.xx.xx.xx:5061 listen=tcp: 127.0.0.1:5060), and calls work fine. The only issue I can see is with msilo dumping the messages when the user signs in. Any clue as to why it's not able to find the socket? Thanks, Peter Jul 6 18:40:06 pbx /usr/sbin/kamailio[20634]: NOTICE: script: -MESSAGE PROCESSING: dumping offline messages Jul 6 18:40:09 pbx /usr/sbin/kamailio[20635]: ERROR: tm [ut.h:343]: uri2dst2(): no corresponding socket for af 2 Jul 6 18:40:09 pbx /usr/sbin/kamailio[20635]: ERROR: tm [uac.c:266]: t_uac_prepare(): t_uac: no socket found Jul 6 18:40:09 pbx /usr/sbin/kamailio[20635]: ERROR: tm [ut.h:343]: uri2dst2(): no corresponding socket for af 2 Jul 6 18:40:09 pbx /usr/sbin/kamailio[20635]: ERROR: tm [uac.c:266]: t_uac_prepare(): t_uac: no socket found On Wed, Jun 18, 2014 at 11:38 AM, Marc M. proy...@hotmail.com wrote: Hi Daniel! I applied now the source ip check and it is working! Thanks a lot! regards Marc -- From: proy...@hotmail.com To: sr-users@lists.sip-router.org Date: Tue, 3 Jun 2014 21:38:32 + Subject: [SR-Users] MSILO - dumped messages get duplicated Hi, I have a Kamailio 3.2 setup up and running. Recently I configured msilo for offline message store. Essentialy the setup runs fine. Messages to users without location info getting stored. In case the user has location info, but cannot be reached, I made failover_route, so the messages getting stored in this case too. Messages getting dumped at the next REGISTER. However, I have a group of new mobile clients, with unstable connection. It happens many times that they send a REGISTER, but the connection brakes afterwards. It this case the message is getting dumped, but since it cannot be delivered, it runs on the failover_route which stores the message again. However, the previous message is not removed from the db, so the same message is now twice in the db. Next time the message either gets delivered in double, or in case of a new failure, it gets stored 2x2= four times. I need to avoid this duplicates but still make sure the message get delivered sooner or later. Any help is highly appreciated. Here is my routing table: thanks Marc ___ 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 ___ 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 ___ 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
[SR-Users] Extract value from a function
I came across this function of registrar module reg_fetch_contacts (domain, uri, profile) How can I log domain of a user using this function ?? Need help in syntax. Thanking in advance. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Extract-value-from-a-function-tp128845.html Sent from the Users mailing list archive at Nabble.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
Re: [SR-Users] UAC remote registration - refreshing database
Hello, I don't remember the often discussions on this topic, but is such cases a issue has to be opened on the tracker for a feature request, to be sure it is not lost in mailing list. If I don't forget about, I will add it when I get a chance. Cheers, Daniel On 04/07/14 12:22, Dan Christian Bogos wrote: Hey Daniel, I totally agree on improving versus adding new module. The only thing which made me going towards porting was not knowing how easy would be enhancing vs porting something which is implemented. Also the fact that Alexa has mentioned it as an often requested feature made me think that it could take a while until someone would be able to do it in the existing module. Anyway, thanks for your input! DanB PS: Ovidiu, I appreciate your feedback as well. Good to know that you are around ;). ___ 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 - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ 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
Re: [SR-Users] Extract value from a function
Hello, the readme of registrar module has an example of using reg_fetch_contacts() and how to access the attributes of a location record: - http://kamailio.org/docs/modules/stable/modules/registrar.html#idp2033696 Cheers, Daniel On 07/07/14 06:42, aawaise wrote: I came across this function of registrar module reg_fetch_contacts (domain, uri, profile) How can I log domain of a user using this function ?? Need help in syntax. Thanking in advance. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Extract-value-from-a-function-tp128845.html Sent from the Users mailing list archive at Nabble.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 - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ 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
Re: [SR-Users] Kamailio, CPL, SIP CGI and alternatives.
Hello, On 05/07/14 10:05, LAA wrote: Hi all, I'm looking for a mechanism to let users personalize the behaviour of their profile, uploading configuration changes to Kamailio. For example voice mail redirecion, time-based routing, etc. I'm testing CPL scripts (cpl-c module with Kamailio 4.1.3), but I have problems with the behaviour of some features. reject and redirect seem to be working fine, but proxy is not working. can you give the log messages from syslog when using proxy with cpl script and you have debug=3 in kamailio.cfg? Cheers, Daniel ¿Has anybody experienced the same problems? I could hardly find any post regarding CPL scripting with Kamailio. What are the most commonly used alternatives for this purpose with Kamailio? ¿SIP CGI? ¿any other? Best regards. Luis. ___ 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 - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ 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
Re: [SR-Users] kamailio server over internet
Hello, if your server is running behind a nat router, then you have to advertise the public address: See more at: - http://www.kamailio.org/wiki/cookbooks/4.1.x/core#listen If the internal clients are connecting to the same socket and they cannot rich the server via external IP, then you have to advertise manually in config with set advertised address (see the function at the same link I gave above). It might be more simple to have internal clients using a different socket than externals (e.g., can be a different port). Cheers, Daniel On 03/07/14 10:50, Gaurav Chaudhary wrote: sir , i have set-up a kamailio server on a machine , every thing is in default configuration. but the issue is only local clients are able to register. i have forwarded the port 5060 correctly but the clients from some other network over the internet are not able register every request just got time out at the client side. do i nee to enable some specific setting to make it happen. ___ 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 - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ 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