Hi all,
       i am trying to implement the below example which is one of the examples 
in RFC 3665, i am using SIPp as clients and SER as proxy servers, as you can 
see there are two stages of authentication, my problem is in F11 INVITE below, 
i can not construct this message in SIPp, this message shoud be something like 
that:
 
 
INVITE sip:[EMAIL PROTECTED] SIP/2.0   Via: SIP/2.0/UDP 
client.atlanta.example.com:5060;branch=z9hG4bK74bf9   Max-Forwards: 70   From: 
Alice <sip:[EMAIL PROTECTED]>;tag=9fxced76sl   To: Bob <sip:[EMAIL PROTECTED]>  
 Call-ID: [EMAIL PROTECTED]   CSeq: 3 INVITE   Contact: <sip:[EMAIL PROTECTED]> 
  Proxy-Authorization: Digest username="alice",    realm="atlanta.example.com", 
   nonce="wf84f1ceczx41ae6cbe5aea9c8e88d359", opaque="",    uri="sip:[EMAIL 
PROTECTED]",    response="42ce3cef44b22f50c6a6071bc8"   Proxy-Authorization: 
Digest username="alice",    realm="biloxi.example.com",    
nonce="c1e22c41ae6cbe5ae983a9c8e88d359", opaque="",    uri="sip:[EMAIL 
PROTECTED]", response="f44ab22f150c6a56071bce8"   Content-Type: application/sdp 
  Content-Length: 151
   v=0   o=alice 2890844526 2890844526 IN IP4 client.atlanta.example.com   s=-  
 c=IN IP4 192.0.2.101   t=0 0   m=audio 49172 RTP/AVP 0   a=rtpmap:0 PCMU/8000
   /* Proxy 1 finds its credentials and authorizes Alice, forwarding the   
INVITE to Proxy.  */

   
my problem is how to construct 2 (Proxy-Authorization) headers in one message, 
i have tried to put 2 authetication like below but SIPp does not accept it :
 
[authentication username= amar password= amar]
[authentication username= foo password=bar ]
 
does any one can help with that
 
                             Alice        Proxy 1           Proxy 2         Bob 
                               |                |                |             
|                                |  INVITE F1 |                |             |  
                              |----------->|               |             |      
                          |  407 Proxy Authorization Required F2 |              
                  |<-----------|               |             |                  
              |   ACK F3   |                 |             |                    
            |----------->|               |             |                        
        |  INVITE F4 |                |             |                           
     |----------->|               |             |                               
 |   100 F5     |               |             |                                
|<-----------| INVITE F6 |             |                                |       
          |---------->|             |                                |          
       |  407 Proxy Authorization Required F7                                |  
               |<----------|                |                                |  
               |   ACK F8   |                |                                | 
                |---------->|                |                                | 
 407 Proxy Authorization Required F9 |                                
|<-----------|               |                 |                                
|   ACK F10   |               |                 |                               
 |----------->|               |                 |                               
 |  INVITE F11|                |                |                               
 |----------->|                |                |                               
 |   100 F12    |               |                 |                             
   |<-----------| INVITE F13|                 |                                
|                 |---------->|                  |                              
  |                 |  100 F14   |                  |                           
     |                 |<----------|  INVITE F15 |                              
  |                 |                |------------>|                            
    |                 |                | 200 OK F16  |                          
      |                 | 200 OK F17|<------------|                             
   | 200 OK F18 |<----------|                  |                                
|<-----------|                 |                 |                              
  |   ACK F19   |                 |                 |                           
     |----------->|  ACK F20    |                 |                             
   |                 |----------> |   ACK F21    |                              
  |                 |                 |------------>|                           
     |           RTP Media Path                        |                        
        |<====================================>| Regards,
 
Amar




See how Windows® connects the people, information, and fun that are part of 
your life Click here
_________________________________________________________________
See how Windows® connects the people, information, and fun that are part of 
your life
http://clk.atdmt.com/MRT/go/119463819/direct/01/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to