An earlier post discussed issues I had calling between Sipura and x-lite.
After receiving a lot of help that issue was resolved ... sort of. For those
interested, calls between two x-lite UAs through an incorrectly configured
mediaproxy had two-way audio but calls between x-lite and sipura did not. I
now get one-way audio between the Sipura and x-lite when the call goes over
the internet and back into the same NAT, but get no audio when the calls
goes out and back into another NAT.
I am using:
ser 0.9.1
mediaproxy 1.3.0
ser.cfg from onsip.org
I have posted the relevant Invites from 4 scenarios below and would
appreciate any insight:
1. Sipura to x-Lite on same NAT (one-way audio)
2. Sipura to x-Lite on different NAT (no audio)
3. x-Lite to x-Lite on same NAT (audio OK)
4. x-Lite to x-Lite on different NAT (audio OK)
The problem may be that the c record is the local IP address for the Sipura
with the Sipura calls whereas with the x-lite calls it is the public IP
address. I've checked the settings on the sipura and the NAT settings = no
(I think this means leave NAT to mediaproxy) whilst the Via settings = yes.
*Scenario 1*
The following invite is on a call from Sipura (beattiek) to x-Lite
(beattiec) on the same NAT.
Audio is heard in one direction (from x-lite to Sipura).
Sipura -> Nat 1 -> Proxy -> Nat 1 -> x-lite
U 147.202.44.XXX:5060 -> 60.234.199.XXX:1028
INVITE sip:beattiea@60.234.199.XXX:5060 SIP/2.0..Record-Route:
<sip:alias1@147.202.44.XXX:5060;nat=yes;ftag=1df09ec95856c84do0;lr=on>
..Via: SIP/2.0/UDP 147.202.44.XXX;branch=z9hG4bK6799.73035531.0..Via:
SIP/2.0/UDP 192.168.0.11:5060;received=60.234.199.XXX;branch=z9hG4b
K-d4727cc1;rport=5060..From: Cameron's sipura 2000
<sip:beattiek@beta.mydomain.co.nz>;tag=1df09ec95856c84do0..To:
<sip:alias1@beta.
mydomain.co.nz>..Call-ID: 91508d79-f1c0295d@192.168.0.11..CSeq: 102
INVITE..Max-Forwards: 16..Contact: Cameron's sipura 2000 <sip:beatt
iek@60.234.199.XXX:5060>..Expires: 240..User-Agent:
Sipura/SPA2000-2.0.13(g)..Content-Length: 424..Allow: ACK, BYE, CANCEL,
INFO, INVITE,
NOTIFY, OPTIONS, REFER..Supported: x-sipura..Content-Type:
application/sdp....v=0..o=- 8343043 8343043 IN IP4 192.168.0.11..s=-..c=IN
IP
4 192.168.0.11..t=0 0..m=audio 16454 RTP/AVP 0 2 4 8 18 96 97 98 100
101..a=rtpmap:0 PCMU/8000..a=rtpmap:2 G726-32/8000..a=rtpmap:4 G723/
8000..a=rtpmap:8 PCMA/8000..a=rtpmap:18 G729a/8000..a=rtpmap:96
G726-40/8000..a=rtpmap:97 G726-24/8000..a=rtpmap:98 G726-16/8000..a=rtpma
p:100 NSE/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101
0-15..a=ptime:30..a=sendrecv..
*Scenario 2*
The following invite is on a call from Sipura (beattiek) to x-Lite (pearcej)
on a separate NAT.
No audio is heard in either direction.
Sipura -> Nat 1 -> Proxy -> Nat 2 -> x-lite
U 147.202.44.XXX:5060 -> 219.88.100.XX:5060
INVITE sip:pearcej@219.88.100.XX:5060 SIP/2.0..Record-Route:
<sip:alias2@147.202.44.XXX:5060;nat=yes;ftag=3c35fa19eb73610fo0;lr=on>..Via
: SIP/2.0/UDP 147.202.44.XXX;branch=z9hG4bK810a.ea51b996.0..Via:
SIP/2.0/UDP 192.168.0.11:5060;received=60.234.199.XXX;branch=z9hG4bK-ca5
e9437;rport=5060..From: Cameron's sipura 2000
<sip:beattiek@beta.mydomain.co.nz>;tag=3c35fa19eb73610fo0..To:
<sip:alias2@beta.mydomain
.co.nz>..Call-ID: 92d1ee61-22aab967@192.168.0.11..CSeq: 102
INVITE..Max-Forwards: 16..Contact: Cameron's sipura 2000 <sip:beattiek@60.2
34.199.XXX:5060>..Expires: 240..User-Agent:
Sipura/SPA2000-2.0.13(g)..Content-Length: 424..Allow: ACK, BYE, CANCEL,
INFO, INVITE, NOTIFY,
OPTIONS, REFER..Supported: x-sipura..Content-Type:
application/sdp....v=0..o=- 7997909 7997909 IN IP4 192.168.0.11..s=-..c=IN
IP4 192.16
8.0.11..t=0 0..m=audio 16442 RTP/AVP 0 2 4 8 18 96 97 98 100
101..a=rtpmap:0 PCMU/8000..a=rtpmap:2 G726-32/8000..a=rtpmap:4 G723/8000..a=
rtpmap:8 PCMA/8000..a=rtpmap:18 G729a/8000..a=rtpmap:96
G726-40/8000..a=rtpmap:97 G726-24/8000..a=rtpmap:98
G726-16/8000..a=rtpmap:100 NS
E/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101
0-15..a=ptime:30..a=sendrecv..
*Scenario 3*
The following invite is on a call from x-Lite (beattiec) to x-Lite
(beattiea) on the same NAT.
x-lite-> Nat 1 -> Proxy -> Nat 1 -> x-lite
U 147.202.44.XXX:5060 -> 60.234.199.XXX:1028
INVITE sip:beattiea@60.234.199.XXX:5060 SIP/2.0..Record-Route:
<sip:beattiea@147.202.44.XXX:5060;nat=yes;ftag=251677925;lr=on>..Via: SIP/
2.0/UDP 147.202.44.XXX;branch=z9hG4bKd72b.189eef55.0..Via: SIP/2.0/UDP
60.234.199.XXX:5060;rport=1027;branch=z9hG4bK52D2A416DB7849C4BC88D
0A3B2B4B1D1..From: Cameron's laptop
<sip:beattiec@beta.mydomain.co.nz>;tag=251677925..To:
<sip:beattiea@beta.mydomain.co.nz>..Contact
: <sip:beattiec@60.234.199.XXX:1027>..Call-ID:
0E31A4AE-E92F-46D1-8ACB-7CB7E2FF1641@192.168.0.15..CSeq: 18590
INVITE..Max-Forwards: 16..C
ontent-Type: application/sdp..User-Agent: X-Lite release
1103m..Content-Length: 303....v=0..o=beattiec 169182050 169182181 IN IP4
60.234.
199.XXX..s=X-Lite..c=IN IP4 60.234.199.XXX..t=0 0..m=audio 8000 RTP/AVP 0
8 3 98 97 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8 pcma/8000..a=rt
pmap:3 gsm/8000..a=rtpmap:98 iLBC/8000..a=rtpmap:97
speex/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..
*Scenario 4*
The following invite is on a call from x-Lite (beattiec) to x-Lite (pearcej)
on a separate NAT.
x-lite -> Nat 1 -> Proxy -> Nat 2 -> x-lite
U 147.202.44.XXX:5060 -> 219.88.100.XX:5060
INVITE sip:pearcej@219.88.100.XX:5060 SIP/2.0..Record-Route:
<sip:alias2@147.202.44.XXX:5060;nat=yes;ftag=3274571863;lr=on>..Via: SIP/2.
0/UDP 147.202.44.XXX;branch=z9hG4bKa447.eadaf8e4.0..Via: SIP/2.0/UDP
60.234.199.XXX:5060;rport=1027;branch=z9hG4bKED04E2DC4F0846A5B616A13
47747365E..From: Cameron's laptop
<sip:beattiec@beta.mydomain.co.nz>;tag=3274571863..To:
<sip:alias2@beta.mydomain.co.nz>..Contact:
<sip:beattiec@60.234.199.XXX:1027>..Call-ID:
60F12C88-B4A4-44D9-A207-FF7F6A97C3C8@192.168.0.15..CSeq: 7003
INVITE..Max-Forwards: 16..Cont
ent-Type: application/sdp..User-Agent: X-Lite release
1103m..Content-Length: 303....v=0..o=beattiec 165963913 165964043 IN IP4
60.234.199
.XXX..s=X-Lite..c=IN IP4 60.234.199.XXX..t=0 0..m=audio 8000 RTP/AVP 0 8 3
98 97 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8 pcma/8000..a=rtpma
p:3 gsm/8000..a=rtpmap:98 iLBC/8000..a=rtpmap:97 speex/8000..a=rtpmap:101
telephone-event/8000..a=fmtp:101 0-15..
Many thanks for any help received.
Regards
Cameron Beattie
Hi,
After install SER on Solaris successfully then I use Window Messenger on 2
workstation to connect to the SER but neither sees the other is online.
Could you please let me know how to fix this problem?
Do I need to install mysql before using Window Messenger?
Thanks a lot,
Hiep
hi guys,
i need help please. very new on SER.
i just installed v0.9.0(ser-0.9.0_src.tar) using "make
prefix=/usr/local all" then "make prefix=/usr/local
install". looks like everything was installed.
ser.cfg is /usr/local/etc/ser and executables are in
/usr/local/sbin. the modules are in their correct
directory as shown in the ser.cfg.
my problem is when i do a "serctl start" i get this
problem:
[root@SIPserver sbin]# serctl start
Starting SER : PID file /var/run/ser.pid does not
exist -- SER start failed
secondly, if i do a "serctl moni" i get this message:
[root@SIPserver sbin]# serctl moni
Error opening ser's FIFO /tmp/ser_fifo
Make sure you have line fifo=/tmp/ser_fifo in your
config
i am sure that the default ser.cfg has the line
fifo=/tmp/ser_fifo.
thirdly, if i do a "ser start" i get this message but
it looks like ser is not still running:
[root@SIPserver sbin]# ser start
Listening on
udp: 127.0.0.1 [127.0.0.1]:5060
udp: 146.82.219.99 [146.82.219.99]:5060
tcp: 127.0.0.1 [127.0.0.1]:5060
tcp: 146.82.219.99 [146.82.219.99]:5060
Aliases:
tcp: SIPserver.islandtel.com.ph:5060
tcp: localhost:5060
tcp: localhost.localdomain:5060
tcp: SIPserver:5060
udp: SIPserver.islandtel.com.ph:5060
udp: localhost:5060
udp: localhost.localdomain:5060
udp: SIPserver:5060
[root@SIPserver sbin]#
other info about the server are the following:
[root@SIPserver sbin]# ser -V
version: ser 0.9.0 (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE,
USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
DBG_QM_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.197 2004/12/03 19:09:31 andrei
Exp $
main.c compiled on 14:40:36 Apr 19 2005 with gcc 3.2
[root@SIPserver sbin]# uname -a
Linux SIPserver 2.4.20-8 #1 Thu Mar 13 17:54:28 EST
2003 i686 i686 i386 GNU/Linux
[root@SIPserver sbin]#
any help regarding my problem will be highly
appreciated.
best regards,
Noel
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
In the latest CVS, and in everything else I have read, I can see no
mention of the permissions module using SQL as it's data source. I have
added the options to my ser.cfg (as per other people's configuration),
but SER insists on attempting to read the permissions.allow and
permissions.deny files on startup. Is this normal?
--
==========================================
Rod Bacon - VOIP Systems Engineer
Empowered Communications
Ground Floor, 102 York St. South Melbourne
Victoria, Australia. 3205
Phone: +613 99401600 Fax: +613 99401650
==========================================
Hello List,
I would like to implement a precall speech feature with SER with possibly
SEMS. Basically for a certain of group of our user we would like them to
hear an audio before establishing their calls with the callee. However, I
don't have much clues on how to do this. I have tried the Asterisk B2BUA by
Mr. Mike Tkachuk (which worked) but I don't want the media stream to be
handled by the B2BUA. Unfortunately, I do not know how to configure a
signalling-only B2BUA with the playback - seems whenever I used the playback
function in Asterisk and subsequent call media will be have to be handled by
Asterisk.
That is why I want to explore the possibility of another approach with SEMS.
Would it be possible for the call to be first forwarded to the SER+SEMS box
to play the announcement AND THEN forward the call to the actual called
number? Please shed some light on how I could make this happen. Thank you
very much.
_________________________________________________________________
Scan and help eliminate destructive viruses from your inbound and outbound
e-mail and attachments.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=ht…
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
hi,
when beginning the server to be appears the message in log:
localhost ser: WARNING: could not rev. resolve 192.168.1.100
anyone knows because?
--
[]s,
Bruno "Niggas" Oliveira
Belo Horizonte - MG
Msn: n1gg4s(a)gmail.com
Icq: 176314647
"Todo o nosso descontentamento por aquilo
que nos falta procede da nossa falta de
gratidão por aquilo que temos."
I was looking back through the mailing list archives and i found this
email regarding failed inserts into the location table of a database due
to duplicate entries and there is still a situation where this problem
will occur.
For the full original Thread, this is where is starts
http://lists.iptel.org/pipermail/serusers/2004-April/007151.htmlhttp://lists.iptel.org/pipermail/serusers/2004-April/thread.html#7173
Basically the issue is that the database has an entry for a user that
SER does not have in memory so when a registration comes in SER uses an
INSERT statement instead of an UPDATE which fails because a key
(username, contact, domain) already exists for the user in the database.
The situation where it still occurs is when the database goes away and
during the hiatus a registration expires, SER wipes the registration
from memory and fails on the database delete.
SER will recover from this situation only when it is stopped and
started, this complicates load balanced situations where it is expected
that SER can recover from certain failures (database failures in this
case) without any administrive intervention
Hi
I am testing mediaproxy with ser. I have a config with a Grandstream
handytone 486 as a UA and a CISCO 5350 as a gateway.
My sip server is SER 0.9.0 . I find that when setting up a phone call
and disconnecting the Grandstream ( power off or
disconnecting LAN cable ) the mediaproxy doesn't timeout and disconnect
the call. This is what I have done ...
Grandstream 486 -------- SER 0.9.0 with mediaproxy ------------CISCO
5350
I setup a call from a Grandstream Handytone 486 to the PSTN. and see
this on the proxy server.
root# ./sessions.py
Caller Via Called Status
Duration Codec Type Traffic
------------------------------------------------------------------------
---------------------------------
------------
212.4.174.186:18400 - 217.194.194.181:35008 - 83.157.4.99:56364 active
0'34" G723 Audio
35.81k/53.59k/18.71k
Total traffic: 4.09kbps/352bps/4.44kbps (in1/in2/out)
Session count: 1
Now I disconnect the grandstream from the LAN cable in the middle of the
conversation to test the timeout function of the mediaproxy.
now I get this.
root # ./sessions.py
Caller Via Called Status
Duration Codec Type Traffic
------------------------------------------------------------------------
---------------------------------------------
212.4.174.186:16652 - 217.194.194.181:35010 - 83.157.4.99:56364 active
0'36" G723 Audio 62.92k/74.53k/12.77k
Total traffic: 16.53kbps/0bps/15.47kbps (in1/in2/out)
Session count: 1
The disconnect is reflected in in2 (0bps ), the connection stays active
because I keep on receiving UDP packets ( background noise maybe or
somebody talking ) from the PSTN gateway.
Is it correct to assume there is no end to end communication anymore as
soon as one of both RTP streams is in 0bps ? or could it be that in that
case there is silence from one end ? If it is correct to assume the
connection to the UA has been lost as soon as there is no UDP data
coming from it , how can I modify mediaproxy in a way it will disconnect
on either one of the inputs being in 0bps?
any help highly appreciated .
Paul van Schagen
Hi!
I'm having trouble setting up SEMS conference calls!
When i call the conference number everything goes ok. As soon as the
second user joins, we enter in conference, but there is no sound!!
I see udp trafic to and from both clients, but i hear no sound!
As anyone ever had a similar problem?
Thanx!
Óscar