I can make call between users registered through sbc.However, it is complete 
using a new profile, especially without following config line:
#### some.sbcprofile.conf######## registration cache: use local registration 
cache enable_reg_caching=yes#   register upstream every 3600 sec  
min_reg_expires=3600#   and make UA re-register every 60 sec  
max_ua_expires=60#### some.sbcprofile.conf#######
And there are following error printed on sems log when reg_caching was disabled:
#########error log when reg_caching disabled################## 
[#7f9b10d29700/30613] [getLocalSocket, AmRtpStream.cpp:117] ERROR:  Too many 
open files [#7f9b10d29700/30613] [replaceConnectionAddress, AmB2BMedia.cpp:783] 
ERROR:  setting port: 'while creating new socket.' [#7f9b10d29700/30613] 
[processEventsCatchExceptions, AmSession.cpp:351] ERROR:  error setting RTP port
 [#7f9b10d29700/30613] [processEventsCatchExceptions, AmSession.cpp:358] ERROR: 
 500 unexpected exception. [#7f9b10d29700/30615] [getLocalSocket, 
AmRtpStream.cpp:117] ERROR:  Too many open files [#7f9b10d29700/30615] 
[replaceConnectionAddress, AmB2BMedia.cpp:783] ERROR:  setting port: 'while 
creating new socket.' [#7f9b10d29700/30615] [processEventsCatchExceptions, 
AmSession.cpp:351] ERROR:  error setting RTP port
 [#7f9b10d29700/30615] [processEventsCatchExceptions, AmSession.cpp:358] ERROR: 
 500 unexpected exception.#########error log when reg_caching 
disabled##################
Thanks and Best RegardsYanchong Wang

From: [email protected]
To: [email protected]
Subject: Can not make call between users registered through sbc
Date: Wed, 10 Sep 2014 09:52:02 +0000







Dear SEMS experts:
I've spent several days studying SEMS presentations in kamailio world 2014, and 
saw the reg caching features very attractive. After several trial of 
installation, I found the code from github seems have more new features 
including sbc's reg_caching. After successful compilation and deployment as 
following, it looks like the reg_caching feature work as expected.
However, when I tried to make a call between phones registered through 
sbc(192.168.131.1/192.168.131.128) with active sbc profile use 
transparent.sbcprofile.conf.I always got a 404 error from sems sbc, I can not 
understand why it does not relay the invitation request to the kamailio 
server(which is the target registrar server with address 192.168.130.126:5060), 
and just send out 404 to phones.
Here attached all my configuration files and logs.
Any help or hint will be highly appreciated.
root@debian-64:/usr/local/etc/sems/etc# ifconfigeth0      Link encap:Ethernet  
HWaddr 00:0c:29:b6:85:a1            inet addr:192.168.131.1  
Bcast:192.168.131.255  Mask:255.255.252.0          inet6 addr: 
fe80::20c:29ff:feb6:85a1/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  
MTU:1500  Metric:1          RX packets:1348470 errors:0 dropped:0 overruns:0 
frame:0          TX packets:81360 errors:0 dropped:0 overruns:0 carrier:0       
   collisions:0 txqueuelen:1000           RX bytes:138008044 (131.6 MiB)  TX 
bytes:21608738 (20.6 MiB)
eth1      Link encap:Ethernet  HWaddr 00:0c:29:b6:85:ab            inet 
addr:192.168.131.128  Bcast:192.168.131.255  Mask:255.255.252.0          inet6 
addr: fe80::20c:29ff:feb6:85ab/64 Scope:Link          UP BROADCAST RUNNING 
MULTICAST  MTU:1500  Metric:1          RX packets:1305531 errors:0 dropped:0 
overruns:0 frame:0          TX packets:1645 errors:0 dropped:0 overruns:0 
carrier:0          collisions:0 txqueuelen:1000           RX bytes:99699070 
(95.0 MiB)  TX bytes:420923 (411.0 KiB)
Thanks and Best RegardsYanchong Wang
                                                                                
  
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to