As I know, each table is assigned to a module. For example, avpops
module will use table usr_preferences. The usage of this module can
be found in the module document.
> Date: Wed, 11 Jan 2006 16:20:58 +0100 (CET)
> From: jammers yann <foudelinux(a)yahoo.fr>
> Subject: [Users] dbtable
> To: users(a)openser.org
> Message-ID: <20060111152058.85120.qmail(a)web25806.mail.ukl.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> Can i have the role of each table in openser database ?
>
hi! do we have a web interface for openser like serweb
for ser ?
Or can we easily integarte serweb with openser
thanks
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
Howdy guys,
I completely missed this thread.
How is this going?
I just read the roadmap which indicates NAPTR lookup
is on the list. I've been maintaining NAPTR and SRV records
looking forward to the day when t_relay() forwards using NAPTR (and
SRV). Does that mean that the t_relay() will maintain the state, slogging
through the NAPTR/SRV records appropriately, without me having
to do additional logic??? Specifically, I'm keen on the SRV serial forking.
-g
Hi Bogdan,
> I meant t_reply() will keep its behaviour as looking into URI for the
> destination - but it will incorporate the NAPTR lookup.
Great - this answers my question.
> to response also to on earlier question, regarding the timing
> - I say 3 months are more than enough ;).
Excellent.
Many thanks for your help (and patience ;)
--Joachim
> Joachim Fabini wrote:
>
> >Hi Bogdan,
> >
> >
> >
> >>indeed, there was a misunderstanding :) .t_relay() with no
> >>param will be kept with the current functionality.
> >>Or you suggest to be able to specify only a different proto
> >>or port from the RURI?
> >>
> >>
> >
> >I did not yet find the primitive which is supposed to
> >statefully relay and do the following:
> >1. NAPTR query on the transport to use PLUS
> >2. _exactly_ what t_relay() does now for the
> > transport returned by the NAPTR query.
> >
> >You say that t_relay() is kept with the current functionality.
> >Does this mean no NAPTR, or will t_relay() be extended to use
> >NAPTR before SRV/A query? If the latter then everything is OK.
> >
> >Otherwise we have the alternatives:
> >
> >t_relay() -> Stateful relaying according to destination
> > address using the incoming transport (no NAPTR).
> >t_relay_to() -> Stateful relaying to a specific host (you said
> > that <host> is mandatory here) using NAPTR to
> > determine the transport.
> >
> >
> >To summarize:
> >My point is that none of these two primitives covers the case
> >when the message is to be relayed to the next hop based only
> >on the destination address _and_ using the transport selected
> >by the destination proxy (determined via NAPTR query).
> >
> >Except if either a) t_relay() does NAPTR or b) the host
> >parameter in t_relay_to() is optional.
> >
> >--Joachim
> >
> >
> >
> >
>
--
Greg Fausak
greg(a)thursday.com
I don't know if this help you, but I try.
I have a similar scenario. I have openser, which deals with sip
registers. If a sip phone make a call, I send the request to asterisk.
Asterisk dispatch to PSTN or go back to openser (if this call is for
sip). Asterisk deal the dialplan and cdr-csv and it's a gateway to PSTN.
This is an idea.
If you want i can post the config files.
Bye.
--
--------------------------------
David Castro Mosquera
Adianta
Tel: (34) 902 999 178
Fax: (34) 902 501 437
Email: david.castro(a)adianta.net
Web: www.adianta.net
--------------------------------
samuel,hi
yeah,as you said I changed cfg file,but ser is still cann't be started.
Did you try?
======= 2006-01-11 16:43:02 您在来信中写道:=======
>First of all: pa module is not stable and might not work.
>
>The other thing is that handle_subscription only accepts registrar or
>jabber as parameters, so you have to change debian for registrar:
>
> handle_subscription("registrar");
>
>
>Luck!!!
>Samuel.
>
>2006/1/11, Kenny Yeh <kenny(a)artdio.com.tw>:
>> Hi,all
>>
>> I complied pa module in the right directory,but as the help file I cann't start openser right.my cfg file is below:
>>
>> #I added pa.so file
>> loadmodule "/usr/local/lib/openser/modules/pa.so"
>> #
>> modparam("pa", "default_expires", 3600)
>> handle_subscription("debian")
>>
>> debian is my main domain
>>
>> what's wrong with it? I need a help !!!!
>>
>>
>> Kenny yeh
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
= = = = = = = = = = = = = = = = = = = =
致
礼!
Kenny Yeh
kenny(a)artdio.com.tw
2006-01-11
Hi,all
I complied pa module in the right directory,but as the help file I cann't start openser right.my cfg file is below:
#I added pa.so file
loadmodule "/usr/local/lib/openser/modules/pa.so"
#
modparam("pa", "default_expires", 3600)
handle_subscription("debian")
debian is my main domain
what's wrong with it? I need a help !!!!
Kenny yeh
Hi,all
I have a question:
OpenSER can be a presence server? how ?
I try to test by msn5.1,but OpenSER cann't recive 'subscribe' request.
Can I load pa module to help that?
BR!
Kenny
Is there a way to change the branch parameter in any
of the Via headers in an INVITE? I am getting a 482
loop detected which I think is due to the same branch
parameter in two requests.
Thanks,
Scott
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
On Monday 02 January 2006 11:11, Juha Heinanen wrote:
> Mike Williams writes:
> > I created the account 11112223333(a)mydomain.net to test with, and then I
> > attempted to use:
> >
> > openserctl ul add 11112223333(a)etcvoip.net sip:18122228203@etcvoip.net
> >
> > but it returned:
> >
> > error: 400; check if you use aliases in OpenSER
> >
> > I added the alias_db module to my config, but I still get errors. Any
> > advice? Should I add them manually to the location database?
>
> i have never used openserctl. my management application writes
> permanent contacts directly to location table. remember to tell via
> flags field that registration is permanent.
>
> -- juha
I modified the openserctl script to give more output:
400 table (aliases) not found
error: 400; check if you use aliases in OpenSER
on `openserctl ul add 11112223333(a)etcvoip.net sip:18122228203@etcvoip.net`
I traced this message back to the ul_show_contact function in ul_fifo.c.
Everything is fine until it gets to line 573, where it calls
fifo_find_domain, which sets d=0. Then, in line 575, the error message given
above is returned because d if now false.
static inline void fifo_find_domain(str* _name, udomain_t** _d)
{
dlist_t* ptr;
ptr = root;
while(ptr) {
if ((ptr->name.len == _name->len) &&
!memcmp(ptr->name.s, _name->s, _name->len)) {
break;
}
ptr = ptr->next;
}
if (ptr) {
*_d = ptr->d;
} else {
*_d = 0;
}
}
I'm not a C programmer, so I don't really understand what's happening here,
but it appears to be looping through a list to find a domain, checking to be
sure their lengths and values match. It keeps looping until it finds one, and
then quits on the first one. It appears that ptr doesn't point to anything in
my case; it fails the next if, setting the passed-by-reference d to 0,
leading me to think that it hasn't found any domains, or couldn't get a
domain list in the beginning. What does this "ptr = root;" mean?
I then tried running `openserctl domain show`, only to get:
500 command 'domain_dump' not available
Now, I checked the actual database openser.domain table, and my domain
appeared correctly. I am also loading the domain module on openser startup.
Any ideas? I realize this is getting awfully deep into code, but I hope
someone can help. It's probably a simple error on my part. Thanks in advance.
Mike Williams