[OpenSIPS-Users] Opensips as proxy, config problem on INVITES

Saioa Perurena saioa.perurena at enigmedia.es
Tue May 31 12:07:18 CEST 2016


Hi,

We have only one proxy Opensips (version 1.11) that does all the work
(register's, invite's, tls conection...) on a DMZ behind a firewall.

We want to move that to a new schema, with one Opensips (version 2.1)
as a frontend that handles the tls connections (with a public ip) on
the DMZ, and another Opensips (version 1.11) at the backend (with
private ip), but we are not able to complete the invite signaling
correctly. Register, message, options worked ok, but we have problems
with the invite.
The invite request arrives to the callee, and the OK answers arrives
to the caller, but the caller does not send and ACK to this OK, so the
callee keeps sending OK until it send a BYE because of timeout.

Any idea of where is the problem or what am i doing wrong?? Any advice
will be appreciated!!

I attach the sip_trace log and the Opensips script of the frontend server:

Caller: sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu
Callee: d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu
Opensips frontend ip: internal -> 192.168.3.35, external -> 192.168.1.18
Opensips backend ip: internal -> 192.168.2.6





-------------- next part --------------
    from_ip     | from_port |     to_ip      | to_port | direction |                                                                                                        content                                                                                                        
----------------+-----------+----------------+---------+-----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 192.168.10.109 |     41302 | 192.168.3.35   |    5061 | in        | INVITE sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu SIP/2.0\r 
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;branch=z9hG4bK.5v5fmStat;rport\r 
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu\r            
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | Max-Forwards: 69\r                                           
                |           |                |         |           | Route: <sip:bell.enigmedia.eu;lr>\r                          
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | CALLEE-KEY: 123456789123456789\r 
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 538\r                                        
                |           |                |         |           | LocalDateTime: 2016-05-31T11:14:47 +0200\r                   
                |           |                |         |           | InstallId: 0oitm5of4m\r                                      
                |           |                |         |           | Contact: <sip:u1iupzg6we at 192.168.10.109:41302;transport=tls>;+sip.instance="<urn:uuid:bb5e9dbd-5826-41ec-95ef-0c5140b94d81>"\r
                |           |                |         |           | User-Agent: 0oitm5of4m/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=u1iupzg6we 944 1255 IN IP4 192.168.200.238\r               
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.200.238\r                                   
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 7078 RTP/SAVP 96 101\r                               
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMlwMw+8g==\r     
                |           |                |         |           | a=crypto:2 AES_CM_128_HMAC_SHA1_80 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMl\r       
                |           |                |         |           | a=crypto:3 AES_CM_128_HMAC_SHA1_32 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMl\r       
                |           |                |         |           | 
 192.168.3.35   |      5061 | 192.168.10.109 |   41302 | out       | SIP/2.0 100 Trying...\r                                      
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu\r            
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | Server: FreePBX 2.11.0\r                                     
                |           |                |         |           | Content-Length: 0\r                                          
                |           |                |         |           | \r                                                           
                |           |                |         |           | 
 192.168.3.35   |      5060 | 192.168.2.6    |    5060 | out       | INVITE sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu SIP/2.0\r 
                |           |                |         |           | Record-Route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-Route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;branch=z9hG4bKf015.2db24f23.0;i=4\r                
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu\r            
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | Max-Forwards: 69\r                                           
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | CALLEE-KEY: 123456789123456789\r 
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 538\r                                        
                |           |                |         |           | LocalDateTime: 2016-05-31T11:14:47 +0200\r                   
                |           |                |         |           | InstallId: 0oitm5of4m\r                                      
                |           |                |         |           | Contact: <sip:u1iupzg6we at 192.168.10.109:41302;transport=tls>;+sip.instance="<urn:uuid:bb5e9dbd-5826-41ec-95ef-0c5140b94d81>"\r
                |           |                |         |           | User-Agent: 0oitm5of4m/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=u1iupzg6we 944 1255 IN IP4 192.168.200.238\r               
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.200.238\r                                   
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 7078 RTP/SAVP 96 101\r                               
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMlwMw+8g==\r     
                |           |                |         |           | a=crypto:2 AES_CM_128_HMAC_SHA1_80 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMl\r       
                |           |                |         |           | a=crypto:3 AES_CM_128_HMAC_SHA1_32 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMl\r       
                |           |                |         |           | 
 192.168.2.6    |      5060 | 192.168.3.35   |    5060 | in        | SIP/2.0 100 Giving a try\r                                   
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu\r            
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | Server: OpenSIPS (1.11.6-tls (x86_64/linux))\r               
                |           |                |         |           | Content-Length: 0\r                                          
                |           |                |         |           | \r                                                           
                |           |                |         |           | 
 192.168.2.6    |      5060 | 192.168.3.35   |    5060 | in        | INVITE sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls SIP/2.0\r      
                |           |                |         |           | Record-Route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-Route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-Route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bKf015.235df8c3.0\r       
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu\r            
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | Max-Forwards: 67\r                                           
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | CALLEE-KEY: 123456789123456789\r 
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 537\r                                        
                |           |                |         |           | LocalDateTime: 2016-05-31T11:14:47 +0200\r                   
                |           |                |         |           | InstallId: 0oitm5of4m\r                                      
                |           |                |         |           | Contact: <sip:u1iupzg6we at 192.168.10.109:41302;transport=tls>;+sip.instance="<urn:uuid:bb5e9dbd-5826-41ec-95ef-0c5140b94d81>"\r
                |           |                |         |           | User-Agent: 0oitm5of4m/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=u1iupzg6we 944 1255 IN IP4 192.168.200.238\r               
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.1.149\r                                     
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 50442 RTP/SAVP 96 101\r                              
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMlwMw+8g==\r     
                |           |                |         |           | a=crypto:2 AES_CM_128_HMAC_SHA1_80 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMl\r       
                |           |                |         |           | a=crypto:3 AES_CM_128_HMAC_SHA1_32 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMl\r       
                |           |                |         |           | 
 192.168.3.35   |      5060 | 192.168.2.6    |    5060 | out       | SIP/2.0 100 Trying...\r                                      
                |           |                |         |           | Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bKf015.235df8c3.0\r       
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu\r            
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | Server: FreePBX 2.11.0\r                                     
                |           |                |         |           | Content-Length: 0\r                                          
                |           |                |         |           | \r                                                           
                |           |                |         |           | 
 192.168.3.35   |      5061 | 192.168.10.109 |   44213 | out       | INVITE sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls SIP/2.0\r      
                |           |                |         |           | Record-Route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-Route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-Route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-Route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-Route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | Via: SIP/2.0/TLS bell.enigmedia.eu:5061;branch=z9hG4bKf015.3db24f23.0\r 
                |           |                |         |           | Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bKf015.235df8c3.0\r       
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu\r            
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | Max-Forwards: 67\r                                           
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | CALLEE-KEY: 123456789123456789\r 
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 537\r                                        
                |           |                |         |           | LocalDateTime: 2016-05-31T11:14:47 +0200\r                   
                |           |                |         |           | InstallId: 0oitm5of4m\r                                      
                |           |                |         |           | Contact: <sip:u1iupzg6we at 192.168.10.109:41302;transport=tls>;+sip.instance="<urn:uuid:bb5e9dbd-5826-41ec-95ef-0c5140b94d81>"\r
                |           |                |         |           | User-Agent: 0oitm5of4m/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=u1iupzg6we 944 1255 IN IP4 192.168.200.238\r               
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.1.149\r                                     
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 50442 RTP/SAVP 96 101\r                              
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMlwMw+8g==\r     
                |           |                |         |           | a=crypto:2 AES_CM_128_HMAC_SHA1_80 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMl\r       
                |           |                |         |           | a=crypto:3 AES_CM_128_HMAC_SHA1_32 inline:RpseG8MnddlQzh4BN0L8gyOWOuc6T5NsKdgkjXMl\r       
                |           |                |         |           | 
 192.168.10.109 |     44213 | 192.168.3.35   |    5061 | in        | SIP/2.0 100 Trying\r                                         
                |           |                |         |           | Via: SIP/2.0/TLS bell.enigmedia.eu:5061;received=192.168.1.18;branch=z9hG4bKf015.3db24f23.0\r              
                |           |                |         |           | Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bKf015.235df8c3.0\r       
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu\r            
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | Content-Length: 0\r                                          
                |           |                |         |           | \r                                                           
                |           |                |         |           | 
 192.168.10.109 |     44213 | 192.168.3.35   |    5061 | in        | SIP/2.0 180 Ringing\r                                        
                |           |                |         |           | Via: SIP/2.0/TLS bell.enigmedia.eu:5061;received=192.168.1.18;branch=z9hG4bKf015.3db24f23.0\r              
                |           |                |         |           | Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bKf015.235df8c3.0\r       
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | Content-Length: 0\r                                          
                |           |                |         |           | \r                                                           
                |           |                |         |           | 
 192.168.3.35   |      5061 | 192.168.2.6    |    5060 | out       | SIP/2.0 180 Ringing\r                                        
                |           |                |         |           | Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bKf015.235df8c3.0\r       
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | Content-Length: 0\r                                          
                |           |                |         |           | \r                                                           
                |           |                |         |           | 
 192.168.2.6    |      5060 | 192.168.3.35   |    5060 | in        | SIP/2.0 180 Ringing\r                                        
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | Content-Length: 0\r                                          
                |           |                |         |           | \r                                                           
                |           |                |         |           | 
 192.168.3.35   |      5060 | 192.168.10.109 |   41302 | out       | SIP/2.0 180 Ringing\r                                        
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | Content-Length: 0\r                                          
                |           |                |         |           | \r                                                           
                |           |                |         |           | 
 192.168.10.109 |     44213 | 192.168.3.35   |    5061 | in        | SIP/2.0 200 Ok\r                                             
                |           |                |         |           | Via: SIP/2.0/TLS bell.enigmedia.eu:5061;received=192.168.1.18;branch=z9hG4bKf015.3db24f23.0\r              
                |           |                |         |           | Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bKf015.235df8c3.0\r       
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | Contact: <sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls>;+sip.instance="<urn:uuid:600ff540-193d-42eb-92ac-4e92d6069357>"\r
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 371\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=d27p6ui7q7 1455 2262 IN IP4 192.168.200.112\r              
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.200.112\r                                   
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 7078 RTP/SAVP 96 101\r                               
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:qpZXjelP62e8mN2gIS0bKr456mZr4qNqK3zQS3TbbWX71w==\r     
                |           |                |         |           | 
 192.168.3.35   |      5061 | 192.168.2.6    |    5060 | out       | SIP/2.0 200 Ok\r                                             
                |           |                |         |           | Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bKf015.235df8c3.0\r       
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | Contact: <sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls>;+sip.instance="<urn:uuid:600ff540-193d-42eb-92ac-4e92d6069357>"\r
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 371\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=d27p6ui7q7 1455 2262 IN IP4 192.168.200.112\r              
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.200.112\r                                   
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 7078 RTP/SAVP 96 101\r                               
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:qpZXjelP62e8mN2gIS0bKr456mZr4qNqK3zQS3TbbWX71w==\r     
                |           |                |         |           | 
 192.168.2.6    |      5060 | 192.168.3.35   |    5060 | in        | SIP/2.0 200 Ok\r                                             
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | Contact: <sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls>;+sip.instance="<urn:uuid:600ff540-193d-42eb-92ac-4e92d6069357>"\r
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 370\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=d27p6ui7q7 1455 2262 IN IP4 192.168.200.112\r              
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.1.149\r                                     
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 50440 RTP/SAVP 96 101\r                              
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:qpZXjelP62e8mN2gIS0bKr456mZr4qNqK3zQS3TbbWX71w==\r     
                |           |                |         |           | 
 192.168.3.35   |      5060 | 192.168.10.109 |   41302 | out       | SIP/2.0 200 Ok\r                                             
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | Contact: <sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls>;+sip.instance="<urn:uuid:600ff540-193d-42eb-92ac-4e92d6069357>"\r
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 370\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=d27p6ui7q7 1455 2262 IN IP4 192.168.200.112\r              
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.1.149\r                                     
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 50440 RTP/SAVP 96 101\r                              
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:qpZXjelP62e8mN2gIS0bKr456mZr4qNqK3zQS3TbbWX71w==\r     
                |           |                |         |           | 
 192.168.10.109 |     44213 | 192.168.3.35   |    5061 | in        | SIP/2.0 200 Ok\r                                             
                |           |                |         |           | Via: SIP/2.0/TLS bell.enigmedia.eu:5061;received=192.168.1.18;branch=z9hG4bKf015.3db24f23.0\r              
                |           |                |         |           | Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bKf015.235df8c3.0\r       
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | Contact: <sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls>;+sip.instance="<urn:uuid:600ff540-193d-42eb-92ac-4e92d6069357>"\r
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 371\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=d27p6ui7q7 1455 2262 IN IP4 192.168.200.112\r              
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.200.112\r                                   
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 7078 RTP/SAVP 96 101\r                               
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:qpZXjelP62e8mN2gIS0bKr456mZr4qNqK3zQS3TbbWX71w==\r     
                |           |                |         |           | 
 192.168.2.6    |      5060 | 192.168.3.35   |    5060 | in        | SIP/2.0 200 Ok\r                                             
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | Contact: <sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls>;+sip.instance="<urn:uuid:600ff540-193d-42eb-92ac-4e92d6069357>"\r
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 370\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=d27p6ui7q7 1455 2262 IN IP4 192.168.200.112\r              
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.1.149\r                                     
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 50440 RTP/SAVP 96 101\r                              
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:qpZXjelP62e8mN2gIS0bKr456mZr4qNqK3zQS3TbbWX71w==\r     
                |           |                |         |           | 
 192.168.10.109 |     44213 | 192.168.3.35   |    5061 | in        | SIP/2.0 200 Ok\r                                             
                |           |                |         |           | Via: SIP/2.0/TLS bell.enigmedia.eu:5061;received=192.168.1.18;branch=z9hG4bKf015.3db24f23.0\r              
                |           |                |         |           | Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bKf015.235df8c3.0\r       
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | Contact: <sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls>;+sip.instance="<urn:uuid:600ff540-193d-42eb-92ac-4e92d6069357>"\r
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 371\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=d27p6ui7q7 1455 2262 IN IP4 192.168.200.112\r              
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.200.112\r                                   
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 7078 RTP/SAVP 96 101\r                               
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:qpZXjelP62e8mN2gIS0bKr456mZr4qNqK3zQS3TbbWX71w==\r     
                |           |                |         |           | 
 192.168.2.6    |      5060 | 192.168.3.35   |    5060 | in        | SIP/2.0 200 Ok\r                                             
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | Contact: <sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls>;+sip.instance="<urn:uuid:600ff540-193d-42eb-92ac-4e92d6069357>"\r
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 370\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=d27p6ui7q7 1455 2262 IN IP4 192.168.200.112\r              
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.1.149\r                                     
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 50440 RTP/SAVP 96 101\r                              
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:qpZXjelP62e8mN2gIS0bKr456mZr4qNqK3zQS3TbbWX71w==\r     
                |           |                |         |           | 
 192.168.10.109 |     44213 | 192.168.3.35   |    5061 | in        | SIP/2.0 200 Ok\r                                             
                |           |                |         |           | Via: SIP/2.0/TLS bell.enigmedia.eu:5061;received=192.168.1.18;branch=z9hG4bKf015.3db24f23.0\r              
                |           |                |         |           | Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bKf015.235df8c3.0\r       
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | Contact: <sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls>;+sip.instance="<urn:uuid:600ff540-193d-42eb-92ac-4e92d6069357>"\r
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 371\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=d27p6ui7q7 1455 2262 IN IP4 192.168.200.112\r              
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.200.112\r                                   
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 7078 RTP/SAVP 96 101\r                               
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:qpZXjelP62e8mN2gIS0bKr456mZr4qNqK3zQS3TbbWX71w==\r     
                |           |                |         |           | 
 192.168.2.6    |      5060 | 192.168.3.35   |    5060 | in        | SIP/2.0 200 Ok\r                                             
                |           |                |         |           | Via: SIP/2.0/UDP bell.enigmedia.eu:5060;received=192.168.3.35;branch=z9hG4bKf015.2db24f23.0;i=4\r          
                |           |                |         |           | Via: SIP/2.0/TLS 192.168.200.238:41302;received=192.168.10.109;branch=z9hG4bK.5v5fmStat;rport=41302\r      
                |           |                |         |           | From: <sip:u1iupzg6we at jipubnx2ef.bell.enigmedia.eu>;tag=~DvmtD4uF\r     
                |           |                |         |           | To: <sip:d27p6ui7q7 at jipubnx2ef.bell.enigmedia.eu>;tag=19Zw5eo\r         
                |           |                |         |           | Call-ID: At8pM4Jbgs\r                                        
                |           |                |         |           | CSeq: 20 INVITE\r                                            
                |           |                |         |           | User-Agent: f1tz7argp1/EnigmediaAppAnd/2.3.1/bell-sip/1.4.2/3.9.1.E1.0.11\r                
                |           |                |         |           | Supported: outbound\r                                        
                |           |                |         |           | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r
                |           |                |         |           | Contact: <sip:d27p6ui7q7 at 192.168.10.109:44213;transport=tls>;+sip.instance="<urn:uuid:600ff540-193d-42eb-92ac-4e92d6069357>"\r
                |           |                |         |           | Content-Type: application/sdp\r                              
                |           |                |         |           | Content-Length: 370\r                                        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu:5061;transport=tls;r2=on;lr>\r     
                |           |                |         |           | Record-route: <sip:192.168.3.35;r2=on;lr>\r                  
                |           |                |         |           | Record-route: <sip:192.168.2.6;lr;did=09c.37cd02c6>\r        
                |           |                |         |           | Record-route: <sip:bell.enigmedia.eu;r2=on;lr>\r             
                |           |                |         |           | Record-route: <sip:192.168.3.35:5061;transport=tls;r2=on;lr>\r          
                |           |                |         |           | \r                                                           
                |           |                |         |           | v=0\r                                                        
                |           |                |         |           | o=d27p6ui7q7 1455 2262 IN IP4 192.168.200.112\r              
                |           |                |         |           | s=Talk\r                                                     
                |           |                |         |           | c=IN IP4 192.168.1.149\r                                     
                |           |                |         |           | t=0 0\r                                                      
                |           |                |         |           | a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r                 
                |           |                |         |           | m=audio 50440 RTP/SAVP 96 101\r                              
                |           |                |         |           | a=rtpmap:96 opus/48000/2\r                                   
                |           |                |         |           | a=fmtp:96 useinbandfec=1\r                                   
                |           |                |         |           | a=rtpmap:101 telephone-event/48000\r                         
                |           |                |         |           | a=crypto:1 KVC3_HMAC_SHA1_80 inline:qpZXjelP62e8mN2gIS0bKr456mZr4qNqK3zQS3TbbWX71w==\r     
                |           |                |         |           | 
 
-------------- next part --------------
# opensips.cfg

####### Global Parameters #########

debug=4
log_stderror=no
log_facility=LOG_LOCAL0
log_name="opensips"

tcp_connect_timeout=2000
tcp_connection_lifetime=1200

fork=yes
children=4

advertised_address="bell.enigmedia.eu"
server_header="Server: FreePBX 2.11.0"

/* uncomment the next line to enable the auto temporary blacklisting of 
   not available destinations (default disabled) */
#disable_dns_blacklist=no

/* comment the next line to enable the auto discovery of local aliases
   based on revers DNS on IPs */
auto_aliases=no
# El alias nos permite asociar un domain a la ip del servidor. Al añadir advertised_address
# en las cabeceras definir un alias es la forma de decirle a OpenSIPS que debe responder a 
# ese valor de advertised_address
alias="bell.enigmedia.eu"

listen=udp:eth0:5060
listen=tls:eth0:5061

####### Modules Section ########

#set module path
mpath="/usr/lib/opensips/modules/"

### Protocolo udp
loadmodule "proto_udp.so"

## Config tls module ##
loadmodule "proto_tls.so"
modparam("proto_tls", "verify_cert", "1") 
modparam("proto_tls", "require_cert", "1")
modparam("proto_tls", "tls_method", "TLSv1")
modparam("proto_tls", "certificate", "/etc/opensips/tls/opensips.bell.enigmedia.eu.crt")           
modparam("proto_tls", "private_key", "/etc/opensips/tls/opensips.bell.enigmedia.eu.key")    
modparam("proto_tls", "ca_list", "/etc/opensips/tls/ca.pem")                
modparam("proto_tls", "tls_max_msg_chunks", 8)

#### Postgres module
loadmodule "db_postgres.so"

#### SIGNALING module
loadmodule "signaling.so"

#### Text operations
loadmodule "textops.so"

#### StateLess module
loadmodule "sl.so"

#### Transaction Module
loadmodule "tm.so"
modparam("tm", "fr_timer", 5)
modparam("tm", "fr_inv_timer", 90)
modparam("tm", "restart_fr_on_each_reply", 0)
modparam("tm", "onreply_avp_mode", 1)

#### Record Route Module
loadmodule "rr.so"
/* do not append from tag to the RR (no need for this script) */
modparam("rr", "append_fromtag", 0)

#### MAX ForWarD module
loadmodule "maxfwd.so"

#### SIP MSG OPerationS module
loadmodule "sipmsgops.so"

#### FIFO Management Interface
loadmodule "mi_fifo.so"
modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
modparam("mi_fifo", "fifo_mode", 0666)

#### URI module
loadmodule "uri.so"
modparam("uri", "use_uri_table", 0)

#### AVPOps module
loadmodule "avpops.so"
modparam("avpops", "avp_table", "usr_preferences")
modparam("avpops", "use_domain", 1)
modparam("avpops", "db_url", "0 postgres://opensips:opensips@dbserver/opensips")

#### Regex module
loadmodule "regex.so"

#### Siptrace module
loadmodule "siptrace.so"
modparam("siptrace", "trace_on", 0)
modparam("siptrace", "enable_ack_trace", 1)
modparam("siptrace", "traced_user_avp", "$avp(trace_id)")

#### DISPATCHER module
loadmodule "dispatcher.so"
modparam("dispatcher", "db_url", "postgres://opensips:opensips@dbserver/opensips")

# Define db connection for all modules
modparam("uri|siptrace", "db_url", "postgres://opensips:opensips@dbserver/opensips")

loadmodule "path.so"
modparam("path", "use_received", 1)

#### TH module
#loadmodule "topology_hiding.so"
#modparam("topology_hiding", "force_dialog", 1)
#modparam("topology_hiding", "th_callid_prefix", "EDGE_")

####### Routing Logic ########

# main request routing logic

route{

	# log the basic info regarding this call
    xlog("L_INFO", "$ci|START|recieved $oP request $rm $ou");
    xlog("L_INFO", "$ci|LOG|source $si:$sp:$proto");
    xlog("L_INFO", "$ci|LOG|from $fu");
    xlog("L_INFO", "$ci|LOG|to $tu");

	if (!mf_process_maxfwd_header("10")) {
		sl_send_reply("483", "Too Many Hops");
		exit;
	}

	# Trace calls
	$avp(trace_id) = $fu;
	sip_trace();

	if (is_method("PUBLISH|SUBSCRIBE")) {
		xlog("L_ERR", "method unavailable");
		sl_send_reply("503", "Service Unavailable");
		exit;
	}

	if (ds_is_in_list("$si", "$sp")) {
        xlog("L_INFO", "$ci|LOG|originated from internal sources");
    } else {
        xlog("L_INFO", "$ci|LOG|originated from external sources");
		if (! is_peer_verified()) {
			xlog("L_ERR", "ERROR: No TLS connection received.");
			sl_send_reply("503", "Service Unavailable");
			exit;
		}
    }

    # catch all replies
    t_on_reply("1");

    # catch all failure replies
    t_on_failure("1");


    xlog("L_INFO","$ci|LOG|BEGIN: [$rm] ru[$ru] fu[$fu] tu[$tu] s[$proto:$si:$sp] CID[$ci][TIME:$time(%H:%M:%S).$Tsm] MSG[\n$mb\n]\n");

    if(method=="INVITE"){
        # suppress accidental resends of this INVITE
        sl_send_reply("100", "Trying...");
    }

    if (has_totag()) {
        # sequential request withing a dialog should
        # take the path determined by record-routing
        if (loose_route()) {
            #topology_hiding_match();
            if (is_method("INVITE")) {
                # even if in most of the cases is useless, do RR for
                # re-INVITEs alos, as some buggy clients do change route set
                # during the dialog.
                record_route();
            }

            # route it out to whatever destination was set by loose_route()
            # in $du (destination URI).
            route(1);
        } else {
            if ( is_method("ACK") ) {
                if ( t_check_trans() ) {
                    # non loose-route, but stateful ACK; must be an ACK after
                    # a 487 or e.g. 404 from upstream server
                    route(1);
                }
            } else {
                sl_send_reply("404","Not here");
            }
        }
        exit;
    }

    
    # CANCEL processing
    if (is_method("CANCEL")){
        if (t_check_trans())
            route(1);
    }

    t_check_trans();

    # preloaded route checking
    if (loose_route()) {
        xlog("L_ERR", "Attempt to route with preloaded Route's [$fu/$tu/$ru/$ci]");
        if (!is_method("ACK"))
            sl_send_reply("403","Preload Route denied");
        exit;
    }

 	record_route();

#	if (is_method("INVITE")) {
#		if (!topology_hiding()) {
#			send_reply("500","Internal Server Error");
#			exit;
#		}
#	}

    route(1);

}


route[1] {
    if (ds_is_in_list("$si", "$sp")) {
        if (!t_relay("0x01")) {
            xlog("L_ERR","$ci|LOG|ROUTE FROM BACKEND: FAIL [$rm] ru[$ru] fu[$fu] tu[$tu] s[$proto:$si:$sp] CID[$ci][TIME:$time(%H:%M:%S).$Tsm]\n");
            sl_reply_error();
        } else {
            xlog("L_INFO","$ci|LOG|ROUTE FROM BACKEND: [$rm] ru[$ru] fu[$fu] tu[$tu] s[$proto:$si:$sp] CID[$ci][TIME:$time(%H:%M:%S).$Tsm]\n");
        }
    } else{
        if (!ds_select_dst("1", "0")) {
            xlog("L_ERR", "$ci|LOG|NO SERVERS AVAILABLE");
            sl_send_reply("480", "The cake is a lie!");
            exit;
        }
        if (!t_relay("0x01")) {
            xlog("L_ERR","$ci|LOG|ROUTE TO BACKEND: FAIL [$rm] ru[$ru] fu[$fu] tu[$tu] s[$proto:$si:$sp] CID[$ci][TIME:$time(%H:%M:%S).$Tsm]\n");
            sl_reply_error();
        } else {
            xlog("L_INFO","$ci|LOG|ROUTE TO BACKEND: [$rm] ru[$ru] fu[$fu] tu[$tu] s[$proto:$si:$sp] CID[$ci][TIME:$time(%H:%M:%S).$Tsm]\n");
        }
    }
    exit;
}

onreply_route[1] {
    if (ds_is_in_list("$si", "$sp")) {
        xlog("L_INFO","$ci|LOG|REPLY FROM BACKEND: [$rm][$rs] $ruri $fu to $tu {si[$si:$sp]} CID[$ci][TIME:$time(%H:%M:%S).$Tsm] MSG[\n$mb]\n");
    } else {
        xlog("L_INFO","$ci|LOG|REPLY TO BACKEND: [$rm][$rs] $ruri $fu to $tu {si[$si:$sp]} CID[$ci][TIME:$time(%H:%M:%S).$Tsm] MSG[\n$mb]\n");
    }
}

failure_route[1] {
    xlog("L_ERR","$ci|LOG|FAILURE: [$rm][$rs] $ruri $fu to $tu {si[$si:$sp]} CID[$ci][TIME:$time(%H:%M:%S).$Tsm] MSG[\n$mb]\n");

    if (t_was_cancelled()) {
        exit;
    }

    # uncomment the following lines if you want to block client
    # redirect based on 3xx replies.
    ##if (t_check_status("3[0-9][0-9]")) {
    ##t_reply("404","Not found");
    ##  exit;
    ##}
}

error_route {
    xlog("L_ERR", "--- error route class=$(err.class) level=$(err.level) info=$(err.info) rcode=$(err.rcode) rreason=$(err.rreason) ---\n");
    xlog("L_ERR", "--- error from [$si:$sp]\n+++++\n$mb\n++++\n");
    sl_send_reply("$err.rcode", "$err.rreason");
    exit;
}


More information about the Users mailing list