[OpenSIPS-Users] cdrtool always returning postpaid

2010-01-15 Thread Nguyen Quang Tri
Hello , i have prolem like this. This is my log file " call-control[18241]: Call id OTZmMTRlZTlkY2MyNjRhOThhMDQwNjcwYjg5MGU0Nzk. of 1...@x to sip:18005558...@xx:5065 is postpaid not limited" Here ,This is my tables mysql> select * from prepaid; ++-+---

[OpenSIPS-Users] Error in module permission with db_text

2010-01-15 Thread Леонид Наседкин
Hi there. I'm trying to use permission module with db_text, and it's not working, and I can't understand what's wrong. Opensips 1.6.1 svnrevision: 2:6509 In opensips.cfg: loadmodule "db_text.so" modparam("db_text", "db_mode", 0) loadmodule "permissions.so" modparam("permissions","db_url",

Re: [OpenSIPS-Users] Error in module permission with db_text

2010-01-15 Thread Bogdan-Andrei Iancu
Hi Leonid, Looks like there is a compatibility bug between permission and db_text modules when comes to DB data typesGive me couple of days to sort this out. In the mean while, if you want to use db_text for permissions, please use the attached patch. Thanks and regards, Bogdan Леони

Re: [OpenSIPS-Users] About STUN server configuration

2010-01-15 Thread Bogdan-Andrei Iancu
Hi Yagishita, What is the error indicated in the logs (http://www.opensips.org/Resources/DocsTsStart) ? Regards, Bogdan Koichi Yagishita wrote: > Dear all, > > After configuring the following related to stun in opensips.cfg for my > opensips1.6.0, start-up of the opensips failed. > What else s

Re: [OpenSIPS-Users] Is RPID being cached?

2010-01-15 Thread Bogdan-Andrei Iancu
Hi Alan, rpid is in subscriber table and should have nothing to do with usrloc (and db_mode). How do you load the rpid and where do you store it (what kind of variable) ? Regards, Bogdan Alan Frisch wrote: > I was using memory only for usrloc. I played around with the > different modes, then

Re: [OpenSIPS-Users] TLS errors

2010-01-15 Thread Bogdan-Andrei Iancu
Hi Nir, I see you manage to start opensips with TLS - what was your error? for _tls_read -> that is very funny: SSL_read return err 5 (SSL_ERROR_SYSCALL) which means to look at error stack/return value/errno for the real error (the error was geerated somewhere deep in the SSL underlayers), but

Re: [OpenSIPS-Users] TLS errors

2010-01-15 Thread nir elkayam
hi, i have recompite/reinstall 1.6.1 (i used 1.6.0 before) and all went smooth and ok. i'll check the links u send and validate the error, for now i have a problem with the TLS client and can't seem to make it work with eyebeam (certificate issue related). i'll keep the list updated.. thanks for

Re: [OpenSIPS-Users] mi_xmlrpc - Display name in From header

2010-01-15 Thread Bogdan-Andrei Iancu
Hi Chris, It seams that the t_uac MI function fails to properly detect the display name and adds an extra pare of angle brackets...Could you send the complete MI command you are using - I will try to reproduce and debug this. Thanks & Regards, Bogdan Chris Maciejewski wrote: > Hi, > > I am try

Re: [OpenSIPS-Users] Error in module permission with db_text

2010-01-15 Thread Леонид Наседкин
Hi Bogdan Thank you. Its working now. 2010/1/15 Bogdan-Andrei Iancu > Hi Leonid, > > Looks like there is a compatibility bug between permission and db_text > modules when comes to DB data typesGive me couple of days to sort this > out. > > In the mean while, if you want to use db_text for pe

Re: [OpenSIPS-Users] To header : modification when using Dynamic Routing

2010-01-15 Thread Bogdan-Andrei Iancu
Hi Julien, OpenSIPS 1.6.1 has the uac_replace_to() function - http://www.opensips.org/html/docs/modules/devel/uac.html#id22858 So, you can do it in the nice, official way :) Regards, Bogda Julien Chavanton wrote: > Hi, I have found this, looks like it could work, I will probably test > it onl

Re: [OpenSIPS-Users] Error in module permission with db_text

2010-01-15 Thread Bogdan-Andrei Iancu
Ok, I will investigate to come up with an official fix. Thanks and regards, Bogdan Леонид Наседкин wrote: > Hi Bogdan > Thank you. Its working now. > > 2010/1/15 Bogdan-Andrei Iancu > > > Hi Leonid, > > Looks like there is a compatibility bug between permis

Re: [OpenSIPS-Users] TLS errors

2010-01-15 Thread nir elkayam
hi, i follow the script on : http://www.opensips.org/html/docs/tutorials/tls-1.4.x.html mainly, generated root certificate with: opensipsctl tls rootCA and then generate user (i.e. sip server) certificate with: opensipsctl tls userCERT user about the file ca_list, the wiki say: To add more CAs

Re: [OpenSIPS-Users] my problems getting dialplan to work

2010-01-15 Thread Wesley Volcov
Hello Bogdan, I made the exemple you wrote above. My script: $var(x) = "sip:06"; dp_translate("1", "$var(x)/$var(tmp)"); xlog("-$var(tmp)\n"); My database: mysql> select * from dialplan; ++--++--++--

[OpenSIPS-Users] DRouting Help

2010-01-15 Thread rajib deka
Hello all, I am a newbie to OpenSIPS. I have worked a lot with load_balancer and dispatcher module, also I know how to work with it little bit. I have gone through the DR module documentation but I couldnot understand it thoroughly. It will be helpful for me if someone can help me by providing DRo

Re: [OpenSIPS-Users] DRouting Help

2010-01-15 Thread duane . larson
Rajib, I found this post on Nabble, http://n2.nabble.com/DRouting-Sample-Config-td2735149.html#a2735179 So it looks like everyone is still going to say read the drouting module doc. I can speak from experience that sometimes it helps to search through nabbles OpenSIPS-Users section for any b

Re: [OpenSIPS-Users] mi_xmlrpc - Display name in From header

2010-01-15 Thread Chris Maciejewski
Hi Bogdan, Thanks for your help. XML MI command attached. Please let me know if I can help somehow in fixing this issue (testing patches etc.) Best regards, Chris 2010/1/15 Bogdan-Andrei Iancu > > Hi Chris, > > It seams that the t_uac MI function fails to properly detect the display > name an

Re: [OpenSIPS-Users] About STUN server configuration

2010-01-15 Thread Koichi Yagishita
Hi Bogdan, Thank you for your response. The following is output of /var/log/messages and ifconfig. [/var/log/messages] Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. resolve 192.168.1.1 Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. res