Re: [SR-Users] MSILO module not delivering messages

2014-10-21 Thread aawaise
I have seen and found that I haven't used "m_dump()" functionality. It is required for getting offline messages on client. Now I want to know where to use it ? Should it be added in registrar module or somewhere else ?? -- View this message in context: http://sip-router.1086192.n5.nabble.com/MS

[SR-Users] MSILO module not delivering messages

2014-10-21 Thread aawaise
I have tried to add msilo module to my kamailio.cfg using the link http://sip-router.1086192.n5.nabble.com/Msilo-not-delivering-message-status-408-td128964.html#a129065 Problem is that messages from a user are received on the server. And they can be seen using siremis. But they are not forwarded w

Re: [SR-Users] Handle "MESSAGE" packet

2014-10-21 Thread aawaise
Using snippets on internet at link http://sip-router.1086192.n5.nabble.com/Msilo-not-delivering-message-status-408-td128964.html#a129065 I have tried to add msilo module to my kamailio.cfg. Problem is that messages from a user are received on the server. And they can be seen using siremis. But the

Re: [SR-Users] Handle "MESSAGE" packet

2014-10-16 Thread aawaise
How can I add and configure MSILO module in already configured kamailio-3.1 server ?? Will a reinstallation be required or MSILO can be added directly ?? Please guide about addition procedure. Thanks -- View this message in context: http://sip-router.1086192.n5.nabble.com/Handle-MESSAGE-packet-

[SR-Users] Handle "MESSAGE" packet

2014-10-15 Thread aawaise
I want to know how kamailio server handles incoming MESSAGE packets of SIP format ? If a sender sends a MESSAGE packet for receiver, and receiver is offline, how will server handle the packet. Can it hold the packet until the receiver is online and then deliver to receiver ?? -- View this messag

[SR-Users] Presence Module Installation without reinstalling Kamailiio

2014-10-12 Thread aawaise
I am using kamailio server. I want to add xcap server for presence module usage without reinstalling kamailio server. How can it be done. Regards, Aawaise. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Presence-Module-Installation-without-reinstalling-Kamailiio

[SR-Users] Presence Module Installation Error

2014-10-12 Thread aawaise
. It gives error while running "make all" command. But when kamailio is installed without addition of presence module with "include modules = tls mysql db_mysql", it installs fine. I tried using kamailio-4.1.0, it gives an error on inclusion of presence module. Any help will be high

[SR-Users] Kamailio server crashing

2014-09-25 Thread aawaise
". I am facing this problem for quite some time now. Any solution to this will be very helpful. Regards, Aawaise. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-server-crashing-tp130923.html Sent from the Users mailing list a

Re: [SR-Users] Print callee domain in logs

2014-09-17 Thread aawaise
How can we extract domain from the subscriber table to logs ?? Its beyond my control at the moment to shift to kamailio-4.1. So have to persist with kamailio-3.1 ? -- View this message in context: http://sip-router.1086192.n5.nabble.com/Print-callee-domain-in-logs-tp130597p130733.html Sent fro

[SR-Users] Difference between modules_k and modules_s

2014-09-15 Thread aawaise
. Regards, Aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Difference-between-modules-k-and-modules-s-tp130651.html Sent from the Users mailing list archive at Nabble.com. ___ SIP Express Router (SER) and Kamailio (OpenSER

Re: [SR-Users] Print callee domain in logs

2014-09-15 Thread aawaise
What if in INVITE packet, callee's domain is domain1. For example user1@domain1 > calls > user2@domain1 but user2 is registered with domain2. its aor is user2@domain2 in location table. Now I want to somehow route my Invite packet to domain2. How is it possible ?? -- View this m

[SR-Users] Extract domain of a user from location list table

2014-09-13 Thread aawaise
I went through usrloc page on kamailio site. Link given below. http://www.kamailio.org/docs/modules/3.1.x/modules_s/usrloc.html It states that the module keeps a user location table and provides access to the table to other modules. The module exports no functions that could be used directly fro

[SR-Users] Print callee domain in logs

2014-09-13 Thread aawaise
Hello, I have multidomain scenario with parameters (both domains (servers) using common database): modparam("usrloc", "use_domain", 1); and modparam("domain", "db_mode", 1). I want to know using domain and usrloc what kind of tweaking is possibe ?? Secondly, I wanto to print domain of callee in

[SR-Users] Location of Encryption Algorithm in TLS Module

2014-09-09 Thread aawaise
question arises because I want to customize AES algorithm ?? Can it be done in TLS module or not ?? Regards, Aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Location-of-Encryption-Algorithm-in-TLS-Module-tp130442.html Sent from the Users mailing list archive at

Re: [SR-Users] Call connection from one server to another

2014-09-08 Thread aawaise
How can we avoid sharing of location table ? Because both are using same database and siremis on both servers will be attached to common database ? How can a call be forwarded in kamailio on checking that user is available locally or not ?? I need some help with code in this regard. -- View this

[SR-Users] Call connection from one server to another

2014-09-07 Thread aawaise
to server 2). I am using same domain name for two servers. What can be done in kamailio to solve this issue ?? Regards, aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Call-connection-from-one-server-to-another-tp130318.html Sent from the Users mailing list

[SR-Users] Show domain name of particular online user in logs

2014-08-16 Thread aawaise
Hello, I want to show the domain name of a callee (by which it is registered to the domain at the time of incoming invite packet) in the logs. I have tried adding a few lines to usrloc module. But didnot work. I am using LM_DBG command to show the domain name in the logs. How can I add some variabl

[SR-Users] LM_ERR and LM_DBG

2014-08-04 Thread aawaise
I want to ask some queries regarding logging in kamailio. 1. First of all if I want to add LM_DBG or LM_ERR in lookup.c file of registrar module, where to add the command as on extraction of kamailio-3.1.1.zip, I found registrar module files in modules_k folder as well as modules_s folder. 2. I wa

Re: [SR-Users] See XDBG and XERR Messages in Logs

2014-08-03 Thread aawaise
Can you please explain how to use macros from dprint.h ?? I have entered xlog and xdbg commands in lookup.c file of registrar module h. So when lookup function is used on arrival of invite packet, lookup is called. -- View this message in context: http://sip-router.1086192.n5.nabble.com/See-X

[SR-Users] See XDBG and XERR Messages in Logs

2014-07-27 Thread aawaise
I have added some XLOG and XDBG commands in registrar module of kamailio. I want to see messages in result of these commands being printed in logs to make sure that changes are being made surely. How can it be done ? I am using fedora and I see kamailio related logs in /var/log/messages.log -- V

[SR-Users] What is q-value ??

2014-07-08 Thread aawaise
There is a mention of highest "q value" in documentation of registrar module's function "lookup(domain [, uri])". Can some one please explain what this "q value" is ?? It is used in 4.2 section of following link. http://kamailio.org/docs/modules/stable/modules/registrar.html#idp1976344 Any help wi

[SR-Users] Using 'reg_fetch_contacts' in Kamailio-3.1.1

2014-07-08 Thread aawaise
I want to extract domain of a user from Location List For this I found "reg_fetch_contacts(table, uri, profile)" function to be the most suitable function. I want to know when was it added to registrar module ? Can it be used in kamailio version 3.1.1 ? Or I should update my kamailio version ?? Tha

[SR-Users] Access the attributes of a location record

2014-07-08 Thread aawaise
I want to extract domain attribute of a user from Location Table. I have gone through the readme of registrar module, that has an example of using reg_fetch_contacts() and how to access the attributes of a location record ? But I get the callee domain = NULL when I log using command xlog("callee=>d

[SR-Users] Re-Compiling and Re-Installing kamailio server

2014-07-07 Thread aawaise
I am trying to make changes in code and recompile kamailio server project. Problem is when I try the following command make PREFIX='/usr/local/kamailio-3.1/' FLAVOUR=kamailio.cfg I get the message; 'kamailio' is up to date. I want to know, how to make my machine forget about the older installati

[SR-Users] Extract value from a function

2014-07-06 Thread aawaise
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-tp1288

[SR-Users] Changes in registrar module source code

2014-06-30 Thread aawaise
Hello, I am a user of kamailio server. I am in need to pick domain of particular online users from location list. I found out that usrloc module is used for Location Table items. And we cant directly export parameters from usrloc module. I decided to use registrar module to approach domain paramete

[SR-Users] How to extract information from location table

2014-06-26 Thread aawaise
I want to know is there any indirect method to extract information from location table that is kept by Usrloc module ?? I want to know about the username and domain name of users from Location Table on arrival of INVITE packet. How can it be done ? -- View this message in context: http://sip-ro

[SR-Users] route [Location] Documentation

2014-06-26 Thread aawaise
I want to know that how route [Location] works when an INVITE packet approaches kamailio server. Basically route [Location] gathers information whether callee is a valid user or not. Secondly if it is online or not. I want to understand this whole procedure. Any help will be appreciated. Thanks.

[SR-Users] Processing of Invite Packet

2014-06-26 Thread aawaise
When an invite packet is recieved by kamailio server, what processing is done on it ? Which modules and functions are called in its processing and in which sequence ? Thanking in advance. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Processing-of-Invite-Packet-tp1286

[SR-Users] Syntax help in comparison of values of variables

2014-06-26 Thread aawaise
I need some help regarding syntax. Can we put some comparisons on the values of these variables like if ("$ru"=="$fu") {xlog("both are same")}; If this is not the way then what is the way to do so ?? -- View this message in context: http://sip-router.1086192.n5.nabble.com/Syntax-help-in

Re: [SR-Users] Extract information from invite packet

2014-06-26 Thread aawaise
Thanks. I need some more help. Can we put some comparisons on the values of these variables like if ("$ru"=="$fu") {xlog("both are same")}; If this is not the way then what is the way to do so ?? -- View this message in context: http://sip-router.1086192.n5.nabble.com/Extract-information-

[SR-Users] Extract information from invite packet

2014-06-25 Thread aawaise
I want to log some information of callee from incoming invite packet. how can it be done. I want to get it logged in /var/log/messages. Any help will be appreciated. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Extract-information-from-invite-packet-tp128649.html Se

[SR-Users] Usrloc module issue

2014-05-15 Thread aawaise
I went through usrloc page on kamailio site. Link given below. http://www.kamailio.org/docs/modules/3.1.x/modules_s/usrloc.html It states that the module keeps a user location table and provides access to the table to other modules. The module exports no functions that could be used directly fro

[SR-Users] Domain Name of an online user from Location List

2014-05-15 Thread aawaise
How can I pick domain name of an online user from Location List ? Which pseudo variable is to be used ?? I want to get the value of domain name and get it printed in logs. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Domain-Name-of-an-online-user-from-Location-List-t

Re: [SR-Users] Issue in Multi Domain Environment

2014-05-13 Thread aawaise
I have tried extracting the value of $rd right at start of main route function i.e route() Still I am getting domain name from the INVITE packet. I have added this code as I want this check to execute at every incoming INVITE. if(is_method("INVITE")) { xlog("$rd"); xlog("$ru"); } And I am check

[SR-Users] Issue in Multi Domain Environment

2014-05-13 Thread aawaise
n multidomain setup, they both can be different). I have also tried "$td", they also pick domain name from INVITE packet header. I want to print (i.e xlog) value of domain from the LOCATION TABLE. And it is bothering for quite a few days now. Any help will be much appreciated. Thanks. Regar

Re: [SR-Users] SIP over TLS

2014-05-05 Thread aawaise
Sir, uri scheme acceptable to my server is SIPS. I want it to accept connection with uri scheme SIP. For that what changing is required in kamailio server ? -- View this message in context: http://sip-router.1086192.n5.nabble.com/SIP-over-TLS-tp127469p127472.html Sent from the Users mailing lis

Re: [SR-Users] SIP over TLS

2014-05-05 Thread aawaise
I said this because my server is accepting connections with SIPS over TLS settings on client. But not accepting connections with SIP over TLS. -- View this message in context: http://sip-router.1086192.n5.nabble.com/SIP-over-TLS-tp127469p127471.html Sent from the Users mailing list archive at N

[SR-Users] SIP over TLS

2014-05-05 Thread aawaise
Hello, I am running a kamailio server with SIPS over TLS. Now I have to connect an android based SIP client to server. The SIP client has no support for SIPS over TLS. But it can run SIP over TLS. First I want to know the difference between the two ?? Secondly how can I make my server accept SIP

Re: [SR-Users] Active Users in Kamailio

2014-05-04 Thread aawaise
U can install siremis and check out who has logged in by seeing location table. U will find online help about siremis. Second option is that u can use command "./kamctl online users" to find out about logged in users. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Port

[SR-Users] Port 5061 problem

2014-05-04 Thread aawaise
ng TCP port of TLS Socket MyIP:5061 I tried the command " netstat -lntp | grep 5061 " to see what service or app is using the port 5061. I found no result. It is not used by any application apparently. Any help will be highly appreciated. Thanks. Aawaise -- View this message in

Re: [SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-29 Thread aawaise
I have two servers with kamailio-3.1.1 working perfectly on them. Both have independent public IP's and domain names. BUT both are connected to SAME database at backend i.e both using same database. NOW during registeration process, my "client A" can connect to any of two servers. Lets say it is co

Re: [SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-29 Thread aawaise
But $td picks domain name from the TO header. I want to pick domain name from Location Table. Domain name in TO header and Location Table are different in multi domain scenario. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Name-of-pseudo-variable-by-which-domain-name

Re: [SR-Users] Drouting

2014-04-28 Thread aawaise
Hello, I want to decide route for incoming "INVITE" packet on basis of "Domain" entry in Location Table, i.e domain part of the user, used for identifing the user (along with the username part). Useful in multi domain scenarios, which is defined by modparam("usrloc", "use_domain", 1) As far as I

Re: [SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-28 Thread aawaise
I have set the domain name (which I am looking for) using the example given in link below. Now I want to print the domain name in logs using xlog http://kamailio.org/docs/modules/3.1.x/modules_k/usrloc.html#id2995652 Here is the exact text from the above link. 3.16. use_domain (integer) If

[SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-28 Thread aawaise
kamailio server and hence another domain name. How can I pick domain name by which its logged in Thanks. Regards, Aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Name-of-pseudo-variable-by-which-domain-name-is-saved-in-Location-List-tp127324.html Sent from the Users

Re: [SR-Users] Kamailio in TLS and Non-TLS mode

2014-04-28 Thread aawaise
All certificates and keys have been made and updated. Can we make kamailio server to listen to two ports, i.e 5061 and 5062 simultaneously ?? Like in a scenario where some users connect to 5061 and some at 5062. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-i

[SR-Users] Kamailio in TLS and Non-TLS mode

2014-04-24 Thread aawaise
Hello all, I want to know that is it possible to connect clients to kamailio server in TLS and Non-TLS mode simultaneously ?? I believe I will have to add both ports (for TLS and Non-TLS ) in kamailio.cfg. Besides that what will be required if its possible ? Thanks, Regards, Aawaise -- View

[SR-Users] Difference between route(RELAY) and t_relay

2014-04-23 Thread aawaise
Hi all, I want to know while coding kamailio.cfg. What factor determines that route(RELAY) should be used or t_relay ?? Thanks. Cheers. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Difference-between-route-RELAY-and-t-relay-tp127098.html Sent from the Users mailin

[SR-Users] Processing on Invite Packet

2014-04-23 Thread aawaise
Hello, On arrival of INVITE packet to the Kamailio server, which module is used to take in response to Invite packet. Other than record_route, which records the route. And what to do if we want to add some actions in response to INVITE packet. Cheers. -- View this message in context: http://s

[SR-Users] Pick domain name of a user from location list of siremis

2014-04-23 Thread aawaise
appreciated. Thanks, Regards, Aawaise. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Pick-domain-name-of-a-user-from-location-list-of-siremis-tp127058.html Sent from the Users mailing list archive at Nabble.com. ___ SIP Express

[SR-Users] Pick Domain name from Location Table

2014-04-21 Thread aawaise
I get from "Domain" of "Location Table". Need help regarding changes in kamailio.cfg for this. Any help will be highly appreciated. Thanks, Regards, Aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Pick-Domain-name-from-Location-Tabl

[SR-Users] Editings in kamailio.cfg for routing decision

2014-04-17 Thread aawaise
l be highly appreciated. Thanks, Regards, Aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Editings-in-kamailio-cfg-for-routing-decision-tp126917.html Sent from the Users mailing list archive at Nabble.com. ___ SIP Express

[SR-Users] Basic question regarding Routing

2014-04-17 Thread aawaise
led. Which pseudo variable will be used to catch value of called user i.e user 2 and his domain ?? I want to pick domain name from location table in database and not from the authorization module. Thanks, Cheers, Aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Basi

Re: [SR-Users] Routing decision based on domain entry in Location Table

2014-04-17 Thread aawaise
user from location table ?? This is required to know the domain of called user. Thnaks, Cheers, Aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Routing-decision-based-on-domain-entry-in-Location-Table-tp126824p126891.html Sent from the Users mailing list archive at

Re: [SR-Users] Routing decision based on domain entry in Location Table

2014-04-16 Thread aawaise
database that the callee user is on other server and then make a decision on this base about call routing. I need some coding hints, how can it be achieved. Using which module or logic etc... Cheers, Aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Routing-decision

[SR-Users] Routing decision based on domain entry in Location Table

2014-04-15 Thread aawaise
ver, the call should be routed to user directly. In other case if the user is connected to other server, the call should be forwarded to other user for further processing. Will someone please guide me how can this be achieved ?? P.S : I am using kamailio-3.1.1. Thanks, Regards, Aawaise. --

[SR-Users] Exported params of USRLOC module

2014-04-09 Thread aawaise
ntact, received and other columns are filled but not domain name :( Shall I dig deep into usrloc module or I need to follow some other path to resolve this issue ?? Thanks, Regards, Aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Exported-params-of-USRLOC-module-tp1

Re: [SR-Users] Show Domain-Name in Siremis

2014-04-09 Thread aawaise
Another thing I noted is that in usrloc module other parameters of Location List page like Received, CallId, CSeq, Las Modified, Flags, User Agent etc are not defined in kamailio.cfg. Yet they are showing concerned values. How are they showing values ?? Regards, Aawaise. -- View this message

Re: [SR-Users] Show Domain-Name in Siremis

2014-04-08 Thread aawaise
usrloc means setting it to "domain name" instead of "MULTIDOMAIN" ?? I tried but it didn't work for me. Please help. Regards, Aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Show-Domain-Name-in-Siremis-tp126602p1

Re: [SR-Users] Show Domain-Name in Siremis

2014-04-08 Thread aawaise
I am looking at the "LOCATION LIST" under "SER MONITOR MENU". I am looking at the online users. The user's IP adress can been seen the table infront of "Contact" but there is nothing present infront of "Domain". -- View this message in context: http://sip-router.1086192.n5.nabble.com/Show-Domai

[SR-Users] Show Domain-Name in Siremis

2014-04-07 Thread aawaise
;s.IP How can I show domain name in siremis ?? Any help will be highly appreciated. Thanks, Regards, Aawaise. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Show-Domain-Name-in-Siremis-tp126602.html Sent from the Users mailing list archiv

[SR-Users] Show Domain Name in Siremis

2014-04-06 Thread aawaise
hows online users as "abc@HostNameOfUser" instead of "a...@defg.com". Secondly does Siremis read information from Kamailio server or directly from DB server ?? Regards, Aawaise -- View this message in context: http://sip-router.1086192.n5.nabble.com/Show-Domain-Name-in-S

[SR-Users] Softphone cant connect

2014-03-16 Thread aawaise
Hello, I have deployed a kamailio server. Now I am trying to set up a voip call between two soft phones (EyeBeam) located on local network. I am using "Outbound proxy option" on softphone. It shows "peer to peer mode enabled". Settings are shown in figure attached

Re: [SR-Users] Soft phone Issue

2014-03-14 Thread aawaise
I have tried setting the outbound proxy to 192.168.1.10. But could not connect the call. Here are the screen shots. Here is my settings. Please see if they are correct and in the second screen shot lies the screen where Eye Beam just stucks.

Re: [SR-Users] Fail Safe Environment for kamailio

2014-03-11 Thread aawaise
Hello, I have opted for SIP SRV option. Now I have a question. When I will set up the environment. In "kamailio.cfg" of both servers, I will use the command "listen = mydomainname.tk". Now DNS with SIP SRV will have one server's ip with higher priority and weight and other's ip as lower. So on ini