Hi,
I could configure Openser as RLS, and installed OpenXCAP.
I wanted to use OpenXCAP with EyeBeam Client. (version 1.5.10.2 build 33793)
OpenXCAP is giving the following error.
Invalid Document Selector
xcap-root(a)192.168.176.150/pres-rules/users/user1/presrules (the Document
Selector context must be 'users' or 'global': 'pres-rules')
Invalid Document Selector
xcap-root(a)192.168.176.150/resource-lists/users/user1/resource-list.xml (the
Document Selector context must be 'users' or 'global': 'resource-lists')
Invalid Document Selector
xcap-root(a)192.168.176.150/pres-rules/users/user1/presrules (the Document
Selector context must be 'users' or 'global': 'pres-rules')
Invalid Document Selector
xcap-root(a)192.168.176.150/resource-lists/users/user1/resource-list.xml (the
Document Selector context must be 'users' or 'global': 'resource-lists')
UE is getting 404 Error.
It seems the OpenXCAP is expecting 'users' or 'global' instead of
'resource-lists'.
Can somebody please point out, if I am missing something..?
I am attaching my Config Files along with this.
Somebody please help me...
--
Thanks & Regards,
Noble Antony Thattil.
Hello,
What are the problems in production that can be encountered if the fr_inv_timer is increased from 30-45 secs to 120 secs for a sip-sip call? Anyone have found any issues?
Thanks!
KC
---------------------------------
Unlimited freedom, unlimited storage. Get it now
Hello,
On 08/12/08 10:30, mahesh.peddi(a)info-spectrum.com wrote:
> Hi Daniel,
>
> Thanks for your prompt reply.The output of "show create
> table version" is as follows
>
> +---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
>
> | Table | Create Table |
> +---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
>
> | version | CREATE TABLE `version` (
> `table_name` varchar(32) NOT NULL,
> `table_version` int(10) unsigned NOT NULL default '0'
> ) ENGINE=MyISAM DEFAULT CHARSET=latin1 |
> +---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
>
> 1 row in set (0.03 sec)
>
> Kindly guide me on this.
the table structure is ok. Could you make sure the mysql module is
compiled again if you updated libraries or so. I was pointed that there
was a change in naming the INT type in mysql libraries -- maybe others
on the list can jump quicker here with a yes or no.
Cheers,
Daniel
>
> Thank you,
>
>
> Regards,
> Mahesh Peddi
> Infospectrum India Pvt. Ltd.
> Cell: +91 9765775176
> IP-Phone Ext. - 764
>
> ----- Original Message ----- From: "Daniel-Constantin Mierla"
> <miconda(a)gmail.com>
> To: <mahesh.peddi(a)info-spectrum.com>
> Cc: <users(a)lists.kamailio.org>
> Sent: Monday, August 11, 2008 9:41 PM
> Subject: Re: [Kamailio-Users] ERROR:presence:mod_init: 1Wrong version
> v-1 for table <presentity>, need v2
>
>
>> Hello,
>>
>> please post the output of:
>>
>> show create table version
>>
>> in the mysql client. The errors shows some issue with the column type.
>>
>> Cheers,
>> Daniel
>>
>> On 08/11/08 17:12, mahesh.peddi(a)info-spectrum.com wrote:
>>> Hi All,
>>>
>>> I am working on Openser 1.3.2 version with no_tls support.
>>> When i include
>>> "modparam("presence",
>>> "db_url","mysql://openser:openserrw@localhost/openser")"
>>>
>>> for the presence and run openserctl moni i am getting the error as
>>>
>>> ERROR: Error opening OpenSER's FIFO /tmp/openser_fifo
>>> ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name",
>>> "/tmp/openser_fifo")' in your config
>>> ERROR: and also have loaded the mi_fifo module.
>>>
>>> And the errors in /var/log/messages
>>>
>>> Aug 10 09:37:41 rhel4 openser[5530]: ERROR:core:table_version:
>>> invalid type (2) or nul (0) version columns for presentity
>>> Aug 10 09:37:41 rhel4 openser[5530]: ERROR:presence:mod_init: 1Wrong
>>> version v-1 for table <presentity>, need v2
>>> Aug 10 09:37:41 rhel4 openser[5530]: ERROR:core:init_mod: failed to
>>> initialize module presence
>>> Aug 10 09:37:41 rhel4 openser[5530]: ERROR:core:main: error while
>>> initializing modules
>>> Aug 10 09:37:41 rhel4 openser[5530]: NOTICE:presence:destroy:
>>> destroy module ...
>>> Aug 10 10:01:01 rhel4 crond(pam_unix)[5552]: session opened for user
>>> root by (uid=0)
>>> Aug 10 10:01:01 rhel4 crond(pam_unix)[5552]: session closed for user
>>> root
>>>
>>> And when i check in the data base its showing the version as
>>>
>>> mysql> select * from version where table_name="presentity" ;
>>> +------------+---------------+
>>> | table_name | table_version |
>>> +------------+---------------+
>>> | presentity | 2 |
>>> +------------+---------------+
>>> 1 row in set (0.00 sec)
>>>
>>> Please help me how to resolve this.
>>> And as mention in the forums i modify the res.c as below shows even
>>> i am facing the same error.
>>>
>>>
>>> --------------------------------------------------------------------------------Index:
>>> modules/mysql/res.c===================================================================---
>>>
>>> modules/mysql/res.c (revision 4448)+++ modules/mysql/res.c (working
>>> copy)@@ -103,7 +103,10 @@ break; default:- RES_TYPES(_r)[i] =
>>> DB_STRING;+ LM_WARN("unhandled data type column (%.*s) type id (%d),
>>> "+ "use DB_STRING as default\n", RES_NAMES(_r)[col]->len,+
>>> RES_NAMES(_r)[col]->s, fields[col].type);+ RES_TYPES(_r)[col] =
>>> DB_STRING; break; }
>>> }--------------------------------------------------------------------------------I
>>> am enclosing my "openser.cfg" and "openserctlrc"Regards,Mahesh
>>> PeddiInfospectrum India Pvt. Ltd.Cell: +91 9765775176IP-Phone Ext.
>>> - 764
>>> ------------------------------------------------------------------------
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)lists.kamailio.org
>>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>>
>>
>> --
>> Daniel-Constantin Mierla
>> http://www.asipto.com
>>
>>
>
--
Daniel-Constantin Mierla
http://www.asipto.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Klaus,
Of course I agree. It's a matter of time to know what Kamailio stand
for. I think Apache is a nicer name than Kamailio, but anyway: I agree
the name is mainly a question of personal taste and currently I don't
like that taste - nevertheless, I think the name should be changed to a
more handy one, just to round up the whole product.
And sure: The name won't stop telcos from using the Software rather that
project structure, roadmap and quality.
regards and peace
Helmut
Klaus Darilion schrieb:
| Helmut Kuper wrote:
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|> Hm,
|>
|> well, maybe I have to make it a bit more clear what I meant. Kamailio is
|> pronounceable in german, but it is not easy in terms of smoothyness -
|> like openser was or freeswitch is ...
|>
|> KAMAILIO hmmm no, not with the best will in the world: I have problems
|> with it to say it without explaining what that name points to. I think
|> it is not a good name to inspire confidence. Maybe it needs a slogan to
|> explain a bit more :D
|
| IMO this is all a matter of time. Would you think that Apache is a web
| server and Eclipse is an IDE and Asterisk is an IP PBX? Me not. But now,
| if you tell one of these names to an IT guy they know what you are
| talking about. Thus, in my opinion, we just need some trust in the
| product - I do not believe the argument that telcos will use open source
| only if the name indicates open/free/SIP.... Nobody uses a product just
| because of its name.
|
| But I have to accept that others don't like name ...:-(
|
| regards
| klaus
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkihQDkACgkQ4tZeNddg3dwrJgCdENGNK/PAid+ftRtvgUFyP9hY
ZXAAoJ5ErmBLbKuxTRvp6WmWzudI1BS9
=cyPy
-----END PGP SIGNATURE-----
What is the simplest way to identify the branch (by branch index) to
which a reply belongs in an ONREPLY-ROUTE?
I have parallel forking with my registrar and do passive call
statekeeping. The problem is that it must be branch-aware; I need to
know if, for example, I got a successful provisional reply on one branch
of the call and a failure on the other, and deal with those separately.
Right now my statekeeping information is keyed by Call-ID, but since
that persists across two branches, obviously some sort of
branch-identifying information has to be present.
I've tried setting a persistent variable to the value of $T_branch_idx
inside a BRANCH-ROUTE, but in ONREPLY-ROUTE that just shows up with the
most recent branch index, regardless of which branch the reply actually
came in on.
I'm probably missing something quite obvious here, so I ask - how do I
incorporate some form of branch awareness into ONREPLY-ROUTEs? I really
do not care what form that is - be it branch index, or some other
built-in value, as long as it is consistent.
--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599
Ali Soltani wrote:
> Hi Alex,
>
> Thank you for the response.
>
> I tried to use onreply_route block in the main route as well as in
> route1 as follow but still can not log response messages (180, 200, ..)
>
> route
> {
> t_on_reply("1");
> ...
> }
>
> route[1]
> {
> if (is_method("INVITE"))
> {
> t_on_reply("1");
> }
> ...
> }
>
> onreply_route[1]
> {
> xlog("(onreplyroute1) usr=$ru method=$rm request_port=$rp
> received_port=$Rp original port=$op destination_port=$dp src_port=$sp");
> }
You can only have one reply route per request. If you specify multiple
ones, only the last one will take effect.
The problem in this case is that route[1] will never be called.
Here's what you want:
route {
if(is_method("INVITE"))
t_on_reply("1");
}
onreply_route[1] {
...
}
--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599
In the 1.4 release notes, I have read that:
=> new free fixup functions - making safer to use some functions
exported by modules in embedded languages such as Perl
I don't find any reference to "free_fixup_function" in the Perl module
source code.
Are you sure that this feature works for Perl module?
Someone work on it?
Best Regards,
--
Julien Mangeard
Dear Sir/Madam,
My previous email has been held by your system due to its large volume.
I removed the log file from it and resend it again. If you think, that
logs of the SER would help you, please provide me the way to send it as
well. Your help is much appreciated.
---
Sincerely
yours,
Morteza
Alizadeh
Design
Engineer
Cell
Phone: +60 (12)-319-7439
Email: malizadeh(a)emerj.com
Morteza.Alizadeh(a)gmail.com
Skype:
mortezaalizadeh
Block
D-17-6,
Gurney
Height Condominium,
Jalan
Bukit Keramat,
54000
Kuala Lumpur, Malaysia
----- Forwarded Message ----
From: Morteza Alizadeh <malizadeh(a)e-merj.com>
To: serusers(a)lists.iptel.org
Cc: vazirif(a)e-merj.com
Sent: Tuesday, August 12, 2008 10:09:35 AM
Subject: 20080812 - Need help with configuring SER as a call forwarder server
Dear
Sir/Madam,
I
am trying to use and configure your SER in a manner to let us forward our
landline calls to the public sip.broadvoice.com gateway. Unfortunately, I am
completely mixed up with the way it should be setup. There are some questions
that I would be really appreciated if you can answer them or forward it to a
right person. Please consider that I have already fully configured your SER to
handle internal IP call between SIP clients and also I tested the SER with the
SIP clients which are behind NAT demonstrate its NAT module works fine.
Here
is my current setup parameter to access landline call:
* SER IP address: 207.34.42.53
* SER domain: ubuntu-serv.emerj.net
* SIP gateway: sip.broadvoice.com
* Internal user ID: 10002
* BroadVoice contact: 7184122016
* Number wants to access through SER: 9178462343
What
I have in my MySQL server is as follow:
* Domain ubuntu-serv.emerj.net in table 'domain'.
* User 10002 registered with domain ubuntu-serv.emerj.net in table 'subscriber'. The password for this account is the normal password I set for it in database.
* User 7184122016 registered with domain sip.broadvoice.com in table 'subscriber'. The password for this account is the password has been given by BroadVoice to us.
* Defined a record in table 'usr_preferences' contains the following information:
+------+------------+--------+-----------+-----------------------------------+------+--------------------------------------------+
| uuid | username | domain |
attribute |
value
|
type |
modified
|
+------+------------+--------+-----------+-----------------------------------+------+--------------------------------------------+
|
| 9178462343
|
| callfwd
| sip:7184122016@sip.broadvoice.com | 0
| 2008-08-11 10:00:29 |
+------+------------+--------+-----------+-----------------------------------+------+--------------------------------------------+
This is the information I am using for my
call forwarding purpose. Whenever the user tries to dial 9178462343, this
record blindly forward it to the BroadVoice.com.
Here
are my questions:
1. I monitored and captured the packet between SIP, SER and BroadVoice. For the normal call directly from SIP to BroadVoice and also between SIP client and SER, a kind of SIP REGISTER message is sent at initial time and it seems that all the rest messages is based on the session value that is initially exchanged. When I try to use my SER as a call forwarding server, and when my SIP client tries to dial, SER doesn't send REGISTER message for account to 7184122016 to the BroadVoice. I want to know whether it is possible for SER to do this REGISTER before sending INVITE message for 9178462343 or not.
1. Is the call forwarding is the correct solution for this issue or not? Maybe there are some other things that I am not aware of them due to I am really new to SER environment.
1. I also saw that SER doesn't overwrite the values of Contact, To, and From in the INVITE message properly and everything is sent to the BroadVoice with the values of the ubuntu-serv.emerj.net as a domain and also initial SIP contact that all of them are unknown for BroadVoice gateway. How should I tell SER to overwrite this values and keeps the track of the changes?
I
also attached my both ser.cfg and the logs of the SER with my email. I would be
really appreciated if you assist me resolving this issue and helping me with
any document or sample ser.cfg file showing me how to realize the idea.
I
am looking forward to you response.
---
Sincerely
yours,
Morteza
Alizadeh
Design
Engineer
Cell
Phone: +60 (12)-319-7439
Email: malizadeh(a)emerj.com
Morteza.Alizadeh(a)gmail.com
Skype:
mortezaalizadeh
Block
D-17-6,
Gurney
Height Condominium,
Jalan
Bukit Keramat,
54000
Kuala Lumpur, Malaysia
Hi, for now, the "normal" way to detect if an in-dialog request/response
beyonds to a natted dialog is by adding a uri parameter ("nat=yes") in
the "Contact" header of the first request and response and macthing that
parameter in the RURI of subsequent in-dialog requests.
Typically this is done in this way:
search_append('Contact:.*sip:[^>[:cntrl:]]*', ';nat=yes');
Well, this mechanims (that is part of official OpenSer courses) is very
RCF3261 non compliant:
1) In SIP a header field name is case insensitive but the above function
wouldn't match a "CONTACT" of "contact" header names (even if they are 100%
valid).
2) "Contact" header can appear abbreviated as "m" (or "M") but the above
doesn't match it.
3) 1.1.1. Known Limitations
search ignores folded lines. For example, search("(From|f):.*@foo.bar")
doesn't match the following From header field:
From: medabeda
<sip:medameda@foo.bar>;tag=1234
A solution for points 1 and 2 could be using "subst" with insensitive flag
enabled, but it could be very anti-friendly.
So I wonder: wouldn't be useful a good funtion to add/read/remove header and
uri parameters (in any header or uri) being RFC 3261 compliant (this is: case
insensitive and allowing header name abbreviations)?
--
Iñaki Baz Castillo
Hi,
I would like to implement isn routing in openser.
I am new to isn routing.
Please help me if anybody of you have idea about isn routing.
Thanking in advance
-
Krunal Patel