I have also had problems with getting the ACK back.
I don't completely understand your configuration, you
must allow for packets going both directions, right?
Here is my config :
route
{
# check to see if the message has been around too long
# probably means that it is looping
#
if (!mf_process_maxfwd_header("10"))
{
log("LOG: Too many hops\n");
sl_send_reply("483","Too Many Hops");
break;
};
#
# make sure the length of the message isn't too long!
#
if (len_gt( max_len ))
{
sl_send_reply("513", "Wow -- Message too large");
break;
};
#
# do the loose-routing thing, this is important!
#
if(loose_route())
{
log(1,"doing top loose route");
t_relay();
break;
};
# this is where I was dropping the ACKS.
# I was simply dropping these, but they must be relayed
# because they can be ACKs
if(!(uri==myself))
{
if(!t_relay())
{
sl_reply_error();
break;
};
break;
};
This gets the ACKs through for me.
By the way, I have this configured with Cisco ATAs, version 2.16.
---greg
>
>I have the same problem and posed it to the group yesterday ([Serusers]
>Ignored 200 OK message.) So far the only workaround that I have found is to
>use the rules in my gateway to rewrite the dialed digits before sending them
>to the PSTN PRI, thus leaving the origianl URI intact for SIP
>communications.
>
>One person told me that this is a bug in the Cisco ATA, but it happens on my
>IPDialog phones also. It seems to me that the INVITE is being processed by
>the SER dial rules and is rewritten, but the ACK is not.
>
>Sean
>_______________________________________________
>
>Sean Robertson
>
>NETXUSA
>p. 800-289-6389
>f. 864-233-4344 "Ask me about Voice over IP."
>http://www.netxusa.com/
>
>----- Original Message -----
>From: "Alexander Mayrhofer" <axelm(a)nic.at>
>To: <serusers(a)lists.iptel.org>
>Sent: Friday, June 27, 2003 12:15 PM
>Subject: [Serusers] rewrite & ACK forwarding problem
>
>
>>
>> Hi,
>>
>> we're running SER together with a PSTN Gateway. Before a call get's
>> forwarded to the gateway, we are rewriting the request URI to make
>> rewriting on the GW as simple as possible:
>>
>> route {
>> ...
>> strip(3); # +43xxx -> xxx
>> prefix("0"); # xxx -> 0xxx
>> rewritehostport(xxx.xxx.xxx.xxx, 5060); # request to gateway
>> route(1);
>> break;
>> ...
>>
>> SIP call flow looks like (record route enabled):
>>
>> (1) phone -> SER
>> INVITE sip:*43699xxxxxxxx@nic.at43.at SIP/2.0
>>
>> (2) SER -> phone
>> SIP/2.0 100 trying -- your call is important to us
>>
>> (3) SER -> GW
>> INVITE sip:0699xxxxxxxx@xx.xx.xx.xx:5060 SIP/2.0
>>
>> (4) GW -> SER
>> SIP/2.0 100 Trying
>>
>> (5) GW -> SER
>> SIP/2.0 183 Session Progress
>>
>> (6) SER -> phone
>> SIP/2.0 183 Session Progress
>>
>> (7) GW -> SER
>> SIP/2.0 180 Ringing
>>
>> (8) SER -> phone
>> SIP/2.0 180 Ringing
>>
>> (9) GW -> SER
>> SIP/2.0 200 OK
>> Contact: <sip:0699xxxxxxxx@xx.xx.xx.xx:5060>
>>
>> (10) SER -> phone
>> SIP/2.0 200 OK
>> Contact: <sip:0699xxxxxxx@xx.xx.xx.xx:5060>
>>
>> [ call established, we can talk, but ... ]
>>
>> (11) phone -> SER
>> ACK sip:0699xxxxxxxx@xx.xx.xx.xx:5060 SIP/2.0
>>
>> --> Here starts the problem. That ACK (11) never gets forwarded to the
>> Gateway, so after a few seconds, the GW starts over at (9). Those three
>> packets (9-11) repeat a few times until GW runs into a timeout and drops
>> the call.
>>
>> I have the impression that SER can't match the packet to the previous
>> requests because of the rewritten URI. Is that correct?
>>
>> The only output at debug level 3 is:
>>
>> Warning: sl_send_reply: I won't send a reply for ACK!!
>>
>> Is that a routing goof somewhere in our scripts or is that a more
>> generic problem? Is the problem that the warning indicates somehow
>> related to the fact that the ACK is not being forwarded?
>>
>> Help appreciated.
>>
>> cheers
>>
>> axelm
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers(a)lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
I have recently bought a SIPTel device (http://www.sipmicro.com) but after
reading, rereading and rereading the manuals and the webpages I can't figure
out how to use my phone with SER because I can't see where to set the SIP
proxy address.
Does any one know how I can do this?
I sent an Email to them asking but they have never replied.
The one who sold it to me is not willing or is not well trained to know how
to tell me that because she seems to not know it.
Of course it works with SIP proxy server of the one who sold it to me.
Thanks,
__________________________________
NZEYIMANA Emery Fabrice
NEFA Computing Services, Inc.
P.O. Box 5078 Kigali
Office Phone: +250-51 11 06
Office Fax: +250-50 15 19
Mobile: +250-08517768
Email: dg(a)nefacomp.net
http://www.nefacomp.net/
We have used our own very prototypical one, bonephone. -jiri
At 06:18 AM 7/19/2003, Ng, Soo Sim wrote:
>May I know which IPv6 UA Client do you use?
>SSng
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
Hi to all
i've some doubts:
I've installed SER on a Linux RedHad 9.0.
1 - Why I can't see another SER server on a lan with MSN? Ex.
andrea(a)foo.bar cannot send message and view andrea(a)foo2.bar
2 - On seruser.pdf at page 50 i've read that "The latest SER release
includes automated multidomain management which greatly automates
maintenance of multiple domains.". I've seen on mySql db that there is the
domain table with domain primary key and on subscriber table user_name and
domain are primary key. I think that there is exist a foreign key from
subscriber to domain. Who has to write the information on this table? How
do i configure ser to use multiple domain?
3 - How do I configure ser to report information on mySql database? For
example, i've configured ser for Reporting Missed Calls by the acc module
but there is an error on acc_request("404 Not Found"); instruction on ser.cfg.
4 - Microsoft MSN 6.0 doesn't support service communication. Is it true?
5 - On seruser.pdf at page 87 there are the old version of database tables.
6 - Where can i found help for ser command line options?
regards,
Andrea
Ok, so I will try another setup:
2 proxies, each of them interacts with a separate mysql database.
Registrations will be replicated between the proxies using t_replicate.
I have also seen a replication parameter in serweb when adding new
contacts via the web interface and the FIFO. I found no documentation
about it, but I guess this will also replicate the new contact to
another sip proxy (don't know if its implemented yet).
So, both proxies can be used for registration and normal proxy tasks.
But how can a proxy catch up the lost REGISTER messages from the other
proxy during a "down" period?
I think, one possibility would be, that when the proxy/database is "up"
again, the database begins to mirror the complete state from the other
database, and only when this is finished, ser will be started again and
reads the current user location from the database.
Is there another, maybe simpler solution to this problem?
Klaus
> -----Original Message-----
> From: Jan Janak [mailto:jan@iptel.org]
> Sent: Wednesday, July 30, 2003 1:43 PM
> To: Klaus Darilion
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] Does lookup("location") queries the
> database or the memory?
>
>
> Hello,
>
> On 30-07 13:39, Klaus Darilion wrote:
> > Hello!
> >
> > I have found the db_mode option in the userloc module,
> which controls
> > updates in the location table. But how are the lookups
> handled in ser?
> >
> > If a user location will be requested by lookup("location"),
> will this query
> > the backend database or only the RAM. Is this lookup behaviour also
> > configurable (how?)?
>
> No, it will not query the database, only memory will be used.
>
> > I'm thinking about a configuration with 2 ser proxies and
> one database
> > backend. If the lookup only queries the cached location
> table, I would have
> > to froward the registrations between the two proxies via
> t_replicate. But
> > wouldn't this cause both proxies to update the database
> resulting in two
> > entries in the location table for each registration?
>
> Yes, this is not possible at the moment. Another database mode which
> will query the backend database when doing lookups is on
> our todo list.
>
> Jan.
>
>
I know Jan won't be happy for this question because it may look simple.
But I have tried everything I can and after failing I decided to ask it
here.
I have realized that SER checks the username and password when a UA sends a
REGISTER command but it doesn't check the password when a user sends a
INVITE command.
This makes SER accept calls from people who did not even register.
This is true because my GATEWAY doesn't register with SER but I can make
calls from PSTN to my IP network.
So, my question is: HOW do I instruct SER to check the username and password
of the CALLER?
Thanks,
__________________________________
NZEYIMANA Emery Fabrice
NEFA Computing Services, Inc.
P.O. Box 5078 Kigali
Office Phone: +250-51 11 06
Office Fax: +250-50 15 19
Mobile: +250-08517768
Email: dg(a)nefacomp.net
http://www.nefacomp.net/