[SR-Users] About Acc_radius rad_sttaus Function

ycaner yasin.caner at netgsm.com.tr
Thu Jul 23 09:21:26 CEST 2015


  
    
  
  
    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) &&
      (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 
      
      
      
        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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150723/f461ecb4/attachment.html>


More information about the sr-users mailing list