I don't think that the problem in URI is presence of npdi. The problem is IMO that
it is a SIP URDI without a domain -- I don't really see to where I would
be able to send such a URI.
-jiri
At 19:53 23/06/2006, John Clements wrote:
>I've looked around and have found one or two other posts asking about
>this, but I have never seen an answer. The From is:
>
>=uri: <sip:5551212;npdi=yes@x.x.x.x:5060;dtg=SIP;user=phone>
>
>Which causes a number of issues. USRLOC no longer …
[View More]works:
>
>=lookup(): '5551212;npdi=yes' Not found in usrloc
>
>And when you send the call to an Asterisk server, Asterisk wigs out
>because it truncates everything after the first ";" it encounters in the
>URI. Does anyone have any idea how to get rid of it? I've tried subst(),
>but could not get it to work. :-(
>
>
> -John
>
>
>_______________________________________________
>Serusers mailing list
>Serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
[View Less]
Okay... help me visualise something. Now, as far as I can tell, SER is doing
exactly what it's supposed to be doing, but I can't figure out how to get it
to do something different.
I have an accounting section (my log flag is 1) that looks like this:
if((method=="INVITE" && !has_totag()) || method=="BYE")
{
setflag(1);
};
Basic, simple logging section. But when someone calls through from a DID to an
alias in the aliases table, it of course logs the sip_to as the alias.
…
[View More]Fine, I thought. I'll just add a lookup("aliases") before the setflag and all
will be well, right? No. Then it doesn't seem to log anything at ALL.
So what I'm trying to figure out is how to get SER to log a call coming into
an alias as a call to the user who's aliased.
I.e. a call is coming in from 1010(a)remote.proxy.com to 9999(a)proxy.com (which
is really an alias to user 1234(a)proxy.com). Right now, SER is logging in the
acc tables that the call went to sip:9999@proxy.com.
I want to have it log that the call went to 1234(a)proxy.com and NOT that it
went to the alias.
This:
if((method=="INVITE" && !has_totag()) || method=="BYE")
{
lookup("aliases");
setflag(1);
};
gets me nothing at all.
Ideas, anyone? I'm stumped. I'm sure it's something drastically simple that
I'm just not getting.
N.
[View Less]
Dear all,
When i try to compile again TLS ( I have disabled Kerberos5) by using Command ,TLS=1 make install, I got an error message.
It is :
make: *** [tls/tls_init.o] Error 1
What should i do else? I am very confused. This is my first time to build TLS. Please help me..Please ..
Note: Below is the message shown when i compile TLS support
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double - falign-loops -mcpu=athlon -…
[View More]DNAME='"openser"' -DVERSIonfiltered='"1.0.1-tls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DOPENSSL_NO_KRB5 -DUSE_TLS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/ssl/include -c tls/tls_init.c -o tls/tls_init.o
tls/tls_init.c:373:25: directives may not be used inside a macro argument
tls/tls_init.c:372:56: unterminated argument list invoking macro "SSL_CTX_set_options"
tls/tls_init.c: In function `init_ssl_ctx_behavior':
tls/tls_init.c:376: `SSL_CTX_set_options' undeclared (first use in this function)
tls/tls_init.c:376: (Each undeclared identifier is reported only once
tls/tls_init.c:376: for each function it appears in.)
tls/tls_init.c:376: parse error before ')' token
make: *** [tls/tls_init.o] Error 1
Thank you very much
Regards,
Ferianto
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs.Try it free.
[View Less]
Dear all,
Thank you very much to Bogdan for helping me.Thanks
When i try to compile again TLS (after I disable the Kerberos5) by using Command ,TLS=1 make install, I got an error message again It is the message:
make: *** [tls/tls_init.o] Error 1
What should i do else? I am very confused. This is my first time to build TLS. Please help me..Please ..
Note: Below is the message shown when i compile TLS support
gcc -g -O9 -funroll-loops -Wcast-align -Wall -…
[View More]minline-all-stringops -malign-double - falign-loops -mcpu=athlon -DNAME='"openser"' -DVERSION='"1.0.1-tls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DOPENSSL_NO_KRB5 -DUSE_TLS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/ssl/include -c tls/tls_init.c -o tls/tls_init.o
tls/tls_init.c:373:25: directives may not be used inside a macro argument
tls/tls_init.c:372:56: unterminated argument list invoking macro "SSL_CTX_set_options"
tls/tls_init.c: In function `init_ssl_ctx_behavior':
tls/tls_init.c:376: `SSL_CTX_set_options' undeclared (first use in this function)
tls/tls_init.c:376: (Each undeclared identifier is reported only once
tls/tls_init.c:376: for each function it appears in.)
tls/tls_init.c:376: parse error before ')' token
make: *** [tls/tls_init.o] Error 1
Thank you very much.
Regards,
Ferianto
---------------------------------
Want to be your own boss? Learn how on Yahoo! Small Business.
[View Less]