Hi All,
I am using SER 2.0 and OpenXCAP 0.9.7 and facing problem in implementing Presence Authorization using XCAP in my project.
I have done the following:-
User A (User_A.pcap(attachment)):
1.Registered with SER.
2.Published A's info into SER.
3.Subscribed for it's 'presence.watcher info'
4.Transferred presence_rules.xml(which contains rules to allow B to see his presence status) to OpenXcap.
Following debugging messages were printed (while transferring presence_rules file ) in OpenXcap:
**************************************
Feb 6 12:15:40 sips openxcap[2557]: [-] Starting factory <twisted.web.xmlrpc._QueryFactory instance at 0xb3cde68c>
Feb 6 12:15:40 sips openxcap[2557]: [Uninitialized] error: Error while notifying OpenSER management interface for 'user' a@: Connection was refused by other side: 111: Connection refused.
Feb 6 12:15:40 sips openxcap[2557]: [Uninitialized] a@ from 172.16.7.187 "PUT http://172.16.7.204/xcap-root/pres-rules/users/a/presence-rules.xml" 201 0 - unknown
Feb 6 12:15:40 sips openxcap[2557]: [Uninitialized] Stopping factory <twisted.web.xmlrpc._QueryFactory instance at 0xb3cde68c>
*************************************
User B (User_B.pcap(attachment)):
5.Registered with SER.
6.Published B's info into SER.
7.Sent Subscribe request for A's presence status to SER.
8.Received 200 ok for subscribe request.
9.Received Notify request with status as pending
10.SER intimated User A about User B's subscription.
Following debugging messages were printed in SER:
***************************
5(5114) find_export_record: found <xcap_query> in module xcap [/home/ser/SER2.0/lib/ser/modules/xcap.so]
5(5114) curl error: 22
5(5114) XCAP problems for uri 'http://172.16.7.204:8000/xcap-root/pres-rules/users/a/presence-rules.xml'
***************************
SER did not send User A's presence status to User B(Notify status was pending).
It seems to be SER did not interact with OpenXcap server.
This is my Presence Authorization configuration settings in ser.cfg
**************************************************************************************************
modparam("pa", "use_db", 1)
modparam("pa", "offline_winfo_timer", 600)
#modparam("pa", "use_offline_winfo", 1)
modparam("pa", "offline_winfo_expiration", 600)
modparam("pa", "db_url", "mysql://ser:heslo@127.0.0.1:3306/ser")
# mode of PA authorization: none, implicit or xcap
modparam("pa", "auth", "xcap")
modparam("pa", "winfo_auth", "none")
modparam("pa", "use_callbacks", 1)
modparam("pa", "accept_internal_subscriptions", 0)
modparam("pa", "max_subscription_expiration", 120)
modparam("pa", "timer_interval", 1)
modparam("pa", "watcherinfo_notify", 1)
modparam("pa", "async_auth_queries", 1)
modparam("pa", "pres_rules_file", "presence-rules.xml")
modparam("xcap", "xcap_root", "http://172.16.7.204:8000/xcap-root")
modparam("usrloc", "db_mode", 1)
**************************************************************************************************
Please find the attached file NW_Captures.zip which contains two ethereal captures(User_A.pcap & User_B.pcap).
Could you help me to resolve this problem?
Regards,
Guhan
Hi all,
How i can store Call Session Time in acc table? I am using Mediaproxy so i hope the call duration will be correct event if openser does not receive the BYE.
I tried to use ACC but inside the table all information is storing only i cannot see the filed name for session or call duration.
Could you please help me how i can figure out to get call duration to charge our customers?
Regards,
www.Go4Calls.Com
VoIP Forums
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Dear All
I would like to change the messages that are sent back from the openser
server to the client is this possible using sl_send_reply for example ?
I have tried sl_send_reply in the route[1] but it pops up a dialog box
and it seems to break the calls.
Can anyone tell me where to get more info about such a scenario. Or
suggest any solutions ?
Thanks
Hi All
I am migrating a couple of thousand users from an old sip server with
mysql support to openser with mysql support, the thing is that in the
old server the passwords were encrypted using 3DES and stored encypted
in the MySQL db ...the old SIP server received the passwords using
plaintext converted them to 3DES using perl script and the compared the
result to the password stored in the MySQL DB.
Any ideas about how to achieve something like this in OpenSER "? I.e.
hash the passwords ? Or any other solution ?
I have seen some hashed entries in the MySQL db could they be used for
such purposes ?
Thanks
Hi,
Just proud to announce that the users mailing list just exceeded 1000
subscribers (1001 right now).
I will just take the opportunity to thanks again to all people answering
on this list and providing valuable knowledge to all interested and
working with openser.
Regards,
Bogdan
On Monday 04 February 2008 19:02:30 Dan-Cristian Bogos wrote:
> Iñaki,
>
> this code should do the magic:
>
> if (!t_reply("202", "Accepted"))
> {
> sl_reply_error();
> };
I use exactly that code:
t_newtran();
if (m_store("$ru")) {
if (!t_reply("202", "Accepted"))
sl_reply_error();
}
But there is not a created MESSAGE by OpenSer to the sender. I've
set "debug=4" and no errors appear, the message storage is done correctly and
OpenSer doesn't try to send back a new MESSAGE as notification.
I'd like to insist a bit in the fact that what I'm trying to get is receiving
a **new** MESSAGE generated by OpenSer as notification to the sender, not
just the "202, Accept" reply (that is a reply, not a MESSAGE).
Please Dan, can you confirm that MSILO module should generate and send a new
MESSAGE as notification to the sender, and not just a "202 Accepted" reply?
Thanks a lot.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es
My openser.cfg runs and the modules load but then I get this message:
"ERROR: tcp_init: bind(7, 0x811d384, 16) on 127.0.0.1:5060 : Address
already in use"
Environment is Red Hat and OpenSER 1.1.0
We do not need TCP as we only use UDP.
Is there a simple way to remove TCP from the OpenSER environment?
If not, how do we figure out what is causing the conflict? The box used
to run Asterisk but it was shut down.
TIA,
Bill
Hi all,
I've been reading through the documentation online fore a few days, and I've read through a lot of the user & developer artchives. I'm trying to figure out if OperSER is the right proxy solution for the problem that I'm trying to solve. I was hoping that I could get a few pointes from some more experienced users.
My first question is really simple... I must have the terminology wrong, otherwise I'm sure that I would have found the answer by now. I have a big expensive gateway, but it can't do a few things that I really want to do. I'm hoping to augment my big expensive gateway with OpenSER, so that I can do some specific routing. I want my network to look something like this:
--------------
(Public IP network) (Private IP network)
.----------.
| carriers |-----.
'----------' | .-----------.
'----| Big | .-------.
| Expensive |----| Proxy |
.------. .----| Gateway | '-------'
| PBXs |---------' '-----------'
'------'
----------
my solution involves customer-premise based PBXs that my company makes in house. I want the gateway to act as a session border controller. It'll take care of forwarding me media, and it'll take care of protecting my proxy from the public internet.
For inbound calls (calls coming from another carrier to my big expensive gateway & destined for a specific PBX), I'd like my gateway to send the call to the proxy, who will determine which PBX to send the call to, and then send the call to to correct PBX via the Gateway. I don't understand how to set up OpenSER to send the call via the Gateway. If I provision the static ip address of the PBX in the proxy, won't it try to send directly to that IP address instead of sending it to the Gateway? I think that the feature that I'm looking for is something like an outbound proxy, for the proxy. (does that make sense?)
Sorry to write such a long e-mail to the mailing list! I wanted this to be descriptive enough that you all would know what I mean.
THANKS!
--Doug
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
hellow everybody,
i have to authorise clients connected to openser with the help of
opendiameter. can
u guide me to do the needed thing. actually i have installed
opendiameter,openser,xlite[soft phone].right now xlite is
communicating and authorised by
openser.i have added most of all modules in openser configuration file
provided by
openser group.even openser is communicating with open diameter
client.but the problem is
the user name and password are not identified by opendiameter client.
could u tell me how to add user information in
opendiameter[username,passwd,etc]so that server can authorise him to
do further task.
in clients dump i can see messages like"code not found,avp not
found "sort of things.
i really need u peoples help in developing a working model.
your's faithfully
bhargav.b