Re: [SR-Users] Carrier Route Module

2017-04-10 Thread ycaner
hello,it is longest matched prefix. i think you dont need to length.
Cheers
http://kamailio.org/docs/modules/4.4.x/modules/carrierroute.html#idp32167364



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Carrier-Route-Module-tp157590p157616.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] VERY IMPORTANT: deciding when to remove the MI code

2016-12-05 Thread ycaner

  

  
  
Hello, 
you are right. some
carrier route functions are missing.important of them are dump
and show methods.if i have time ,i can add them. 
Cheers. 


6.12.2016 10:48 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 

 Hello,
  
  
  looking in the code I see the carrierroute module has already rpc
  
  command for reload operations. But there are some other mi
  commands not
  
  implemented as rpc.
  
  
  Cheers,
  
  Daniel
  
  
  
  On 05/12/2016 11:28, Daniel-Constantin Mierla wrote:
  
 Hello,



 few that are missing can be probably added once we discover
them. The

 best is to open an issue on bug tracker whenever you are
aware of a mi

 command not implemented in rpc. Even better will be a pull
request :-)

 -- migrating from mi to rpc should not be complex and
rather easy to

 lean by looking at other variants with both
implementations.



 Cheers,

 Daniel





 On 02/12/2016 16:18, ycaner wrote:

 Hello

 Carrier route module doesnt have RPC command., we need
to add it 
 Cheers.







 --

 View this message in context: 
http://sip-router.1086192.n5.nabble.com/VERY-IMPORTANT-deciding-when-to-remove-the-MI-code-tp153719p153773.html
 
 Sent from the Users mailing list archive at Nabble.com.



 ___

 SIP Express Router (SER) and Kamailio (OpenSER) -
sr-users mailing list

 [hidden email] 

 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  -- 
  Daniel-Constantin Mierla
  
  www.twitter.com/miconda  -- www.linkedin.com/in/miconda 
  
  Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com 
  
  
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/VERY-IMPORTANT-deciding-when-to-remove-the-MI-code-tp153719p153841.html
 
  
  
To unsubscribe from VERY IMPORTANT: deciding when to remove the
MI code, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2016.jpg (23K) 
<http://sip-router.1086192.n5.nabble.com/attachment/153843/0/yasin-imza-2016.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/VERY-IMPORTANT-deciding-when-to-remove-the-MI-code-tp153719p153843.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] VERY IMPORTANT: deciding when to remove the MI code

2016-12-02 Thread ycaner
Hello
Carrier route module doesnt have RPC command., we need to add it 
Cheers.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/VERY-IMPORTANT-deciding-when-to-remove-the-MI-code-tp153719p153773.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] LCR modules troubles

2016-11-29 Thread ycaner
hello;
lcr module dont touch to header. you can use UAC module  to manipulate it.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/LCR-modules-troubles-tp153582p153614.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Enabling accounting module

2016-10-11 Thread ycaner
hey;
of course you can do it . diameter  and radius are different modules that
uses acc module. to enable acc_cdr , you should enable dialog module. there
are so many explaniation and tuts on kamailio wiki page.




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Enabling-accounting-module-tp152465p152467.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] NatHelper - Received adding on Contact header

2016-10-03 Thread ycaner

  

  
  
Hello; 
    Our goal is 100k
subscriber and i know that Asterisk cannot handle 3k subscriber
that sending options to keep open ports. So this situation is afraid
of me. Yeah ,You re right, dont trust endpoints. I think UAc
keep-alive mechanism can solve this. This is UAC's problem  :) 
I will just warn UAC production. 

  
Thanks for reply. 
Have a nice day.Cheers. 


3.10.2016 16:19 tarihinde Daniel
  Tryba-2 [via SIP Router] yazdı: 

 On Mon, Oct 03, 2016 at 03:35:59AM -0700, ycaner
  wrote:
  
   it is simple way to solve this and it is softphone product
  problem. If i did
  
   configuration as you said , it consumes so much socket , CPU
  and etc. in
  
   future.
  
  
  I can't imagine this will be a significant amount of cpu/traffic.
  I can
  
  only speak for my users, but near 100% is behind NAT or a
  statefull
  
  firewall. Treating the users as always NATed avoids a lot of
  headaches
  
  so far.
  
   
  
   I wonder that is there a something about it  on ietf or
  protocol flows. I
  
   think it is wrong. 
   
   What do you think about it.
  
  
  I can't find any info about this learning process via the Contact
  
  header. But I have seen this kind of behavior with Patton
  SmartNode
  
  equipment, in these appliances this learning is related to the
  UACs
  
  keep-alive mechanism. This further supported my idea to never
  trust any
  
  endpoint device :)
  
  
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/NatHelper-Received-adding-on-Contact-header-tp152245p152249.html
 
  
  
To unsubscribe from NatHelper - Received adding on Contact
header, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2016.jpg (23K) 
<http://sip-router.1086192.n5.nabble.com/attachment/152257/0/yasin-imza-2016.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/NatHelper-Received-adding-on-Contact-header-tp152245p152257.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] NatHelper - Received adding on Contact header

2016-10-03 Thread ycaner
it is simple way to solve this and it is softphone product problem. If i did
configuration as you said , it consumes so much socket , CPU and etc. in
future.

I wonder that is there a something about it  on ietf or protocol flows. I
think it is wrong. 

What do you think about it.

Thanks for reply , Daniel.





--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/NatHelper-Received-adding-on-Contact-header-tp152245p152248.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] memory problem

2016-09-28 Thread ycaner
Hello;
take a look at the memlog. after shutdown , it prints  a data about memory
size helps to fix it. Maybe it can fix it.  In addition , there is upper
version of 4.2.0. maybe you can update it!

http://www.kamailio.org/wiki/cookbooks/4.2.x/core#memdbg




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/memory-problem-tp152113p152165.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Accessing cached database table

2016-09-27 Thread ycaner
i think peer_tag_avp can help you about your problem.

http://kamailio.org/docs/modules/4.4.x/modules/permissions.html#permissions.p.peer_tag_avp



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Accessing-cached-database-table-tp152152p152154.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Killing dialog using kamcmd

2016-09-22 Thread ycaner
Hello;
i use a event route  like below for radius request. there is a acc_request
for it. you can use it

event_route[tm:local-request]{

xlog("L_ALERT","Local-Request [$ci] ");

if(is_method("BYE")){
acc_rad_request("Timeout");
}
}




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Killing-dialog-using-kamcmd-tp151976p152029.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] help with kamailio rpm made from source

2016-09-08 Thread ycaner
Hello;
it is clear that kamailio crashs. Could you start with "kamailio -E -ddd"
and then see logs. it gives hit. Probably libraries has some conflicts.




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/help-with-kamailio-rpm-made-from-source-tp151601p151626.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] New links for "IMS getting started"

2016-09-07 Thread ycaner
Thanks for new links.

Cheers.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/New-links-for-IMS-getting-started-tp151516p151554.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Configuring/Integrating Kamailio Open IMS with FHoSS

2016-07-25 Thread ycaner
Hello;
This image work on Oracle VM  Box instead of VMware (5.5) . when it is run
on VMware , it gives error "unsupported disk type 7". i will work on Oracle
VM BOX.
Thanks.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Configuring-Integrating-Kamailio-Open-IMS-with-FHoSS-tp150592p150654.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Configuring/Integrating Kamailio Open IMS with FHoSS

2016-07-24 Thread ycaner
Hello;
Thank you for support and helps. after LTE , nearly all operator changed
core with IMS , so it is great work for supplying OpenSource IMS.
Cheers.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Configuring-Integrating-Kamailio-Open-IMS-with-FHoSS-tp150592p150648.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Configuring/Integrating Kamailio Open IMS with FHoSS

2016-07-22 Thread ycaner
Hello;
Kamailio-IMS download links are broken. How can i reach them?

Thanks



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Configuring-Integrating-Kamailio-Open-IMS-with-FHoSS-tp150592p150613.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Add a user through a http request

2016-06-22 Thread ycaner
hello;
You can use sqlops and jsonrpc module to add db smt.
http://kamailio.org/docs/modules/4.4.x/modules/sqlops.html
http://kamailio.org/docs/modules/4.4.x/modules/jsonrpc-c.html





--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Add-a-user-through-a-http-request-tp149636p149644.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Send Register from Kamailio

2016-06-01 Thread ycaner

  

  
  
Hello; 
    i never tried
credential parameter. i used with database so i can add new
registration without restarting kamailio. there are so many rpc
command to control it. 
you can use the same
table with multiple kamailio that some registration can disabled
with rpc command and others can register but i think it is hard
to control each kamailio instance. 
 
http://kamailio.org/docs/modules/4.3.x/modules/uac.html#uac.r.uac.reg_disable 


in addition, there is limitaion for reloading uacreg table. i am
  not sure but it can be reloaded in 150 sec. 


Cheers. 


1.06.2016 11:26 tarihinde Grant
  Bagdasarian [via SIP Router] yazdı: 

 Thank you!
  
  
  The UAC module has a modparam: reg_db_url which contains a
  description of: "DB URL to fetch account profiles for
  registration".
  
  Is this required? If so, is it possible to use the same table for
  multiple kamailio instances where each instance has to register
  with different credentials to different carriers?
  
  
  Or should I use the modparam "credential" to accomplish this?
  
  
  -Original Message-
  
  From: sr-users [mailto: [hidden email] ]
  On Behalf Of ycaner
  
  Sent: Wednesday, June 1, 2016 10:10 AM
  
  To: [hidden email] 
  
  Subject: Re: [SR-Users] Send Register from Kamailio
  
  
  Hello;
  
  you can register anything with uac module.  it is useful module.
  
  
  
  
  
  
  --
  
  View this message in context: 
http://sip-router.1086192.n5.nabble.com/Send-Register-from-Kamailio-tp149003p149004.html
 
  Sent from the Users mailing list archive at Nabble.com.
  
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list [hidden email] 
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/Send-Register-from-Kamailio-tp149003p149005.html
 
  
  
To unsubscribe from Send Register from Kamailio, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/149007/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Send-Register-from-Kamailio-tp149003p149007.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Send Register from Kamailio

2016-06-01 Thread ycaner
Hello;
you can register anything with uac module.  it is useful module.





--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Send-Register-from-Kamailio-tp149003p149004.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] converting integer to string

2016-05-26 Thread ycaner
Hello;
you can try to $_s($avp(auth_code)) . For  example , i use that  $rU =
$_s($avp(69)$var(v)); 


Cheers



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/converting-integer-to-string-tp148781p148810.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio routing to different carriers based on prefix

2016-05-25 Thread ycaner
Hello;

any failure situation, it selects carrierfailureroute first ip, and compare
it with failed route. if it is the same ip and avoid_failed_destinations is
1 , it resend again the same ip. if gets failed again , next failureroute
will be chosen.

every carrier_id ,domain_id ,prefix and flags has own mapping.

Cheers



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Kamailio-routing-to-different-carriers-based-on-prefix-tp148758p148762.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] invalid route error when turning on Roles in kamailio kazoo

2016-05-17 Thread ycaner
Hello;
it gives invalid route error , when route doesnt return or empty body or
route invokes somewhere but there is no route about it.

check .cfg again pls





--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/invalid-route-error-when-turning-on-Roles-in-kamailio-kazoo-tp148607p148611.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Another question about RTPengine module

2016-05-13 Thread ycaner

  

  
  
Hello; 
      i am not sure. i downloaded from git kamailio. add rtpengine
  instead of rtpproxy . it works fine. it is hard to solve problem
  without log. 
  
  Cheers. 
  
  try to run with kamailio -E -dd  , maybe it gives information. 
  check kamailio.cfg is that rtpengine is loaded like loadmodule
  "rtpengine.so" 
  
  
  

2016-05-13 11:35 tarihinde Dmitry [via
  SIP Router] yazdı: 


  
one more
question about rtpengine. 

  
I installed
Kamailio (centos 6.7) from source as You recommended 
make
  include_modules="db_mysql utils regex dnssec jansson lcr
   xmlrpc rtpengine " cfg 


no
  rtpengine daemon (it is not installed)  but the picture is the
  same: 
 modparam
  ("rtpengine,)  
kamailio
  -c 
loading
  modules under config path: /usr/local/lib64/kamailio/modules/ 
 0(19523)
  ERROR: core [modparam.c:150]: set_mod_param_regex():
  No module matching rtpengine found 


it
  means that it does not depend upon rtpengine daemon. 


# single rtproxy
modparam("rtpengine", "rtpengine_sock", "udp:localhost:12221") 
I
  copied it from  
http://www.kamailio.net/docs/modules/4.2.x/modules/rtpengine.html 


STRACE
  kamctl start  -says nothing anout rtpengine 


What
  else is it possible to do to find the cause of the problem? 





  


  

   On Friday, May
  13, 2016 11:45 AM, ycaner  [hidden
email]  wrote: 

  
  
  

  Hello; 
      rtpengine module isnt default. you need to
  add  with "make include_modules". after make
   make install , automatically it will be
  copied to lib/modules. 
  Cheers. 

2016-05-13
  09:42 tarihinde Dmitry [via SIP Router] yazdı: 


  
And one more
question on it: 

  
If the Kamailio
was installed from RPM and rtpengine.so is
missing - May I add rtpengine.so the
following way: 
make
include_modules="rtpengine" cfg 
  
make all 
and then copy
rtpengine.so     to /modules/ directory 

  
Is this way
(adding missing modules) is correct? 

  

  

  


  

  
  On Friday, May 13, 2016 11:25 AM,
  Dmitry  [hidden

email]  wrote: 

  
  
  

  

  hello 
  

  I tested on
  Centos 6.7 as well as Ubuntu
  server - the problem is the
  same. RTPENGINE was installed
  both from dpkg and from Source
  (manual compilation) 
  

  So I need a
  clarification on it. 
  

  RTPENGINE
  daemon is started. 
  

Re: [SR-Users] Another question about RTPengine module

2016-05-13 Thread ycaner
modparam.c:150]:
set_mod_param_regex(): No
module matching
rtpengine found 
  
  
  
  
  
  

  
  

  

  
  On Thursday, May 12,
  2016 12:26 PM, ycaner
   [hidden
email] 
  wrote: 

  
  
  

  Hello; 
  
      on bash ,
  kamailio -V gives
  Version , kamailio
  -c gives debug
  result. you can
  ask from here  
https://groups.google.com/forum/#!forum/2600hz-dev 
  for kazoo rpm. if
  there is something
  wrong , they will
  fix it. 
  you can install
  from source code
  from here = 
https://www.kamailio.org/w/ 
  
  and "make
  include_modules="db_mysql
  utils regex dnssec
  jansson lcr xmlrpc
  rtpengine " cfg "
  in kamailio folder
  before 'make all'
  , helps you add
  modules. if there
  is a dependecies
  is missing , gives
  error. 
  
  Cheers. 
  
  

2016-05-11
  19:51 tarihinde
  Dmitry [via SIP
  Router] yazdı: 


  
I installed
  Kamailio : 
yum
  install -y
  kazoo-kamailio 
  

https://2600hz.atlassian.net/wiki/display/Dedicated/via+RPM 


  
git
  

Re: [SR-Users] Another question about RTPengine module

2016-05-12 Thread ycaner

  

  
  
Hello; 
  
      on bash , kamailio -V gives Version , kamailio -c gives debug
  result. you can ask from here 
  https://groups.google.com/forum/#!forum/2600hz-dev  for kazoo rpm.
  if there is something wrong , they will fix it. 
  you can install from source code from here =
  https://www.kamailio.org/w/ 
  
  and "make include_modules="db_mysql utils regex dnssec jansson lcr
  xmlrpc rtpengine " cfg " in kamailio folder before 'make all' ,
  helps you add modules. if there is a dependecies is missing , gives
  error. 
  
  Cheers. 
  
  

2016-05-11 19:51 tarihinde Dmitry [via
  SIP Router] yazdı: 


  
I installed
Kamailio : 
yum install -y
kazoo-kamailio 
  
https://2600hz.atlassian.net/wiki/display/Dedicated/via+RPM 


  
git
clone  https://github.com/sipwise/rtpengine.git 


the
  latest version of rtpengine and I do not know how to view the
  version of Kazoo-Kamailio 



  


  

   On Wednesday,
  May 11, 2016 6:31 PM, ycaner  [hidden
email]  wrote: 

  
  
  hello ; 


maybe some devel are missing. which version using?i will
try. 

cheers. 



-- 
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Another-question-about-RTPengine-module-tp148395p148396.html
 
Sent from the Users mailing list archive at Nabble.com. 

___ 
SIP Express Router (SER) and Kamailio (OpenSER) -
sr-users mailing list 
[hidden
  email] 
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 




  

  

  
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/Another-question-about-RTPengine-module-tp148395p148412.html
 
  
  
To unsubscribe from Another question about RTPengine module, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/148423/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Another-question-about-RTPengine-module-tp148395p148423.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] calling rpc command in cfg

2016-05-12 Thread ycaner
Thanks Daniel;

  it is useful module.

Cheers



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/calling-rpc-command-in-cfg-tp148361p148422.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Another question about RTPengine module

2016-05-11 Thread ycaner
hello ;


maybe some devel are missing. which version using?i will try.

cheers.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Another-question-about-RTPengine-module-tp148395p148396.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] User offline

2016-05-06 Thread ycaner

  

  
  
hello; 
    you can start rtpproxy like "rtpproxy -l 120.76.118.128 -s
udp:127.0.0.1:7722 -F -m 1 -M 2 -d DBUG:LOG_DAEMON"  and
check message log. 

After authantication ,  test only INVITE packets with
nat_uac_client(8) , rtpproxy_manage can handle INVITE packet with
"co" flags ( rtpproxy_manage("co") )  as specified on docs. 
you can check 200 OK packet with t_on_reply packets. the same logic
can you handle sdp packets. 

Cheers 


2016-05-06 13:14 tarihinde 王欣鑫 [via SIP
  Router] yazdı: 

 Hello ycaner!
  
  
  I download rtpproxy-2.0-RC1.tar.gz from 
https://github.com/winer632/rtpproxy/releases/tag/V2.0-RC1 
  and did the following command:
  
  
  tar -xzvf rtpproxy-2.0-RC1.tar.gz
  
  cd rtpproxy-2.0-RC1
  
  ./configure
  
  make all
  
  make install
  
  
  Then I start rtpproxy with this command:
  
  
  rtpproxy -l 120.76.118.128 -s udp:localhost:7722
  
  
  
  Then I edit kamailio.cfg in PCSCF module like this(added this 
lineloadmodule
"rtpproxy" and modparam("rtpproxy", "rtpproxy_sock",
"udp:127.0.0.1:7722")  )
  
  
  
  #!ifdef WITH_NAT
  
  loadmodule "path"
  
  loadmodule "rtpengine"
  
  loadmodule "rtpproxy" 
  loadmodule "nathelper"
  
  #!endif
  
  
  #!ifdef WITH_NAT
  
  # - rtpproxy-ng params -
  
  #modparam("rtpengine", "rtpengine_sock", RTPPROXY_ADDRESS)
  
  #modparam("path", "use_received", 1)
  
  modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722") 
  #!endif
  
  
  
  Next, I register a real number(18616278715) in China unicom's IMS
  , this step was success.Then call another real number 18019398639,
  no phone ringing, but failed with "Status-Line: SIP/2.0 407 Proxy
  Authentication Required". Before I add rtpproxy, there is no 407
  error. 
  
  5060_unicom_407_error.pcap 
  
   Before I add rtpproxy, I can hear the callee phone ringing, and
  the SIP route is like this:
  
  
  5060_unicom.pcap 
  
  Am I doing wrong with rtpproxy? Maybe the problem is not here?
  
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148198.html 
  
  
To unsubscribe from User offline, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/148204/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148204.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] User offline

2016-05-06 Thread ycaner

  

  
  
Hello; 
  you can use rtpproxy or rtpengine. you need to search how to use
  on google. rtpproxy/rtpengine fixes sdp packets that has tons of
  flags and there is a lot of option on sdpops module to change it.
  for example; you can check with nat_uac_client(8) and fix sdp with
  rptproxy_offer/rtpproxy_manage("cor") function. 

there is 2-3 sample about it , here is kamailio doc how to use
functions. 

http://www.kamailio.org/docs/modules/4.3.x/modules/rtpproxy.html#idp2564344 

http://www.kamailio.org/docs/modules/4.3.x/modules/nathelper.html#nathelper.f.nat_uac_test
 

-- samples --- 
http://saevolgo.blogspot.com.tr/2013/08/rtpproxy-revisited-kamailio-40.html 
http://www.fredposner.com/1457/kamailio-behind-nat/ 

http://nil.uniza.sk/sip/nat-fw/configuring-nat-traversal-using-kamailio-31-and-rtpproxy-server
 

Cheers. 

2016-05-06 09:59 tarihinde 王欣鑫 [via SIP
  Router] yazdı: 

 Hello,ycaner! 
  
  Now I use a real IMS user data to register this user(for example
  18616278715) to China Unicom's IMS through kamailio. 
  
  I can register successsfully, and can make call using this number,
  the callee can pick up phone. However 
  neither party can hear counter part. 
  
  So, this should be rtp problem. And I captured a .pcap file on
  port 5060 like below. In this, I see in SDP information 
  it says 192.168.199.124, it's a  private address. So maybe the
  callee can't setup a circuit to this ip, and thus no media was
  transfered? 
  
  Should I uncomment RTPPROXY_ADDRESS, as in my pcscf.cfg there are
  two lines. If I should do this, what ip and port should I use to
  replace "udp:10.1.2.186:2 udp:10.1.27.217:2" ?
  
  
  # IP-Adress(es) of the RTP-Proxy 
  ##!define RTPPROXY_ADDRESS "udp:10.1.2.186:2
  udp:10.1.27.217:2" 
  ##!define RTPPROXY_ADDRESS "udp:10.1.2.186:2" 
  
  This is the .pcap file captured on port 5060. 
  5060.pcap 
  
  
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148183.html 
  
  
To unsubscribe from User offline, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/148184/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148184.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] User offline

2016-05-06 Thread ycaner

  

  
  
Hello; 
  at registration route , you can use nat traversal function , there
  is a sample on kamailio.cfg 
  that parameter is just adding from and request header for
  information on OPTIONS packet. you can add your 120.XXX.XXX.XXX 
  
  Cheers. 
  
  

2016-05-06 08:59 tarihinde 王欣鑫 [via SIP
  Router] yazdı: 

 Hello,ycaner!
  
  
  Thanks for your advice!
  
  
  I searched nat_traversal in kamailio.cfg in PCSCF module, and
  found that I should define WITH_NATPING.
  
  
  After doing this, a new problem came. What does this line mean?
  What should I configure to replace
  
  "sip:keepalive@HOSTNAME" ? Is this HOSTNAME a turn/stun server?
  
  
  modparam("nat_traversal", "keepalive_from", "sip:keepalive@HOSTNAME")
  
  
  
  #!ifdef WITH_NATPING
  
  # - nat_traversal params -
  
  # If another keepalive is wanted, this is the place
  
  modparam("nat_traversal", "keepalive_interval", 20)
  
  # If another method than NOTIFY is wanted:
  
  modparam("nat_traversal", "keepalive_method", "OPTIONS")
  
  # From?
  
  modparam("nat_traversal", "keepalive_from",
  "sip:keepalive@HOSTNAME")
  
  # Where we store information about keep-alives:
  
  modparam("nat_traversal", "keepalive_state_file",
  "/var/run/kamailio/keepalive_state")
  
  #!endif
  
  
  
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148177.html 
  
  
To unsubscribe from User offline, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/148178/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148178.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] User offline

2016-05-05 Thread ycaner
hello;
try to open nat_travesal module on registrar server. your analyz is right in
my view. INVITE packets never reach to BOB.

cheers.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148175.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] making rtpengine gives error on centos

2016-05-05 Thread ycaner

  

  
  
Hello; 
      i removed libevent-devel and install libevent2-devel.kamailio
  doesnt affect it that i was thought about it 
      last time i installed rtpengine that there wasnt any problem
  about it so i thought it is bug. anyway 
  really thanks for help. 

2016-05-05 16:52 tarihinde Sergey Basov
  [via SIP Router] yazdı: 

 Hi.
  
  
  You can build rtpengine on another physical/virtual machine with
  
  libevent2-devel installed or try to build "relocated' libevent2
  rpm
  
  with --prefix=/usr/local or build and install libevent2 by
  yourself
  
  with --prefix=/usr/local...
  
  
  devel packages you need only for building from source. You does
  not
  
  need it on production system.
  
  --
  
  Best regards,
  
  Sergey Basov                     e-mail: [hidden email] 
  
  
  tel: (+38067) 403-62-54
  
  
  
  2016-05-05 9:44 GMT+03:00 ycaner  [hidden email] :
  
 Hello;

 libevent2 rpm was installed and it still gives error. i
checked

 libevent_pthreads.so , it is installed.



 libevent2-devel conflicts with libevent-devel



 Thanks



  ls /usr/lib64/libevent_p*

 /usr/lib64/libevent_pthreads-2.0.so.5

 /usr/lib64/libevent_pthreads-2.0.so.5.1.9





 rpm -Uvh libevent2-2.0.21-11.1.x86_64.rpm

 warning: libevent2-2.0.21-11.1.x86_64.rpm: Header V3
DSA/SHA1 Signature, key

 ID c86c6f35: NOKEY

 Preparing...              
 ###

 [100%]

    1:libevent2            
 ###

 [100%]





 rpm -Uvh libevent2-devel-2.0.21-11.1.x86_64.rpm

 warning: libevent2-devel-2.0.21-11.1.x86_64.rpm: Header V3
DSA/SHA1

 Signature, key ID c86c6f35: NOKEY

 Preparing...              
 ###

 [100%]

         file /usr/include/evdns.h from install of

 libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from
package

 libevent-headers-1.4.13-4.el6.noarch

         file /usr/include/event.h from install of

 libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from
package

 libevent-headers-1.4.13-4.el6.noarch

         file /usr/include/evhttp.h from install of

 libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from
package

 libevent-headers-1.4.13-4.el6.noarch

         file /usr/include/evrpc.h from install of

 libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from
package

 libevent-headers-1.4.13-4.el6.noarch

         file /usr/include/evutil.h from install of

 libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from
package

 libevent-headers-1.4.13-4.el6.noarch

         file /usr/bin/event_rpcgen.py from install of

 libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from
package

 libevent-devel-1.4.13-4.el6.x86_64

         file /usr/lib64/libevent.so from install of

 libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from
package

 libevent-devel-1.4.13-4.el6.x86_64

         file /usr/lib64/libevent_core.so from install of

 libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from
package

 libevent-devel-1.4.13-4.el6.x86_64

         file /usr/lib64/libevent_extra.so from install of

 libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from
package

 libevent-devel-1.4.13-4.el6.x86_64

 [root@host-185-88-7-208 ~]#









 --

 View this message in context: 
http://sip-router.1086192.n5.nabble.com/making-rtpengine-gives-error-on-centos-tp148114p148139.html
 
 Sent from the Users mailing list archive at Nabble.com.



 ___

 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list

 [hidden email] 

 http://lists.sip-router.org/cgi-bin/ma

Re: [SR-Users] making rtpengine gives error on centos

2016-05-05 Thread ycaner
Hello;
libevent2 rpm was installed and it still gives error. i checked
libevent_pthreads.so , it is installed.

libevent2-devel conflicts with libevent-devel

Thanks 

 ls /usr/lib64/libevent_p*
/usr/lib64/libevent_pthreads-2.0.so.5 
/usr/lib64/libevent_pthreads-2.0.so.5.1.9


rpm -Uvh libevent2-2.0.21-11.1.x86_64.rpm
warning: libevent2-2.0.21-11.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key
ID c86c6f35: NOKEY
Preparing...###
[100%]
   1:libevent2  ###
[100%]


rpm -Uvh libevent2-devel-2.0.21-11.1.x86_64.rpm
warning: libevent2-devel-2.0.21-11.1.x86_64.rpm: Header V3 DSA/SHA1
Signature, key ID c86c6f35: NOKEY
Preparing...###
[100%]
file /usr/include/evdns.h from install of
libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from package
libevent-headers-1.4.13-4.el6.noarch
file /usr/include/event.h from install of
libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from package
libevent-headers-1.4.13-4.el6.noarch
file /usr/include/evhttp.h from install of
libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from package
libevent-headers-1.4.13-4.el6.noarch
file /usr/include/evrpc.h from install of
libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from package
libevent-headers-1.4.13-4.el6.noarch
file /usr/include/evutil.h from install of
libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from package
libevent-headers-1.4.13-4.el6.noarch
file /usr/bin/event_rpcgen.py from install of
libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from package
libevent-devel-1.4.13-4.el6.x86_64
file /usr/lib64/libevent.so from install of
libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from package
libevent-devel-1.4.13-4.el6.x86_64
file /usr/lib64/libevent_core.so from install of
libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from package
libevent-devel-1.4.13-4.el6.x86_64
file /usr/lib64/libevent_extra.so from install of
libevent2-devel-2.0.21-11.1.x86_64 conflicts with file from package
libevent-devel-1.4.13-4.el6.x86_64
[root@host-185-88-7-208 ~]# 




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/making-rtpengine-gives-error-on-centos-tp148114p148139.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] ACK not forwarded by Proxy when LOCATION lookup

2016-05-05 Thread ycaner
Hello;
could you share transaction , i think it is all about contact header's port
or address on 200 Ok

Thanks.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/ACK-not-forwarded-by-Proxy-when-LOCATION-lookup-tp148113p148135.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] making rtpengine gives error on centos

2016-05-04 Thread ycaner
Hello;
libevent and devel was installed that kamailio use it , but i will try
libevent2-devel and reply it.

Thanks for reply

Package libevent-devel-1.4.13-4.el6.x86_64 already installed and latest
version
Package libevent-1.4.13-4.el6.x86_64 already installed and latest version




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/making-rtpengine-gives-error-on-centos-tp148114p148134.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] BYE packet looping and loose routing

2016-04-22 Thread ycaner
Hello Daniel;
After i separete kamailio2 and asterisk ips , Bye looping is solved. 

domain was defined like below with any port number on domain table. and
register_myself is disabled. 
domain_attr is empty. 

# id, domain, did, last_modified
'1', '192.168.200.2', '1', '2016-03-10 12:18:00'


Call Flow for BYE
UAC1<---Kamailio1<-Kamailio2

Re: [SR-Users] The book of "SIP Routing with Kamailio"

2016-04-22 Thread ycaner
Hello;
i have one SIP routing with kamailio that written by asipto. at start , it
is really useful to understand how it works and helps understand base
function , modules. in addition there is wiki page for kamailio ,tutorials
to improve your configuration.
i dont read SER book so i cannot compare it .


you can search topic on mailing list on
http://sip-router.1086192.n5.nabble.com

Cheers.







--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/The-book-of-SIP-Routing-with-Kamailio-tp147719p147721.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] about xml rpc response behavior

2016-04-20 Thread ycaner

  

  
  
Hello Daniel; 
      Thanks , i hope i will be there. 
  

21.04.2016 08:47 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 


  Hello,
  
  
  I added this to the topics to be discussed today during the
  Kamailio
  
  devel meeting on IRC:
  
  
    - https://www.kamailio.org/wiki/devel/irc-meetings/2016a 
  
  If you can, you should join to express your opinions there.
  
  
  Cheers,
  
  Daniel
  
  
  On 06/04/16 08:09, ycaner wrote:
  
 Hello Daniel;

 when i have a look xml spec , you are clearly right. there
is no point about

 it. but i want to one more example about it. When we coding
about it, my

 programmers ask me after send request reload/terminate
dialog, "What

 happened now?" , no response? Because they are used to use
"asterisk ami"

 that returns a description or data about it, "channel hung
up , reloaded"

 and etc(of course it isnt rpc) .. 


 Thanks.









 --

 View this message in context: 
http://sip-router.1086192.n5.nabble.com/about-xml-rpc-response-behavior-tp147111p147300.html
 
 Sent from the Users mailing list archive at Nabble.com.



 ___

 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list

 [hidden email] 

 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  -- 
  Daniel-Constantin Mierla
  
  http://www.asipto.com 
  http://twitter.com/#!/miconda  -
  http://www.linkedin.com/in/miconda 
  Kamailio World Conference, Berlin, May 18-20, 2016 - 
http://www.kamailioworld.com 
  
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/about-xml-rpc-response-behavior-tp147111p147675.html
 
  
  
To unsubscribe from about xml rpc response behavior, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/147679/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/about-xml-rpc-response-behavior-tp147111p147679.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Misrouting ACK packet for 200 Ok messages.

2016-04-13 Thread ycaner
Hello;
Thanks for advices. Kamailio2 and Asterisk use UDP.
Well, i fixed issue that Client Firewall has SIP alg and changes the
ContactUri port and disabled SIP ALG. 

First,i try to add Record Route to ACK on kamailio2 But it didnt work and
Transaction couldnt complete for BYE
Second, tried to fix Contact or removed on Kamailio2 , it didnt work.

Third , tried to fix R-URI port changes to 5060 that asterisk's listen port.
it worked.

After comparing Elastix packets and Kamailio-1 packets , i realized that
Firewall changes SIP packets with SIP ALG.

in conclusion , i need to work NATDETECT route on Kamailio 1 and Kamailio 2
that i can fix this issue on Kamailio.

Thanks.

Call Flow

Contact Header
Elastix:192.168.0.0:5060--->FW-->Elastix:PublicIP:10432-->Kamailio1-->Kamailio2+Asterisk.






 



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Misrouting-ACK-packet-for-200-Ok-messages-tp147428p147445.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] truncating sip message

2016-04-11 Thread ycaner

  

  
  

  After i saw it , i search on net , yes, i got it but one thing
  make me think wrong because reassabmle fragmented IPv4 datagrams
  on wireshark was disabled by me ,long time ago so it is why i fell
  in a block hole. 
  
  Thanks for advices 

10.04.2016 00:46 tarihinde Andres-27
  [via SIP Router] yazdı: 


  
  On 4/8/16 8:19 AM, ycaner wrote: 
  
  

Hello; 
      I saw it. it is fragmented IP and cant resolve it
  wireshark. But i cant understand one thing, First Call Flows
  makes fragmantion but second call flows doesnt fragmantaion
  even if it is larger than first call flows. 
  

  Fragmentation will
happen at the Operating System level, not at the Application
level.  If the medium is Ethernet and the entire content
including IP headers exceed 1500 bytes then it gets fragmented. 
  Wireshark can clearly show you the packet length for any complete
  or fragmented packet.   
   Thanks. 

08.04.2016 14:40 tarihinde
  Andres-27 [via SIP Router] yazdı: 


  
  On 4/8/16 5:27 AM, ycaner wrote: 
  
  

Hello Daniel; 
      source and destination is different machines and ips.
  they are sniffed by tshark and they are the same and
  truncated. 

  Maybe they are
not truncated by rather fragmented.  If you are capturing
packets by UDP Port you will not see the fragments.  Try to
capture again by IP only and you will see all packets. 
       i tried to
  remove all extra addes  , include Record-Route and send
  messsage , no truncate. and then started to add headers
  and BOOM. after 5 headers , it is truncated. configuration
  become simple to testing one by one. i couldnt find way to
  solve it. 
      i tried to sniff with tcpdump and sdp body result here
  , truncated.; 
  
  
  
  Call Flows --- 
  
  UAC1 -- Kamailio1---kamailio2--UAC2 
  --truncated sdp body 
  
  UAC1 -- Kamailio2---UAC2  --No problem 
  
  
  

Destination ip
tcpdump: 

  host-kamailio2ip.sip-tls  uac2ip.sip: SIP,
  length: 1472 
      INVITE sip:1021uac2num@uac2ip:5060 SIP/2.0 
      Via: SIP/2.0/UDP
  
kamailio2ip:5061;branch=z9hG4bK61c7.f5edc3dbd9effe58f3d04a6b77b11f13.0 
      Via: SIP/2.0/UDP
kamailio1:5061;rport=5061;branch=z9hG4bK61c7.189d12e4e39ec53abb760692e8a8afee.0 
      Via: SIP/2.0/UDP
192.168.0.225:10251;received=uac1ip;branch=z9hG4bK70283578416;rport=17762 
      From: uac1
  sip:uac1@kamailio1:5061;tag=1848614912 
      To: "0uac2num"
  sip:0uac2num@kamailio1;user=phone 
      Call-ID: 228601536217236-500684316713@uac1ip 
      CSeq: 2 INVITE 
      Contact: sip:uac1@uac1ip:17762 
      Proxy-Authorization: Digest username="uac1",
  realm="kamailio1",
  nonce="Vwd5PlcHeBLSAh0pqSU3AvKzvNAD+QGC",
  uri="sip:0uac2num@kamailio1;user=phone",
  response="d296105a65958144cf1b60c921aef11b", algorithm=MD5 
      Max-Forwards: 68 
      Supported: replaces, join, path 
      User-Agent: Fanvil C58/C58P 2.2.41.13 
      Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER,
  NOTIFY, INFO, PRACK, UPDATE, MESSAGE 
      Content-Type: application/sdp 
      Content-Length: 276 
      P-Provider:kamailio1 
      P-Unique:srid-5707759b-29c4-1 
      atik:1231345123 
      atik2:1231345123 
      atik3:1231345123 
      atik4:1231345123 
      atik5:1231345123 
  
      v=0 
      o=8503027337 2007313085 1038110647 IN IP4
  192.168.0.225 
      s=A conversation 
      c=IN IP4 192.168.0.225 
      t=0 0 
      m=audio 10208 RTP/AVP 8 0 18 101 
      a=rtpmap:8 PCMA/8000 
      a=rtpmap:0 PCMU/8000 
      a=rtpmap:18 G729/8000 
      a=rtpmap:101 telephone-event/8000 
      a=fmtp:1[|sip] 
  
  

Re: [SR-Users] truncating sip message

2016-04-08 Thread ycaner

  

  
  
Hello; 
      I saw it. it is fragmented IP and cant resolve it wireshark.
  But i cant understand one thing, First Call Flows makes
  fragmantion but second call flows doesnt fragmantaion even if it
  is larger than first call flows. 
  
  Thanks. 

08.04.2016 14:40 tarihinde Andres-27
  [via SIP Router] yazdı: 


  
  On 4/8/16 5:27 AM, ycaner wrote: 
  
  

Hello Daniel; 
      source and destination is different machines and ips. they
  are sniffed by tshark and they are the same and truncated. 

  Maybe they are not
truncated by rather fragmented.  If you are capturing packets by
UDP Port you will not see the fragments.  Try to capture again
by IP only and you will see all packets. 
       i tried to remove
  all extra addes  , include Record-Route and send messsage , no
  truncate. and then started to add headers and BOOM. after 5
  headers , it is truncated. configuration become simple to
  testing one by one. i couldnt find way to solve it. 
      i tried to sniff with tcpdump and sdp body result here ,
  truncated.; 
  
  
  
  Call Flows --- 
  
  UAC1 -- Kamailio1---kamailio2--UAC2  --truncated
  sdp body 
  
  UAC1 -- Kamailio2---UAC2  --No problem 
  
  
  

Destination ip tcpdump: 

  host-kamailio2ip.sip-tls  uac2ip.sip: SIP, length:
  1472 
      INVITE sip:1021uac2num@uac2ip:5060 SIP/2.0 
      Via: SIP/2.0/UDP
  
kamailio2ip:5061;branch=z9hG4bK61c7.f5edc3dbd9effe58f3d04a6b77b11f13.0 
      Via: SIP/2.0/UDP
kamailio1:5061;rport=5061;branch=z9hG4bK61c7.189d12e4e39ec53abb760692e8a8afee.0 
      Via: SIP/2.0/UDP
192.168.0.225:10251;received=uac1ip;branch=z9hG4bK70283578416;rport=17762 
      From: uac1
  sip:uac1@kamailio1:5061;tag=1848614912 
      To: "0uac2num"
  sip:0uac2num@kamailio1;user=phone 
      Call-ID: 228601536217236-500684316713@uac1ip 
      CSeq: 2 INVITE 
      Contact: sip:uac1@uac1ip:17762 
      Proxy-Authorization: Digest username="uac1",
  realm="kamailio1", nonce="Vwd5PlcHeBLSAh0pqSU3AvKzvNAD+QGC",
  uri="sip:0uac2num@kamailio1;user=phone",
  response="d296105a65958144cf1b60c921aef11b", algorithm=MD5 
      Max-Forwards: 68 
      Supported: replaces, join, path 
      User-Agent: Fanvil C58/C58P 2.2.41.13 
      Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER,
  NOTIFY, INFO, PRACK, UPDATE, MESSAGE 
      Content-Type: application/sdp 
      Content-Length: 276 
      P-Provider:kamailio1 
      P-Unique:srid-5707759b-29c4-1 
      atik:1231345123 
      atik2:1231345123 
      atik3:1231345123 
      atik4:1231345123 
      atik5:1231345123 
  
      v=0 
      o=8503027337 2007313085 1038110647 IN IP4
  192.168.0.225 
      s=A conversation 
      c=IN IP4 192.168.0.225 
      t=0 0 
      m=audio 10208 RTP/AVP 8 0 18 101 
      a=rtpmap:8 PCMA/8000 
      a=rtpmap:0 PCMU/8000 
      a=rtpmap:18 G729/8000 
      a=rtpmap:101 telephone-event/8000 
      a=fmtp:1[|sip] 
  
  

08.04.2016 12:03 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 


  
  Hello, 
  
  how did you asserted the fact that the message is truncated?
  Is the next SIP hop not retrieving it with full content? Or
  just you looked at some traces on the net, if this one, note
  that some network sniffing tools are having their limitations
  in what they display. 
  
  Daniel 
  
  On 08/04/16 09:30, ycaner wrote: 
  
  

Hello Daniel; 
  
      in request route when invite comes, a header is added
  like P-SrcUserid. when i added new header , it truncate
  sdpbody. before t_relay(), i try to remove header, and it
  didnt. main problem is why truncates sdpbody when i added
  new header? 
  
  Thanks. 
  
  
  Works fine sip messages: http://pastebin.com/t7v9c2vW 
  removes coming headers cfg,but i couldnt remove P-Provider and 
P-Uniqueid
  : http://pastebin.com/9tB

Re: [SR-Users] truncating sip message

2016-04-08 Thread ycaner

  

  
  
Hello Daniel; 
      3 day ago , i just started to work on rtpproxy. My call flow 
  like UAC1-- Kamailio1--- Kamailio2+RTPPROXY-- UAC2 but
  it doesnt work because i saw sdp body has missing parameters but
  rtp flows like UAC1UAC2. And then i removed first
  kamailio and i saw it worked correctly and there is no mistake on
  sdpbody. RTP flows like UAC1---Kamailio2+RTPPROXYUAC2
  and SIP Flows like UAC1 Kamailio2+RTTPROXY--UAC2.  i
  thought it is really weird because how is possible Kamailio1
  effect like that. And then i removed nearly all modules and left
  simple cfg. i realized that appending header effects it. Could you
  help me about it, please 
  
  Thanks 
  
  i solved remove_hf function that kamailio removes header field
  that adds by self , after msg_apply_changes(). 
  
  i tested UAC1---Kamailio2UAC2 call flow and added 14
  header doesnt have any problem. 
  
  Thanks. 



08.04.2016 12:03 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 


  
  Hello, 
  
  how did you asserted the fact that the message is truncated? Is
  the next SIP hop not retrieving it with full content? Or just you
  looked at some traces on the net, if this one, note that some
  network sniffing tools are having their limitations in what they
  display. 
  
  Daniel 
  
  On 08/04/16 09:30, ycaner wrote: 
  
  

Hello Daniel; 
  
      in request route when invite comes, a header is added like
  P-SrcUserid. when i added new header , it truncate sdpbody.
  before t_relay(), i try to remove header, and it didnt. main
  problem is why truncates sdpbody when i added new header? 
  
  Thanks. 
  
  
  Works fine sip messages: http://pastebin.com/t7v9c2vW 
  removes coming headers cfg,but i couldnt remove P-Provider

and P-Uniqueid : http://pastebin.com/9tB7Lx3U 
  
  truncateting sip message : http://pastebin.com/DNuuJxhM 

removes coming headers cfg,but i
couldnt remove P-Provider and P-Uniqueid 
and added P-SrcUserid : http://pastebin.com/XxhcV55v 

08.04.2016 09:22 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 

 Hello, 
  
  On 08/04/16 08:06, ycaner wrote: 
   Hello; 
   i think i found problem. it is textops module.Appending
  new header doesnt 
   increase content length. in addition , remove_hf doesnt
  work correctly that 
   doesnt remove headers. 
   
  the value of content lenght is about the body size, it is not
  affected 
  by new headers or removing old headers. 
  
  What do you mean by remove_hf() is not working? How you try
  it? Can you 
  send here how you use remove_hf() in config and the incoming,
  plus the 
  outgoing sip message? 
  
  Cheers, 
  Daniel 
  
  -- 
  Daniel-Constantin Mierla 
  http://www.asipto.com 
  http://twitter.com/#!/miconda  -


  http://www.linkedin.com/in/miconda 
  Kamailio World Conference, Berlin, May 18-20, 2016 - 
http://www.kamailioworld.com 
  
  
  ___ 
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
  mailing list 
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email,
  your message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/truncating-sip-message-tp147332p147338.html
 
  
  
To unsubscribe from truncating sip message, click here . 
NAML  


-- 
  
  
  

  


 View this message in context: Re: truncating
  sip message 
Sent from the Users mailing
  list archive  at Nabble.com. 



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email] 
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 

  
  
  -- 
Daniel-Constantin Mierla
http://www.asipto.com 
http://twitter.com/#!/miconda  - http://www.linkedin.com/in/miconda 
Kamailio World Conference, Berlin, May 18-20, 2016 - 
http://www.kamailioworld.com 
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER

Re: [SR-Users] truncating sip message

2016-04-08 Thread ycaner

  

  
  
Hello Daniel; 
      source and destination is different machines and ips. they are
  sniffed by tshark and they are the same and truncated. 
      i tried to remove all extra addes  , include Record-Route and
  send messsage , no truncate. and then started to add headers and
  BOOM. after 5 headers , it is truncated. configuration become
  simple to testing one by one. i couldnt find way to solve it. 
      i tried to sniff with tcpdump and sdp body result here ,
  truncated.; 
  
  
  
  Call Flows --- 
  
  UAC1 -- Kamailio1---kamailio2--UAC2  --truncated sdp
  body 
  
  UAC1 -- Kamailio2---UAC2  --No problem 
  
  
  

Destination ip tcpdump: 

  host-kamailio2ip.sip-tls  uac2ip.sip: SIP, length: 1472 
      INVITE sip:1021uac2num@uac2ip:5060 SIP/2.0 
      Via: SIP/2.0/UDP
  kamailio2ip:5061;branch=z9hG4bK61c7.f5edc3dbd9effe58f3d04a6b77b11f13.0 
      Via: SIP/2.0/UDP
kamailio1:5061;rport=5061;branch=z9hG4bK61c7.189d12e4e39ec53abb760692e8a8afee.0 
      Via: SIP/2.0/UDP
192.168.0.225:10251;received=uac1ip;branch=z9hG4bK70283578416;rport=17762 
      From: uac1 sip:uac1@kamailio1:5061;tag=1848614912 
      To: "0uac2num" sip:0uac2num@kamailio1;user=phone 
      Call-ID: 228601536217236-500684316713@uac1ip 
      CSeq: 2 INVITE 
      Contact: sip:uac1@uac1ip:17762 
      Proxy-Authorization: Digest username="uac1",
  realm="kamailio1", nonce="Vwd5PlcHeBLSAh0pqSU3AvKzvNAD+QGC",
  uri="sip:0uac2num@kamailio1;user=phone",
  response="d296105a65958144cf1b60c921aef11b", algorithm=MD5 
      Max-Forwards: 68 
      Supported: replaces, join, path 
      User-Agent: Fanvil C58/C58P 2.2.41.13 
      Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY,
  INFO, PRACK, UPDATE, MESSAGE 
      Content-Type: application/sdp 
      Content-Length: 276 
      P-Provider:kamailio1 
      P-Unique:srid-5707759b-29c4-1 
      atik:1231345123 
      atik2:1231345123 
      atik3:1231345123 
      atik4:1231345123 
      atik5:1231345123 
  
      v=0 
      o=8503027337 2007313085 1038110647 IN IP4 192.168.0.225 
      s=A conversation 
      c=IN IP4 192.168.0.225 
      t=0 0 
      m=audio 10208 RTP/AVP 8 0 18 101 
      a=rtpmap:8 PCMA/8000 
      a=rtpmap:0 PCMU/8000 
      a=rtpmap:18 G729/8000 
      a=rtpmap:101 telephone-event/8000 
      a=fmtp:1[|sip] 
  
  

08.04.2016 12:03 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 


  
  Hello, 
  
  how did you asserted the fact that the message is truncated? Is
  the next SIP hop not retrieving it with full content? Or just you
  looked at some traces on the net, if this one, note that some
  network sniffing tools are having their limitations in what they
  display. 
  
  Daniel 
  
  On 08/04/16 09:30, ycaner wrote: 
  
  

Hello Daniel; 
  
      in request route when invite comes, a header is added like
  P-SrcUserid. when i added new header , it truncate sdpbody.
  before t_relay(), i try to remove header, and it didnt. main
  problem is why truncates sdpbody when i added new header? 
  
  Thanks. 
  
  
  Works fine sip messages: http://pastebin.com/t7v9c2vW 
  removes coming headers cfg,but i couldnt remove P-Provider

and P-Uniqueid : http://pastebin.com/9tB7Lx3U 
  
  truncateting sip message : http://pastebin.com/DNuuJxhM 

removes coming headers cfg,but i
couldnt remove P-Provider and P-Uniqueid 
and added P-SrcUserid : http://pastebin.com/XxhcV55v 

08.04.2016 09:22 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 
    
     Hello, 
  
  On 08/04/16 08:06, ycaner wrote: 
   Hello; 
   i think i found problem. it is textops module.Appending
  new header doesnt 
   increase content length. in addition , remove_hf doesnt
  work correctly that 
   doesnt remove headers. 
   
  the value of content lenght is about the body size, it is not
  affected 
  by new headers or removing old headers. 
  
  What do you mean by remove_hf() is not working? How you try
  it? Can you 
  send here how you use remove_hf() in config and the incoming,
  plus the 
  outgoing sip message? 
  
  Cheers, 
  Daniel 

Re: [SR-Users] truncating sip message

2016-04-08 Thread ycaner

  

  
  
Hello Daniel; 
  
      in request route when invite comes, a header is added like
  P-SrcUserid. when i added new header , it truncate sdpbody. before
  t_relay(), i try to remove header, and it didnt. main problem is
  why truncates sdpbody when i added new header? 
  
  Thanks. 
  
  
  Works fine sip messages: http://pastebin.com/t7v9c2vW 
  removes coming headers cfg,but i couldnt remove P-Provider and P-Uniqueid
  : http://pastebin.com/9tB7Lx3U 
  
  truncateting sip message : http://pastebin.com/DNuuJxhM 

removes coming headers cfg,but i
couldnt remove P-Provider and P-Uniqueid 
and added P-SrcUserid : http://pastebin.com/XxhcV55v 

08.04.2016 09:22 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 


  Hello,
  
  
  On 08/04/16 08:06, ycaner wrote:
  
   Hello;
  
   i think i found problem. it is textops module.Appending new
  header doesnt
  
   increase content length. in addition , remove_hf doesnt work
  correctly that
  
   doesnt remove headers.
  
  
  
  the value of content lenght is about the body size, it is not
  affected
  
  by new headers or removing old headers.
  
  
  What do you mean by remove_hf() is not working? How you try it?
  Can you
  
  send here how you use remove_hf() in config and the incoming, plus
  the
  
  outgoing sip message?
  
  
  Cheers,
  
  Daniel
  
  
  -- 
  Daniel-Constantin Mierla
  
  http://www.asipto.com 
  http://twitter.com/#!/miconda  -
  http://www.linkedin.com/in/miconda 
  Kamailio World Conference, Berlin, May 18-20, 2016 - 
http://www.kamailioworld.com 
  
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/truncating-sip-message-tp147332p147338.html
 
  
  
To unsubscribe from truncating sip message, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/147342/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/truncating-sip-message-tp147332p147342.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] truncating sip message

2016-04-08 Thread ycaner
Hello;
i think i found problem. it is textops module.Appending new header doesnt
increase content length. in addition , remove_hf doesnt work correctly that
doesnt remove headers.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/truncating-sip-message-tp147332p147337.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] SIP Message Body

2016-04-06 Thread ycaner
Hello; 
you can check or alter sdp messages with sdpops module.

http://www.kamailio.org/docs/modules/4.3.x/modules/sdpops.html



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/SIP-Message-Body-tp147315p147319.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] about xml rpc response behavior

2016-04-06 Thread ycaner
Hello Daniel;
when i have a look xml spec , you are clearly right. there is no point about
it. but i want to one more example about it. When we coding about it, my
programmers ask me after send request reload/terminate dialog, "What
happened now?" , no response? Because they are used to use "asterisk ami"
that returns a description or data about it, "channel hung up , reloaded"
and etc(of course it isnt rpc) .. 

Thanks.




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/about-xml-rpc-response-behavior-tp147111p147300.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] XML-RPC reply doesn't contain any data

2016-03-29 Thread ycaner

  

  
  
Hello Daniel; 
      there is only rpc_send method in rpc module that dont  have
  any code and other parameters. it sends empty xml text. if it has
  parameters like fault function , i think it will be useful. 
  
  Cheers. 

?xml version="1.0"? 
methodResponse 
    params 
    param 
    value/value 
    /param 
    /params 
/methodResponse 


29.03.2016 10:32 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 

 Hello,
  
  
  is this correct if there was no error? The fault node should be in
  case
  
  of errors, not success. You should check the xmlrpc specs to be
  sure any
  
  chance is conform with the requirements there.
  
  
  Cheers,
  
  Daniel
  
  
  On 29/03/16 09:26, ycaner wrote:
  
 hello;

 i checked the rpc command and yes , you are right there
isnt . i will add a

 rpc return code. it will look like if my pr is accepted.



 ?xml version="1.0"?

 methodResponse

     fault

         value

             struct

                 member

                     namefaultCode/name

                     value

                         int200/int

                     /value

                 /member

                 member

                     namefaultString/name

                     value

                         stringdomain is
reloaded/string

                     /value

                 /member

             /struct

         /value

     /fault

 /methodResponse







 --

 View this message in context: 
http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146895.html
 
 Sent from the Users mailing list archive at Nabble.com.



 ___

 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list

 [hidden email] 

 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  -- 
  Daniel-Constantin Mierla
  
  http://www.asipto.com 
  http://twitter.com/#!/miconda  -
  http://www.linkedin.com/in/miconda 
  Kamailio World Conference, Berlin, May 18-20, 2016 - 
http://www.kamailioworld.com 
  
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146897.html
 
  
  
To unsubscribe from XML-RPC reply doesn't contain any data, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/146899/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146899.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] XML-RPC reply doesn't contain any data

2016-03-29 Thread ycaner
hello;
i checked the rpc command and yes , you are right there isnt . i will add a
rpc return code. it will look like if my pr is accepted.







faultCode

200



faultString

domain is reloaded









--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146895.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Two different Database at the same time

2016-03-28 Thread ycaner
Hello;
you can use unixodbc module or db_postgres and DB_CASSANDRA the same time. i
think there isnt problem.

i have 3 connection for cdr , location and config. 




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Two-different-Database-at-the-same-time-tp146816p146817.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Domain Reload issue

2016-02-29 Thread ycaner
Hello.
There isnt enough log to solve problem. Maybe, it can be solved when updated
to 4.2 news version.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Domain-Reload-issue-tp146039p146071.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Unable to use json module

2016-02-21 Thread ycaner

  

  
  
Hello; 
      i remembered that problem. There is a problem with json
  version news or olds which one i cant remember.you should install
  json version as mentioned. i dont get any error with this version. 

22.02.2016 09:40 tarihinde Sunil More
  [via SIP Router] yazdı: 


  Tried,


same error while installation. upon completion of
  installation still cant use json module. 
  
  

  
Thanking You, 
  Sunil More 
  Ph : 9503338275 
  


On Wed, Feb 17, 2016 at 12:28 PM,
  ycaner  [hidden
  email]  wrote: 
  Hello; 
my kamailio is kamailio 4.4.0-pre0 (x86_64/linux) on Centos
6.6 and json 
module is installed that useful. Could you reinstall json
and jansson libs 
again. 
json-c.x86_64                          0.11-12.el6 
@base 
json-c-devel.x86_64                    0.11-12.el6 
@base 




-- 
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Unable-to-use-json-module-tp145788p145819.html
 
Sent from the Users mailing list archive at Nabble.com. 

___ 
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list 
[hidden
  email] 
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  


  
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/Unable-to-use-json-module-tp145788p145914.html
 
  
  
To unsubscribe from Unable to use json module, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/145915/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Unable-to-use-json-module-tp145788p145915.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] LCR Module issue

2016-02-18 Thread ycaner
There is parameter for lcr_id. you need to set max lcr_count in .cfg.

lcr_count
lcr_gw_count



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/LCR-Module-issue-tp145861p145863.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Unable to use json module

2016-02-16 Thread ycaner
Hello;
my kamailio is kamailio 4.4.0-pre0 (x86_64/linux) on Centos 6.6 and json
module is installed that useful. Could you reinstall json and jansson libs
again.
json-c.x86_64  0.11-12.el6 
@base
json-c-devel.x86_640.11-12.el6 
@base




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Unable-to-use-json-module-tp145788p145819.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] no pkg memory left

2016-02-15 Thread ycaner
Hello;
i think there is a memory leak. could you write kamailio Version.
And can you active memlog and mem_summary. You can find it how can you use
it  here  http://www.kamailio.org/wiki/cookbooks/4.3.x/core
  





--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/no-pkg-memory-left-tp145758p145762.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Acc message to syslog

2016-01-26 Thread ycaner
Thanks. I missed that param.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Acc-message-to-syslog-tp145000p145047.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Acc leaking

2016-01-25 Thread ycaner
Hello Daniel;
When i think again , it is a stupid idea. i tried to explain , if it is
accounting for subscribers credits from ACC records and cant record in mysql
or cant send records on radius , that means cannot accounting so that
accounting leak.
When i think again  , if we cannot process INVITE(START) , we can understand
call established with ACK(ALIVE) command.  so acc leaking is unnecessary. 

Thanks for reply.




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Acc-leaking-tp144875p144963.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread ycaner
Hello;
you can use "$hdr()" to get header. Here is short tuts for it

https://www.osso.nl/blog/callerid-in-rpid-opensips-kamailio/



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Get-value-of-RPID-privacy-param-tp144664p144668.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread ycaner

  

  
  
Hello; 
      UAC module is more useful Because when change From or To uri 
  Some replies are changed so Uac module can restore it so there is
  no problem for SBC. 
  i had a big problem about it and UAC module was solved it. 
  
  Hello Daniel. 
  
      There is a problem about From uri changes. When 2 times
  changes it in a transaction , it appends  fromuri new fromuri not
  override it. Only 1 time it can be changed. 
  
  Cheers. 

18.01.2016 11:08 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 


  Hello,
  
  
  also the 'tobody' and 'params' transformations can be handy for
  getting
  
  the proper values from the header body:
  
  
  
https://www.kamailio.org/wiki/cookbooks/4.3.x/transformations#tobodyparams 
  
  Cheers,
  
  Daniel
  
  
  On 18/01/16 09:28, ycaner wrote:
  
 Hello;

 you can use "$hdr()" to get header. Here is short tuts for
it



 https://www.osso.nl/blog/callerid-in-rpid-opensips-kamailio/ 






 --

 View this message in context: 
http://sip-router.1086192.n5.nabble.com/Get-value-of-RPID-privacy-param-tp144664p144668.html
 
 Sent from the Users mailing list archive at Nabble.com.



 ___

 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list

 [hidden email] 

 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  -- 
  Daniel-Constantin Mierla
  
  http://twitter.com/#!/miconda  -
  http://www.linkedin.com/in/miconda 
  Book: SIP Routing With Kamailio - http://www.asipto.com 
  http://miconda.eu 
  
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/Get-value-of-RPID-privacy-param-tp144664p144677.html
 
  
  
To unsubscribe from Get value of RPID privacy param, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/144681/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Get-value-of-RPID-privacy-param-tp144664p144681.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] LCR module : re load_gws uri errors

2015-12-04 Thread ycaner

  

  
  
in load_gws function
  there is a delete_avp for gw_uri_avp as you mentioned . but in my
  view it needs a delete_avp for ruri_user_avp. 
  Because it is reloading gws for different route. 
  Thanks. 

04.12.2015 11:44 tarihinde Juha
  Heinanen [via SIP Router] yazdı: 

 ycaner writes:
  
  
   Thanks for reply. before load_gws , setting ruri_user_avp to
  null solves
  
   request uri problems.
  
  
  load_gws() tries to delete possibly existing avp values by this
  
  statement:
  
  
      delete_avp(gw_uri_avp_type|AVP_VAL_STR, gw_uri_avp);
  
  
  obviously there is something wrong with if the avp needs to be
  deleted
  
  by the script.
  
  
  i'll try at some point try to figure out how to delete an avp
  based on
  
  its name.
  
  
  -- juha
  
  
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/LCR-module-re-load-gws-uri-errors-tp143602p143652.html
 
  
  
To unsubscribe from LCR module : re load_gws uri errors, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/143654/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/LCR-module-re-load-gws-uri-errors-tp143602p143654.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] LCR module : re load_gws uri errors

2015-12-04 Thread ycaner

  

  
  
Hello; 
  i commented your last commit. Sorry , i think i couldn't explain 
situation.
  Here is log for more understand. 
  
  
  - Here is first load_gws and next_gws() functions are 
  called- 
  6(10299) DEBUG: lcr [lcr_mod.c:1943]: load_gws(): load_gws(1,
  10218503027337, ) 
   6(10299) DEBUG: lcr [lcr_mod.c:2014]: load_gws(): added
  matched_gws[0]=[21, 4, 1, 6054284] 
   6(10299) DEBUG: lcr [lcr_mod.c:1887]: add_gws_into_avps(): added
  gw_uri_avp 21|sip:|0||0|3020380345||5080||;transport=udp|0
  with weight 6054284 
   6(10299) DEBUG: lcr [../../resolve.h:258]: str2ip(): str2ip:
  ERROR: too few dots in [3020380345] 
   6(10299) DEBUG: lcr [../../resolve.h:355]: str2ip6(): str2ip6:
  ERROR: too few colons in [3020380345] 
   6(10299) DEBUG: lcr [lcr_mod.c:2175]: generate_uris(): r_uri
  sip:10218503027337@ip:5080;transport=udp, dst_uri  
   6(10299) DEBUG: lcr [lcr_mod.c:2456]: next_gw(): added
  ruri_user_avp 10218503027337 
   6(10299) DEBUG: lcr [lcr_mod.c:2492]: next_gw(): added flags_avp
  0 
   6(10299) DEBUG: lcr [lcr_mod.c:2499]: next_gw(): added tag_avp
  0 
   this route/number gives busy response, i am gonna
  change route and number- 
  - Second loads_gws and next_gws functions are
  called.-- 
   8(10303) DEBUG: lcr [lcr_mod.c:1943]: load_gws(): load_gws(1,
  200015066109057, ) 
   8(10303) DEBUG: lcr [lcr_mod.c:2014]: load_gws(): added
  matched_gws[0]=[1, 5, 1, 2247144] 
   8(10303) DEBUG: lcr [lcr_mod.c:1887]: add_gws_into_avps(): added
  gw_uri_avp
  1|sip:|5|200010|2|3020380345||5080||;transport=udp|0 with
  weight 2247144 
   8(10303) DEBUG: lcr [../../resolve.h:258]: str2ip(): str2ip:
  ERROR: too few dots in [3020380345] 
   8(10303) DEBUG: lcr [../../resolve.h:355]: str2ip6(): str2ip6:
  ERROR: too few colons in [3020380345] 
   8(10303) DEBUG: lcr [lcr_mod.c:2175]: generate_uris(): r_uri
  sip:200010503027337@ip:5080;transport=udp, dst_uri
   
   8(10303) DEBUG: lcr [lcr_mod.c:2492]: next_gw(): added flags_avp
  0 
   8(10303) DEBUG: lcr [lcr_mod.c:2499]: next_gw(): added tag_avp
  2 
  r_uri must be 200015066109057 but
  it gets first called r_uri because r_uri saved--- 
  
  
  Number 200015066109057 is
  stripped with five as underline. but lcr strips olds uri (10218503027337) 
as saved r_uri. 
  
  
  this route scripts a kind of that if pstn is busy , forward to
  call a cellphone. 
  
  

04.12.2015 13:27 tarihinde Juha
  Heinanen [via SIP Router] yazdı: 

 ycaner writes:
  
  
         in load_gws function
  
         there is a delete_avp for gw_uri_avp as you mentioned .
  but in my
  
         view it needs a delete_avp for ruri_user_avp. 
         Because it is reloading gws for different route.
  
  
  I added deletion of possible old ruri_user_avp value when
  next_gw() is
  
  called first time after load_gws().
  
  
  It is currently in master branch only, but I can commit also to
  4.3
  
  branch if this fixes the issue.
  
  
  -- Juha
  
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/LCR-module-re-load-gws-uri-errors-tp143602p143656.html
 
  
  
To unsubscribe from LCR module : re load_gws uri errors, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/143659/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/LCR-module-re-load-gws-uri-errors-tp143602p143659.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] LCR module : re load_gws uri errors

2015-12-03 Thread ycaner
Hey;
Thanks for reply. before load_gws , setting ruri_user_avp to null solves
request uri problems.






--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/LCR-module-re-load-gws-uri-errors-tp143602p143648.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] LCR module : re load_gws uri errors

2015-12-03 Thread ycaner
Hello;
i found the problem i hope i can explain the problem to get solution.

when first usage of load_gws() and next_gw() functions , next_gw() fills all 
uri avps to ru_AVPs from gws tables. if it goes to failure route or route
again , it can re use ru_AVPs in next_gw(). so if recall the load_gws()
again for choose new route , it uses old uri avps in next_gw() function , it
is totally incorrect. if there is flag or parameter to define gws are
reloaded , it can null to ru_AVPs to correct gws informations.

i couldn't find why fromuri appending itself. searching about it.

Thanks.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/LCR-module-re-load-gws-uri-errors-tp143602p143642.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] listening on multiple port

2015-10-30 Thread ycaner
Hello 
i think 5228 port override 5060. use "listen" parameter to listen multiple
ports.

http://www.kamailio.org/wiki/cookbooks/4.3.x/core#port



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/listening-on-multiple-port-tp142689p142697.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] gcc warning for t_cancel

2015-10-27 Thread ycaner
Hello Daniel.
it is ok , there is no warning about it
Thanks.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/gcc-warning-for-t-cancel-tp142621p142633.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Sending ReINVITE from Kamailio

2015-10-21 Thread ycaner
Hello;
I think Dialog module can do it with ka_timer. take a look please.
in addition , if you want to know call is still up , check the RTP session.
if there isn't Rtp  session , so call is  hung up. Asterisk can listen rtp
packet and then in silence it can close session. 

have a look "rtptimeout" parameter





--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Sending-ReINVITE-from-Kamailio-tp142479p142483.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] call-limit peer

2015-10-19 Thread ycaner
Hello;
with dialog module using dont forget set dlg_manage or setting flags.
or you can do it with pike limit for only INVITE methods.




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/call-limit-peer-tp142403p142407.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] MySQL Connect Errors

2015-10-08 Thread ycaner
Hello ;
Problem looks like blocked host and then gets connection error.
https://dev.mysql.com/doc/refman/5.0/en/blocked-host.html
how many user it has in subscriber table or did you check data of
subcribers. Maybe a wrong character makes connection errors so connection
lost.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/MySQL-Connect-Errors-tp142256p142275.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] out of memory Error

2015-09-30 Thread ycaner

  

  
  
Hello Daniel; 
  
      i got logs from kamailio. there is 10 pid about kamailio and
  don't give dumps for all kamailio pids expects somes. Here is
  results; 
  
  root 18323  0.0  0.0 454628 12968 ?    S    12:12   0:00
  /usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 8 -u
  root -g root 
  root 18333  0.0  0.1 454628 16632 ?    S    12:12   0:03
  /usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 8 -u
  root -g root 
  root 18334  0.0  0.1 454628 16504 ?    S    12:12   0:03
  /usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 8 -u
  root -g root 
  root 18335  0.0  0.0 454628  7132 ?    S    12:12   0:00
  /usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 8 -u
  root -g root 
  root 18337  0.0  0.0 454628 10232 ?    S    12:12   0:02
  /usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 8 -u
  root -g root 
  root 18339  0.0  0.0 454632  5332 ?    S    12:12   0:00
  /usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 8 -u
  root -g root 
  root 18341  0.0  0.0 454628  6012 ?    S    12:12   0:00
  /usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 8 -u
  root -g root 
  root 18344  0.0  0.0 454628  5776 ?    S    12:12   0:00
  /usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 8 -u
  root -g root 
  root 18346  0.0  0.0 454628  6716 ?    S    12:12   0:00
  /usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 8 -u
  root -g root 
  root 18348  0.0  0.0 454628  5680 ?    S    12:12   0:00
  /usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 8 -u
  root -g root 
  
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  core [pt.c:531]: mem_dump_pkg_cb(): Memory status (pkg) of
  process 18334: 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: fm_status (0x7f4b67aa8010): 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status:  heap size= 8388608 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status:  used= 3949448, used+overhead=8384064, free=4544 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status:  max used (+overhead)= 8388608 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: dumping free list: 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: hash =   6 fragments no.: 2, unused:
  0#012#011#011 bucket size:    48 -    48 (first    48) 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: hash =   7 fragments no.: 1, unused:
  0#012#011#011 bucket size:    56 -    56 (first    56) 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: hash =   8 fragments no.:    15, unused:
  0#012#011#011 bucket size:    64 -    64 (first    64) 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: hash =  14 fragments no.: 1, unused:
  0#012#011#011 bucket size:   112 -   112 (first   112) 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: hash =  29 fragments no.: 1, unused:
  0#012#011#011 bucket size:   232 -   232 (first   232) 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: hash =  59 fragments no.: 1, unused:
  0#012#011#011 bucket size:   472 -   472 (first   472) 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: hash = 106 fragments no.: 1, unused:
  0#012#011#011 bucket size:   848 -   848 (first   848) 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: hash = 221 fragments no.: 1, unused:
  0#012#011#011 bucket size:  1768 -  1768 (first  1768) 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: TOTAL: 23 free fragments =   4544 free bytes 
  Sep 29 13:59:21 localhost /usr/local/sbin/kamailio[18334]: ALERT:
  fm_status: - 
  
  Sep 29 13:59:23 localhost /usr/local/sbin/kamailio[18335]: ALERT:
  core [pt.c:531]: mem_dump_pkg_cb(): Memory status (pkg) of
  process 18335: 
  Sep 29 13:59:23 localhost /usr/local/sbin/kamailio[18335]: ALERT:
  fm_status: fm_status (0x7f4b67aa8010): 
  Sep 29 13:59:23 localhost /usr/local/sbin/kamailio[18335]: ALERT:
  fm_status:  heap size= 8388608 
  Sep 29 13:59:23 localhost /usr/local/sbin/kamailio[18335]: ALERT:
  fm_status:  used= 

Re: [SR-Users] out of memory Error

2015-09-30 Thread ycaner
Hello Daniel
i did what you wrote here. Here is results;
http://pastebin.com/YQFxcnLN


And i did some test without acc_radius module. without acc_radius module ,
there is no out of memory on pkg. it continue 1+ calls instead with
acc_radius , it gets out of memory in 2000+ calls.

i don't know how to analyze logs but "extra2strar" function has big data. i
am gonna run with debug mod for 1 calls and try to analyze it again.
Thanks for help.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141938.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] out of memory Error

2015-09-30 Thread ycaner
Hello Daniel;

I think i found the mem leak. after debuggin memory in
acc_radius_send_request at
/root/kamailio-4.3.2/modules/acc_radius/acc_radius_mod.c , after allocing
with get_extra_attrs as using extra2strar , don't free in
acc_radius_send_request. i will do some test and write results.


2(18158) DEBUG: acc [acc_logic.c:644]: tmcb_func(): acc callback called for
t(0x7ff29cc3c9a8) event type 512, reply code 200
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 10) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 16) returns address 0x7ff2b2699620
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 12) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 16) returns address 0x7ff2b25de960
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 12) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 16) returns address 0x7ff2b25fd618
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 15) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 16) returns address 0x7ff2b25fdb08
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 12) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 16) returns address 0x7ff2b25fd880
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 1) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 8) returns address 0x7ff2b2638078
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 19) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 24) returns address 0x7ff2b25fd6d8
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 1) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 8) returns address 0x7ff2b263b0c8
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 12) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 16) returns address 0x7ff2b2699538
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 2) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 8) returns address 0x7ff2b2632860
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 1) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 8) returns address 0x7ff2b262f440
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 6) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 8) returns address 0x7ff2b2605d60
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 1) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 8) returns address 0x7ff2b2607c30
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 1) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 8) returns address 0x7ff2b2601fa8
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 2) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 8) returns address 0x7ff2b25ffaf8
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 4) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 8) returns address 0x7ff2b25fd188
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 20) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 24) returns address 0x7ff2b25de888
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 1) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():
fm_malloc(0x7ff2b2550010, 8) returns address 0x7ff2b25f0560
 2(18158) DEBUG:  [mem/f_malloc.c:431]: fm_malloc():
fm_malloc(0x7ff2b2550010, 5) called from acc: acc_extra.c: extra2strar(265)
 2(18158) DEBUG:  [mem/f_malloc.c:506]: fm_malloc():

Re: [SR-Users] modifying $fu / $fU (R-URI From)

2015-09-30 Thread ycaner
Hello;
it is applied after t_relay() or msg_apply() functions. you can try it like 

$var(fufix)=$fU;
$fU=$(var(fufix){s.substr,2,0});





--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/modifying-fu-fU-R-URI-From-tp141949p141957.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] out of memory Error

2015-09-30 Thread ycaner
Hello Daniel ;

After changes some codes , it is solved. Here is diff for checking.

diff --git a/modules/acc_radius/acc_radius_mod.c
b/modules/acc_radius/acc_radius_mod.c
index b1843d6..2bc0acc 100644
--- a/modules/acc_radius/acc_radius_mod.c
+++ b/modules/acc_radius/acc_radius_mod.c
@@ -49,6 +49,7 @@
 #include "../../lib/kcore/radius.h"
 #include "../../modules/acc/acc_api.h"
 #include "acc_radius_mod.h"
+#include "../../modules/acc/acc_extra.h"

 MODULE_VERSION

@@ -329,6 +330,8 @@ int acc_radius_send_request(struct sip_msg *req,
acc_info_t *inf)
uint32_t av_type;
int offset;
int i;
+int m=0;
+int o=0;

send=NULL;

@@ -353,8 +356,11 @@ int acc_radius_send_request(struct sip_msg *req,
acc_info_t *inf)
ADD_RAD_AVPAIR( RA_TIME_STAMP, _type, -1);

/* add extra also */
-   attr_cnt += accb.get_extra_attrs(rad_extra, req, inf->varr+attr_cnt,
-   inf->iarr+attr_cnt, inf->tarr+attr_cnt);
+   o = accb.get_extra_attrs(rad_extra, req, inf->varr+attr_cnt,
+inf->iarr+attr_cnt, inf->tarr+attr_cnt);
+
+attr_cnt += o;
+m = attr_cnt;

/* add the values for the vector - start from 1 instead of
 * 0 to skip the first value which is the METHOD as string */
@@ -388,10 +394,14 @@ int acc_radius_send_request(struct sip_msg *req,
acc_info_t *inf)
goto error;
}
rc_avpair_free(send);
+   /*dont forget free memory allocated by extra2strar */
+free_strar_mem( &(inf->tarr[m-o]), &(inf->varr[m-o]), o, m);
return 1;

 error:
rc_avpair_free(send);
+/* free memory allocated by extra2strar */
+free_strar_mem( &(inf->tarr[m-o]), &(inf->varr[m-o]), o, m);
return -1;
 }






--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141948.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] out of memory Error

2015-09-29 Thread ycaner
_summary=8 to get a smaller log. Also, the children is
  quite high, try with children=2 -- the out of memory should appear
  sooner. 
  
  Also, use -M 8 in order to reduce the time to using all memory. 
  
  Cheers, 
  Daniel 
  
  On 29/09/15 08:30, ycaner wrote: 
  
  

Hello Daniel; 
  
  First of all , Thanks for reply.This project deserve a big
  award because of you. you try to give response any question as
  you can. i hope with my test results help you to make it
  bigger this project. 
  
  Before you reply i set memlog=0 , debug=0 and mem_summary=15 ,
  children 64 ,"SHM_MEMORY=256" , "PKG_MEMORY=32" .i added to
  results. 
  i dont know how to analyse results but i think the problem is
  "acc: acc_extra.c: extra2strar(265)". it increases bytes. 
  
  
  Thanks. 
  

29.09.2015 00:31 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 


  
  The free size for private memory/pkg is getting low. 
  
  Set in kamailio.cfg: 
  
  memlog=1 
  
  mem_summary=8 
  
  Be sure that debug parameter is at least 1. 
  
  Restart kamailio and run the test again. When you get out of
  memory, stop kamailio (e.g., using: killall kamailio). 
  
  Look inside syslog file for the messages printed at the end.
  For each kamailio process, there should be a pkg summary --
  messages can be mixed, so you can send all of them 
  
  To have lower number of process (which will probably result in
  faster consuming of memory), you can set children=2. 
  
  Cheers, 
  Daniel 
  
  On 28/09/15 17:31, ycaner wrote: 
  
  
{
entry: 1
pid: 12039
rank: 1
used: 13425600
free: 148336
real_used: 33406096
total_size: 33554432
total_frags: 20
} 
  
  
  -- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda  - http://www.linkedin.com/in/miconda 
Book: SIP Routing With Kamailio - http://www.asipto.com 

  
  ___ 
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
  mailing list 
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email,
  your message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141889.html
 
  
  
To unsubscribe from out of memory Error, click here . 
NAML  


-- 
  
  
  

  



  
  kamailio_mem_dump_1.txt (1M) Download
Attachment 
 
 View this message in context: Re: out of memory
  Error 
Sent from the Users mailing
  list archive  at Nabble.com. 



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email] 
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 

  
  
  -- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda  - http://www.linkedin.com/in/miconda 
Book: SIP Routing With Kamailio - http://www.asipto.com 
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - 
http://asipto.com/u/kat 
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141895.html
 
  
  
To unsubscribe from out of memory Error, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/141898/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141898.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.o

Re: [SR-Users] out of memory Error

2015-09-29 Thread ycaner

  

  
  
Hello Daniel; 
  
  First of all , Thanks for reply.This project deserve a big award
  because of you. you try to give response any question as you can.
  i hope with my test results help you to make it bigger this
  project. 
  
  Before you reply i set memlog=0 , debug=0 and mem_summary=15 ,
  children 64 ,"SHM_MEMORY=256" , "PKG_MEMORY=32" .i added to
  results. 
  i dont know how to analyse results but i think the problem is
  "acc: acc_extra.c: extra2strar(265)". it increases bytes. 
  
  
  Thanks. 
  

29.09.2015 00:31 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 


  
  The free size for private memory/pkg is getting low. 
  
  Set in kamailio.cfg: 
  
  memlog=1 
  
  mem_summary=8 
  
  Be sure that debug parameter is at least 1. 
  
  Restart kamailio and run the test again. When you get out of
  memory, stop kamailio (e.g., using: killall kamailio). 
  
  Look inside syslog file for the messages printed at the end. For
  each kamailio process, there should be a pkg summary -- messages
  can be mixed, so you can send all of them 
  
  To have lower number of process (which will probably result in
  faster consuming of memory), you can set children=2. 
  
  Cheers, 
  Daniel 
  
  On 28/09/15 17:31, ycaner wrote: 
  
  
{
entry: 1
pid: 12039
rank: 1
used: 13425600
free: 148336
real_used: 33406096
total_size: 33554432
total_frags: 20
} 
  
  
  -- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda  - http://www.linkedin.com/in/miconda 
Book: SIP Routing With Kamailio - http://www.asipto.com 

  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141889.html
 
  
  
To unsubscribe from out of memory Error, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/141893/0/yasin-imza-2014.jpg>
kamailio_mem_dump_1.txt (1M) 
<http://sip-router.1086192.n5.nabble.com/attachment/141893/1/kamailio_mem_dump_1.txt>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141893.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] out of memory Error

2015-09-29 Thread ycaner
 appear
  sooner. 
  
  Also, use -M 8 in order to reduce the time to using all memory. 
  
  Cheers, 
  Daniel 
  
  On 29/09/15 08:30, ycaner wrote: 
  
  

Hello Daniel; 
  
  First of all , Thanks for reply.This project deserve a big
  award because of you. you try to give response any question as
  you can. i hope with my test results help you to make it
  bigger this project. 
  
  Before you reply i set memlog=0 , debug=0 and mem_summary=15 ,
  children 64 ,"SHM_MEMORY=256" , "PKG_MEMORY=32" .i added to
  results. 
  i dont know how to analyse results but i think the problem is
  "acc: acc_extra.c: extra2strar(265)". it increases bytes. 
  
  
  Thanks. 
  

29.09.2015 00:31 tarihinde
  Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 


  
  The free size for private memory/pkg is getting low. 
  
  Set in kamailio.cfg: 
  
  memlog=1 
  
  mem_summary=8 
  
  Be sure that debug parameter is at least 1. 
  
  Restart kamailio and run the test again. When you get out of
  memory, stop kamailio (e.g., using: killall kamailio). 
  
  Look inside syslog file for the messages printed at the end.
  For each kamailio process, there should be a pkg summary --
  messages can be mixed, so you can send all of them 
  
  To have lower number of process (which will probably result in
  faster consuming of memory), you can set children=2. 
  
  Cheers, 
  Daniel 
  
  On 28/09/15 17:31, ycaner wrote: 
  
  
{
entry: 1
pid: 12039
rank: 1
used: 13425600
free: 148336
real_used: 33406096
total_size: 33554432
total_frags: 20
} 
  
  
  -- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda  - http://www.linkedin.com/in/miconda 
Book: SIP Routing With Kamailio - http://www.asipto.com 

  
  ___ 
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
  mailing list 
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email,
  your message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141889.html
 
  
  
To unsubscribe from out of memory Error, click here . 
NAML  


-- 
  
  
  

  



  
  kamailio_mem_dump_1.txt (1M) Download
Attachment 
 
 View this message in context: Re: out of memory
  Error 
Sent from the Users mailing
  list archive  at Nabble.com. 



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email] 
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 

  
  
  -- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda  - http://www.linkedin.com/in/miconda 
Book: SIP Routing With Kamailio - http://www.asipto.com 
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - 
http://asipto.com/u/kat 
  
  ___
  
  SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
  list
  
  [hidden email] 
  
  http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141895.html
 
  
  
To unsubscribe from out of memory Error, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
<http://sip-router.1086192.n5.nabble.com/attachment/141900/0/yasin-imza-2014.jpg>




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141900.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] out of memory Error

2015-09-28 Thread ycaner
Hello;
after 392 000 calls , it gives out of memory error again. i got memlog at
below. Could you help me find out. Thanks

--
core:bad_URIs_rcvd = 0
core:bad_msg_hdr = 0
core:drop_replies = 0
core:drop_requests = 35
core:err_replies = 0
core:err_requests = 0
core:fwd_replies = 23
core:fwd_requests = 458763
core:rcv_replies = 1249516
core:rcv_requests = 1269758
core:unsupported_methods = 0
dialog:active_dialogs = 1
dialog:early_dialogs = 0
dialog:expired_dialogs = 1
dialog:failed_dialogs = 4
dialog:processed_dialogs = 394542
dns:failed_dns_request = 0
mysql:driver_errors = 0
registrar:accepted_regs = 0
registrar:default_expire = 3600
registrar:default_expires_range = 0
registrar:expires_range = 0
registrar:max_contacts = 0
registrar:max_expires = 3600
registrar:rejected_regs = 0
shmem:fragments = 33244
shmem:free_size = 261538896
shmem:max_used_size = 13272808
shmem:real_used_size = 6896560
shmem:total_size = 268435456
shmem:used_size = 4965032
sl:1xx_replies = 0
sl:200_replies = 493
sl:202_replies = 0
sl:2xx_replies = 0
sl:300_replies = 0
sl:301_replies = 0
sl:302_replies = 0
sl:3xx_replies = 0
sl:400_replies = 0
sl:401_replies = 0
sl:403_replies = 0
sl:404_replies = 0
sl:407_replies = 0
sl:408_replies = 0
sl:483_replies = 0
sl:4xx_replies = 0
sl:500_replies = 0
sl:5xx_replies = 35
sl:6xx_replies = 0
sl:failures = 0
sl:received_ACKs = 35
sl:sent_err_replies = 0
sl:sent_replies = 395117
sl:xxx_replies = 394589
tcp:con_reset = 0
tcp:con_timeout = 0
tcp:connect_failed = 0
tcp:connect_success = 0
tcp:current_opened_connections = 0
tcp:current_write_queue_size = 0
tcp:established = 0
tcp:local_reject = 0
tcp:passive_open = 0
tcp:send_timeout = 0
tcp:sendq_full = 0
tmx:2xx_transactions = 852998
tmx:3xx_transactions = 0
tmx:4xx_transactions = 984
tmx:5xx_transactions = 3
tmx:6xx_transactions = 0
tmx:UAC_transactions = 2
tmx:UAS_transactions = 789109
tmx:active_transactions = 5
tmx:inuse_transactions = 6
tmx:local_replies = 394546
tmx:received_replies = 853985
tmx:relayed_replies = 459439
usrloc:location-contacts = 0
usrloc:location-expires = 0
usrloc:location-users = 0
usrloc:registered_users = 0
---
{
entry: 0
pid: 12029
rank: 0
used: 1162024
free: 32149056
real_used: 1405376
total_size: 33554432
total_frags: 46
}
{
entry: 1
pid: 12039
rank: 1
used: 13425600
free: 148336
real_used: 33406096
total_size: 33554432
total_frags: 20
}
{
entry: 2
pid: 12040
rank: 2
used: 13447016
free: 290776
real_used: 33263656
total_size: 33554432
total_frags: 20
}
{
entry: 3
pid: 12041
rank: 3
used: 13395480
free: 336992
real_used: 33217440
total_size: 33554432
total_frags: 20
}
{
entry: 4
pid: 12043
rank: 4
used: 13406432
free: 338808
real_used: 33215624
total_size: 33554432
total_frags: 20
}
{
entry: 5
pid: 12045
rank: 5
used: 13407640
free: 348240
real_used: 33206192
total_size: 33554432
total_frags: 20
}
{
entry: 6
pid: 12047
rank: 6
used: 13467776
free: 70320
real_used: 33484112
total_size: 33554432
total_frags: 33
}
{
entry: 7
pid: 12049
rank: 7
used: 13499392
free: 456
real_used: 33553976
total_size: 33554432
total_frags: 13
}
{
entry: 8
pid: 12051
rank: 8
used: 13500280
free: 52656
real_used: 33501776
total_size: 33554432
total_frags: 34
}
{
entry: 9
pid: 12053
rank: 9
used: 13517776
free: 57560
real_used: 33496872
total_size: 33554432
total_frags: 33
}
{
entry: 10
pid: 12055
rank: 10
used: 13408680
free: 298256
real_used: 33256176
total_size: 33554432
total_frags: 20
}
{
entry: 11
pid: 12057
rank: 11
used: 13375864
free: 517608
real_used: 33036824
total_size: 33554432
total_frags: 33
}
{
entry: 12
pid: 12059
rank: 12
used: 13426496
free: 181544
real_used: 33372888
total_size: 33554432
total_frags: 19
}
{
entry: 13
pid: 12061
rank: 13
used: 13437960
free: 153112
real_used: 33401320
total_size: 33554432
total_frags: 38
}
{
entry: 14
pid: 12063
rank: 14
used: 13428744
free: 335984
real_used: 33218448
total_size: 33554432
total_frags: 33
}
{
entry: 15
pid: 12066
rank: 15
used: 13508216
free: 312

Re: [SR-Users] out of memory Error

2015-09-28 Thread ycaner
Hello;
at second test , after 34 calls , there is no problem about out of
memory. it is still continue with 1100 active calls. i am gonna test it
until 1 000 000 calls. Here is results at 340 000 calls


 -- pkg --
{
entry: 0
pid: 12029
rank: 0
used: 1162024
free: 32149056
real_used: 1405376
total_size: 33554432
total_frags: 46
}
{
entry: 1
pid: 12039
rank: 1
used: 11740024
free: 4488648
real_used: 29065784
total_size: 33554432
total_frags: 57
}
{
entry: 2
pid: 12040
rank: 2
used: 11752360
free: 4675784
real_used: 28878648
total_size: 33554432
total_frags: 29
}
{
entry: 3
pid: 12041
rank: 3
used: 11740752
free: 4667680
real_used: 28886752
total_size: 33554432
total_frags: 39
}
{
entry: 4
pid: 12043
rank: 4
used: 11715240
free: 4737320
real_used: 28817112
total_size: 33554432
total_frags: 30
}
{
entry: 5
pid: 12045
rank: 5
used: 11701784
free: 4754696
real_used: 28799736
total_size: 33554432
total_frags: 55
}
{
entry: 6
pid: 12047
rank: 6
used: 11777872
free: 4505176
real_used: 29049256
total_size: 33554432
total_frags: 55
}
{
entry: 7
pid: 12049
rank: 7
used: 11796656
free: 4418128
real_used: 29136304
total_size: 33554432
total_frags: 39
}
{
entry: 8
pid: 12051
rank: 8
used: 11791968
free: 4491696
real_used: 29062736
total_size: 33554432
total_frags: 25
}
{
entry: 9
pid: 12053
rank: 9
used: 11789488
free: 4577672
real_used: 28976760
total_size: 33554432
total_frags: 54
}
{
entry: 10
pid: 12055
rank: 10
used: 11723864
free: 4687256
real_used: 28867176
total_size: 33554432
total_frags: 29
}
{
entry: 11
pid: 12057
rank: 11
used: 11722488
free: 4819504
real_used: 28734928
total_size: 33554432
total_frags: 29
}
{
entry: 12
pid: 12059
rank: 12
used: 11718304
free: 4652776
real_used: 28901656
total_size: 33554432
total_frags: 41
}
{
entry: 13
pid: 12061
rank: 13
used: 11737904
free: 4574264
real_used: 28980168
total_size: 33554432
total_frags: 29
}
{
entry: 14
pid: 12063
rank: 14
used: 11737096
free: 4709864
real_used: 28844568
total_size: 33554432
total_frags: 73
}
{
entry: 15
pid: 12066
rank: 15
used: 11860720
free: 4321360
real_used: 29233072
total_size: 33554432
total_frags: 72
}
{
entry: 16
pid: 12068
rank: 16
used: 11762576
free: 4509944
real_used: 29044488
total_size: 33554432
total_frags: 35
}
{
entry: 17
pid: 12070
rank: 17
used: 11779400
free: 4494744
real_used: 29059688
total_size: 33554432
total_frags: 43
}
{
entry: 18
pid: 12072
rank: 18
used: 11759048
free: 4522208
real_used: 29032224
total_size: 33554432
total_frags: 30
}
{
entry: 19
pid: 12074
rank: 19
used: 11761112
free: 4629176
real_used: 28925256
total_size: 33554432
total_frags: 59
}
{
entry: 20
pid: 12076
rank: 20
used: 11748240
free: 4576248
real_used: 28978184
total_size: 33554432
total_frags: 56
}
{
entry: 21
pid: 12078
rank: 21
used: 11741656
free: 4666944
real_used: 28887488
total_size: 33554432
total_frags: 36
}
{
entry: 22
pid: 12080
rank: 22
used: 11748864
free: 4591472
real_used: 28962960
total_size: 33554432
total_frags: 20
}
{
entry: 23
pid: 12082
rank: 23
used: 11734256
free: 4643824
real_used: 28910608
total_size: 33554432
total_frags: 30
}
{
entry: 24
pid: 12084
rank: 24
used: 11722608
free: 4638448
real_used: 28915984
total_size: 33554432
total_frags: 30
}
{
entry: 25
pid: 12086
rank: 25
used: 11682424
free: 4793096
real_used: 28761336
total_size: 33554432
total_frags: 38
}
{
   

Re: [SR-Users] Two suggestions

2015-09-22 Thread ycaner
Hello,
there is a site about mailing list. you can seaerch whatever you want on
search box

http://sip-router.1086192.n5.nabble.com/



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Two-suggestions-tp141632p141642.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] loose_route function select wrong next hop!

2015-09-22 Thread ycaner
Hello Daniel;
thanks for reply. there is a ip in kamailio.domain table  . alias module is
disabled and don't use any domain , it is only ip. MultiDomain support is
enabled.


P.S. : i replaced real ip with '192.168.0.188'.


--kamailio.domain-
# id, domain, did, last_modified
'1', '192.168.0.188', '1', '1900-01-01 00:00:01'


-

/* uncomment the next line to disable the auto discovery of local aliases
   based on reverse DNS on IPs (default on) */
#auto_aliases=no

/* add local domain aliases */
#alias="sip.mydomain.com"


/* uncomment and configure the following line if you want Kamailio to
   bind on a specific interface/port/proto (default bind on all available)
*/
listen=udp:192.168.0.188:5061

/* port to listen to
 * - can be specified more than once if needed to listen on many ports */
port=5061



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/loose-route-function-select-wrong-next-hop-tp141644p141648.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] loose_route function select wrong next hop!

2015-09-22 Thread ycaner
Hello Daniel;
As you wrote after disabled register_myself , it works as should be. is
there any side affect for disabling it. i looked at the docs and i think
there will not be any problems.

Thanks for helps. Have a nice day.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/loose-route-function-select-wrong-next-hop-tp141644p141657.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] carrierroute module cannot use prefix that start with +

2015-09-21 Thread ycaner
Hello Jose;
You can replace "+" to "00" . i use like that. scan_prefix at Carrierroute 
only uses Numbers
have a nice day.




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/carrierroute-module-cannot-use-prefix-that-start-with-tp141600p141601.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] no response, re-route calls to a different address

2015-09-14 Thread ycaner
Hello
There is a fr_inv_timer func on TM modules. You can check tm Modules.
http://kamailio.org/docs/modules/4.3.x/modules/tm.html



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/no-response-re-route-calls-to-a-different-address-tp141253p141277.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] no response, re-route calls to a different address

2015-09-11 Thread ycaner
hello;
you can do with carrierroute or other routing modules. when address doesn't
respond in session time , it gives 408 request timeout. so with
failure_route methods, you can re-route calls to different addresss.




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/no-response-re-route-calls-to-a-different-address-tp141253p141254.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] upgrade V4.2.5 to V3.1 -Build error

2015-08-13 Thread ycaner
i found a changes for rever_uri() function . i am using carrierroute module
to route changes. so after a query destination number , a prefix is added to
Request uri and sends  request. after get error first request goes to
failure route and works revert_uri() . revert_uri changes to first request
uri. There is a example above.

Client sends

: 5055066105
Servers addes prefix

: 200025055066105 
after t_relay if i get error goes to failure_route[3] and work revert uri :
5055066105

in kamailio V4.2.5 it gives 200025055066105

  ALERT: script: Request Uri -0 05055066105
  ALERT: script: Request Uri -1 Before revert 200025055066105
  ALERT: script: Request Uri -2 After revert 05055066105

- Sample Code 

[switchingroute]{

//$avp(69 is prefix 2002

$rU=$_s($avp(69)$rU);

if(!cr_route($avp(s:carrier),$avp(s:domian),$rU,$rU,call_id,$avp(s:route_desc)))
 {
 send_reply(603, Route bulunamadi);
 exit;
 }

 $avp(s:host)= $rd+:+$rp;
 t_on_failure(3);

if(!t_relay()) {
 xlog(L_ERR,Servis Disi);
 send_reply(408, Servis Disi);
}else{
 exit;
}
return;


}


failure_route[3]{


xlog(L_ALERT,Request Uri -1 Before revert $rU);
revert_uri();
   
if(!cr_next_domain($avp(s:carrier),$avp(s:domian),$rU,$avp(s:host),$T_reply_code,$avp(s:domain))){
xlog(L_ALERT,[$ci]route:bulunamadi);
exit;
}
   
if(!cr_route($avp(s:carrier),$avp(s:domian),$rU,$rU,call_id,$avp(s:route_desc))){
xlog(L_ALERT,[$ci]route:yapilamadi);
exit;
}
$rU=$_s($avp(69)$rU);
xlog(L_ALERT,Request Uri -2 after rever $rU );

$avp(maliyet_id)=$avp(s:route_desc);
$avp(s:host)= $rd;
t_on_failure(3);

if(!t_relay()) {
 send_reply(408, Servis Disi);
 exit;
}else{
 exit;
}

return;
}




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/upgrade-V4-2-5-to-V3-1-Build-error-tp140428p140431.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] upgrade V4.2.5 to V3.1 -Build error

2015-08-13 Thread ycaner
  Hello;
  i dont wanna open new thread as spamming. 1 of them build error for new
version. other one is about revert_uri() function on upgrade. maybe, i wrote
wrong subject.






--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/upgrade-V4-2-5-to-V3-1-Build-error-tp140428p140438.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] About Acc_radius rad_sttaus Function

2015-07-23 Thread ycaner

  

  
  
Hello; 
  
      Can anyone check and commit to fix? 
  
  Thanks 

22.07.2015 14:25 tarihinde ycaner [via
  SIP Router] yazdı: 

 Hello all;
  
  i found problems. int acc_logic.c file at acc_onack function
  sends request structer instead of ack structer. When i changed
   from acc_run_engines(req, 0, NULL); to acc_run_engines(ack, 0,
  NULL); , it sends right parameter to acc api engine. But  there
  is a problem in acc.c at acc_run_engines function.
  
  
  
  in the this row if((type==0) amp;amp;
  (msg-gt;flagsamp;(e-gt;acc_flag))) {   i deleted msg-gt;flags
  parameter and all work is good and radius send ACK (ALIVE)
  packets.
  
  
  Could you check it why we need msg-gt;flags?
  
  
  METHOD 1 INVITE
  
  METHOD 2 ACK
  
  METHOD 3 BYE
  
  
  acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 1  type
   0 flags 1 acc_flag 2 msg_flags 134217774
  
  acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 2  type
   0 flags 1 acc_flag 2 msg_flags 32
  
  acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 3  type
   0 flags 1 acc_flag 2 msg_flags 10 
  
  
  
If you reply to this email, your
  message will be added to the discussion below: 

http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tp139840p139850.html
 
  
  
To unsubscribe from About Acc_radius rad_sttaus Function, click
  here . 
NAML  


-- 
  
  
  

  

  

  

  



yasin-imza-2014.jpg (51K) 
http://sip-router.1086192.n5.nabble.com/attachment/139874/0/yasin-imza-2014.jpg




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tp139840p139874.html
Sent from the Users mailing list archive at Nabble.com.___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] About Acc_radius rad_sttaus Function

2015-07-22 Thread ycaner
Hello ;
When i debug req-REQ_METHOD for METHOD_ACK , it never give that state. it
is always Invite and Invite
Thanks



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tp139840p139841.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] About Acc_radius rad_sttaus Function

2015-07-22 Thread ycaner
Hello all;
i found problems. int acc_logic.c file at *acc_onack* function sends
request structer instead of ack structer. When i changed  from
acc_run_engines(req, 0, NULL); to acc_run_engines(ack, 0, NULL); , it
sends right parameter to acc api engine. But  there is a problem in acc.c at
acc_run_engines function.


in the this row if((type==0)  (msg-flags(e-acc_flag))) {   i deleted
msg-flags parameter and all work is good and radius send ACK (ALIVE)
packets.

Could you check it why we need msg-flags?

METHOD 1 INVITE
METHOD 2 ACK
METHOD 3 BYE

acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 1  type  0 flags
1 acc_flag 2 msg_flags 134217774
acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 2  type  0 flags
1 acc_flag 2 msg_flags 32
acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 3  type  0 flags
1 acc_flag 2 msg_flags 10



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tp139840p139850.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] 00 prefix record problem on ACC

2015-06-25 Thread ycaner
Hello Daniel,
Thanks for reply. it is solved.
Have nice day.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/00-prefix-record-problem-on-ACC-tp139114p139126.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Misc Radius can't parse sip-avps?

2015-06-05 Thread ycaner

Hello Daniel
i am not good at it but i am gonna try when i have free time. i am busy  now
so i stopped my radius project.
Thanks for helps.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Misc-Radius-can-t-parse-sip-avps-tp138137p138472.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Misc Radius can't parse sip-avps?

2015-06-04 Thread ycaner
version is Kamailio V4.2.5. i solved problem after set common_response to 0
(zero) .
i already configure dictionary.kamailio and freeradius dictionary. 
i search the old post and look the code , i saw so many if else for
common_response parameter. i am not good at C debugging or i made a mistake
in configuration but all i can say , after set common_response to 0 (zero) ,
problem solved. you can see debug result.

when  modparam(misc_radius, common_response, 1) 
result =
 1(21867) DEBUG: misc_radius [functions.c:137]: generate_avps_rad(): 
AVP 'SIP-AVP'/0='#3#1'/0 has been add

when modparam(misc_radius, common_response, 1) 
result = 
 DEBUG: misc_radius [functions.c:187]: generate_avps(): AVP
'null'/3='null'/1 has been added 

Thanks for help. i am gonna more test for radius.

P.S. when i run radius modules with freeraduisclient (new) , it need remake
and it needs to some changes for make file.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Misc-Radius-can-t-parse-sip-avps-tp138137p138452.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio V4.2.5 append prefix to Request Uri problem.

2015-05-29 Thread ycaner
Hello;
 it works both ways.  Could you explain what i did here?


$rU=*$_s*($avp(i:69)$rU);
$rU=*$_s*($avp(s:69)$rU);

Thanks.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Kamailio-V4-2-5-append-prefix-to-Request-Uri-problem-tp138258p138277.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Misc Radius can't parse sip-avps?

2015-05-25 Thread ycaner
Hello;
it is so weird. When i unset  common response , i can get right value.
---
modparam(misc_radius, common_response, 0)
--
 8(2292) DEBUG: misc_radius [functions.c:453]: radius_is_user_in(): success
 8(2292) DEBUG: misc_radius [functions.c:268]: radius_load_caller_avps():
success
 8(2292) DEBUG: misc_radius [functions.c:187]: generate_avps(): AVP
'null'/3='null'/1 has been added
8(2292) ALERT: script: * i3 1* null s6 null null null



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Misc-Radius-can-t-parse-sip-avps-tp138137p138139.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Issue with SNMPstats

2015-05-25 Thread ycaner
Hello;

Try to set dialog flag. you can do it with dlg_manage() function. 




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Issue-with-SNMPstats-tp138131p138142.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] misc_radius and auth_radius configuration question

2015-05-15 Thread ycaner
Hello Daniel;
i am still diggin radius. i try to add custom avp to acc_radius extra. i
defined custom attributes both side freeradius and client-ng. so it didn't
send this extra avp.do you remember that is it possible to send extra AVP
with acc_radius?

Btw,I searched radiusclient-ng  and see that. it has been merged with
freeradius at 2006. radiusclient-ng has been updated last  2007.but
freeradius-client has been updated 2015 and so many thing are fixed.as a
writer of radius API , could we use freeradius-client with radius API insted
of radiusclient-ng?

Thanks.



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/misc-radius-and-auth-radius-configuration-question-tp137828p137876.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] misc_radius and auth_radius configuration question

2015-05-14 Thread ycaner
i solved problem. radiusclient-ng  looks dictionary under
/usr/share/radiusclient-ng/dictionary. so i copied dictionary.kamailio to
it. and i reconfigured dictionary.kamailio like below. so problem was
solved.

 Attributes ###
ATTRIBUTE Sip-Method   101  integer# Schulzrinne, acc
ATTRIBUTE Sip-Response-Code102  integer# Schulzrinne, acc
ATTRIBUTE Sip-Cseq 103  string # Schulzrinne, acc
ATTRIBUTE Sip-To-Tag   104  string # Schulzrinne, acc
ATTRIBUTE Sip-From-Tag 105  string # Schulzrinne, acc
ATTRIBUTE Sip-Translated-Request-URI   107  string # Proprietary, acc
ATTRIBUTE Sip-Src-IP   108  string # Proprietary, acc
ATTRIBUTE Sip-Src-Port 109  string # Proprietary, acc
ATTRIBUTE Digest-Response  206  string # Sterman, auth_radius
ATTRIBUTE Sip-Uri-User 208  string # Proprietary, auth_radius
ATTRIBUTE Sip-Group211  string # Proprietary, misc_radius
ATTRIBUTE Sip-Rpid 213  string # Proprietary, auth_radius
ATTRIBUTE SIP-AVP  225  string # Proprietary, misc_radius
ATTRIBUTE Digest-Realm1063  string # Sterman,
auth_radius
ATTRIBUTE Digest-Nonce1064  string # Sterman,
auth_radius
ATTRIBUTE Digest-Method   1065  string # Sterman,
auth_radius
ATTRIBUTE Digest-URI  1066  string # Sterman,
auth_radius
ATTRIBUTE Digest-QOP  1067  string # Sterman,
auth_radius
ATTRIBUTE Digest-Algorithm1068  string # Sterman,
auth_radius
ATTRIBUTE Digest-Body-Digest  1069  string # Sterman,
auth_radius
ATTRIBUTE Digest-CNonce   1070  string # Sterman,
auth_radius
ATTRIBUTE Digest-Nonce-Count  1071  string # Sterman,
auth_radius
ATTRIBUTE Digest-User-Name1072  string # Sterman,
auth_radius
/*ATTRIBUTE SIP-URI-Host1073  string #i dont know what
the hack ,misc_radius*/

### Acct-Status-Type Values ###
VALUE Acct-Status-Type   Failed   15   # RFC2866, acc

### Service-Type Values ###
VALUE Service-Type   Call-Check   10   # RFC2865, uri_radius
VALUE Service-Type   Group-Check  12   # Proprietary, group_radius
VALUE Service-Type   Sip-Session  15   # Schulzrinne, acc,
auth_radius
VALUE Service-Type   SIP-Caller-AVPs  30   # Proprietary, avp_radius
VALUE Service-Type   SIP-Callee-AVPs  31   # Proprietary, avp_radius

### Sip-Method Values ###
VALUE Sip-Method Undefined  0
VALUE Sip-Method Invite 1
VALUE Sip-Method Cancel 2
VALUE Sip-Method Ack4
VALUE Sip-Method Bye8
VALUE Sip-Method Info   16
VALUE Sip-Method Options32
VALUE Sip-Method Update 64
VALUE Sip-Method Register   128
VALUE Sip-Method Message256
VALUE Sip-Method Subscribe  512
VALUE Sip-Method Notify 1024
VALUE Sip-Method Prack  2048
VALUE Sip-Method Refer  4096
VALUE Sip-Method Other  8192




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/misc-radius-and-auth-radius-configuration-question-tp137828p137840.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] misc_radius and auth_radius configuration question

2015-05-14 Thread ycaner
Hello Daniel;
i still working on it because acc radius dont trigger itself so don't send
any start and stop actions to freeradius. just send failed transaction  ,
when i invoke acc_rad_request(Some comment); function. there is no error
or something else.
i am not good at Radius so need to learn some stuffs. After complete
configuration , i am gonna share my cfg. But firstly , i need to solve this
acc_radius problem. 

and when i look acc module in doc , there is information radius but when it
is setted , i got error. i think it is removed from acc.

For Example;
modparam(acc, radius_config, /etc/radiusclient/radiusclient.conf)

---ERROR
 parameter radius_config of type 1 not found in module acc
 0(3528) : core [cfg.y:3426]: yyerror_at(): parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 193, column 71: Can't set module
parameter
---

--kamailio.cfg---
#!define FLT_ACC 1
#!define FLT_ACCMISSED 2
#!define FLT_ACCFAILED 3

modparam(acc, log_flag, FLT_ACC)
modparam(acc, log_missed_flag, FLT_ACCMISSED)
modparam(acc, cdr_enable, 1)
modparam(acc, report_ack, 1)
modparam(acc, report_cancels, 1)
modparam(acc, detect_direction, 0)
modparam(acc, early_media, 0)

modparam(acc, radius_config, /etc/radiusclient/radiusclient.conf)

modparam(acc_radius, radius_extra, Sip-Src-IP=$si;Sip-Src-Port=$sp)
modparam(acc_radius,
radius_config,/etc/radiusclient-ng/radiusclient.conf)
modparam(acc_radius, radius_flag, FLT_ACC)
modparam(acc_radius, radius_missed_flag, FLT_ACCMISSED)
modparam(acc_radius, service_type, 15)

modparam(misc_radius, radius_config,
/etc/radiusclient-ng/radiusclient.conf)
modparam(misc_radius, group_service_type, 12)
modparam(misc_radius, uri_service_type, 10)
modparam(misc_radius, caller_extra, Calling-Station-Id=$fu)
modparam(misc_radius, callee_extra, SIP-URI-User=$rU;SIP-URI-Host=$rd)
#modparam(misc_radius, group_extra, My-Special=$avp(i:100))
modparam(misc_radius, uri_extra, Called-Station-Id=$tu)

route[GW_SWITCHING]{
if(!is_method(INVITE)){
return;
}
setflag(FLT_ACCMISSED);
setflag(FLT_ACCFAILED);
setflag(FLT_ACC); # do accounting
 BLA BLA BLA
}
--



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/misc-radius-and-auth-radius-configuration-question-tp137828p137842.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Ims_charging lose all charging information when restart

2015-05-12 Thread ycaner
Hi Jason;
i configured cfg like below. Charging working but there is no information
about it is call forwarding and all the avps are about first session. When i
check dialog_ng hash , it can be updated. is there any flag to set call
forwarding or something.

or my problem is just logic.  I am trying to use S-CSCF  at the same time a
Application Server


route [X]{
if(!cr_route($avp(s:carrier),$avp(s:domian),$rU,$rU,call_id,$avp(s:route_desc)))
 {
  xlog(L_ALERT,[$ci] [NoRoute]);
  send_reply(603, Route bulunamadi);
  exit;
 }
 $avp(s:host)= $rd+:+$rp;
 $avp(maliyet_id)=$avp(s:route_desc);

 setflag(FLT_DIALOG);
 set_dlg_profile(orig);
 $avp(DLG_TIMEOUT_AVP)  =3600;
 t_newtran();
 t_on_failure(1);

 $var(cc_ret) = Ro_CCR(CHARGING_CCR_REPLY, orig, SCUR, , ,
location);
 if ($var(cc_ret)  0) {
xlog(L_ERR,CCR Request failure\n);
sl_send_reply(402,Payment required-1);
exit;
 }

 return;
}


failure_route[1]{

revert_uri();
   
if(!cr_next_domain($avp(s:carrier),$avp(s:domian),$rU,$avp(s:host),$T_reply_code,$avp(s:domain))){
xlog(L_ALERT,callid:$ci:route:bulunamadi);
exit;
}
   
if(!cr_route($avp(s:carrier),$avp(s:domian),$rU,$rU,call_id,$avp(s:route_desc))){
xlog(L_ALERT,callid:$ci:route:yapilamadi);
exit;
}
$avp(maliyet_id)=$avp(s:route_desc);
$avp(s:host)= $rd+:+$rp;

$rU=05435477707;

t_on_failure(1);
if(!t_relay()) {
 send_reply(408, Servis Disi);
 exit;
}else{
 exit;
}

return;
}




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Ims-charging-lose-all-charging-information-when-restart-tp137742p137771.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Ims_charging lose all charging information when restart

2015-05-12 Thread ycaner
Thanks for reply.
i need to learn one thing? how to handle call forwarding charging in
IMS_charging. i mean that
A   CSCF  B C
|-INV-   |-INV- |   |
|   |-BUSY- |  |
|   |-INV- - - -|


it is really complex.
Thanks



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Ims-charging-lose-all-charging-information-when-restart-tp137742p137768.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamailio V 4.2.4 IMS_Charging ro_session_timeout question

2015-05-07 Thread ycaner
Thanks Carsten;
As you wrote , in Update transaction there is Final Unit.. it is all
problem. Thanks.
I read your blog and stories. These are really cool.   I winned to fight
with our manager about IMS and begin to diggin IMS. if i succes i am gonna
entegrate to IMS our Voice system.  Could you give me any book ,pdf advice
to learn Diameter CSCF . 
And does CSCF supports User-Data Request/Answer ? 
Thanks 



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/kamailio-V-4-2-4-IMS-Charging-ro-session-timeout-question-tp137628p137641.html
Sent from the Users mailing list archive at Nabble.com.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


  1   2   >