[OpenSIPS-Users] Opensips outbound proxy problem

2011-01-18 Thread Nauman Sulaiman
Hi, we are using opensips as outbound proxy. We have a problem when a UA registers with certain servers via opensips but the contact address returned by the registrar is that of opensips rather than the UA. Both the UA and opensips are on public ip and we have opensips inserting path header.

Re: [OpenSIPS-Users] B2B and 404 Not here

2011-01-18 Thread Anton Zagorskiy
As I told, new B2B INVITE hasn't original Via headers. Is it normal? -Original Message- From: users-boun...@lists.opensips.org [mailto:users- boun...@lists.opensips.org] On Behalf Of Anton Zagorskiy Sent: Monday, January 17, 2011 7:53 PM To: 'OpenSIPS users mailling list' Subject:

Re: [OpenSIPS-Users] solution to opensips control pannel MI connection using fifo on CentOS 5 - selinux audit2allow

2011-01-18 Thread Skyler
Dave - Thanks for sharing this! I had the exact same problem and hadn't figured out a solution yet. Much appreciated. Skyler On Thu, Jan 13, 2011 at 5:51 PM, Dave Singer dave.sin...@wideideas.comwrote: Banged my head for a while with why I couldn't get fifo working for the Control Panel I

[OpenSIPS-Users] CDR Accounting Example

2011-01-18 Thread Andrew Philp
Hi All, Has anyone got a working example of the CDR accounting working with mysql. I have tried to get this sorted but I feel I am missing something. Thanks in adavnce ___ Users mailing list Users@lists.opensips.org

Re: [OpenSIPS-Users] CDR Accounting Example

2011-01-18 Thread Anton Zagorskiy
Hi Andrew. modparam(acc, db_extra, src=$(dlg_val(from.uri){uri.user});dst=$(dlg_val(request.uri){uri.user});ch annel=$dlg_val(channel);dstchannel=$dlg_val(dchannel)) modparam(acc, db_flag, 10) modparam(acc, db_url, mysql://login:pass@host/db) modparam(acc, cdr_flag, 2) ... Later in the script

Re: [OpenSIPS-Users] Opensips outbound proxy problem

2011-01-18 Thread Bogdan-Andrei Iancu
Hi Nauman, First you need to see who's changing the Contact hdr (from UA IP to opensips IP) - does the REGISTER received by REGISTRAR server carry the right Contact? Regards, Bogdan Nauman Sulaiman wrote: Hi, we are using opensips as outbound proxy. We have a problem when a UA registers

Re: [OpenSIPS-Users] parameter missing in 1.6 branch nathelper

2011-01-18 Thread Bogdan-Andrei Iancu
Hi Boby, seams to be an error with the documentation (just fixed it) - the rtpproxy_autobridge param is not available in 1.6, but only in trunk. This feature was not included in the official release as it includes some code in the TM (transaction module) that needs to be rework (as the

Re: [OpenSIPS-Users] B2B and 404 Not here

2011-01-18 Thread Bogdan-Andrei Iancu
yes, Anton, it is normal - as a B2BUA acts as UAC (new message, single VIA) on the outbound side. Regards, Bogdan Anton Zagorskiy wrote: As I told, new B2B INVITE hasn't original Via headers. Is it normal? -Original Message- From: users-boun...@lists.opensips.org [mailto:users-

Re: [OpenSIPS-Users] B2B and 404 Not here

2011-01-18 Thread Bogdan-Andrei Iancu
Hi Anton, The ERROR line you have here are not essential - they simply say that the warning (optional) hdr was not added. Not an actual error. Can you check doing a capture at net level who is generating the 404 reply? from opensips script, for final callee ? Regards, Bogdan Anton

Re: [OpenSIPS-Users] Problem with the configuration of permissions module

2011-01-18 Thread Bogdan-Andrei Iancu
Hi Alejandro, First silly question - are you sure your script logic gets to the check_source_address () function ? Try to place an xlog() there to see if it gets hit. You have to take care that the script block you are doing auth is called only if the caller (FROM hdr) belong to your domain

Re: [OpenSIPS-Users] milliseconds and random values

2011-01-18 Thread Bogdan-Andrei Iancu
yes, there is such a var: http://www.opensips.org/html/docs/modules/1.6.x/cfgutils.html#id293143 Regards, Bogdan Brett Nemeroff wrote: I want to use milliseconds of current time and random values in the config file. $time doesn't support milliseconds and I didn't find any

Re: [OpenSIPS-Users] B2B and 404 Not here

2011-01-18 Thread Anton Zagorskiy
Hi Bogdan. I fixed the B2B loop, but openSIPS still replies 404. Please see on fragments on my SIP trace: SIP flow: UA1 (192.168.0.1) - openSIPS(B2B) (192.168.0.10) - AudioCodes mediant (192.168.0.20) - UA2 (somewhere) 1. UA1 - openSIPS : INVITE Via: SIP/2.0/UDP

Re: [OpenSIPS-Users] Do I have a realm configuration problem

2011-01-18 Thread Bogdan-Andrei Iancu
Hi Gareth, In the logs you sent, I do not see any logs from opensips related to the processing on the second INVITE (with credentials)those logs may give essential information about what is going on. Regards, Bogdan Gareth Blades wrote: From the sip packet :- Proxy-Authorization:

Re: [OpenSIPS-Users] Dialog Module and Bogus Event 8 in state 2

2011-01-18 Thread Bogdan-Andrei Iancu
Hi Sven, The message generating the log is: NOTIFY sip:10.1.2.52:5060 SIP/2.0 Via: SIP/2.0/UDP 10.1.1.60:5060;branch=z9hG4bKFD1B90 From: sip:18148656...@testsipcore.phonetest.psu.edu;tag=3890-C16 To:

Re: [OpenSIPS-Users] ERROR:aaa_radius:send_auth_func: radius authentication message failed with ERROR

2011-01-18 Thread Bogdan-Andrei Iancu
Hi Dani, do you see in the system log any errors from the radius library ? Regards, Bogdan Dani Popa wrote: Hi, I get next error when i try to use aaa_radius Jan 13 13:01:44 [10886] ERROR:aaa_radius:send_auth_func: radius authentication message failed with ERROR The opensips start normally

Re: [OpenSIPS-Users] new install and INVITES not being forwarded

2011-01-18 Thread Bogdan-Andrei Iancu
Hi try to place a log as: xlog(before record routing\n); before the line with : # record routing another one like : xlog(doing lookup\n); before: #do lookup with method filtering and one in the beginning of route[1]: xlog(sending request $rm out \n); Check which logs do

Re: [OpenSIPS-Users] new install and INVITES not being forwarded

2011-01-18 Thread Gareth Blades
Thanks. I have done that but the only debug messages I get is the one I added myself just after the 'route{' line at the very start. Is the following line from the logs significant? I dont have multidomain support enabled. Jan 18 14:55:29 [8644] DBG:auth:pre_auth: credentials with given realm

Re: [OpenSIPS-Users] nat_traversal samples?

2011-01-18 Thread Jeff Chua
On Tue, Jan 18, 2011 at 10:50 PM, Bogdan-Andrei Iancu bog...@opensips.org wrote: Jeff, as you have the VPN, I assume that the home and office PC are in the same network, to the iphone can directly route to office PC, right ?  or you home PC is doing a kind of NAT between wifi and VPN ? The

Re: [OpenSIPS-Users] ERROR:aaa_radius:send_auth_func: radius authentication message failed with ERROR

2011-01-18 Thread Dani Popa
Hi, I solved the issue. I loaded twice radius_config modparam(aaa_radius, radius_config, /etc/opensips_aaa_radius/radius/radiusclient.conf) first time with good radiusclient.conf and second time with bad one.(I didn't saw because of my nouse, you know, every time Now, i finished prepaid(with

Re: [OpenSIPS-Users] new install and INVITES not being forwarded

2011-01-18 Thread Bogdan-Andrei Iancu
yes, you have the message for the first Invite (without credentials), but I see no logs at all for the following INVITEs (with credentials)...:-/ Regards, Bogdan Gareth Blades wrote: Thanks. I have done that but the only debug messages I get is the one I added myself just after the 'route{'

[OpenSIPS-Users] can't modify opensips.cfg file

2011-01-18 Thread Leon Li
Hi, I've using the liveDVD as my vm, and kept all default file/conf. However, I found I couldn't change the cfg file (/usr/local/opensips_proxy/etc/opensips/opensips_proxy.cfg). Every time I made any modification, save it, restart opensips, the file is changed back to the original one.