Hi all

I'm using latest git version as transparent sbc for some tests. While relaying
an incoming REGISTER request, sems is sending it to the A record (.44) instead
of to the SRV record (.113) of the domain. Please find attached the log output.

DNS SRV is not disabled in sems.conf



cheers,

Jon

Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [run, udp_trsp.cpp:348] DEBUG: 
vv M [|] u recvd msg via UDP from 10.101.4.6:5060 vv.--++--.REGISTER 
sip:mydomain.com:5060 SIP/2.0..To: 555123456 
<sip:[email protected]>..From: 555123456 
<sip:[email protected]>;tag=35a4e900..Call-ID: 
14219589964185210.101.4.6..CSeq: 1 REGISTER..Via: SIP/2.0/UDP 
10.101.4.6:5060;rport;branch=z9hG4bK87177488e95bc3..Contact: 555123456 
<sip:[email protected];user=phone>;expires=3600..Content-Length: 
0..Max-Forwards: 70....--++--
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [parse_sip_uri, 
parse_uri.cpp:343] DEBUG:  Converted URI port (5060) to int (5060)
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [parse_via_params, 
parse_via.cpp:521] DEBUG:  parsed branch: z9hG4bK87177488e95bc3
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [parse_via_params, 
parse_via.cpp:544] DEBUG:  has_rport: 1
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [match_request, 
trans_table.cpp:99] DEBUG:  Matching REGISTER request
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [parse_sip_uri, 
parse_uri.cpp:343] DEBUG:  Converted URI port () to int (5060)
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:664] DEBUG:  Received new request from 
<10.101.4.6:5060/udp> on intf #0
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:668] DEBUG:  req.method = <REGISTER>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:671] DEBUG:  req.r_uri = <sip:mydomain.com:5060>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:672] DEBUG:  req.from_uri = 
<sip:[email protected];user=phone>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:673] DEBUG:  req.from = <555123456 
<sip:[email protected]>>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:674] DEBUG:  req.to = <555123456 
<sip:[email protected]>>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:675] DEBUG:  req.callid = <14219589964185210.101.4.6>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:676] DEBUG:  req.from_tag = <35a4e900>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:677] DEBUG:  req.to_tag = <>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:678] DEBUG:  cseq = <1>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:679] DEBUG:  req.route = <>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:680] DEBUG:  hdrs = <>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:681] DEBUG:  body-ct = <>
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handleSipMsg, 
AmSipDispatcher.cpp:105] DEBUG:  method: `REGISTER' [8].
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [onOoDRequest, SBC.cpp:359] 
DEBUG:  processing message REGISTER sip:mydomain.com:5060
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [getActiveProfileMatch, 
SBC.cpp:278] DEBUG:  active profile = transparent
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [getActiveProfileMatch, 
SBC.cpp:290] DEBUG:  using call profile 'transparent' (from matching 
active_profile rule 'transparent')
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [remove_empty_headers, 
SBCCallProfile.cpp:1177] DEBUG:  SBCCallProfile::remove_empty_headers ''
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [remove_empty_headers, 
SBCCallProfile.cpp:1177] DEBUG:  SBCCallProfile::remove_empty_headers ''
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [remove_empty_headers, 
SBCCallProfile.cpp:1177] DEBUG:  SBCCallProfile::remove_empty_headers ''
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [initUAC, 
RegisterDialog.cpp:360] DEBUG:  contact_hiding=0, reg_caching=0
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [initUAC, 
RegisterDialog.cpp:380] DEBUG:  parsing contacts: '555123456 
<sip:[email protected];user=phone>;expires=3600'
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [parseContacts, 
RegisterDialog.cpp:33] DEBUG:  parsing contacts: '555123456 
<sip:[email protected];user=phone>;expires=3600'
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [parseContacts, 
RegisterDialog.cpp:52] DEBUG:  successfully parsed contact 
[email protected]
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [apply_b_routing, 
SBCCallProfile.cpp:956] DEBUG:  patch_ruri_next_hop = 0
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [replaceParameters, 
ParamReplacer.cpp:774] DEBUG:  Call-ID pattern replace: '$ci' -> 
'14219589964185210.101.4.6'
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [onRxRequest, 
AmBasicSipDialog.cpp:304] DEBUG:  AmBasicSipDialog::onRxRequest(req = REGISTER)
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [setOutboundInterface, 
AmBasicSipDialog.cpp:148] DEBUG:  setting outbound interface to 0
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [run, 
AmEventQueueProcessor.cpp:119] DEBUG:  running processing loop
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [processingCycle, 
SBCSimpleRelay.cpp:180] DEBUG:  vv 
[75836395-53074E7300057137-22C15700|5F7B2D42-53074E73000570A3-22C15700] 0 
usages (active) vv
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [onTxRequest, 
RegisterDialog.cpp:575] DEBUG:  method = REGISTER; hdrs = ''
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [onTxRequest, 
RegisterDialog.cpp:587] DEBUG:  generated new contact: '"555123456" 
<sip:[email protected];user=phone>;expires=3600'
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [parse_sip_uri, 
parse_uri.cpp:343] DEBUG:  Converted URI port (5060) to int (5060)
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [set_next_hop, 
trans_layer.cpp:758] DEBUG:  setting next-hop based on request-URI
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [set_next_hop, 
trans_layer.cpp:772] DEBUG:  next_hop:next_port is <mydomain.com:5060/udp>
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [set_destination_ip, 
trans_layer.cpp:784] DEBUG:  checking whether 'mydomain.com' is IP address...
Feb 21 14:02:43 sbc sems[11438]: [#7f2622c15700] [handle_sip_request, 
SipCtrlInterface.cpp:687] DEBUG:  ^^ M [14219589964185210.101.4.6|] Ru SIP 
request REGISTER handled ^^
Feb 21 14:02:43 sbc sems[11438]: [#7f2622b14700] [_start, AmThread.cpp:65] 
DEBUG:  Thread 139801767528192 is starting.
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [get_rr, resolver.cpp:478] 
DEBUG:  A:#011TTL=4143#011mydomain.com#01111.12.13.44
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [to_sa, resolver.cpp:420] 
DEBUG:  copying ip_entry...
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [set_destination_ip, 
trans_layer.cpp:825] DEBUG:  set destination to mydomain.com:5060
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [send_request, 
trans_layer.cpp:1163] DEBUG:  send_request to R-URI <sip:mydomain.com:5060>
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [parse_sip_uri, 
parse_uri.cpp:343] DEBUG:  Converted URI port (5060) to int (5060)
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [parse_via_params, 
parse_via.cpp:521] DEBUG:  parsed branch: z9hG4bKT6j.Qa~Q
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [parse_via_params, 
parse_via.cpp:544] DEBUG:  has_rport: 1
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [send_request, 
trans_layer.cpp:1180] DEBUG:  Sending to 11.12.13.44:5060 <REGISTER 
sip:mydomain.com:5060 SIP/2.0..Via: SIP/2...>
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [send, udp_trsp.cpp:255] 
DEBUG: send  msg.--++--.REGISTER sip:mydomain.com:5060 SIP/2.0..Via: 
SIP/2.0/UDP 11.12.13.4;branch=z9hG4bKT6j.Qa~Q;rport..From: 555123456 
<sip:[email protected]>;tag=5F7B2D42-53074E73000570A3-22C15700..To: 
555123456 <sip:[email protected]>..CSeq: 1 REGISTER..Call-ID: 
75836395-53074E7300057137-22C15700..Max-Forwards: 70..Contact: "555123456" 
<sip:[email protected];user=phone>;expires=3600..Content-Length: 
0....--++--
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [send_request, 
trans_layer.cpp:1198] DEBUG:  update_uac_request tt->_t =(nil)
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [update_uac_request, 
trans_layer.cpp:1850] DEBUG:  update_uac_request(t=0x26478b0)
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [update_uac_request, 
trans_layer.cpp:1884] DEBUG:  transport = 'udp'; is_reliable = 0
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [reset_timer, 
sip_trans.cpp:243] DEBUG:  New timer of type E at time=3682 (repeated=0)
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [reset_timer, 
sip_trans.cpp:243] DEBUG:  New timer of type F at time=5257 (repeated=0)
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [send_request, 
trans_layer.cpp:1211] DEBUG:  logger = (nil)
Feb 21 14:02:43 sbc sems[11438]: [#7f262321b700] [processingCycle, 
SBCSimpleRelay.cpp:196] DEBUG:  ^^ 
[75836395-53074E7300057137-22C15700|5F7B2D42-53074E73000570A3-22C15700] 0 
usages (active) ^^
Feb 21 14:02:43 sbc sems[11438]: [#7f2623019700] [fire, sip_trans.cpp:202] 
DEBUG:  Transaction timer expired: type=E, trans=0x26478b0, eta=3682, t=3682
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to