Advertisement
Guest User

Untitled

a guest
Feb 21st, 2023
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.71 KB | None | 0 0
  1. If domain is defined and known, is is considered as local but socket and $du are emptied because of the previously mentioned warning: "WARNING:rr:after_loose: no socket found to match 2nd RR" And I get
  2.  
  3.  
  4.  
  5. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] INFORMATIONS ROUTE C2: SOURCE 52.114.75.24 METHOD ACK STATUS <null> REPLY_REASON <null> RECEIVED_ON tls:100.64.0.1 REPLY FROM tls:100.64.0.1:5061 DU sip:myFQDN.com:5061;transport=tls;ftag=534123ce5a624b30b3cb9edd5806b8b7;lr;r2=on - myFQDN.com
  6. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:core:grep_sock_info_ext: checking if host==us: 39==12 && [myFQDN.com] == [100.64.0.1]
  7. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:core:grep_sock_info_ext: checking if host==us: 39==12 && [myFQDN.com] == [100.64.0.1]
  8. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:core:grep_sock_info_ext: checking if host==us: 39==12 && [myFQDN.com] == [100.64.0.1]
  9. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:db_mysql:mysql_raise_event: MySQL status has not changed: connected
  10. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:core:db_new_result: allocate 48 bytes for result set at 0x7f5d2f755bf8
  11. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:db_mysql:db_mysql_get_columns: 2 columns returned from the query
  12. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:core:db_allocate_columns: allocate 56 bytes for result columns at 0x7f5d2f755b90
  13. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7f5d2f755ba0)[0]=[domain]
  14. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
  15. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7f5d2f755bb0)[1]=[attrs]
  16. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
  17. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:db_mysql:db_mysql_convert_rows: no rows returned from the query
  18. Feb 21 17:27:49 opensips[48264]: Feb 21 17:27:49 [48264] DBG:domain:is_domain_local_pvar: Realm 'myFQDN.com' is not local
  19.  
  20.  
  21. If domain is not defined, is is not considered as local and socket and $du are left as is and so, not treated as it should.
  22.  
  23. Some logs:
  24.  
  25. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:grep_sock_info_ext: checking if host==us: 39==12 && [myFQDN.com] == [100.64.0.1]
  26. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:grep_sock_info_ext: checking if port 5061 matches port 5061
  27. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:db_mysql:mysql_raise_event: MySQL status has not changed: connected
  28. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:db_new_result: allocate 48 bytes for result set at 0x7f5d2f756fc0
  29. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:db_mysql:db_mysql_get_columns: 2 columns returned from the query
  30. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:db_allocate_columns: allocate 56 bytes for result columns at 0x7f5d2f63b2d0
  31. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7f5d2f63b2e0)[0]=[domain]
  32. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
  33. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7f5d2f63b2f0)[1]=[attrs]
  34. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
  35. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:db_allocate_rows: allocate 80 bytes for result rows and values at 0x7f5d2f755bd8
  36. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:db_mysql:db_mysql_str2val: converting STRING [myFQDN.com]
  37. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:domain:is_domain_local_pvar: Realm 'myFQDN.com' is local
  38. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:db_free_columns: freeing result columns at 0x7f5d2f63b2d0
  39. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:db_free_rows: freeing 1 rows
  40. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:db_free_row: freeing row values at 0x7f5d2f755be8
  41. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:db_free_rows: freeing rows at 0x7f5d2f755bd8
  42. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:db_free_result: freeing result set at 0x7f5d2f756fc0
  43. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:rr:after_loose: Topmost route URI: 'sip:myFQDN.com:5061;transport=tls;ftag=74d8dae23c3345deb401280941de049c;lr;r2=on' is me
  44. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:grep_sock_info_ext: checking if host==us: 12==12 && [100.64.0.1] == [100.64.0.1]
  45. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:grep_sock_info_ext: checking if port 5060 matches port 5060
  46. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:parse_headers: flags=200
  47. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:get_hdr_field: found end of header
  48. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:rr:find_next_route: No next Route HF found
  49. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:rr:after_loose: no next URI found
  50. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:rr:run_rr_callbacks: callback id 1 entered with <ftag=74d8dae23c3345deb401280941de049c;lr;r2=on;did=f9.9a85a2d7>
  51. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:dialog:dlg_onroute: Route param 'did' not found
  52. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:parse_headers: flags=58
  53. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:dialog:get_dlg: input ci=<bafd60f3ff3659bbb0eedcb861260c62>(32), tt=<74d8dae23c3345deb401280941de049c>(32), ft=<as0d0839b5>(10)
  54. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:dialog:get_dlg: dialog callid='bafd60f3ff3659bbb0eedcb861260c62' found
  55. Feb 21 17:31:32 opensips[48264]: on entry 159, dir=1
  56. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:dialog:next_state_dlg: dialog 0x7f5d2bb2fc28 changed from state 3 to state 4, due event 6
  57. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:dialog:dlg_onroute: sequential request successfully processed (dst_leg=1)
  58. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:dialog:run_dlg_callbacks: dialog=0x7f5d2bb2fc28, type=16
  59. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:dialog:run_dlg_callbacks: dialog=0x7f5d2bb2fc28, type=16
  60. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:parse_headers: flags=40
  61. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:tracer:sip_trace: sip_trace called
  62. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:tracer:is_id_traced: trace=on dyn=off
  63. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:tracer:pipport2su: proto 22, host 52.114.75.24 , port 43776
  64. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:tracer:pipport2su: proto 22, host 100.64.0.1 , port 5061
  65. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:proto_hep:add_hep_chunk: Chunk with (id=17; vendor=0) not found! Creating!
  66. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:proto_hep:add_hep_chunk: Hep chunk with (id=17; vendor=0) successfully built!
  67. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:mk_proxy: doing DNS lookup...
  68. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:dialog:dlg_onroute: dialog_timeout: 43200
  69. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:rr:run_rr_callbacks: callback id 2 entered with <ftag=74d8dae23c3345deb401280941de049c;lr;r2=on;did=f9.9a85a2d7>
  70. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:uac:restore_uri: getting 'vsf' Route param
  71. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:uac:restore_uri: route param 'vsf' not found
  72. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:uac:restore_uri: getting 'vst' Route param
  73. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:uac:restore_uri: route param 'vst' not found
  74. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:pv_get_dsturi: no destination URI
  75. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:core:pv_get_dsturi: no destination URI
  76. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] DBG:tracer:is_id_traced: trace=on dyn=off
  77. Feb 21 17:31:32 opensips[48264]: Feb 21 17:31:32 [48264] INFORMATIONS ROUTE C2: SOURCE 52.114.75.24 METHOD ACK STATUS <null> REPLY_REASON <null> RECEIVED_ON tls:100.64.0.1 REPLY FROM udp:100.64.0.1:5060 DU <null> - <null>
  78.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement