This may not be an openser issue, but I have Netcomm NB9W UA which does
not do Proxy Authentication. This is the setup:
UA (202.74.186.77) => Openser proxy (202.74.164.44) => Registrar
(202.74.164.72)
The UA makes a REGISTER request which gets forwarded by the proxy to the
registrar. The registrar then replies with 407 Proxy Authentication
Required message which gets forwarded by the proxy back to the UA. The
UA then seems to ignore this and re-sends an unauthenticated REGISTER
reuqest.
Attached is an ethereal dump showing this behaviour.
My question is, is there something that the proxy or registrar are doing
incorrectly which causes the UA the not do proxy authentication? I can't
see anything.
Thanks,
Jeff
HI,
I'm trying to manage presence of Win Messenger UA, but stuck at very
beginning. Messenger doesn't send Expires in header and RFC3265 says it
SHOULD be there, but if isn't use default value for event package (?).
Ok, removed test (_m->expires==0) in function parse_hfs from subscribe.c and
got response 200 OK (without Expires header and RFC says that there MUST be
one), and funny NOTIFY after that.
Source address of NOTIFY is from my second interface, not one that communicate
with UA, but it seems that it isn't big problem. Big one is destination port
which is chosen with, for me, unknown condition. So, only reply from UA
computer is ICMP port unreachable.
SER version is 0.9.6.
BRs, Darko
Dear all:
i got a error when starts openser
0(0) new_connection: Opening MySQL connection: mysql://openser:openserrw@172.17.50.128/openser
0(0) new_connection: Connection type is 172.17.50.128via TCP/IP
0(0) new_connection: Protocol version is 10
0(0) new_connection: Server version is 4.0.26-log
0(0) usrloc:preload_udomain: Wrong version v165581944 for table <location>, expected v1001
0(0) register_udomain(): Error while preloading domain 'location'
0(0) pool_remove: Removing connection from the pool
0(0) domain_fixup(): Error while registering domain
ERROR: error -1 while trying to fix configuration
what's problem for it , is any configuration error? thanks.
Allan
DISCLAIMER:
Sample Disclaimer added in a VBScript.
Dear all :
i get error for start openser
0(0)usrloc:preload_udomain: Wrong version v162901216 for table <location>, expected v1001
0(0) register_udomain(): Error while preloading domain 'location'
0(0) pool_remove: Removing connection from the pool
0(0) domain_fixup(): Error while registering domain
ERROR: error -1 while trying to fix configuration
so, how can i do , has any version problem for mysql ?
thank you
Allan
DISCLAIMER:
Sample Disclaimer added in a VBScript.
Hi
I am getting this error when trying to use sems
(14555) ERROR: send_reply (AmSipDialog.cpp:309): AmSipDialog::reply: ser
answered: 500 Reply failed
(14555) ERROR: reply (AmSipDialog.cpp:245): send_reply: could not send:
Ser reported an error
any ideas?
--
Jon Farmer
Telford, Shropshire, UK
I've got 0.9.7-pre1 running with the included LCR & mysql modules. Am I the
only one who's annoyed at the handling of IP addresses in LCR?
First, I don't see why gw.ip_addr has to be an int. Is a varchar column for
the IP address really that much of a performance hit? Isn't there something
to be said for human readable and editable tables?
Second, if it has to be an unsigned int, shouldn't some attention be paid to
byte order? This module appears to assume that the IP address in the table
is in Intel byte order (little endian). This will break if the address is in
network byte order (big endian), as it would be if, for example, the MySQL
INET_ATON() function was used to convert an IP address to an int.
You can verify this with "serctl fifo lcr_dump" which will call print_gws,
which inexplicably does a homegrown IP address decode, instead of calling
the appropriate C library functions to convert IP addresses into proper byte
order.
Hi Davor!
Not sure what your scenario is. Usually, the voicemail id will be the
"canonical" SIP URI, in my case sip:klaus.darilion@mydomain
I have also aliases like sip:klaus@mydomain which maps to
sip:klaus.darilion@mydomain.
If you do it the same way, then the config is fine.
In your case the lookup("aliases") does not hit.
Usually I:
- write the canonical SIP URI (after lookup("aliases") but before
lookup("location") ) into an AVP
- use this AVP in failure route. e.g. set the RURI to this AVP
- to avoid rewriting the domain part (you will loose the domain info,
bad in multi domain setups) push the URI of the voicemail server in the
destination URI (avp_pushto, send to voicemal but do net rewrite the
request URI)
regards
klaus
PS: CC to the list
davor jovanovic wrote:
> Hi Klaus,
>
> first of all I want to thank you for your reply. I was on some business
> trip last two weeks so I wasn't able to thank you for reply and try
> "revert_uri" function. I try it today but still is the same, I keep
> getting "not found in usrloc" for user that is in "location" table and
> for his alias. I can call user by his username and alias so I believe
> that alias is correctly added to MySQL, but can not rewrite username
> with alias and forward it to PBX.
>
> I have put ser.cfg and debug log in attachment, and if you be so kind
> when you find time to make a quick look I would be very grateful. This
> ser.cfg is my testing configuration and is basic. If I need to provide
> some more outputs please let me know.
>
> Thank you very much !!!
>
>
> davor
>
> Klaus Darilion wrote:
>> The second lookup does not work, as the first lookup changes the request
>> URI. Try revert_uri(); in failure route, just before the lookup().
>>
>> klaus
>>
>>
>> On Fri, April 14, 2006 11:29, davor jovanovic said:
>>
>>> Hi all,
>>>
>>> I have a problem with using aliases when user doesn't answer the call
>>> (408, request timeout). for this I'm using failure_route[1]. After 20sec
>>> when user doesn't answer the call, call comes in failure_route and it is
>>> recognizes as 408, but when I want to rewrite URI with alias "884" I get
>>> "Not found in usrloc", but as you can see from the output of "serctl ul
>>> show" user is in both tables (location and aliases). Can somebody help
>>> because I don't know what I'm doing wrong.
>>>
>>> Thanks a lot
>>>
>>> davor
>>>
>>> *******************************************
>>> failure_route[1]{
>>> if(t_check_status("408")){
>>> log("LOG:entered failure route 1 on code 408\n");
>>> lookup("aliases");
>>> rewritehostport("161.53.2.235:5060");
>>> t_relay();
>>> }
>>> }
>>>
>>> ********************************************
>>> 1(22439) ->>>>>>>>> T_code=180, new_code=408
>>> 1(22439) DEBUG: t_check: msg id=2 global id=2 T start=0x40460708
>>> 1(22439) DEBUG: t_check: T already found!
>>> 1(22439) DEBUG:t_check_status: checked status is <408>
>>> 1(22439) LOG:entered failure route 1 on code 408
>>> 1(22439) lookup(): 'djovanovic' Not found in usrloc
>>> 1(22439) ERROR: t_forward_nonack: no branched for forwarding
>>> 1(22439) ERROR: w_t_relay (failure mode): forwarding failed
>>>
>>> ********************************************
>>> serctl ul show
>>>
>>> domain: 'location'
>>> aor : 'djovanovic'
>>> ~~~Contact(0x404604a8)~~~
>>> domain : 'location'
>>> aor : 'djovanovic'
>>> Contact : 'sip:djovanovic@161.53.0.77:5060'
>>> Expires : 429
>>> q :
>>> Call-ID : '40C79AFEA5C644ADB6FEA320F247C793(a)sipgw.srce.hr'
>>> CSeq : 52664
>>>
>>>
>>>
>>> ...Record(0x4045e238)...
>>> domain: 'aliases'
>>> aor : '884'
>>> ~~~Contact(0x4045e298)~~~
>>> domain : 'aliases'
>>> aor : '884'
>>> Contact : 'sip:djovanovic@sipgw.srce.hr'
>>> Expires : Permanent
>>> q : 1
>>> Call-ID :
>>> 'The-Answer-To-The-Ultimate-Question-Of-Life-Universe-And-Everything'
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> Serusers(a)iptel.org
>>> http://mail.iptel.org/mailman/listinfo/serusers
>>>
>>>
>>
>>
> Hi Klaus,
>
> first of all I want to thank you for your reply. I was on some business
> trip last two weeks so I wasn't able to thank you for reply and try
> "revert_uri" function. I try it today but still is the same, I keep
> getting "not found in usrloc" for user that is in "location" table and
> for his alias. I can call user by his username and alias so I believe
> that alias is correctly added to MySQL, but can not rewrite username
> with alias and forward it to PBX.
>
> I have put ser.cfg and debug log in attachment, and if you be so kind
> when you find time to make a quick look I would be very grateful. This
> ser.cfg is my testing configuration and is basic. If I need provide some
> outputs please let me know.
>
> Thank you very much !!!
>
>
> davor
Try to use nathelper module. I'm not familiar with it but there exists
some documentation for it (in modules/nathelper/README).
Vaclav
On Tue, May 02, 2006 at 05:19:10PM +0300, ?lker Aktuna (Koç.net) wrote:
> Hi Vaclav,
>
> The ngrep.out file was from Friday. And I realized that I'd changed Eyebeam client configuration after Friday.
> Now it sends internal IP as contact. (as in the attached ngrep2.out file)
>
> Now I don't know how to change the contact as public IP. But presencce messages were not working Friday also
>
> Any idea how to change the contact as public IP ?
>
> Thanks,
> ilker
>
>
> -----Original Message-----
> From: Vaclav Kubart [mailto:vaclav.kubart@iptel.org]
> Sent: Tuesday, May 02, 2006 2:56 PM
> To: ?lker Aktuna (Koç.net)
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] IM and presence problems
>
> > 192.168.2.17 is a NAT client behing 85.105.102.167 Could it be that
> > the SER is sending the messages to the internal IP address of my Eyebeam client ?
>
> It seems so.
>
> > On eyebeam 1.5 I use the "use rport" option of the client if that matters.
> >
> > Any idea why I get so many "no socket found" errors ? (might it be
> > because ser is trying to connect to the internal IP address ?)
>
> SER tries to connect to IP address which is not accessible for it. And it tries again and again...
>
> But I don't know how this IP address got to presence SER, because there was 85.xxx.xxx.xxx in Contact in SUBSCRIBE request in the network dump.
>
> Vaclav
>
> >
> > Thanks,
> > ilker
> >
> >
> > -----Original Message-----
> > From: Vaclav Kubart [mailto:vaclav.kubart@iptel.org]
> > Sent: Tuesday, May 02, 2006 1:34 PM
> > To: ?lker Aktuna (Koç.net)
> > Cc: serusers(a)lists.iptel.org
> > Subject: Re: [Serusers] IM and presence problems
> >
> > I take a look into the log and it seems, that NOTIFY requests try to be sent to 192.168.2.17.
> >
> > But in the ngrep dump I see only some 85.105.102.167 addresses in Contacts in SUBSCRIBE requests. Are you sure, that these log and the flow belong to the same scenario?
> >
> > If yes, it means, that there is a bug in PA module.
> >
> > Be sure to catch messages on machine with presence server.
> >
> > Vaclav
> >
> > On Tue, May 02, 2006 at 01:14:37PM +0300, ?lker Aktuna (Koç.net) wrote:
> > > Hi,
> > >
> > > I've captured debug logs by suggestion of Mr. Michal Matyska.
> > > Attached I'm sending them to you. I hope it reaches you.
> > > Please look for the "no socket found" and "Can't send watcherinfo notification " lines in the log as it's too long.
> > >
> > > Thanks,
> > > ilker
> > >
> > > -----Original Message-----
> > > From: Vaclav Kubart [mailto:vaclav.kubart@iptel.org]
> > > Sent: Tuesday, May 02, 2006 12:28 PM
> > > To: ?lker Aktuna (Koç.net)
> > > Cc: serusers(a)lists.iptel.org
> > > Subject: Re: [Serusers] IM and presence problems
> > >
> > > You don't need anything else. Are you sure that changed config is used by ser (you can try to add a mistake there, if SER will complain in startup or not)?
> > > Vaclav
> > >
> > > On Tue, May 02, 2006 at 12:24:59PM +0300, ?lker Aktuna (Koç.net) wrote:
> > > > Hi,
> > > >
> > > > I changed it to "debug=4" and restarted ser but nothing changed.
> > > > Is there anything missing in my configuration ? Do I need a seperate module for debug messages ?
> > > >
> > > > Thanks,
> > > > ilker
> > > >
> > > > -----Original Message-----
> > > > From: Vaclav Kubart [mailto:vaclav.kubart@iptel.org]
> > > > Sent: Tuesday, May 02, 2006 12:15 PM
> > > > To: ?lker Aktuna (Koç.net)
> > > > Cc: serusers(a)lists.iptel.org
> > > > Subject: Re: [Serusers] IM and presence problems
> > > >
> > > > Hi,
> > > > debug=4 should be enough. And if you restart ser with this debug level, there should be really lots of messages in the log.
> > > >
> > > > If you have another proxy doing NAT it is probably not needed to do it on presence server (and if oter messages work like MESSAGE).
> > > > Vaclav
> > > >
> > > > On Tue, May 02, 2006 at 11:39:01AM +0300, ?lker Aktuna (Koç.net) wrote:
> > > > > Hi,
> > > > >
> > > > > Which level of debug should I use ?
> > > > > debug= ? (I tried debug=7 but nothing changed)
> > > > >
> > > > > Btw, my clients are behind NAT. But I already forward them to an RTP+SIP proxy for voice communication. And there is no rpoblem with voice.
> > > > > Should I use any nathelper configuration for presence messages ?
> > > > >
> > > > > Thanks,
> > > > > ilker
> > > > >
>
>
>
>
> <http://387555.sigclick.mailinfo.com/sigclick/07090307/00054905/04084800/141…>
> _____________________________________________________________________________________________________________________________________________
> Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
> This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> _____________________________________________________________________________________________________________________________________________
Does anybody has an idea where is possible to have more than one RTP proxy
during session?
For example if provider is using RTP proxy, and customer also uses RTP proxy
because of private IP address.
I am measuring RTP delay and jitter and at the moment worse case scenario
that I can imagine is when 4 RTP proxies are in one session (two on both
sides).
Thanks
--
Ivan