Hi,
I wrote that module, but been on vacation for a while :-) It's not
really finished yet, but it worked well for generating user directory
xml..
Some things that still need to be done:
- Fix it so that reloadxml works
- Don't write the generated xml always to disk before returning it to fs
Hi Juan,
Perhaps it loops because you didn't include the "not-found" template ?
Actually, I see there's a bug in the example xml_odbc.conf.xml file
where it's defined with an underscore instead of a dash, will change
that tonight..
The not-found template needs to be specified as a template
Made a typo in the , you have to leave out the comma..
regards,
Leon
On Aug 27, 2009, at 2:57 PM, Leon de Rooij wrote:
> Hi Juan,
>
> Perhaps it loops because you didn't include the "not-found" template ?
> Actually, I see there's a bug in the example xml
Hi Juan,
With debug=true you should be able to see what template it's trying to
render in a loop, can you tell which one that is ? (I'm guessing it
says 32 times it wants to render "not-found")
In the xml you pasted in your mail, you didn't specify the name of the
"not-found" template, just
Hi,
Well, that's a coincidence.. I've been busy trying to figure out that
same problem the entire weekend :-)
FS needs to know where to lookup the registered user, by indeed
setting a dialstring.
The dialstring is described in the wiki page that's mentioned, but
there's something more:
Hi,
You could use a system call for that:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_system
regards,
Leon
On Sep 14, 2009, at 3:58 PM, Tihomir Culjaga wrote:
Hi,
i just have a maybe dummy question but it is still a question :P
in my case ${service_instance} is something
Hi,
I haven't run into that problem yet, but did you try increasing the
maximum shared memory in /proc/sys/kernel/shmmax (sysctl
kernel.shmmax) ?
regards,
Leon
On Oct 20, 2009, at 3:31 PM, Dome Charoenyost wrote:
> Dear Sir,
> I'm using mod_odbc_query and mod_nibble_billing for my callin
Hi,
Negating is done with [^...] in a regex, so 'not 1' is matched with:
/^[^1]$/
If you want to match on a longer sequence, you can do that with
negative lookahead, for example 'not 123' can be matched like this:
/^(?!123$)\d{3}$/
regards,
Leon
On Oct 21, 2009, at 1:34 PM, Mark Campbell-
Hi Michael,
The feature is already documented here:
http://wiki.freeswitch.org/wiki/Dialplan_XML#Clarification
http://wiki.freeswitch.org/wiki/Dialplan_XML#Inline_Actions
Perhaps the reason *why* it's the way it is can be expanded a bit ?
regards,
Leon
On Oct 21, 2009, at 7:02 PM, Michael C
Hi,
You can use mod_xml_curl (generate xml on a webserver):
http://wiki.freeswitch.org/wiki/Mod_xml_curl
or mod_xml_odbc (generate xml in freeswitch):
http://wiki.freeswitch.org/wiki/Mod_xml_odbc
or LUA together with luasql (generate xml in freeswitch):
http://wiki.freeswitch.org/wiki/Lua#For
Hi,
Since recently it's also possible to use lua *as* a dialplan:
http://wiki.freeswitch.org/wiki/Mod_lua#For_dialplan
regards,
Leon
On Mon, 2009-11-16 at 11:33 -0800, Michael Collins wrote:
>
>
> On Mon, Nov 16, 2009 at 9:36 AM, Jerry Richards
> wrote:
>
> I have a bit
Hi,
Not that I know of, but you can use odbc to store registrations and
share it that way..
regards,
Leon
On Nov 19, 2009, at 9:40 AM, Woody Dickson wrote:
> Hi,
>
> Is there anyway to store registration info in memcache instead of
> sqlite?
>
> By doing that, it is possible for multiple f
ingle central database is a
little bit of a concern in a carrier environment.
Jay
On Thu, Nov 19, 2009 at 7:14 PM, Leon de Rooij > wrote:
Hi,
Not that I know of, but you can use odbc to store registrations and
share it that way..
regards,
Leon
On Nov 19, 2009, at 9:40 AM, Woody Dicks
There's a little info here on how to enable it with odbc:
http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core#CentOS_5.2
regards,
Leon
On Nov 26, 2009, at 10:48 PM, Tihomir Culjaga wrote:
On Thu, Nov 26, 2009 at 9:53 PM, Michael Jerris
wrote:
http://dev.mysql.com/doc/refman/5.1/en/co
ers-boun...@lists.freeswitch.org
] On Behalf Of Leon de Rooij
Sent: Friday, November 27, 2009 3:37 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] odbc FLAG_MULTI_STATMENTS
There's a little info here on how to enable it with odbc:
http://wiki.freesw
Hi John,
I've been trying to get your mod_xml_ldap module running, but didn't
get very far yet..
What is the official way to get the module built ?
I tried modifying trunk/freeswitch.spec so that
XML_INT_MODULES contains xml_int/mod_xml_ldap
There's also a directories/mod_ldap in DISABLED_MO
On Jan 31, 2009, at 4:15 AM, John Skopis (Lists) wrote:
> Leon de Rooij wrote:
>> Hi John,
>>
>> I've been trying to get your mod_xml_ldap module running, but didn't
>> get very far yet..
>>
>> What is the official way to get the module built ?
&
Hi all,
I've been trying to build new debs, but debuild seems to break..
I tried trunk rev 11608 and 1.0.3RC-1 and tried building the packages
with:
debuild -i -us -uc -b
(which worked before)
And now it breaks at openzap with:
cc1: warnings being treated as errors
src/ozmod/ozmod_isdn/ozmo
o set some variables, like an accountcode for example, on
the basis of what IP address the INVITE originates from.
So, is it possible to not use digest authentication, but still use a
dialplan-directory user with IP= field or some such ?
thanks a lot & kind regards,
Leon de Rooij
On Ja
the variables automatically
2) use the ACL list with cidr=from> this has the same effect with no auth needed.
3) use some other way to differentiate the user and use the set_user
application in the dialplan to inherit that user's variables.
On Mon, Feb 16, 2009 at 6:49 AM, Leon de Rooij
stening on 127.0.0.1:8031
2009-02-20 14:15:48 [WARNING] mod_erlang_event.c:1415
mod_erlang_event_runtime() Failed to publish port to empd, trying to
start empd manually
etc..
Can someone help me and point out what's wrong ?
thanks & kind regards,
Leon de Rooij
Hi Andrew,
Thanks! it compiles fine now.. Also thanks for the tip about empd, got
it running without errors now :-)
regards,
Leon
On Feb 20, 2009, at 8:08 PM, Andrew Thompson wrote:
> On Fri, Feb 20, 2009 at 05:19:25PM +0100, Leon de Rooij wrote:
>> Hi,
>>
>> I
n fs_cli, by entering "/event plain all",
but I see no events at all coming from erlang, just some heartbeats..
Also, I recompiled the module with EI_DEBUG defined as suggested on
the wiki. Still I don't see anything in the CLI when set to debug
logging.
Thanks again
Hi Andrew,
Everything is running on an Ubuntu Hardy Xen domu with kernel
2.6.24-23-xen.
Erlang is version R12B5 and was compiled from source with options --
enable-hipe, --enable-smp-support en --enable-threads.
FS is trunk version 12197.
I did copy the configuration file to ~freeswitch/conf
Andrew,
I think you're right, packets are indeed sent to 172.31.0.13 while
mod_erlang_event is listening at 127.0.0.1 ! Why didn't I see that ! ;-)
Will test it now and let you know how it goes..
regards,
Leon
On Feb 24, 2009, at 1:22 AM, Andrew Thompson wrote:
> Leon,
>
> I think I found t
Well, this works, I feel a bit stupid now :-] Now it's time to play
with it..
Thanks a lot !
kind regards,
Leon
On Feb 24, 2009, at 1:22 AM, Andrew Thompson wrote:
> Leon,
>
> I think I found the problem. I shouldn't have been defaulting to
> binding
> to 127.0.0.1, instead the default sh
Hi,
I didn't try this new functionality yet, but shouldn't
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
be in a different section ?
It's not SDP manipulation, or is it ?
regards,
Leon
On Mar 10, 2009, at 9:48 PM, Michael Collins wrote:
> On Tue, Mar 10, 2009 at 6:16 AM,
Hi all,
I'm still undecided yet whether I need proxy-media or not. As I
understand it, the only downside of enabling proxy-media is that early-
media is not possible, correct ? (Or are there other reasons why I
shouldn't use proxy-media ?)
When I disable proxy-media I get little hickups in t
special use case and I suspect yours
> isn't it. Are you doing anything with T.38 right now?
>
> /b
>
> On Mar 19, 2009, at 6:57 AM, Leon de Rooij wrote:
>
>> I'm still undecided yet whether I need proxy-media or not. As I
>> understand it, the only dow
ng through..
FS is version 12163M
thanks,
Leon
On Mar 19, 2009, at 2:15 PM, Brian West wrote:
> You shouldn't use it. It has a special use case and I suspect yours
> isn't it. Are you doing anything with T.38 right now?
>
> /b
>
> On Mar 19, 2009, at 6:57 A
Just make sure you have mod_event socket loaded in conf/
autoload_modules/modules.conf.xml :
And have it configured in conf/autoload_modules/event_socket.conf.xml
Then you can use bin/fs_cli to connect to running FS instance.
I don't think you can reconnect to a process of which you have
Hi,
I'm trying to get some cli commands working in combination with xml-
curl.
Endpoints are parsed properly for SIP registrations and invites, but
when I use the CLI command "user_exists" it returns false, while I do
return an endpoint (same syntax as for a sofia_reg_parse_auth event)
on
yos.nl
>>
>> Regards,
>>
>> Raul
>>
>> On Tue, 2009-03-24 at 15:55 +0100, Leon de Rooij wrote:
>>> Hi,
>>>
>>> I'm trying to get some cli commands working in combination with xml-
>>> curl.
>>>
>>> Endpoin
Hi,
I think this is a bug in mod_commands.c :
When using "user_data" function from mod_commands (mod_commands.c,
line 358)
A header string "key" is added to params (mod_commands.c, line 362)
Then switch_xml_locate_user is called (switch_xml.c, line 1712)
And that function adds another header st
Hi,
You can blindly accept registrations and / or authentication messages
with these parameters in a sip profile:
http://wiki.freeswitch.org/wiki/Sofia.conf.xml#accept-blind-reg
regards,
Leon
On Apr 2, 2009, at 3:01 PM, xbipin wrote:
>
> hi,
>
> i wanted to know if there was an
Hi,
I'm making a c plugin for collectd ( http://collectd.org ) to get some
basic statistics from FS. Right now it uses ESL to connect, but doing
an "api show channels" and after that parsing the csv to get the
amount of channels per profile seems a bit of a detour.. Is it
possible to do so
calls count
>
> Mathieu
>
> On 21-Apr-09, at 9:27 AM, Leon de Rooij wrote:
>
>> Hi,
>>
>> I'm making a c plugin for collectd ( http://collectd.org ) to get
>> some
>> basic statistics from FS. Right now it uses ESL to connect, but doing
>> an "a
AM, Leon de Rooij wrote:
Thanks, I know that's possible, but I want to get the amount of
channels per profile (and even seperated inbound/outbound), not a
total of all channels on all profiles combined..
regards,
Leon
Brian West
br...@freeswitch.org
-- Meet us at ClueCon!
wow, thanks, that's very useful !
On Apr 21, 2009, at 7:51 PM, Anthony Minessale wrote:
latest trunk now has the stats you seek in "sofia status profile
"
On Tue, Apr 21, 2009 at 8:55 AM, Brian West
wrote:
You forgot the "as xml" versions
show channels as xml
show calls count as xml
sho
am using stun.fwdnet.net:3478 (ATA is a Zyxel P2002).
Can I force FS to reply always to the port where the original message
originated from ? Or should I fix this differently ?
Thanks in advance,
Leon de Rooij
___
Freeswitch-users mailing list
x27;ll work. But you really should make your device
> send rport which is the correct way of doing it.
>
>
> On Jul 22, 2008, at 2:15 PM, Leon de Rooij wrote:
>
>>
>> Now the reply is sent back to port 59173. That's the same as in the
>> Contact as it's
uot;user" ','Registered(UDP-
NAT)', 'unknown', 1222192646, 'dunno', '00A0C5D4C03A-1',
'213.204.232.18')]
[STATE: HY000 CODE 1136 ERROR: [unixODBC][MySQL][ODBC 3.51 Driver]
[mysqld-5.0.51a-3ubun
I rebuilt everything from latest SVN and now it works alright !
I still had an older version intalled, but was looking in newer
source :)
kind regards,
Leon
On Sep 23, 2008, at 6:14 PM, Leon de Rooij wrote:
> Hi all,
>
> I'd like to keep track of on what switch and sofia pro
Hello all,
I've been trying out mod_xml_cdr, and found out that if I unload and
again load the module, then cdr's get posted twice to the webserver
(or more often, depending on the amount of times the xml_cdr module
has been unloaded/loaded). (I'm sure I'm sending back 200/Ok's)
I only test
Hi again,
I just verified that behaviour is the same in the latest SVN 9850.
regards,
Leon
On Oct 6, 2008, at 2:34 PM, Leon de Rooij wrote:
> Hello all,
>
> I've been trying out mod_xml_cdr, and found out that if I unload and
> again load the module, then cdr's g
Hi all,
I'm trying to configure FS to have a SIP gateway that points to an
ipv6 address, but somehow proxy-auth doesn't work..
Situation:
IPv4 UA ---INVITE---> IPv4 SIP Profile @ FS1 / IPv6 SIP Profile @ FS1
---INVITE---> IPv6 SIP Profile @ FS2
I defined a sip-profile on FS1 containing this
or not auth calls.
>
> /b
>
> On Oct 13, 2008, at 1:41 PM, Leon de Rooij wrote:
>
>> proxy-auth doesn't work..
>
>
> ___
> Freeswitch-users mailing list
> Freeswitch-users@lists.freeswitch.org
> http://lis
et the trace of what is
> going on?
>
> /b
>
> On Oct 14, 2008, at 1:16 AM, Leon de Rooij wrote:
>
>> Of course, I know fs is a b2bua. But FS sends 407 Proxy-
>> Authentication
>> required for authenticating an INVITE. Only for REGISTERs it sends
>> WWW-
&g
Hi,
Yes, you can just return an a1-hash instead of a password.
The a1-hash consists of md5(username:domain:password)
see: http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide
regards,
Leon
On Oct 16, 2008, at 9:40 AM, Peter P GMX wrote:
> I've seen in the XCML files that passwords and c
/5882
Thanks,
Leon
On Oct 14, 2008, at 4:28 PM, Brian West wrote:
> Can you start FreeSWITCH with TPORT_LOG=1 ./freeswitch and see if you
> can get a sip trace or even use sipgrep to get the trace of what is
> going on?
>
> /b
>
> On Oct 14, 2008, at 1:16 AM, Leon de Rooij wrote:
50 matches
Mail list logo