< Previous by Date Date Index Next by Date >
  Thread Index  

[repro-users] Can't find matching transport on the same subnet


Hello

Could You please take a look at the problem below?
When I have an incoming call from CALLER_ID on the PRIVATE_TRUNK interface, it is not routed to the desired endpoint LOCAL_PRIVNET_ASTERISK interface which is in the same private subnet as the two LOCAL_PRIVNET_PROXY interfaces. The router could choose transportKey=2 to forward incoming call request.
The whole thing is on the same physical server, having a local dnsmasq service dealing with local hostnames.

Transports:
 [ PRIVATE_TRUNK:5060 UDP flowKey=8 transportKey=1 ]
 [ LOCAL_PRIVNET_PROXY:5062 UDP flowKey=11 transportKey=2 ]
 [ LOCAL_PRIVNET_PROXY:5070 UDP flowKey=14 transportKey=3 ]


Route:
^sip:\+NUMBER_CALLED@PRIVATE_TRUNK:5060    INVITE        sip:NUMBER_CALLED@LOCAL_PRIVIP_ASTERISK:5452    2

P | 140452403578624 | RouteStore.cxx:298 | Consider route  reqUri=sip:NUMBER_CALLED@PRIVATE_TRUNK:5060;user=phone method=INVITE event=
P | 140452403578624 | RouteStore.cxx:344 |   Route matched
 | 140452403578624 | monkeys/StaticRoute.cxx:100 | Adding target sip:NUMBER_CALLED@LOCAL_PRIVIP_ASTERISK:5452
 | 140452403578624 | ResponseContext.cxx:64 | Adding candidate <sip:NUMBER_CALLED@LOCAL_PRIVIP_ASTERISK:5452>
P | 140452403578624 | ProcessorChain.cxx:113 | RequestProcessor skipping current chain: StaticRoute
 | 140452403578624 | RequestContext.cxx:445 | numtrans=1 final=0 req=SipReq:  INVITE NUMBER_CALLED@PRIVATE_TRUNK:5060 tid=ec1ki6su8p2pnp9i2at4rmged1 cseq=1 INVITE contact=CALLER_ID@REMOTE_TRUNK:5060 / 1 from(wire) there are 1 candida
P | 140452403578624 | ProcessorChain.cxx:95 | Chain invoking TargetProcessor: QValueTargetHandler
P | 140452403578624 | monkeys/QValueTargetHandler.cxx:106 | No ForkControlMessage for me.
P | 140452403578624 | ProcessorChain.cxx:95 | Chain invoking TargetProcessor: SimpleTargetHandler
P | 140452403578624 | Proxy.cxx:595 | Proxy::isMyUri sip:NUMBER_CALLED@LOCAL_PRIVIP_ASTERISK:5452 0
 | 140452403578624 | ResponseContext.cxx:673 | Added Record-Route: <sip:CAAAAAEAAAAAA8QTTZoDBGI3NmQzN2M0ZGQ3NjgyNTg1MzdlYmViZDM0MGZiYmZh@PRIVATE_TRUNK:5060;transport=udp;lr>
P | 140452403578624 | ResponseContext.cxx:563 | Set tuple dest: [ V4 0.0.0.0:0 UNKNOWN_TRANSPORT ]
 | 140452403578624 | RequestContext.cxx:890 | Updating timer C.
 | 140452403578624 | Proxy.cxx:554 | Posting timer C
ANSACTION | 140452403578624 | TimerQueue.cxx:124 | Adding application timer: TimerCMessage(tid=ec1ki6su8p2pnp9i2at4rmged1) ms=180000
 | 140452403578624 | Proxy.cxx:540 | add client transaction tid=6eff2a0121565032 0x7fbd94000990
P | 140452403578624 | Proxy.cxx:595 | Proxy::isMyUri sip:NUMBER_CALLED@LOCAL_PRIVIP_ASTERISK:5452 0
140452403578624 | SipStack.cxx:822 | SEND: SipReq:  INVITE NUMBER_CALLED@LOCAL_PRIVIP_ASTERISK:5452 tid=6eff2a0121565032 cseq=1 INVITE contact=CALLER_ID@REMOTE_TRUNK:5060 / 1 from(wire)
 | 140452403578624 | ResponseContext.cxx:234 | Creating new client transaction 6eff2a0121565032 -> sip:NUMBER_CALLED@LOCAL_PRIVIP_ASTERISK:5452
ANSACTION | 140452445538048 | TimerQueue.cxx:50 | Adding timer: Timer B tid=6eff2a0121565032 ms=32000
P | 140452403578624 | ProcessorChain.cxx:101 | TargetProcessor aborted all chains: SimpleTargetHandler
ANSPORT | 140452445538048 | TransportSelector.cxx:556 | Looking up dns entries for sip:NUMBER_CALLED@LOCAL_PRIVIP_ASTERISK:5452
S | 140452445538048 | DnsResult.cxx:261 | DnsResult::lookup sip:NUMBER_CALLED@LOCAL_PRIVIP_ASTERISK:5452
S | 140452456027904 | DnsResult.cxx:501 | Numeric result so return immediately: [ V4 LOCAL_PRIVIP_ASTERISK:5452 UDP targetDomain=LOCAL_PRIVNET_ASTERISK ]
ANSACTION | 140452445538048 | TimerQueue.cxx:50 | Adding timer: Timer A tid=6eff2a0121565032 ms=500
ANSPORT | 140452445538048 | InternalTransport.cxx:121 | Creating fd=25 V4/UDP
ANSPORT | 140452445538048 | TransportSelector.cxx:871 | Looked up source for destination: [ V4 LOCAL_PRIVIP_ASTERISK:5452 UDP targetDomain=LOCAL_PRIVNET_ASTERISK ] -> [ V4 LOCAL_PRIVNET_ASTERISK:0 UDP targetDomain=LOCAL_PRIVNET_ASTERISK ] sent-by= sent-port=0
ANSPORT | 140452445538048 | TransportSelector.cxx:1481 | findTransportBySource([ V4 LOCAL_PRIVNET_ASTERISK:0 UDP targetDomain=LOCAL_PRIVNET_ASTERISK ])
ANSPORT | 140452445538048 | TransportSelector.cxx:1495 | should port be ignored: 1
ANSPORT | 140452445538048 | TransportSelector.cxx:1564 | Exact interface / Specific port: [[ V4 LOCAL_PRIVNET_PROXY:5062 UDP transportKey=2 ] -> 0x19e0d40, [ V4 LOCAL_PRIVNET_PROXY:5070 UDP transportKey=3 ] -> 0x19e1cf0, [ V4 PRIVATE_TRUNK:5
ANSPORT | 140452445538048 | TransportSelector.cxx:1565 | Any interface / Specific port: []
ANSPORT | 140452445538048 | TransportSelector.cxx:1566 | Exact interface / Any port: [[ V4 LOCAL_PRIVNET_PROXY:5062 UDP transportKey=2 ] -> 0x19e1cf0, [ V4 PRIVATE_TRUNK:5060 UDP transportKey=1 ] -> 0x19dc1e0]
ANSPORT | 140452445538048 | TransportSelector.cxx:1567 | Any interface / Any port: []
TRANSPORT | 140452445538048 | TransportSelector.cxx:1569 | Can't find matching transport [ V4 LOCAL_PRIVNET_ASTERISK:0 UDP targetDomain=LOCAL_PRIVNET_ASTERISK ]
ANSPORT | 140452445538048 | TransportSelector.cxx:979 | Found transport: [ V4 LOCAL_PRIVNET_ASTERISK:0 UDP targetDomain=LOCAL_PRIVNET_ASTERISK ]
NSPORT | 140452445538048 | TransportSelector.cxx:1300 | tid=6eff2a0121565032 failed to find a transport to [ V4 LOCAL_PRIVIP_ASTERISK:5452 UDP targetDomain=LOCAL_PRIVNET_ASTERISK ]
NSACTION | 140452445538048 | TransactionState.cxx:2328 | Try sending request to a different dns result
S | 140452456027904 | DnsResult.cxx:187 | Remove vip LOCAL_PRIVNET_ASTERISK(1)
NSACTION | 140452445538048 | TransactionState.cxx:2350 | No DNS results remain.
140452445538048 | Helper.cxx:374 | Helper::makeResponse(SipReq:  INVITE NUMBER_CALLED@LOCAL_PRIVIP_ASTERISK:5452 tid=6eff2a0121565032 cseq=1 INVITE contact=CALLER_ID@REMOTE_TRUNK:5060 / 1 from(tu) code=503 reason=
NSACTION | 140452445538048 | TransactionState.cxx:2153 | Ran out of dns entries for LOCAL_PRIVNET_ASTERISK. Send 503


Regards,
Istvan Mogyorosi