[OpenSIPS-Users] problem with opensips startup on Centos 5

2010-09-13 Thread ha do
Hello all i use Centos 5: [r...@localhost ~]# uname -a Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux i am testing the opensips 1.6.2 and i installed successfully opensips the step to get problem: 1. Install opensips successfull 2

[OpenSIPS-Users] get error with opensip-cp on centos 5

2010-09-13 Thread ha do
Hi all i try to use the opensips-cp 4: i login the the web page http://192.168.1.100/cp successfull the menu Admin + User are working properly but the system menu does not work i get the error on the webpage: sorry -- cannot open write fifo and this is the error in debug message : Sep 14 00:

Re: [OpenSIPS-Users] problem with opensips startup on Centos 5

2010-09-14 Thread ha do
start -> /var/run/opensips.pid should create successfull but when server restart i cannot use the munin service could someone help me Thank you Ha` - Original Message From: ha do To: OpenSIPS Sent: Tue, September 14, 2010 10:05:20 AM Subject: [OpenSIPS-Users] problem with opens

Re: [OpenSIPS-Users] get error with opensip-cp on centos 5

2010-09-14 Thread ha do
if someone else got the same problem with me, to solve the issue please follow the link http://lists.opensips.org/pipermail/users/2010-June/013139.html Thank you Ha` - Original Message From: ha do To: OpenSIPS Sent: Tue, September 14, 2010 11:12:47 AM Subject: [OpenSIPS-Users

[OpenSIPS-Users] cdrtool install problem

2010-11-02 Thread ha do
Hi i try to install cdrtool in debian OS but i got stuck when install cdrtool cdrtool:/mnt# apt-get install php5-geoip Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libgeoip1 Suggested packages: geoip-

Re: [OpenSIPS-Users] cdrtool install problem

2010-11-02 Thread ha do
are you using? Best regards, Tijmen de Mes AG Projects On Nov 2, 2010, at 4:03 PM, ha do wrote: > Hi > > i try to install cdrtool in debian OS > but i got stuck when install cdrtool > > cdrtool:/mnt# apt-get install php5-geoip > Reading package lists... Done > Building d

Re: [OpenSIPS-Users] cdrtool install problem

2010-11-03 Thread ha do
HI Tijmen i insert 2 lines in source.list and it is fine deb http://ftp.us.debian.org/debian/ testing main deb-src http://ftp.us.debian.org/debian/ testing main Thank you Ha - Original Message From: ha do To: OpenSIPS users mailling list Sent: Wed, November 3, 2010 8:09:42 AM

[OpenSIPS-Users] need help on connection CDRTool to opensips

2010-11-08 Thread ha do
Hi all i installed opensips and mediaproxy in server 1, ip address : 192.168.1.39 and cdrtool and freeradius in server 2, ip address : 192.168.1.42 the opensips, mediaproxy, freeradius starting are fine i use the link below as a guide http://cdrtool.ag-projects.com/browser/doc/INSTALL.txt the

[OpenSIPS-Users] how to add new domain in CDRTool

2010-11-10 Thread ha do
hi all how can i add new domain in CDRTool on Rating menu because when i add new domain the CDRTool always said error Error: value '192.168.1.41' for field 'Domain' must be of format 'example.com' Thank you ___ Users mailing list Users@lis

[OpenSIPS-Users] need help on CDRTool

2010-11-10 Thread ha do
hi i try to learn CDRTool, i config the global.inc with # Normalize engine settings $CDRTool['normalize']['defaultCountryCode'] = "84"; the cdr_generic.php class CDRS { var $CDR_class = 'CDR'; var $intAccessCode = '00'; var $natAccessCode = '0'; v

Re: [OpenSIPS-Users] need help on connection CDRTool to opensips

2010-11-11 Thread ha do
can connect to the database by executing a mysql -h 192.168.1.39 -u opensips -psips opensips. Maybe you forgot to remove the bind interfaces directive in the mysql config. Best regards, Tijmen de Mes AG Projects On Nov 9, 2010, at 4:11 AM, ha do wrote: > Hi all > > i installed opensips

Re: [OpenSIPS-Users] need help on connection CDRTool to opensips

2010-11-16 Thread ha do
Hi Tijimen sorry for late reply > 2 opensips2 is a gateway >endpoint-opensips1---opensips2internet-VOIP service provider So basically opensips2 is just a gateway to opensips1? [ha] yes, > i just try to see what happen in cdrtool, call from subscriber to subscriber > > t

Re: [OpenSIPS-Users] how to add new domain in CDRTool

2010-11-17 Thread ha do
ied to add an IP address, which is not the same as a domain name. Adrian On Nov 10, 2010, at 6:46 PM, ha do wrote: > hi all > > how can i add new domain in CDRTool on Rating menu > because when i add new domain the CDRTool always said error > > Error: value '192.168.1.

Re: [OpenSIPS-Users] need help on connection CDRTool to opensips

2010-11-25 Thread ha do
es it disconnect 10 calls in 1 time, if i need 100 terminated i need to increase to 100, right??? how to fix the issue thank you Ha - Original Message From: ha do To: OpenSIPS users mailling list Sent: Wed, November 17, 2010 10:07:16 AM Subject: Re: [OpenSIPS-Users] need help on connect

Re: [OpenSIPS-Users] need help on connection CDRTool to opensips

2010-11-29 Thread ha do
nsips1---opensips2internet-VOIP service provider So basically opensips2 is just a gateway to opensips1? [ha] yes, Thank you Ha - Original Message From: ha do To: OpenSIPS users mailling list Sent: Thu, November 25, 2010 4:06:14 PM Subject: Re: [OpenSIPS-Users] need h

Re: [OpenSIPS-Users] need help on connection CDRTool to opensips

2010-11-30 Thread ha do
ls for opensips2 Thank you Ha - Original Message From: Tijmen de Mes To: OpenSIPS users mailling list Sent: Tue, November 30, 2010 3:44:12 PM Subject: Re: [OpenSIPS-Users] need help on connection CDRTool to opensips Hi, On Nov 25, 2010, at 10:06 AM, ha do wrote: > and opensips.cfg

Re: [OpenSIPS-Users] Munin monitoring plugin

2011-03-22 Thread ha do
Hi interesting plug_in do you have screen shot of pictures :D --- On Tue, 3/22/11, Henning Holtschneider wrote: > From: Henning Holtschneider > Subject: [OpenSIPS-Users] Munin monitoring plugin > To: "OpenSIPS users mailling list" > Date: Tuesday, March 22, 2011, 2:01 AM > -BEGIN PGP SI

[OpenSIPS-Users] Opensips sometime resend Accouting-request to freeradius

2011-03-23 Thread ha do
Hi list i am test opensips 1.6.4 freeradius from ag-projects cdrtool version 8.0.17 callcontrol version 2.0.8 there is sometimes opensips resend Accounting-Request to freeradius and make freeradius seems to reject message from opensips here is the pastebin link: http://pastebin.com/d1k38n5a -

Re: [OpenSIPS-Users] Opensips sometime resend Accouting-request to freeradius

2011-03-23 Thread ha do
Hi i found problem, Thank you Ha` --- On Wed, 3/23/11, ha do wrote: > From: ha do > Subject: Opensips sometime resend Accouting-request to freeradius > To: "OpenSIPS" > Date: Wednesday, March 23, 2011, 2:06 AM > Hi list > > i am test > opensips 1

Re: [OpenSIPS-Users] Opensips sometime resend Accouting-request to freeradius

2011-03-24 Thread ha do
u can not because you have key defined on your > table. > > > Dani > On 03/23/11 10:06, ha do wrote: > > Hi list > > > > i am test > > opensips 1.6.4 > > freeradius from ag-projects > > cdrtool version 8.0.17 > > callcontrol version 2.0.8

Re: [OpenSIPS-Users] Opensips account: Local calls => Proxy authentication required

2011-05-04 Thread ha do
Hi Truong try the ebook https://www.packtpub.com/building-telephony-systems-with-opensips-1-6/book there are a lot of examples and explain how opensips work hope this help Ha` --- On Wed, 5/4/11, Duong Manh Truong wrote: From: Duong Manh Truong Subject: [OpenSIPS-Users] Opensips account: Lo

Re: [OpenSIPS-Users] Opensips account: Local calls => Proxy authentication required

2011-05-05 Thread ha do
Hi Truong please use the pastebin.com to upload your opensips.conf i can check it in details Thanks Ha` --- On Wed, 5/4/11, Duong Manh Truong wrote: From: Duong Manh Truong Subject: Re: [OpenSIPS-Users] Opensips account: Local calls => Proxy authentication required To: "OpenSIPS users maill

Re: [OpenSIPS-Users] Opensips account: Local calls => Proxy authentication required

2011-05-05 Thread ha do
host/opensips") modparam("auth_db", "load_credentials", "")   you use clear text password or encrypted password for your subscribers take time to read and check it again in mysql database Thank you Ha` --- On Thu, 5/5/11, ha do wrote: From: ha do Subject: Re:

Re: [OpenSIPS-Users] Call from Asterisk to Opensips

2011-05-06 Thread ha do
Hi Truong first thing you should try to read the asterisk SIP TRUNK and here is the basic example and i think the problem is asterisk not opensips http://www.panoramisk.com/90/sip-trunk-with-asterisk/en/ and make sure to check the debug from asterisk and opensips, i think you will get the clues

[OpenSIPS-Users] Need help on sip_trace module write the log to a file

2009-12-06 Thread ha do
Hi admin i do config to use the siptrace module write the log to text file but i got the error: from the debug=9, log_facility=LOG_LOCAL7: Dec  7 15:14:37 Opensips Cucku[2168]: DBG:siptrace:trace_sl_onreply_out: dest [udp:192.168.237.1:7226] Dec  7 15:14:37 Opensips Cucku[2168]: DBG:siptrace:tr

[OpenSIPS-Users] need help on registrar Module

2009-12-09 Thread ha do
HI all i using the registrar module and set modparam("registrar", "max_contacts", 1) i using xlite and then register successfull the time out for registration = 3600 then i shutdown the xlite then reopen xlite and get error Dec 10 06:07:11 Opensips Cucku[1937]: INFO:registrar:test_max_contacts:

Re: [OpenSIPS-Users] need help on registrar Module

2009-12-10 Thread ha do
PM One way is to have the xlite "unregister" (AKA register with an expiration value of 0 (immediate)), if it has that capability. On 12/09/2009 10:39 PM, ha do wrote: > HI all > > i using the registrar module and set > > modparam("registrar", "max_

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-10 Thread ha do
Hi Brian i follow your suggestion and it is successfully writing the log to text file sip_trace the opensips.cfg loadmodule "db_text.so" modparam("siptrace", "trace_flag", 22) modparam("siptrace", "db_url", "text:///tmp/opensipsdb") modparam("siptrace", "trace_on", 1) modparam("siptrace", "enab

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-10 Thread ha do
accept the old sip_trace text file, i need to create new sip_trace text file my question how long opensips will write the log to text file ?? why opensips doesnt accept the old sip_trace text file? is there any enhancement to use the old text file Thank you Ha` --- On Thu, 12/10/09, ha do wrote

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-10 Thread ha do
HI Brian [r...@localhost opensipsdb]# ls -ld /tmp/opensipsdb/ drwxr-xr-x 2 root root 4096 Dec 11 14:56 /tmp/opensipsdb/ [r...@localhost opensipsdb]# ls -ld /tmp/opensipsdb/sip_trace -rw-r--r-- 1 root root 168 Dec 11 14:56 /tmp/opensipsdb/sip_trace [r...@localhost opensipsdb]# ps axu | grep opensip

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-11 Thread ha do
n. So, to synthesize - if the file has content (aside the first line), the siptrace module does not start ? Regards, Bogdan ha do wrote: > HI Brian > > [r...@localhost opensipsdb]# ls -ld /tmp/opensipsdb/ > drwxr-xr-x 2 root root 4096 Dec 11 14:56 /tmp/opensipsdb/ > [r...@localhost

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-12 Thread ha do
ed only at shutdown. So, to synthesize - if the file has content (aside the first line), the siptrace module does not start ? Regards, Bogdan ha do wrote: > HI Brian > > [r...@localhost opensipsdb]# ls -ld /tmp/opensipsdb/ > drwxr-xr-x 2 root root 4096 Dec 11 14:56 /tmp/opensip

[OpenSIPS-Users] question on B2B module

2009-12-14 Thread ha do
Hi all network topology: VOIP Service Provider SIP trunk port 5070Opensips1 --sip trunk port 5060Opensips2Ip phone Media : VOIP Service Provider Opensips1(rtpproxy)Ip phone can i use the B2B module on opensips1 to do topology hiding and use the rtpproxy on opens

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-14 Thread ha do
NULL). I fixed the problem on SVN, so if you do an update and re-compile, you should not need to delete the file during restarts. Thanks and regards, Bogdan ha do wrote: > HI Bogdan > > it is clear now :) > > f the file has content (aside the first line), the siptrace module >

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-15 Thread ha do
time :) Thank you Ha` --- On Tue, 12/15/09, Bogdan-Andrei Iancu wrote: From: Bogdan-Andrei Iancu Subject: Re: [OpenSIPS-Users] Help with sip trace errors please To: "OpenSIPS users mailling list" Date: Tuesday, December 15, 2009, 12:47 AM Hi Ha, ha do wrote: > Hi Bogdan > >

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-18 Thread ha do
n Thu, 12/17/09, Bogdan-Andrei Iancu wrote: From: Bogdan-Andrei Iancu Subject: Re: [OpenSIPS-Users] Help with sip trace errors please To: "OpenSIPS users mailling list" Date: Thursday, December 17, 2009, 2:44 AM Hi Ha, ha do wrote: > Hi Bogdan > > you need to take the ne

Re: [OpenSIPS-Users] question on B2B module

2009-12-18 Thread ha do
g list" Date: Wednesday, December 16, 2009, 2:30 AM Hi Ha, Yes, such a configuration is possible. You have to set the $du to the address of OpenSIPS2 before doing b2b_init on OpenSIPS1. Regards, -- Anca Vamanu www.voice-system.ro ha do wrote: > Hi all > > network topology: &g

[OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips

2009-12-22 Thread ha do
Hi all i install rtpproxy in same Opensips machine Do i really need at least 1 Wan IP address for Opensips + rtpproxy work Thank you Ha` ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips

2009-12-22 Thread ha do
3:50 AM Hi Ha, well, depends - do you want your opensips to talk to the outside world? if no, you do not need a WAN address. Regards, Bogdan ha do wrote: > Hi all > > i install rtpproxy in same Opensips machine > Do i really need at least 1

Re: [OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips

2009-12-22 Thread ha do
9_4 E8 " Thank you Ha --- On Tue, 12/22/09, Bogdan-Andrei Iancu wrote: From: Bogdan-Andrei Iancu Subject: Re: [OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips To: "OpenSIPS users mailling list" Date: Tuesday, December 22, 2009, 3:50 AM Hi Ha, well, depends - do you wan

Re: [OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips

2009-12-22 Thread ha do
  if (is_method("BYE")) {     unforce_rtp_proxy(); and i still need help on media + the flag Thank you Ha --- On Tue, 12/22/09, ha do wrote: From: ha do Subject: Re: [OpenSIPS-Users] Need advice rtpproxy + nathelper on opensips To: "OpenSIPS users mailling list" Date: Tuesday, December 22

[OpenSIPS-Users] Need help Nathelper + rtpproxy

2009-12-25 Thread ha do
Hi all i set up rtpproxy run in same machine with opensips my network topology: ip phone1 (192.168.1.6) (192.168.1.248)opensips(172.26.0.2)---(172.26.0.100)ip phone 2 media : ip phone1 (192.168.1.6) (192.168.1.248)rtpproxy(172.26.0.2)---(172.26.0.100)ip phone 2 i start

Re: [OpenSIPS-Users] Need help Nathelper + rtpproxy

2009-12-29 Thread ha do
Hi Bogdan Thank you for the tip :) --- On Tue, 12/29/09, Bogdan-Andrei Iancu wrote: From: Bogdan-Andrei Iancu Subject: Re: [OpenSIPS-Users] Need help Nathelper + rtpproxy To: "OpenSIPS users mailling list" Date: Tuesday, December 29, 2009, 7:42 AM Hi Ha, You need to call unforce_rtp_proxy(

[OpenSIPS-Users] need advice on B2b

2009-12-30 Thread ha do
Hi all modparam("b2b_entities", "script_req_route", "b2b_request") modparam("b2b_entities", "script_reply_route", "b2b_reply") Could you please let me know how it work is there the example of b2b_request and b2b_reply the initial request can be seen as b2b_request? the onreply_route is as same a

[OpenSIPS-Users] something on stun documment

2009-12-30 Thread ha do
Hi admin http://www.opensips.org/html/docs/modules/devel/stun.html#id227269 1.3.3.  alternate_ip (str) Another ip from another interface. Example 1.3. Set alternate_ip parameter ... modparam("stun","alter

Re: [OpenSIPS-Users] something on stun documment

2010-01-04 Thread ha do
nt to use as secondary port by the STUN server. 3479 is the default alternate port in STUN, so it is ok. Regards, Bogdan ha do wrote: > Hi admin > > http://www.opensips.org/html/docs/modules/devel/stun.html#id227269 > > >       1.3.3.  |alternate_ip| (str) > > Another ip from a

[OpenSIPS-Users] Need help on flag in usrloc

2010-01-05 Thread ha do
Hi all i am successfull to check the UA behind NAT but i dont know what value of the flag will be stored in the usrloc Could someone please let me know the value of Nated UA flag, that is stored in usrloc my config : modparam("nathelper", "natping_interval",180) modparam("nathelper", "ping_

Re: [OpenSIPS-Users] need advice on B2b

2010-01-06 Thread ha do
HI Anca i am trying to use the b2b_request + b2b_reply route{ ... if(is_method("INVITE") &&  !(src_ip == 192.168.1.249 && src_port ==5060))     {     if (! t_newtran()){     sl_reply_error();     exit;     };     b2

Re: [OpenSIPS-Users] Need help on flag in usrloc

2010-01-06 Thread ha do
lp on flag in usrloc To: "OpenSIPS users mailling list" Date: Tuesday, January 5, 2010, 7:20 AM Hi Ha, the NAT branch flag you use is 7 (nat_bflag) and in usrloc you find the branch flags in the cflags (contact flags) field. The cflags is a mask with all the branch flags: 192 = 128 (2^

Re: [OpenSIPS-Users] need advice on B2b

2010-01-07 Thread ha do
    if(status=="200")     route("b2b_reply"); Hope this made things a bit clearer. Regards, -- Anca Vamanu www.voice-system.ro ha do wrote: HI Anca i am trying to use the b2b_request + b2b_reply

Re: [OpenSIPS-Users] Need help on flag in usrloc

2010-01-07 Thread ha do
ferent and may have different values - one is used as NAT marker, the other one is used as SIP-based pinging marker. so, you can use different flags and both of them will be saved in cflag mask. Regards, Bogdan ha do wrote: > Hi Bogdan > > got it :) > > 1 more question

[OpenSIPS-Users] need help on mediaproxy that cannot start

2010-01-07 Thread ha do
Hi all i follow the instruction : http://www.smartvox.co.uk/serfaq_install_mediaproxy2.htm my centos version: [r...@centos-cucku application]# uname -a Linux CentOS-Cucku 2.6.18-128.el5PAE #1 SMP Wed Jan 21 11:19:46 EST 2009 i686 i686 i386 GNU/Linux i get the error when start the mediaproxy o

Re: [OpenSIPS-Users] need help on mediaproxy that cannot start

2010-01-11 Thread ha do
HI Richard and Dan   i am able to run media proxy mediaproxy version 2.3.10 just follow the link and change 2 things: use python-application 1.1.5 + python-gnutls 1.1.8   Thank you all Ha` --- On Mon, 1/11/10, Richard Revels wrote: From: Richard Revels Subject: Re: [OpenSIPS-Users] need help

[OpenSIPS-Users] need help on mediaproxy ports

2010-01-18 Thread ha do
Hi all i debug on mediaproxy and see, mediaproxy create 4 ports but the real ports to relay media are only 2 ports: 118.69.239.140:50012 <-> 118.69.239.140:50014 is it normal, can i config mediaproxy create only 2 ports Thank you Ha` mediaproxy.mediacontrol.StreamListenerProtocol starting on 5

Re: [OpenSIPS-Users] need help on mediaproxy ports

2010-01-19 Thread ha do
is always accompanied by an odd numbered RTCP port.  So you do have only 2 RTP ports listed above, but those RTP ports also require a RTCP port.  Look at this http://en.wikipedia.org/wiki/RTP_Control_Protocol On Tue, Jan 19, 2010 at 1:56 AM, ha do wrote: Hi all i debug on mediaproxy and see,

[OpenSIPS-Users] need help on dialplan module

2010-01-22 Thread ha do
Hi all could you please need me to understand the translation on dialplan module; mysql> select * from dialplan; ++--++--+---+---++--+---+ | id | dpid | pr | match_op | match_exp | match_len | subst_exp  | repl_exp | attrs | ++--

Re: [OpenSIPS-Users] need help on dialplan module

2010-01-24 Thread ha do
dules user PERL like substitution. A fast google gives some docs on this:     http://www.anaesthetist.com/mnm/perl/Findex.htm#regex.htm Regards, Bogdan ha do wrote: > Hi all > > could you please need me to understand the translation on dialplan module; > mysql&g

Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0

2010-03-18 Thread ha do
HI Alex did you find new issue on opensips cp Thank youHa` --- On Sat, 3/13/10, Alex Ionescu wrote: From: Alex Ionescu Subject: Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0 To: "OpenSIPS users mailling list" Date: Saturday, March 13, 2010, 9:21 AM Hi, I will inves

Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0

2010-03-22 Thread ha do
Hi Alex i try new opensips-cp and it work fine now but i have problem with add new admin in opensips-cp webpage step1: add new admin with name : cucku step2: add successfull step3: login with username cucku -- the issue is here, there is no available tools for new admin which is added via webpag