Hi,
I am facing another error. Please advice when I tried to dial from SIP to
PSTN. There is connection already but disconnected. Please Help.
I have attached my sems and ser configuration file for your reference.
Thanks in advance.
Configuration:
configuration file: /usr/local/etc/sems/sems.conf
Ser's FIFO: /tmp/vm_ser_fifo
our FIFO: /tmp/am_fifo
plug-in path: /usr/local/lib/sems/plug-in/
daemon mode: 0
local IP: *****
(5968) ERROR: open_device (IsdnDevice.cpp:251): could not open special file
/dev/ttyI10, reason:
No such device
(5968) ERROR: IsdnGatewayFactory (IsdnGatewayFactory.cpp:90): could not
initialize /dev/ttyI10, removing from list
(5968) ERROR: open_device (IsdnDevice.cpp:251): could not open special file
/dev/ttyI11, reason:
No such device
(5968) ERROR: IsdnGatewayFactory (IsdnGatewayFactory.cpp:90): could not
initialize /dev/ttyI11, removing from list
(5968) ERROR: open_device (IsdnDevice.cpp:251): could not open special file
/dev/ttyI12, reason:
No such device
(5968) ERROR: IsdnGatewayFactory (IsdnGatewayFactory.cpp:90): could not
initialize /dev/ttyI12, removing from list
(5968) ERROR: open_device (IsdnDevice.cpp:251): could not open special file
/dev/ttyI13, reason:
No such device
(5968) ERROR: IsdnGatewayFactory (IsdnGatewayFactory.cpp:112): could not
initialize /dev/ttyI13,
removing from list
(5968) ERROR: open_device (IsdnDevice.cpp:251): could not open special file
/dev/ttyI14, reason:
No such device
(5968) ERROR: IsdnGatewayFactory (IsdnGatewayFactory.cpp:112): could not
initialize /dev/ttyI14,
removing from list
(5968) ERROR: reassignIncomingDevices (IsdnDeviceIncoming.cpp:163): could
not get locked incoming device, number * unhandled!
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
0 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
2 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
3 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
4 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
5 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
6 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
7 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
8 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: reply (AmRequest.cpp:335): AmRequestUAS::reply: 500 command
't_reply' not available(5968) ERROR: reply (AmRequest.cpp:335):
AmRequestUAS::reply: 500 command 't_reply' not available(5968) ERROR: run
(AmSession.cpp:193): 500 could not send response.
(5968) ERROR: reply (AmRequest.cpp:335): AmRequestUAS::reply: 500 command
't_reply' not available(5968) ERROR: cb_disconnect_ind
(IsdnCapiConnection.cpp:360): unknown capi error, received DISCONNECT_IND
with info 0 (unknwon CAPI error! (please report as a bug!))
Regards,
Nicky
----- Original Message -----
From: "Nicky" <nicky(a)caliber.com.sg>
To: "Ulrich Abend" <uli(a)iptel.org>
Cc: <serusers(a)lists.iptel.org>; <sems(a)lists.iptel.org>
Sent: Thursday, March 24, 2005 6:55 PM
Subject: isdngw connecting to PSTN
> Hi,
>
> I have encountered the problem when I tried to connect SIP to PSTN using
the
> isdngw. Please advice what can be the problem and is there any guidelines
> for connecting to PSTN beside using the isdn.conf file, is there anything
to
> take note. I keep getting a engaged tone. Please help....thank you.
>
> Mar 24 18:08:02 /usr/local/sbin/ser[9301]: ERROR: vm: db_query() failed.
> Mar 24 18:08:02 /usr/local/sbin/ser[9301]: ERROR: vm: vm_get_user_info
> failed
> Mar 24 18:08:02 /usr/local/sbin/ser[9301]: could not contact isdngw
>
> regards,
> nicky
>
Hello,
I used the example from doc/examples/pstn.cfg in Debian Sarge but when SER
connects to mysql it says that therare "too many connecitons"... maybe it's
a bug or maybe my conf is not correct. If so, could you please point me how
to forward calls to a hardware E1/IP Gateway ? (like Multitech Multivoip
3010) . My gateway works fine for h323. With SIP it registers in SER (but
there are logs that "binding has expired")
Any help appreciated and thanks in advance..
--
Pozdrawiam,
Wojciech Ziniewicz
Optocomp sp.z.o.o, www.optocomp.pl
mailto: wojtekz(a)optocomp.pl
+48(0)691031535
Hi, All:
I just tested the SER+RTPProxy. My ser and rtpproxy
are located on the same machine with public ip address.
my SIP UA is behind the NAT device(Symmetric NAT). When
UA registered to SER, the SER send the response to the
port specified in the Via head parameters, not the
real port receiving the Registration request. After
I put the force_rport() in the ser.cfg, all will
works well. I wonder why the SER doesn't send the
response back to the receiving port. Whether that
conflicts the RFC3261 chapter 19.
I am glad to hear your advice and help
Best Regards
Sun Zongjun
Hi,
My testing environment is as follows.
SER+RTPProxy's ip: 111.122.133.100
NAT device's ip: 111.122.133.4
SIP UA A's IP: 192.168.0.62:9000
SIP UA B's IP: 111.122.133.100:5000
If I use the SiP UA A to call UA B outside the
NAT clouds, I think the SER should communicate
with RTPProxy and modify the INVITE message's
SDP message's media IP and Port. But I checked
the UA B's log and found that the ser only changed
the SDP''s IP, not the media port.
Here is the UA B's log:
INVITE sip:861111@111.122.133.100:5000 SIP/2.0^M
Record-Route: <sip:111.122.133.100;ftag=1509219066;lr>^M
Via: SIP/2.0/UDP 111.122.133.100;branch=z9hG4bKb6f1.9cf45a65.0^M
Via: SIP/2.0/UDP
192.168.0.62:9000;rport=12072;received=111.122.133.4;branch=z9hG4bK1145650245^M
From: <sip:862222@sip.suntest.com>;tag=1509219066^M
To: <sip:861111@sip.suntest.com>^M
Call-ID: 638544678(a)192.168.0.62^M
CSeq: 20 INVITE^M
Contact: <sip:862222@111.122.133.4:12072>^M
Max-Forwards: ^M
User-Agent: User Agent0.1^M
Subject: This is my first SIP call^M
Expires: 120^M
P-Info: VQem2WySucv0oaiOqT7HAmtlPhMYPd3Kn58o4xX9o5tL^M
P-Need-Security: Yes^M
Require: P-Need-Security^M
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, REFER, SUBSCRIBE, NOTIFY,
MESSAGE^M
Content-Type: application/sdp^M
P-Security-Nobody: abnPtllQ4gF5deL2u5UfUnfzUcJhomFI+yj1mYR374s=^M
Content-Length: 310^M
P-hint: usrloc applied^M
^M
v=0^M
o=nobody 20041028 20000001 IN IP4 192.168.0.62^M
s=A call^M
c=IN IP4 111.122.133.4^M
t=1112000912 1112004512^M
m=audio 9500 RTP/AVP 0 8^M
a=rtpmap:0 PCMU/8000^M
a=rtpmap:8 PCMA/8000^M
m=video 10000 RTP/AVP 98 31^M
a=rtpmap:98 H263/90000^M
a=rtpmap:31 vf=4/CIF/1/768^M
a=direction:active^M
a=oldmediaip:192.168.0.62^M
the UA A's original audio port is 9500, you see
it is unmodified through the SER.
Next is the part of my SER.cfg config:
if(method == "INVITE")
{
fix_nated_sdp("3");
};
I thinks the SER should relaced the SDP media IP and port
with the return valued by RTPProxy. That is, media ip is not
the NAT device's IP, but RTPProxy's IP, 111.122.133.100, and
the audio port is the port returned by RTPProxy. Now I can't
see the modification of the media port by RTPPProxy.
Am I right??
Thanks for your help!
Best Regards.
Sun Zongjun
Do anybody know any open sorce of a prepaid or calling card application for ser??
Thanks & Regards
Ritesh Jalan
Senior Engineer - Test & Audit
Net4india Ltd.
703, Bhikaji Cama Bhawan
11, Bhikaji Cama Place
New Delhi 110066
Tel: 91 (011) (26160129 - 131) (Extn 131)
URL: http://www.net4india.com
hello
Now it is doing loging of accounting under
/usr/local/var/log/radius/radacct/. i have to add the
following to my ser.cfg
loadmodule "/usr/local/lib/ser/modules/acc.so"
modparam("acc", "radius_config",
"/usr/local/etc/radiusclient/radiusclient.conf")
modparam("acc", "log_level", 1)
modparam("acc", "log_flag" , 1)
modparam("acc", "radius_flag", 1)
route{
setflag(1);
if (method=="INVITE") record_route();
}
thanks
Kamran
>hello Bruno Lopes F. Cabral
>
>where are those logs.
>i have followed this doc
>http://www.iptel.org/ser/doc/ser_radius/ser_radius.html
>how to setflag
>are you talking about
>
>"4.2. Accounting Configuration
> To enable RADIUS accounting simply use
>radius_log_flag and radius_log_missed_flag parameters
>instead of log_flag and log_missed_flag. Mark
>transactions that should be logged with flags
>configured in the parameters."
>
>from this document
>i cant find radius_log_flag in SER
>ser-0.8.14/modules/acc/Makefile
>
>i have changed ser-0.8.14/modules/acc/Makefile and
>recompile this SER but still not getting any response
>at RADIUS side
>
>----------------------------------------------
>#ser-0.8.14/modules/acc/Makefile
>include ../../Makefile.defs
>auto_gen=
>NAME=acc.so
>LIBS=
>
># uncomment the next line if you wish to enable SQL
>accounting
>#DEFS+=-DSQL_ACC
>
># uncomment the next two lines if you wish to enable
>RADIUS accounting
>DEFS+=-DRAD_ACC -I$(LOCALBASE)/include
>LIBS=-L$(LOCALBASE)/lib -lradiusclient
>
>include ../../Makefile.modules
>----------------------------------------------------
>
>
>
>
>>These logs you'll have to look onto RADIUS server,
>>not SER config. you'll need to check if you
>setflag'ed
>>correctly SER so it would actually generate the
>RADIUS
>>start and stop records
>>
>>>Kamran Ahmad wrote:
>>> i have done this
>>>
>>>http://www.iptel.org/ser/doc/ser_radius/ser_radius.html.
>>> one thing i cant find any log under
>>> /usr/local/var/log/radius/radacct
>>> or
>>> /var/log/radius/radacct
>>> i dont know how to invoke accounting
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
Hi Stephen,
The same issue over here. I think I've located the problem; RTP traffic
on the way back from clients behind NAT have no predictable portnumbers.
I think they hit the firewall and never arrive. I'm going to be
looking at a solution to direct the traffic to a specific destination
port. I'll keep you up to date; let me know if you find a solution!
Cheers,
Joeri
hello Bruno Lopes F. Cabral
where are those logs.
i have followed this doc
http://www.iptel.org/ser/doc/ser_radius/ser_radius.html
how to setflag
are you talking about
"4.2. Accounting Configuration
To enable RADIUS accounting simply use
radius_log_flag and radius_log_missed_flag parameters
instead of log_flag and log_missed_flag. Mark
transactions that should be logged with flags
configured in the parameters."
from this document
i cant find radius_log_flag in SER
ser-0.8.14/modules/acc/Makefile
i have changed ser-0.8.14/modules/acc/Makefile and
recompile this SER but still not getting any response
at RADIUS side
----------------------------------------------
#ser-0.8.14/modules/acc/Makefile
include ../../Makefile.defs
auto_gen=
NAME=acc.so
LIBS=
# uncomment the next line if you wish to enable SQL
accounting
#DEFS+=-DSQL_ACC
# uncomment the next two lines if you wish to enable
RADIUS accounting
DEFS+=-DRAD_ACC -I$(LOCALBASE)/include
LIBS=-L$(LOCALBASE)/lib -lradiusclient
include ../../Makefile.modules
----------------------------------------------------
>These logs you'll have to look onto RADIUS server,
>not SER config. you'll need to check if you
setflag'ed
>correctly SER so it would actually generate the
RADIUS
>start and stop records
>
>Kamran Ahmad wrote:
>> i have done this
>>
>http://www.iptel.org/ser/doc/ser_radius/ser_radius.html.
>> one thing i cant find any log under
>> /usr/local/var/log/radius/radacct
>> or
>> /var/log/radius/radacct
>> i dont know how to invoke accounting
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
It could be an error in the condition of the if
sentence that cause the logic no to execute the
commands inside of it. Maybe, try logging something in
the if sentence before the exec command and see if
something happens.
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
Hi,
I'm currently trying to setup a SER with rtpproxy as a full SIP router
with IPv4 and IPv6 clients. After some hours of work I think I've
understood the basics and I've hit my first problem.
According to the examples floating around (and also according to my own
tests) you need to give force_rtp_proxy different arguments depending on
the AFI of both sides of the RTP stream.
IPv4 -> IPv4 force_rtp_proxy("FAII") (or omit for direct media)
IPv4 -> IPv6 force_rtp_proxy("FAIE")
IPv6 -> IPv4 force_rtp_proxy("FAEI")
IPv6 -> IPv6 force_rtp_proxy("FAEE") (or omit for direct media)
while it is pretty easy to tell the AFI of the caller with
if (af == inet6)
as written in the examples, it seems to be impossible to tell the AFI of
the called side in the route block (since DNS lookups appear to be done
after t_relay(), and there might even be a fallback, haven't tested
that). In static configurations you might be able to create a list of
v4/v6 peers, but with ENUM or similar games you're seriously screwed.
Anyone having an idea how to solve that?
Thanks
Bernhard