[Freeswitch-users] [mod_xml_curl] Only accept if Return Password is blank
rendyfrx
rendyfrx at gmail.com
Wed Sep 14 13:02:40 MSD 2011
Hi,
I'm trying to setup freeswitch to authenticate SIP client login (SIP
register) to my backend database via php, example: username=65972932222,
pwd=1234
As I couldn't really find sample return that suit my need, so I tried with
below xml return. Problem is if the password is blank, then it will
accepted, but if I change to simple password 1234 as xml return below, I
will get SIP/2.0 403 Forbidden.
xml return :
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="directory" description="User Directory">
<domain name="10.1.1.47">
<user id="6597293279">
<params>
</params>
</user>
</domain>
</section>
I tried add in groups, but it doesn't have any impact.
The bindings' auth-scheme value is "basic", mod_xml_curl will call another
server (LAN) and it will validate and return the xml above.
Anybody can advise what I might be missing here?
Thanks in advance
--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-xml-curl-Only-accept-if-Return-Password-is-blank-tp6791769p6791769.html
Sent from the freeswitch-users mailing list archive at Nabble.com.
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list