Dear Sirs,
I am having some strange problems when trying to use b2bua for accounting and call duration limiting with SER proxy server. The idea is simple: since the SER can route SIP messages depending on their source address, we can force incoming SIP messages to be passed to B2BUA for accounting purposes first, and after the same request re-enters the proxy from B2BUA pass it to the final destination. Call flow looks like the following:
----- |UA2| ----- ^ | |4 | ----- 3 ------- ----- 1 | |<-----------| | |UA1|---->|SER| 2 |B2BUA| ----- | |----------->| | ----- -------
For some reason, it doesn't work in such configuration. The problem is that B2BUA's UAC keeps resending `200 OK' replies ingnoring ACKs it receives from UA2 until timeout hits, after which it considers the call dead, despite the fact that both UA1 and UA2 think that the call is established. Maybe it has something to do with the fact that it sends to and receives messages from the same host (SER), but I don't think that this should be a problem, since those two call legs have different call id's, so that b2bua should be able to distinguish between them easily. Attached please find tcpdump logs of one such session, here 192.168.1.1 is UA1 (originating), 192.168.0.9 is UA2, 192.168.1.100 is the host running both SER and B2BUA (the former uses port 5060, while the latter - 5065). There are two files: ser-b2bua.log is the log of udp exchange between SER and B2BUA and ser-ua1ua2.log - log of exchange between SER and UA1/UA2.
Any ideas are appreciated.
Thanks!
-Maxim
I am running 'SIP_DOMAIN=augustvoice.net serctl monitor' and here is tne of the outputs: ----cut---- [cycle #: 975; if constant make sure server lives and fifo is on] Server: Sip EXpress router (0.8.10 (i386/linux)) Now: Sat Jan 18 13:27:14 2003 Up Since: Fri Jan 17 18:27:08 2003 Up time: 68406 [sec]
Transaction Statistics Current: 0 (0 waiting) Total: 0 (0 local) Replied localy: 0 Completion status 6xx: 0, 5xx: 0, 4xx: 0, 3xx: 0,2xx: 0
Stateless Server Statistics 200: 34 202: 0 2xx: 0 300: 0 301: 0 302: 0 3xx: 0 400: 0 401: 75 403: 0 404: 0 407: 0 408: 0 483: 0 4xx: 0 500: 0 5xx: 0 6xx: 0 xxx: 0 failures: 0
UsrLoc Stats Domain Registered Expired 'location' 2 2 ----cut---- This ser instance has 2 successfully registered and Authenticated clients. The last line output says: 'location' 2 2 I would have thought the 'domain' would be 'augustvoice.net', 'location' is the name of the table...is this right? Also, 2 clients are currently registered, but I don't think any Of them are 'expired'. What doees this monitor output mean?
---greg Greg Fausak
At 08:31 PM 1/18/2003, Greg Fausak wrote:
UsrLoc Stats Domain Registered Expired 'location' 2 2 ----cut---- This ser instance has 2 successfully registered and Authenticated clients. The last line output says: 'location' 2 2 I would have thought the 'domain' would be 'augustvoice.net', 'location' is the name of the table...is this right?
it shows table name, not domain name. (These two are linked through your script.) "2 2" means two currently registered users, two contacts that expired in the past without being refreshed or deleted.
-Jiri