Hi,
nat_uac_test can be call with parameter :
"1" : via adress is compared to signaling IP
"2" : test if RFC1918 adress
But in some configuration, i see "3". What is it for ? I can't find it in the nathelper code.
Another question, what happen if two people on the SAME LOCAL network try to call each other via my SER server ?
Their adress will be detected as private and rtpproxy will be use, but it's not needed as they are visible for each other.
How could i prevent this ?
Thanks
I've found a solution for this problem:
I forgot to use mysql module instead of dbtext. Error
says that dbtext couldn't open mysql database. This
was pretty trivial...
Milivoje
--- Milivoje Mirovic <mmirovic(a)yahoo.com> wrote:
> Hello everybody,
>
> I'm trying to configure voicemail using sems. I've
> figured out that I have problem with 'vm' module in
> second ser instance. In cfg file I have problem with
> these two lines:
>
> loadmodule "/usr/lib/ser/modules/vm.so"
> modparam("voicemail",
> "db_url","sql://root:@127.0.0.1/ser")
>
> I recieve error:
>
> ser[4525]: DBT:dbt_cache_get_db: database
> [sql://root:@127.0.0.1/ser] does not exists!
> ser[4525]: DBT:dbt_init: cannot get the link to
> database
> ser[4525]: ERROR; vm_init_child: could not init db
> sql://root:@127.0.0.1/ser
> ser[4525]: init_mod_child(): Error while
> initializing
> module voicemail
> ser[4525]: init_child failed
>
> However I use database properly with same parameters
> for other modules. I tried with another database
> (created with 'ser_mysql.sh copy vm'), unfortunately
> I
> have same results. I recompiled ser, but I didn't
> found lines to uncomment to activate voicemail, so I
> concluded that voicemail is enabled by default in
> ser
> 0.8.12.
>
> Can you help me solve this problem?
>
> Milivoje
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
Hello,
has anyone any pointers on how to implement interdomain
routing with SER _without_ using the domain part of an
uri when dialing.
Example:
I want to map sip:400000@mydomain (not only one id but a complete range)
to sip:400000@otherdomain.
"mydomain" is served via my Proxy server and otherdomain by someone else.
My first thought was to just rewrite the "to" part of the uri but AFAIK
thats not suggested because it violates the SIP RFC.
On the other hand i dont see how to circumvent rewriting the "to" uri
unless both sides use E164/ENUM Numbers or the enduser uses complete
sip addresses and not only the (numeric) user part.
best regards,
Arnd
Hello,
is it possible to add more codes to SEMS than there are in the
default distribution? I would like to add iLBC, speex and g729a.
Any pointers?
regards,
Arnd
Hi,
I'm trying to contact the guys from SER for a quotation on assistance with
installing/configuring/maintaining an SER server on our network.
Does anyone else offer this as a 'paid-for' service?
Also, does anyone know the best billing server for this?
thanks,
Darren
MyWebCalls
www.mywebcalls.com
i have been receiving the following error, when i try to create a new
doman:
0.8.13-dev-33-usrloc
Also when i try to create a user i get the following error:
# serctl add test test prueba(a)prueba.com
MySql password:
error: overlap with an existing alias
And i don't have nothing in the table aliasesç
I have other problem when i try to check ot aliases
serctl alias show test
400 table (aliases) not found
What could the problem be, i have compiled ser with mysql support.
Thanks
thanks for the response Jan.
Consequently if I allow more than one contact for each username, there is no
way to assure that my access control policy will be applied to all contacts?
However I was thinking to another scenario where I don't permit that two
clients are registered with the same username.
When I need to use the forking I create a special user and I explicitly
define the set of contacts associated to it.
All the components of these sets will have the same domain administrated by
the proxy, so all the INVITEs generated in forking mode came back to the
proxy and the entire config script is executed for each contact.
sip:special_user@proxy_domain ----> sip:user1@proxy_domain --->
user1@ip_address1
----> sip:user2@proxy_domain --->
user2@ip_address2
In this situation, when I need to avoid to contact only one of the two
users, I can't send an error message.
What do you think about this use of the recursive elaboration?
I think that there is the risk to lost the control, and I'm still evaluating
all the situations that could become dangerous.
Daniele
-----Messaggio originale-----
Da: Jan Janak [mailto:jan@iptel.org]
Inviato: lunedi 12 luglio 2004 9.50
A: Zappasodi Daniele
Cc: serusers(a)lists.iptel.org
Oggetto: Re: [Serusers] Parallel forking and reply error
This is not possible because the config script will be executed for the
first branch only, thus you couldn't implement any per-branch policy.
Jan.
On 30-06 10:16, Zappasodi Daniele wrote:
> Hi, all
> I'm implementing a black list, the control access to the gateway and other
> control policies and I have a problem with the call forking.
> In case of a call that generates a parallel forking I want the capability
to
> select if accept or refuse the call for each single contact, but if the
> first reply that I send to the caller is an error message 4xx, the UA
caller
> shuts down the call.
> What would I have to do to add my reject (caused by my access control
> policy) to the call forking administration and so reply an error only if
all
> contacts can not be reachable?
> I'm trying to implement a solution to reply an error only if all the
> contacts can not be reachable.
> To do this thing I need to know the number of contacts that the lookup
> function has found for the request-uri that is arrived ( Is it possible to
> know if I have a single contact or a parallel forking?) and, if there are
> more than one contact associated to the sip uri, how can I go to serve the
> next contact in list without sending a reply for the destinations that I
> have to block?
> Any suggestion?
>
> Thanks
> Daniele
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
Hi all,
I'm trying to write my own module for SER, and I need to get the ip adress in
the good order.
How can I do it?
I need this address to be converted into a (char*).
The way I get it is by using ip_addr2a(&_msg->rcv.src_ip). But it's not in the
good order.
Please help me and if you can, the lines I have to add to make it work.
Thanks
Laurent