Hi all,
I have downloaded XCAP-lite to support XCAP. I already have openser running.
But the problem is how to integrate XCAP-lite with openser?
I guess for that I need to configure config.php file in xcap-root directory of XCAP-lite.
Can anyone tell me how to configure config.php or what i need to do for integrating XCAP-lite with openser?
Any help will be appreciated.
Rgds, Ashok
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Our GW is sending some "junk" in the 200 OK SDP's that makes some of our clients "hickup" and disconnect.
Is there a function similar to remove_hf() that can be used to remove data from the SDP?
Thanks! // sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
take a look at the functions in textops module.
regards klaus
Geir O. Jensen wrote:
Our GW is sending some "junk" in the 200 OK SDP's that makes some of our clients "hickup" and disconnect.
Is there a function similar to remove_hf() that can be used to remove data from the SDP?
Thanks! // sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
But tweaking SDP with textops functions, wouldn't break RFCs?
Edson
-----Original Message----- From: users-bounces@openser.org [mailto:users-bounces@openser.org] On Behalf Of Klaus Darilion Sent: quarta-feira, 27 de junho de 2007 10:34 To: Geir O. Jensen Cc: users@openser.org Subject: Re: [OpenSER-Users] Editing of SDP's?
take a look at the functions in textops module.
regards klaus
Geir O. Jensen wrote:
Our GW is sending some "junk" in the 200 OK SDP's that makes some of our clients "hickup" and disconnect.
Is there a function similar to remove_hf() that can be used to remove
data
from the SDP?
Thanks! // sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Well, certainly I was looking at the textops module since I referenced remove_hf... However, I see no specific mention of it being able to remove lines from the SDP. It has substs, but no remove?
I can't just make up stuff to put in there, as there already is junk in there that breaks our UA.
(Specifically it sends; A=T38FaxUdpEC:t38UDPRedundancy A=cdsc: 1 audio RTP/AVP 8 A=cdsc: 2 image udptl t38 A=sqn: 254
Appart from this breaking RFC3407 (A=sqn must be before the first A=cdsc) any of these 4 lines is probably why my UA decides to hangup... So I would like to have those removed for testing/verification purposes...)
// sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
-----Original Message----- From: Edson [mailto:4lists@gmail.com] Sent: Wednesday, June 27, 2007 5:50 PM To: 'Klaus Darilion'; 'Geir O. Jensen' Cc: users@openser.org Subject: RE: [OpenSER-Users] Editing of SDP's?
But tweaking SDP with textops functions, wouldn't break RFCs?
Edson
-----Original Message----- From: users-bounces@openser.org
[mailto:users-bounces@openser.org] On
Behalf Of Klaus Darilion Sent: quarta-feira, 27 de junho de 2007 10:34 To: Geir O. Jensen Cc: users@openser.org Subject: Re: [OpenSER-Users] Editing of SDP's?
take a look at the functions in textops module.
regards klaus
Geir O. Jensen wrote:
Our GW is sending some "junk" in the 200 OK SDP's that
makes some of
our clients "hickup" and disconnect.
Is there a function similar to remove_hf() that can be
used to remove
data
from the SDP?
Thanks! // sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hm, my problem escalated a bit... Apparently... If I do this in my .cfg
if (has_body()){ xlog("L_INFO","- body found"); };
It will only catch the INVITE. It won't catch the 200 OK message that comes back from the gateway which contains the lines I need to alter...
I was thinking of simply doing a replace_body_all("a=cdsc","i=cdsc"); To keep the same length etc of the SDP... However, I'm not getting that option :-/
Any ideas?!
// sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
-----Original Message----- From: users-bounces@openser.org [mailto:users-bounces@openser.org] On Behalf Of Geir O. Jensen Sent: Thursday, June 28, 2007 11:19 AM To: users@openser.org Subject: RE: [OpenSER-Users] Editing of SDP's?
Well, certainly I was looking at the textops module since I referenced remove_hf... However, I see no specific mention of it being able to remove lines from the SDP. It has substs, but no remove?
I can't just make up stuff to put in there, as there already is junk in there that breaks our UA.
(Specifically it sends; A=T38FaxUdpEC:t38UDPRedundancy A=cdsc: 1 audio RTP/AVP 8 A=cdsc: 2 image udptl t38 A=sqn: 254
Appart from this breaking RFC3407 (A=sqn must be before the first A=cdsc) any of these 4 lines is probably why my UA decides to hangup... So I would like to have those removed for testing/verification purposes...)
// sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
-----Original Message----- From: Edson [mailto:4lists@gmail.com] Sent: Wednesday, June 27, 2007 5:50 PM To: 'Klaus Darilion'; 'Geir O. Jensen' Cc: users@openser.org Subject: RE: [OpenSER-Users] Editing of SDP's?
But tweaking SDP with textops functions, wouldn't break RFCs?
Edson
-----Original Message----- From: users-bounces@openser.org
[mailto:users-bounces@openser.org] On
Behalf Of Klaus Darilion Sent: quarta-feira, 27 de junho de 2007 10:34 To: Geir O. Jensen Cc: users@openser.org Subject: Re: [OpenSER-Users] Editing of SDP's?
take a look at the functions in textops module.
regards klaus
Geir O. Jensen wrote:
Our GW is sending some "junk" in the 200 OK SDP's that
makes some of
our clients "hickup" and disconnect.
Is there a function similar to remove_hf() that can be
used to remove
data
from the SDP?
Thanks! // sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Why don't you use subst_body('/re/repl/flags') ?
just leave "repl" empty and you get a remove-like function.
Geir O. Jensen wrote:
Hm, my problem escalated a bit... Apparently... If I do this in my .cfg
if (has_body()){ xlog("L_INFO","- body found"); };
Do you use it in a reply route? It should work in reply-route too. If not, it is a bug.
regards klaus
Why don't you use subst_body('/re/repl/flags') ?
just leave "repl" empty and you get a remove-like function.
Because I didn't think of it? And maybe because I only the first part of the strings, I can't match the entire string as it's unknown...
Geir O. Jensen wrote:
Hm, my problem escalated a bit... Apparently... If I do this in my .cfg
if (has_body()){ xlog("L_INFO","- body found"); };
Do you use it in a reply route? It should work in reply-route too. If not, it is a bug.
I did this in the main route just after the sanity checks and before the loose_route. Has_body() triggers only on outgoing messages containing a sdp (i.e. invites) - not on replies (i.e. 200 OK w/SDP).
Soo... Is it a bug?
// sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
Geir O. Jensen wrote:
strings, I can't match the entire string as it's unknown...
That's why regular expressions exists.
Geir O. Jensen wrote:
Hm, my problem escalated a bit... Apparently... If I do this in my .cfg
if (has_body()){ xlog("L_INFO","- body found"); };
Do you use it in a reply route? It should work in reply-route too. If not, it is a bug.
I did this in the main route just after the sanity checks and before the loose_route. Has_body() triggers only on outgoing messages containing a sdp (i.e. invites) - not on replies (i.e. 200 OK w/SDP).
Soo... Is it a bug?
No. Replies do not enter route{}, thus the function is never called. You either have to explicitly activate a reply route (tm module README, t_on_reply("1") ) or use the default reply route ( onreply_route{...}).
regards klaus