[SR-Users] How to get SIP parameter values

Kamrul Khan dodul at live.com
Tue Aug 19 17:20:43 CEST 2014


Hi Daniel,
Thanks for your reply. I need username, uri and response. We will also pass some custom headers with our SIP. I need a way to get that too.
BR//Kamrul

Date: Tue, 19 Aug 2014 10:04:43 +0200
From: miconda at gmail.com
To: sr-users at lists.sip-router.org
Subject: Re: [SR-Users] How to get SIP parameter values


  
    
  
  
    Do you want a specific attribute from Authorization header or the
    entire header?

    

    $au should return the authentication username. If the select you
    used doesn't work properly, open an issue on tracker not to forget
    about and we will look at it once we get a chance.

    

    Cheers,

    Daniel

    

    On 18/08/14 23:58, Kamrul Khan wrote:

    
    
      
        
        
          
            I want to send the authorization information
              that I received from my SIP devices to another server for
              authentication. How to get the values of Authorization
              header. I tried using hf_value and hf_value2 but for  @hf_value2.Authorization.username
              I get "Digest" as output. Is there any other way of doing
              this? 
          
        
      
    
    

    -- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA
  


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140819/e5640cfb/attachment.html>


More information about the sr-users mailing list