Hello ,
I have connected openser with pstn through cisco. when I make a call from voip network to pstn it's ok.
but from pstn to voip I have a problem:openser answers 403 forbiden.
in openser I do the authorisation on mysql, I have disabled authorisation on sip
gateway:
if (src_ip!=X.X.X.X) {
if (!www_authorize("DOMAIN.COM","subscriber")) {
www_challenge("DOMAIN.COM","0");
exit;
}
};
What is the problem?
X.X.X.X is cisco
U X.X.X.X:54177 -> 172.17.6.2:5060
INVITE sip:820022@172.17.6.2:5060 SIP/2.0..Via: SIP/2.0/UDP
X.X.X.X:5060..From: <sip:022250699@X.X.X.X>;tag=1A0FBC30-1472..To: <sip:820022@172.1
7.6.2>..Date: Wed, 08 Nov 2006 11:03:14 GMT..Call-ID:
906DA628-6E4F11DB-9034EA4F-E981BA1F@X.X.X.X..Supported: timer,100rel..Min-SE: 1800..Cisco-Guid
: 2422905184-1850675675-2419190351-3917593119..User-Agent: Cisco-SIPGateway/IOS-12.x..Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBS
CRIBE, NOTIFY, INFO..CSeq: 101 INVITE..Max-Forwards: 6..Remote-Party-ID: <sip:022250699@X.X.X.X>;party=calling;screen=yes;privacy=off..Timestamp: 116
2983794..Contact: <sip:022250699@X.X.X.X:5060>..Expires: 180..Allow-Events: telephone-event..Content-Type: application/sdp..Content-Length: 235....v=
0..o=CiscoSystemsSIP-GW-UserAgent 1226 5023 IN IP4 X.X.X.X..s=SIP
Call..c=IN IP4 X.X.X.X..t=0 0..m=audio 16642 RTP/AVP 18 19..c=IN IP4
X.X.X.X..a=rtpmap:18 G729/8000..a=fmtp:18 annexb=no..a=rtpmap:19 CN/8000..a=ptime:20..
#
U 172.17.6.2:5060 -> X.X.X.X:5060
SIP/2.0 403 Use From=ID..Via: SIP/2.0/UDP X.X.X.X:5060..From:
<sip:022250699@X.X.X.X>;tag=1A0FBC30-1472..To:
<sip:820022@172.17.6.2>;tag=329cfeaa6ded039da25ff8cbb8668bd2.13ec..Call-ID: 906DA628-6E4F11DB-9034EA4F-E981BA1F@X.X.X.X..CSeq: 101 INVITE..Server: OpenSer (1.1.0-tls (x86_64/linux))..C
ontent-Length: 0..Warning: 392 172.17.6.2:5060 "Noisy feedback tells: pid=32240 req_src_ip=X.X.X.X req_src_port=54177 in_uri=sip:820022@172.17.6.2:5
060 out_uri=sip:820022@172.17.6.2:5060 via_cnt==1"....
#
U X.X.X.X:54177 -> 172.17.6.2:5060
ACK sip:820022@172.17.6.2:5060 SIP/2.0..Via: SIP/2.0/UDP
X.X.X.X:5060..From: <sip:022250699@X.X.X.X>;tag=1A0FBC30-1472..To: <sip:820022@172.17.6
.2>;tag=329cfeaa6ded039da25ff8cbb8668bd2.13ec..Date: Wed, 08 Nov
2006 11:03:14 GMT..Call-ID:
906DA628-6E4F11DB-9034EA4F-E981BA1F@X.X.X.X..Max-Forward
s: 6..Content-Length: 0..CSeq: 101 ACK....
Best regards,
Ion Minzu,
Specialist Tehnologii Informationale,
Administrator de sistem al Centrului de certificare,
Administrator VoIP,
I.S."Centrul de Telecomunicatii Speciale",
tel:250-517 (office), 069501208 (mob), 382869185 (ICQ)
mailto:ion.minzu@cts.md
I have written a shell script which has a return value of either 0 or
1. Depending on the outcome of this script I want SER to react. I know I
have to use the exec module for this but I don't know how. Can anyone
help?
Thanks,
Kathrin
sorry for reposting -- I think this question belongs to both mailing list.
I am really stuck with this.
rr
----- Forwarded Message ----
From: Rao Ramaratnamma <raramarat(a)yahoo.com>
To: Christian Schlatter <cs(a)unc.edu>; users(a)openser.org
Sent: Tuesday, November 7, 2006 11:15:27 PM
Subject: Re: [Users] TM : retransmission timers
the ser ottendorf announcement does mention improved timers. Cannot openser include this feature too and cannot I merge ser with openser for good timers? I am still trying to understand the difference between ser and openser but standart compliance seems to be very important matter!
Cannot people provide me with some hints? I am sure that I am not the only who is asking the difference between ser and openser. ser documentation does not appear uptodate, but the software as sannounced appears impressive. I have already asked this question but did not receive any answer.
thank you in advance!
rr
----- Original Message
----
From: Christian Schlatter <cs(a)unc.edu>
To: users(a)openser.org
Sent: Tuesday, November 7, 2006 10:52:56 PM
Subject: Re: [Users] TM : retransmission timers
Greg Fausak wrote:
> Hello,
>
> I believe this is a well known bug.
> Granularity of timers is 1 second. So, if you sign up for a timer to
> be fired in 1 second it will happen anywhere between 0 seconds and 1
> second.
> 2 seconds will happen between 1 and 2 seconds. I usually set up my
> timers to be 2, 2, 4, 8. There are VOIP providers that are pretty
> sticky about
> the first 500ms. If you are using one of them you're out of luck.
Yes, there is a timer process that wakes up every second to perform
retransmissions. I was actually quite surprised that OpenSER, which is
known to be very standards compliant, does not follow the RFC 3261
retransmission timeouts. On
the other hand, the RFC 3261 timeout values
are just suggestions and standards compliant SIP UA must accept shorter
timeouts. Still it would be nice if OpenSER would support sub second
timers, this would allow for shorter fail-over times.
Christian
>
> I believe SER has made timer changes to support more exact timer
> intervals. They are a completely different camp, with a different feature
> set (although they share the same roots).
>
> -g
>
>
> On 11/7/06, Jean-François SMIGIELSKI <jf-smig(a)ibelgique.com> wrote:
>> Hello,
>>
>> I made strange observations about the intervals between
>> retransmissions with the TM module.
>> In my experiments, I used the default parameters for the TM module
>> timers, and I sent an INVITE that cannot receive answers (it has a
>> well known R-URI
pattern that is forwarded to a place and port that
>> nobody listen).
>>
>> When reading RFC3261, I expected to see intervals between
>> retransmissions of |500ms|1s|2s|4s|8s|16s|. 7 transmissions, during 32s.
>>
>> But with OpenSER, (I have tested with the debian package 1.1.0-5 on a
>> debian etch, and the cvs sources for 1.1.0 or 1.0.1compiled by
>> myself), I can see intervals like <500ms, 2s, 4s, 4s,4s, ... until 26s
>> are spent (9 sendings). The first interval is sometomes very short
>> (40ms).
>>
>> Altough I like the sequence of 4s separated transmissions, I do not
>> know why the first interval is so short, and why there is no sending
>> after 1s.
>>
>> Did anybody observed such behaviours? Are they normal?
>>
>> Thanks in advance!
>>
>> JF
Smigielski.
>>
>>
>> ________________________________________________________________________
>> iBELGIQUE, exprimez-vous !
>> http://web.ibelgique.com/
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
Hi,
Is it possible to run XCAP server as a standalone? I didn't see any info
about this in the document.
--Jayantheesh
_____
From: Jayantheesh Srimushnam - TLS, Chennai
Sent: Tuesday, November 07, 2006 8:44 PM
To: 'serusers(a)iptel.org'
Cc: Jayantheesh Srimushnam - TLS, Chennai
Subject: XCAP server
Hi All,
I have downloaded the SER and trying to run XCAP server. I have gone through
the README file for the XCAP server and understood that it is server
simulation.
Still I didn't get how to install and run it. Could anyone please through
some light on this?
Thanks,
Jayantheesh
DISCLAIMER
The contents of this e-mail and any attachment(s) are confidential and intended for the
named recipient(s) only. It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in this email are solely those of the author and
may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction,
dissemination, copying, disclosure, modification, distribution and / or publication of this
message without the prior written consent of the author of this e-mail is strictly
prohibited. If you have received this email in error please delete it and notify the sender
immediately. Before opening any mail and attachments please check them for viruses and
defect.
Hi All,
I have an internal SIP server that handles registrations, and is used
for incoming and outgoing phone calls. It does not do any
authentication. I'd like to set up SER in my DMZ, and have it:
1. authenticate all requests. (this should be easy - I think I can
handle it, although I would like to get digest -> RADIUS auth against an
Active directory going).
2. forward REGISTER requests to the internal SIP server, both for phones
on the internal network and for phones on the external network.
3. forward INVITE and ACK requests performing the correct handling of
NAT, using RTP helper to forward media when needed.
Right now I'd love to just get the REGISTER requests doing the right
thing. Any help, or even better sample config scripts would be much
appreciated.
Simon
I'm trying to get my machine ready to work externally, with public Ip
addresses.
I believe I've got all the pieces ready for the domain.
I have the PTR records published for my server's public IP address. I
have the .sip_.udp.mobilia.it. 0 0 5060 sipserver.mobilia.it. record (I
tried it with and without the .mobilia.it added to the udp) published, I
tell the server to listen on the IP addresses which maps it's name in
DNS, I have a line after listen :
alias="mobilia.it" (I've tried both FQDN and this)
I've exported the domain both as the command export
SIP_DOMAIN="mobilia.it" and in the openserctlrc (does it need to be the
FQDN or just the domain, again, neither seem to make a difference..)
however, I still can't get the machine to believe that it is actually
responsible for this domain.
When I register I have errors along this line: (it registers, obviously,
but the logic is wrong, since he thinks the user is coming from another
domain).
grep_sock_info - checking if host==us: 10==13 && [mobilia.it] ==
[89.202.252.16]
Nov 3 10:13:34 sipserver /usr/local/sbin/openser[3193]: grep_sock_info
- checking if port 5060 matches port 5060
Nov 3 10:13:34 sipserver /usr/local/sbin/openser[3193]: grep_sock_info
- checking if host==us: 10==13 && [mobilia.it] == [89.202.252.16]
Nov 3 10:13:34 sipserver /usr/local/sbin/openser[3193]: grep_sock_info
- checking if port 5060 matches port 5060
Can anyone venture a guess as to what I might be missing???
the ser ottendorf announcement does mention improved timers. Cannot openser include this feature too and cannot I merge ser with openser for good timers? I am still trying to understand the difference between ser and openser but standart compliance seems to be very important matter!
Cannot people provide me with some hints? I am sure that I am not the only who is asking the difference between ser and openser. ser documentation does not appear uptodate, but the software as sannounced appears impressive. I have already asked this question but did not receive any answer.
thank you in advance!
rr
----- Original Message ----
From: Christian Schlatter <cs(a)unc.edu>
To: users(a)openser.org
Sent: Tuesday, November 7, 2006 10:52:56 PM
Subject: Re: [Users] TM : retransmission timers
Greg Fausak wrote:
> Hello,
>
> I believe this is a well known bug.
> Granularity of timers is 1 second. So, if you sign up for a timer to
> be fired in 1 second it will happen anywhere between 0 seconds and 1
> second.
> 2 seconds will happen between 1 and 2 seconds. I usually set up my
> timers to be 2, 2, 4, 8. There are VOIP providers that are pretty
> sticky about
> the first 500ms. If you are using one of them you're out of luck.
Yes, there is a timer process that wakes up every second to perform
retransmissions. I was actually quite surprised that OpenSER, which is
known to be very standards compliant, does not follow the RFC 3261
retransmission timeouts. On the other hand, the RFC 3261 timeout values
are just suggestions and standards compliant SIP UA must accept shorter
timeouts. Still it would be nice if OpenSER would support sub second
timers, this would allow for shorter fail-over times.
Christian
>
> I believe SER has made timer changes to support more exact timer
> intervals. They are a completely different camp, with a different feature
> set (although they share the same roots).
>
> -g
>
>
> On 11/7/06, Jean-François SMIGIELSKI <jf-smig(a)ibelgique.com> wrote:
>> Hello,
>>
>> I made strange observations about the intervals between
>> retransmissions with the TM module.
>> In my experiments, I used the default parameters for the TM module
>> timers, and I sent an INVITE that cannot receive answers (it has a
>> well known R-URI pattern that is forwarded to a place and port that
>> nobody listen).
>>
>> When reading RFC3261, I expected to see intervals between
>> retransmissions of |500ms|1s|2s|4s|8s|16s|. 7 transmissions, during 32s.
>>
>> But with OpenSER, (I have tested with the debian package 1.1.0-5 on a
>> debian etch, and the cvs sources for 1.1.0 or 1.0.1compiled by
>> myself), I can see intervals like <500ms, 2s, 4s, 4s,4s, ... until 26s
>> are spent (9 sendings). The first interval is sometomes very short
>> (40ms).
>>
>> Altough I like the sequence of 4s separated transmissions, I do not
>> know why the first interval is so short, and why there is no sending
>> after 1s.
>>
>> Did anybody observed such behaviours? Are they normal?
>>
>> Thanks in advance!
>>
>> JF Smigielski.
>>
>>
>> ________________________________________________________________________
>> iBELGIQUE, exprimez-vous !
>> http://web.ibelgique.com/
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
Hi all,
Anyone experiences an one way audio problem when a call is connected
to the called party? I am using openser with mediaproxy to provide
services to our customer. However, some of our customer complain
about the one way audio problem (calling party can hear called party
but not vice versa). The system works to most of the customer without
that problem. I wonder why there are some customers experience that
problem. I assume there is the port problem during RTP packet
transmission. Am I right? In the mediaproxy setting, the portRange
is 2000:8000. Do I need to increase it? Any method to trace the
problem if my assumption is wrong? Thanks.