SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
krikoOffline



Joined: Apr 14, 2008
Posts: 16

Status: Offline
Posted: Apr 28, 2008 - 08:51 AM Reply with quote Back to top
Hello!

I have a problem with openser 1.3.0 on debian. With my config seems I'm getting 482 code error (loop), but I'm not calling itself or the server ip, so it is a bit odd. I think I've been hitting this bug for weeks, just didn't know it was server problem.

I've attached log and openser configuration, if someone would kindly take a peek:

http://files.myopera.com/kriko/files/daemon.log.tar.gz
http://files.myopera.com/kriko/files/openser%20cfg.zip
View user's profile Send private message
x-consoleOffline
Site Admin


Joined: Aug 01, 2006
Posts: 1133
Location: Leeds UK
Status: Offline
Posted: Apr 28, 2008 - 11:49 AM Reply with quote Back to top
can you explain what is actually causing the problem? who is sending what to whom, and who is issuing the 482? can you post a sip trace instead of the verbose debug log?
View user's profile Send private message Yahoo Messenger
krikoOffline



Joined: Apr 14, 2008
Posts: 16

Status: Offline
Posted: Apr 28, 2008 - 12:29 PM Reply with quote Back to top
The problem seems to be in rtpproxy, I've stripped down config to basic and now kinda works.

Btw, can I get default config for openser which ships with debian 4? I have unstable here.
Or it is same as this one? :
http://www.openser.org/dokuwiki/doku.ph ... ation-file

Thank you!
View user's profile Send private message
krikoOffline



Joined: Apr 14, 2008
Posts: 16

Status: Offline
Posted: Apr 28, 2008 - 12:48 PM Reply with quote Back to top
Ok, this is getting really weird:

I can make calls from comp1 via proxy to comp2 (twinkle, ekiga clients).
But I cannot make calls from HPsip phone to comp2 or comp1, because I get initial loose-routing rejected.
As I understand loose router separates the destination of the request from the set of proxies that need to be visited along the way of call.

So it could be the problem with broken client?

dump:
http://files.myopera.com/kriko/files/ws ... hpsipphone
View user's profile Send private message
x-consoleOffline
Site Admin


Joined: Aug 01, 2006
Posts: 1133
Location: Leeds UK
Status: Offline
Posted: Apr 28, 2008 - 03:46 PM Reply with quote Back to top
It looks like you are calling loose_route() on an out-of-dialog message and the message has no pre-loaded route header to act on. Its a rather complex thing, but as a general rule, you should be calling loose_route only on in-dialog requests.
View user's profile Send private message Yahoo Messenger
krikoOffline



Joined: Apr 14, 2008
Posts: 16

Status: Offline
Posted: Apr 29, 2008 - 08:43 AM Reply with quote Back to top
Thanks for the tip, but If I understand it right, I do as you say:

Code:
if (loose_route()) {
                if (!has_totag()) {


So, I'm rejecting out-of-dialog loose_route.
View user's profile Send private message
x-consoleOffline
Site Admin


Joined: Aug 01, 2006
Posts: 1133
Location: Leeds UK
Status: Offline
Posted: Apr 29, 2008 - 09:08 AM Reply with quote Back to top
the if(!has_totag()) is the test operator that returns true if the message is out of dialog. Check the config around that area... should your message be processed already before the loose_route() call?
View user's profile Send private message Yahoo Messenger


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2006 VoIP User.

No part of this site may be reproduced without our prior consent.