Dear all,
starting to build up OpenSER as presence server, I had no mentionable problems. Now, I tried to implement an Apache2 based XCAP server to store presence info, buddy lists etc. there.
I have a problem setting up the XCAP-Lite server v0.9. Searching the web and the mailing list did not lead to a successful answer why the following happens:
After setting up Apache2 with all required modules, virtual host etc. I try to use Eyebeam 1.5 to write the presrules and resource-list.xml to the database. This failes.
I have successfully installed Apache2 with pear (+ extensions), php, mysql support. I created a virtual host with the following settings:
NameVirtualHost * <VirtualHost *> <Location "/"> Dav On #necessary for PUT method </Location>
ServerName 172.16.167.128 DocumentRoot /var/www/ #/var/www/xcap-root didn't work for GET as well, changed RewriteEngine On RewriteLog /var/log/apache2/rewrite.log RewriteLogLevel 2 RewriteRule /xcap-root/(.*) /xcap-root/index.php ProxyVia On </VirtualHost>
I putted all files from XCAP-Lite archive in /var/www/xcap-root.
After using PUT method through Eyebeam (change in contact list) I receive the 204 No content message. BUT: Not the database content is changed, the putted XML file overwrites index.php instead, which means, further requests fail.
Does anybody know why the access to database does not work? Password etc. in config.php is ok.
Thanks in advance.
Best regards Sebastian
PS: As I didn't find a mail address of the author of the program, I hope he is also subscribed to that list. There is probably an error in xcap-lib.php on line 766. I think there is a space between function and XCAPclient necessary.
I have 2 OpenSER servers that I want to "connect" with each other:
Phone "a" <---> Server "A"(domain.com) <------------> Server "B"(domain.org) <---> Phone "b"
I use X-Lite in phone 'a' and phone 'b', I can send IM but fail to Dial
It say
Proxy authentication required.
What can I do ?
Regards, Tsitsi
--------------------------------- Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
Hi,
I try to bypass this code :
if(!proxy_authorize("domain.org", "subscriber")) {
xlog("L_INFO", "Proxy authentication failed - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n"); proxy_challenge("domain.org", "0"); exit;
}
if(!check_from()) {
xlog("L_INFO", "Spoofed From-URI detected - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n"); sl_send_reply("403", "Spoofed From-URI Detected"); exit; }
and the dial is ok, but I worry that I can be a less security. What about proxy_authorize() and check_from() for calling a foreign domain?
Regards, Tsitsi
Tsitsi mediatsitsi-ser@yahoo.fr a écrit : I have 2 OpenSER servers that I want to "connect" with each other:
Phone "a" <---> Server "A"(domain.com) <------------> Server "B"(domain.org) <---> Phone "b"
I use X-Lite in phone 'a' and phone 'b', I can send IM but fail to Dial
It say
Proxy authentication required.
What can I do ?
Regards, Tsitsi
--------------------------------- Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses._______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
--------------------------------- Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
Hi Tsitsi,
you should authenticate only users that pretend to belong to the local domain. So on .org server do not try to auth calls originated by a .com .
regards, bogdan
Tsitsi wrote:
Hi,
I try to bypass this code :
if(!proxy_authorize("domain.org", "subscriber")) {
xlog("L_INFO", "Proxy authentication failed - M=$rm RURI=$ru
F=$fu T=$tu IP=$si ID=$ci\n"); proxy_challenge("domain.org", "0"); exit;
} if(!check_from()) { xlog("L_INFO", "Spoofed From-URI detected - M=$rm RURI=$ru
F=$fu T=$tu IP=$si ID=$ci\n"); sl_send_reply("403", "Spoofed From-URI Detected"); exit; }
and the dial is ok, but I worry that I can be a less security. What about proxy_authorize() and check_from() for calling a foreign domain?
Regards, Tsitsi */ Tsitsi mediatsitsi-ser@yahoo.fr/* a écrit :
I have 2 OpenSER servers that I want to "connect" with each other: Phone "a" <---> Server "A"(domain.com) <------------> Server "B"(domain.org) <---> Phone "b" I use X-Lite in phone 'a' and phone 'b', I can send IM but fail to Dial It say Proxy authentication required. What can I do ? Regards, Tsitsi ------------------------------------------------------------------------ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>._______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi Andrei,
Thanks, it's work fine,
Regards, Tsitsi
Bogdan-Andrei Iancu bogdan@voice-system.ro a écrit : Hi Tsitsi,
you should authenticate only users that pretend to belong to the local domain. So on .org server do not try to auth calls originated by a .com .
regards, bogdan
Tsitsi wrote:
Hi,
I try to bypass this code :
if(!proxy_authorize("domain.org", "subscriber")) {
xlog("L_INFO", "Proxy authentication failed - M=$rm RURI=$ru
F=$fu T=$tu IP=$si ID=$ci\n"); proxy_challenge("domain.org", "0"); exit;
} if(!check_from()) { xlog("L_INFO", "Spoofed From-URI detected - M=$rm RURI=$ru
F=$fu T=$tu IP=$si ID=$ci\n"); sl_send_reply("403", "Spoofed From-URI Detected"); exit; }
and the dial is ok, but I worry that I can be a less security. What about proxy_authorize() and check_from() for calling a foreign domain?
Regards, Tsitsi */ Tsitsi /* a écrit :
I have 2 OpenSER servers that I want to "connect" with each other: Phone "a" <---> Server "A"(domain.com) <------------> Server "B"(domain.org) <---> Phone "b" I use X-Lite in phone 'a' and phone 'b', I can send IM but fail to Dial It say Proxy authentication required. What can I do ? Regards, Tsitsi ------------------------------------------------------------------------ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses ._______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses .
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
--------------------------------- Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
Hi,
The sip scenario is in the figure (sip.gif) that describe Alice ( proxy atlanta.com) calling Bob (proxy biloxi.com) This scenario can be found at : http://switzernet.com/people/emin-gabrielyan/070410-SIP-transactions/
I use : - Openser as Proxy - eyebeam as phone
The problem is that when bob's sip phone is ringing (F6 in the figure ) after Alise is calling, the Alice's phone does not indicate ringing but it is staying a at calling (no F7 , F8 at the figure). Bob can answer (call etablished) but Alice's phone is staying "Calling" and get timeout.
In eyebeam , the call can be a success if i set outbound via target domain but it is not using proxy but directly the eyebeam request dns and send request via proxy (biloxi.com) it not use proxy for outbound I want to use Send outbound via proxy
I tried to use openser and asterisk (the other side sip proxy) but i get same wrong scenario The script
route{
if (method=="REGISTER") {
sl_send_reply("100", "Trying");
if(!save("location")) { sl_reply_error(); }; exit; } route(1); }
route[1] {
xlog("L_INFO", "New request - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n"); lookup("location");
if (!t_relay()) { sl_reply_error(); }; exit; }
Thanks for your reply,
Regards, Tsitsi
--------------------------------- Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et vos réactions !