Hi Ricardo,
Are you using the unstable version (cvs head)? there were reported some
strange behaviours of usrloc in this version. Please use the 0.8.14
release (cvs tag rel_0_8_14)
Best regards,
Marian Dumitru
--
Voice Sistem
http://www.voice-sistem.ro
Ricardo Martinez wrote:
> Dear Marian.
> Thanks again for your response. I used the commands you recommend
> me and i saw the inverse bahaivor. First the original IP is 10.0.0.1, then
> for test purposes i changed to 10.0.0.5 and registered again. Here is my
> location table after the endpoint is registered again with another IP
> address.
>
> ...Record(0x422b9158)...
> domain: 'location'
> aor : '5555832351'
> ~~~Contact(0x422b91a0)~~~
> domain : 'location'
> aor : '5555832351'
> Contact : 'sip:5555832351@10.0.0.1'
> Expires : 831
> q : 0.00
> Call-ID : 'e0928e42-fd7e-df78-8000-0002a400f1e9(a)10.0.0.1'
> CSeq : 3456
> replic : 0
> User-Agent: 'AddPac SIP Gateway'
> State : CS_NEW
> Flags : 0
> next : 0x422b9390
> prev : (nil)
> ~~~/Contact~~~~
> ~~~Contact(0x422b9390)~~~
> domain : 'location'
> aor : '5555832351'
> Contact : 'sip:5555832351@10.0.0.5'
> Expires : 897
> q : 0.00
> Call-ID : 'e0928e42-fd7e-df78-8000-0002a400f1e9(a)10.0.0.1'
> CSeq : 3461
> replic : 0
> User-Agent: 'AddPac SIP Gateway'
> State : CS_NEW
> Flags : 0
> next : (nil)
> prev : 0x422b91a0
> ~~~/Contact~~~~
>
> As you can see the order is ascending (not descending as the modulu manual
> says). The when i try to make a call to the 555-5832351 the INVITE is
> generated just one time (as you said to me), but for the first contact, to
> the 10.0.0.1, the old IP, so there is no response and the call is not
> completed.
>
> Am i missing something?
> Thanks in advance
>
> Best Regards
> Ricardo.-
Dear Marian.
Thanks again for your response. I used the commands you recommend
me and i saw the inverse bahaivor. First the original IP is 10.0.0.1, then
for test purposes i changed to 10.0.0.5 and registered again. Here is my
location table after the endpoint is registered again with another IP
address.
...Record(0x422b9158)...
domain: 'location'
aor : '5555832351'
~~~Contact(0x422b91a0)~~~
domain : 'location'
aor : '5555832351'
Contact : 'sip:5555832351@10.0.0.1'
Expires : 831
q : 0.00
Call-ID : 'e0928e42-fd7e-df78-8000-0002a400f1e9(a)10.0.0.1'
CSeq : 3456
replic : 0
User-Agent: 'AddPac SIP Gateway'
State : CS_NEW
Flags : 0
next : 0x422b9390
prev : (nil)
~~~/Contact~~~~
~~~Contact(0x422b9390)~~~
domain : 'location'
aor : '5555832351'
Contact : 'sip:5555832351@10.0.0.5'
Expires : 897
q : 0.00
Call-ID : 'e0928e42-fd7e-df78-8000-0002a400f1e9(a)10.0.0.1'
CSeq : 3461
replic : 0
User-Agent: 'AddPac SIP Gateway'
State : CS_NEW
Flags : 0
next : (nil)
prev : 0x422b91a0
~~~/Contact~~~~
As you can see the order is ascending (not descending as the modulu manual
says). The when i try to make a call to the 555-5832351 the INVITE is
generated just one time (as you said to me), but for the first contact, to
the 10.0.0.1, the old IP, so there is no response and the call is not
completed.
Am i missing something?
Thanks in advance
Best Regards
Ricardo.-
-----Mensaje original-----
De: Marian Dumitru [mailto:marian.dumitru@voice-sistem.ro]
Enviado el: Miércoles, 27 de Octubre de 2004 13:07
Para: Ricardo Martinez
CC: 'serusers(a)lists.iptel.org'
Asunto: Re: [Serusers] Question about REGISTER.
Hi Ricardo,
I see your problem. What you can do is to set registrar module to use
only the most recent registered contact:
modparam("registrar","append_branches", 0)
modparam("registrar","desc_time_order", 1)
Other thing you can do is to limit the registration time
modparam("registrar","max_expires", 300)
to use this, be sure your SIP clients supports expire modification by
server.
Best regards,
Marian Dumitru
Ricardo Martinez wrote:
> Hello List.
> I have a question about how SIP and SER work with the Registered
> Endpoints. Suppose that i have and endpoint with obtaining IP by DHCP.
In
> the first attemp the REGISTER have the IP : 10.0.0.1. Suppose that after
a
> while the enpoint is disconnected and connected again, so by DHCP it takes
> another IP, for example 10.0.0.5. So in my location table i see.
> -----
> aor : '5555832351'
> Contact : 'sip:5555832351@10.0.0.1'
> Expires : 642
> -----
> aor : '5555832351'
> Contact : 'sip:5555832351@10.0.0.5'
> Expires : 3000
> ----
>
> So when i call to the 555-5832351 SER generates two INVITES (to the 2
> registered endpoints) but only the 10.0.0.5 answer the call. So far this
is
> not a problem, but suppose now that a new endpoint with number 5555832359
> obtain by DHCP the old IP 10.0.0.1, so it tries to register with the
> SIP-Proxy . What i see in the location table is now:
>
> -----
> aor : '5555832359'
> Contact : 'sip:5555832359@10.0.0.1'
> Expires : 3000
> -----
> aor : '5555832351'
> Contact : 'sip:5555832351@10.0.0.1'
> Expires : 442
> -----
> aor : '5555832351'
> Contact : 'sip:5555832351@10.0.0.5'
> Expires : 2800
> ----
>
> So when i call to the 555-5832351 the INVITE goes to these 3 endpoints.
> Generating too much traffic and erroneus RESPONSE messages in SER and in
the
> endpoints.
> My question is : Is posible only permit one IP address per endpoint
> registered in the location table?. Or make sure that only one endpoint
with
> a given IP and URI is registered in the location DB?.
>
> Thanks in advance
> Best Regards
>
> Ricardo.-
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
--
Voice Sistem
http://www.voice-sistem.ro
Antonio Querubin wrote:
> On Wed, 27 Oct 2004, Socrates Varakliotis wrote:
>
>
>>I have SER listening to both IPv4 and IPv6 interfaces. With my current
>>config, when an IPv4 soft phone wants to talk to an IPv6 soft phone I
>>have to prefix the dialed number with 6, and vice-versa with prefix 4.
>>
>>(Assume that my soft phones are registered with a 4-digit numbers)
>
>
> I think if you relay instead of forward then the user won't have to know
> anything about which IP version the other end is using.
Hi Antonio,
Thanks for your time to answer this query. I tried, but it won't work.
I should have clarified that the gateways I'm forwarding to (46gw.xxx
and 64gw.xxx) are not SERs themselves. They are simple MSP gateways
(mini sip proxy, and rtp proxy). What they do is they listen to their
ipv6 interface and forward data blindly to the ipv4 interface and vice
versa. They have been configured to bounce SIP packets back to my SER
(only one SER in my scenario: sip.xxx), which will handle routing as normal.
Any further ideas appreciated.
--
Socrates.
estoy destras de un nat iptables como puedo hacer para tener acceso
UDP, alguna regla de iptables o algo asi ?
cliente web <--------------------------------->server<--------------->server
sip ser-0.8.14
192.168.1.189 nat/iptables/proxy
200.48.xxx.xx
ip public
Hi,
Just wondering if anyone can shed light on the following:
I have ser installed on a machine with address 172.x.x.x.
I want clients to register with a public address 84.x.x.x. I then
have natting in place which maps it to a 192.x.x.x address and a
router forwards it to the 172.x.x.x address if its a sip message
(port forwarding).
However I have been trying to register using a windows messenger sip
address aisling(a)84.x.x.x and its not working......
Shoulds a scenario like this work? Basically the idea is that anybody
on any network can register with this public address (84.x.x.x) which
will be natted to 192.x.x.x and forwarded at a router to 172.x.x.x if
its a sip message.
Thanks!
Aisling.
-------------------Legal Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
----------------------------------------------------------------------------------------
Hello all,
I am a newcomer to ser and to VoIP, and having some trouble installing
and starting ser. I already "googled" but with no avail. I hope you can
help me.
The downloaded version is 0.8.14 both in binaries and in source. OS is
RedHat 9 on a Compaq Proliant w. 512MB RAM.
Every time I attempt to start ser I get the following messages in
/var/log/messages:
Oct 27 11:37:36 ns /sbin/ser[20678]: ERROR: relay_reply: no mem for
outbound reply buffer
Oct 27 11:37:36 ns /sbin/ser[20678]: ERROR: build_res_buf_from_sip_req:
out of memory ; needs 9835
Oct 27 11:37:36 ns /sbin/ser[20678]: ERROR: build_res_buf_from_sip_req:
out of memory ; needs 9888
Oct 27 11:37:36 ns /sbin/ser[20678]: ERROR: relay_reply: no mem for
outbound reply buffer
Oct 27 11:37:36 ns /sbin/ser[20678]: ERROR: build_res_buf_from_sip_req:
out of memory ; needs 9895
Oct 27 11:37:36 ns /sbin/ser[20678]: ERROR: build_res_buf_from_sip_req:
out of memory ; needs 9948
Oct 27 11:37:36 ns /sbin/ser[20678]: ERROR: relay_reply: no mem for
outbound reply buffer
Oct 27 11:37:36 ns /sbin/ser[20678]: ERROR: build_res_buf_from_sip_req:
out of memory ; needs 9955
Oct 27 11:37:38 ns /sbin/ser[20676]: ERROR: new_t: out of mem:
Oct 27 11:37:38 ns /sbin/ser[20676]: ERROR: t_newtran: new_t failed
Oct 27 11:37:38 ns /sbin/ser[20676]: ERROR: sl_reply_error used: I'm
terribly sorry, server error occured (2/SL)
Oct 27 11:37:38 ns /sbin/ser[20671]: ERROR: relay_reply: cannot alloc
reply shmem
Oct 27 11:37:38 ns /sbin/ser[20671]: ERROR: t_reply: cannot allocate
shmem buffer
Oct 27 11:37:38 ns /sbin/ser[20670]: ERROR: new_t: out of mem:
Oct 27 11:37:38 ns /sbin/ser[20670]: ERROR: t_newtran: new_t failed
Oct 27 11:37:38 ns /sbin/ser[20670]: ERROR: sl_reply_error used: I'm
terribly sorry, server error occured (2/SL)
Oct 27 11:37:38 ns /sbin/ser[20669]: ERROR: new_t: out of mem:
Oct 27 11:37:38 ns /sbin/ser[20669]: ERROR: t_newtran: new_t failed
Oct 27 11:37:38 ns /sbin/ser[20669]: ERROR: sl_reply_error used: I'm
terribly sorry, server error occured (2/SL)
Did I make a mistake in the installation or config process perhaps?
Any help or hint about the issue will be greatly appreciated!
Regards
--
Francisco Neira B. /~\ The ASCII
Administrador de Red \ / Ribbon Campaign
Defensoria del Pueblo X Against
Lima, Peru, -05:00 UTC / \ HTML Email
PGP Pub Key at http://portal.defensoria.gob.pe/~fneira/llavepublica.asc
Hi,
Can someone guide me to setup a SER for testing purposes?
I need to integrate it with freeradius as well as MySQL. The
setup should be something like this:
SER -> radius -> mysql
I need it to complete this urgently. Appreciates that someone
who's very familar to guide me through.
--
Regards,
Wee Liat
Hello All.
Can anyone tell me if it is possible to use sems from CVS along with ser-0.8.14
stable release? If it is possible, what pitfalls can I expect, if any?
The reason is ask is that I'm attempting to use sipums from
http://ftp.berlios.de/pub/sipums/ and it requires sems with IVR support which
means I have to use sems from the CVS unstable code base because, AFAIK IVR was
not included in the sems_07_27_2004.tar release which came with ser-0.8.14
I was using ser-0.8.99-devXX, but the problem with devXX not writing to the
MySQL location table prevents me from using unstable ser. I suppose I could use
ser-0.8.99-dev7 which did not have this location table problem.
Regards,
Paul
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com
All,
I am writing for some advice from the list. We have been happily using Ser for
the last few months, but now we want to build a pair of SIP-based
Network/Routing servers that are capable of making dynamic routing decisions
based on both the A and B party numbers. Ideally we would like a solution
which could return a 302 redirect to a specific gateway address and/or perform
digit manipulation on the B party number if necessary. Ideally we would also
want to manipulate these rules dynamically without having to restart the SIP
server (i.e. using a database or similar to store our routing rules).
I'm not aware of any Ser modules that can do this type of thing, but if anybody
has any suggestions of good products/solutions - either open source or
commercial that would suit our needs then I would appreciate the advice.
Also, am I right in thinking now that Ser can 'reload' it's config without
having to restart the daemon? If so, and we did something where we wrote a
script to generate a Ser config with static routing rules followed by a Ser
'reload' - how many routing rules realistically could we have in the Ser Config
before performance becomes an issue? (10's, 100's, 1000's?)
Regards,
Ray
Hi serusers,
I am getting the error in the subject when trying to run SER on an IP which
is aliased (in Linux, eth0:1 for example).
Is there some way to make it work or its just something I should not do?
Cheers, Soren