If it would be an open source, we can help. :p
Mohammad
Original Message:
-----------------
From: cpujol(a)navista.fr
Date: Thu, 19 May 2005 18:04:52 +0200 (CEST)
To: sipforum-discussion(a)lists.su.se
Subject: [Sipforum-discussion] - SIP servers and UA SDK
Hi all !
I'm searching for c++ or Java "SIP servers and UA" SDK because i have to
develop my own SIP architecture for the company who employ me.
Anyone could help me please ?
Thanks.
------
To unsubscribe from the Sipforum-discussion mailing list visit
https://mbox.su.se/mailman/listinfo/sipforum-discussion
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
I have experienced (for the second time) a situation where SER (0.9.1) has
stopped processing all register requests. Note I am also running mediaproxy
1.3.0.
TOP shows 4 ser processes running each using between 20-30% CPU. There is
one zombie process which is shown as [SER] <defunct> when I do a ps ax.
There are only 5 running processes (4 SER + top).
This is a test server that is not doing anything else and I am simply trying
to register 1 UA against it. The server was running fine for a few days and
then suddenly went AWOL.
I looked back through the log and didn't find anything untoward.
Any suggestions on what's the best way to try and find out what's causing
it? Killing SER and starting again worked but I'd rather try to find out
what went wrong. Maybe these are the pleasures of using a non-stable
version?
Regards
Cameron
not sure I follow, assume you have no src_ip check, what happens, does
ser send a request for authroisation to the gateway, if so , then before
u send that request that where you add a if statement to check its a
request from ur src_ip...
Iqbal
Kostas Marneris wrote:
>Thanks for your help Iqbal..
>
>but I'm still experiencing problems :
>I put the 'src_ip' in top of 'Call Processing System'
>
>my conf :
> ...
> # ---------------------------------------
> # Record Route Section
> # ---------------------------------------
> ...
> # ---------------------------------------
> # Loose Route Section
> # ---------------------------------------
> ...
> # ----------------------------------------
> # Call Type Processing System
> # ----------------------------------------
> if (src_ip ==62.103.4.155) {
> log(1,"PSTN-GW originated req...");
> break;
> };
>
> if (uri != myself) {
> log(1,"URI is not myself");
> route(1);
> break;
> };
> ...
> bla-bla-bla
>
>
>I just expected SER logged the mesg "PSTN-GW originated req..."
>to /var/log/messages...
>But nothing is logged there... :(
>
>On the other hand I can see SIP mesgs on c5300 (debug ccsip all)
>and I can verify these with tcpdump/5060 on SER box..
>
>
>thank you anyway,
>Kostas
>
>
>
>Iqbal wrote:
>
>
>>just accept the calls from that IP address, by detecting src_ip=a.b.cd
>>or adding into trusted table, and checking for allow_trusted.
>>
>>The gateway should then send to ser, ser should then accept the call
>>without calling any auth scenario
>>
>>Iqbal
>>
>>Kostas Marneris wrote:
>>
>>
>>
>>
>>>Hello,
>>>
>>>I want to make a call from PSTN to a SIP phone.
>>>I use a cisco 5300 for answering/handling the PSTN number
>>>and then forward the call to a SER box (0.8.14) .
>>>
>>> POTS -> c5300 --> SER -> SIP softphone
>>>
>>>My conf on c5300:
>>>!
>>>dial-peer voice 1003 voip
>>>destination-pattern 12345
>>>session protocol sipv2
>>>session target sip-server
>>>codec g711ulaw
>>>!
>>>sip-ua
>>>sip-server ipv4:X.Y.Z.W
>>>!
>>>
>>>
>>>What is the appropriate configuration on ser.cfg in order to
>>>handle this call and forward it to sip:userX@mydomain.com ??
>>>Any hint about this ??
>>>
>>>
>>>
>>>I've already done the opposite scenario (SIP->PSTN) :
>>>ser.cfg:
>>> if (uri =~ "^sip:2*") {
>>> rewritehostport("1.2.3.4:5060");
>>> forward(uri:host, uri:port);
>>> break;
>>> };
>>>
>>>
>>>
>>>thanks for any help,
>>>Kostas
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>.
>
>
>
Hi everybody ...
I have compiled ser 0.9.0 and run it with the basic configuration without mysql ... it's working fine ... byt now I want to use mysql authentication.
As I found at the manuals I needed to change a certain parameter at the Makefile to turn on the mysql support, til then, no problem, the problem is that when I compile it , it gives me inumerous errors, what am my doing wrong ?:
------------------------------------------------------------------------------
root@sipproxy1:/usr/src/ser-0.9.0/modules/mysql# make
../../Makefile.modules:21: "you should run make from the main ser directory"
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.9.0"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DDBG_QM_MALLOC -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/include -I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/pkg/include -I/usr/include/mysql -c dbase.c -o dbase.o
dbase.c:34:25: mysql/mysql.h: No such file or directory
dbase.c:35:26: mysql/errmsg.h: No such file or directory
In file included from dbase.c:39:
val.h:31:25: mysql/mysql.h: No such file or directory
In file included from dbase.c:39:
val.h:44: error: parse error before '*' token
In file included from dbase.c:40:
my_con.h:33:25: mysql/mysql.h: No such file or directory
In file included from dbase.c:40:
my_con.h:39: error: parse error before "MYSQL_RES"
my_con.h:39: warning: no semicolon at end of struct or union
my_con.h:40: warning: type defaults to `int' in declaration of `con'
my_con.h:40: warning: data definition has no type or storage class
my_con.h:41: error: parse error before "row"
my_con.h:41: warning: type defaults to `int' in declaration of `row'
my_con.h:41: warning: data definition has no type or storage class
my_con.h:44: error: parse error before '}' token
dbase.c: In function `submit_query':
dbase.c:67: error: dereferencing pointer to incomplete type
dbase.c:68: warning: implicit declaration of function `mysql_ping'
dbase.c:68: error: dereferencing pointer to incomplete type
dbase.c:72: error: dereferencing pointer to incomplete type
dbase.c:90: warning: implicit declaration of function `mysql_query'
dbase.c:90: error: dereferencing pointer to incomplete type
dbase.c:93: warning: implicit declaration of function `mysql_errno'
dbase.c:93: error: dereferencing pointer to incomplete type
dbase.c:94: error: `CR_SERVER_GONE_ERROR' undeclared (first use in this function)
dbase.c:94: error: (Each undeclared identifier is reported only once
dbase.c:94: error: for each function it appears in.)
dbase.c:94: error: `CR_SERVER_LOST' undeclared (first use in this function)
dbase.c:98: warning: implicit declaration of function `mysql_error'
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c: At top level:
dbase.c:138: error: parse error before '*' token
dbase.c: In function `print_values':
dbase.c:142: error: `_c' undeclared (first use in this function)
dbase.c:142: error: `_b' undeclared (first use in this function)
dbase.c:142: error: `_l' undeclared (first use in this function)
dbase.c:142: error: `_v' undeclared (first use in this function)
dbase.c:142: error: `_n' undeclared (first use in this function)
dbase.c: At top level:
dbase.c:166: error: parse error before '*' token
dbase.c: In function `print_where':
dbase.c:172: error: `_c' undeclared (first use in this function)
dbase.c:172: error: `_b' undeclared (first use in this function)
dbase.c:172: error: `_l' undeclared (first use in this function)
dbase.c:172: error: `_k' undeclared (first use in this function)
dbase.c:172: error: `_v' undeclared (first use in this function)
dbase.c:172: error: `_n' undeclared (first use in this function)
dbase.c:178: error: `_o' undeclared (first use in this function)
dbase.c: At top level:
dbase.c:207: error: parse error before '*' token
dbase.c: In function `print_set':
dbase.c:213: error: `_c' undeclared (first use in this function)
dbase.c:213: error: `_b' undeclared (first use in this function)
dbase.c:213: error: `_l' undeclared (first use in this function)
dbase.c:213: error: `_k' undeclared (first use in this function)
dbase.c:213: error: `_v' undeclared (first use in this function)
dbase.c:213: error: `_n' undeclared (first use in this function)
dbase.c: In function `store_result':
dbase.c:304: error: dereferencing pointer to incomplete type
dbase.c:304: warning: implicit declaration of function `mysql_store_result'
dbase.c:304: error: dereferencing pointer to incomplete type
dbase.c:305: error: dereferencing pointer to incomplete type
dbase.c:306: warning: implicit declaration of function `mysql_field_count'
dbase.c:306: error: dereferencing pointer to incomplete type
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c: In function `db_free_result':
dbase.c:348: warning: implicit declaration of function `mysql_free_result'
dbase.c:348: error: dereferencing pointer to incomplete type
dbase.c:349: error: dereferencing pointer to incomplete type
dbase.c: In function `db_query':
dbase.c:398: error: dereferencing pointer to incomplete type
dbase.c: In function `db_insert':
dbase.c:471: error: dereferencing pointer to incomplete type
dbase.c: In function `db_delete':
dbase.c:516: error: dereferencing pointer to incomplete type
dbase.c: In function `db_update':
dbase.c:559: error: dereferencing pointer to incomplete type
dbase.c:568: error: dereferencing pointer to incomplete type
make: *** [dbase.o] Error 1
root@sipproxy1:/usr/src/ser-0.9.0/modules/mysql#
-----------------------------------------------------------------------------
--
Felipe Martins
Mundivox Communications
Tecnologia e Projetos
fmartins(a)mundivox.com
Tel.: +55 +21 +3820 8839
Cel.: +55 +21 +9823 8602
Fax.: +55 +21 +3820 8844
www.mundivox.com
Note: forwarded message attached.
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
Hi All
I have try connect one E1 using SER and CISCO 3640 but i have some problems
my PSTN Carrier Need Number for "A" but i don't send this , i need to
complete calls in my carrier.
Please have someone using cisco in R2 Digital send my one example of cfg .
thks a lot
Hi,
i'd like to know if there is a way to stop sip call where communication
is active with a command (for instance when credit=0)
Thanks, Tiziano
--
Tiziano <ml(a)asdasd.it>
Hi All...
I'm new buddy to SER.I want to use ser0.9.0
and redius for AAA purpose.And MySQL for database. can
any one tell me the steps that what should be done ?
as what to install first?SEr or MYSQL? then what about
RADIUS?
Little confused... Please help
Thanks in advance...
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony