Have an outbound route [and this is the sole outbound route] programmed thusly:
Gamma_MSX17 is the active peer and Gamma_MSX9 is the standby. Gamma_MSX17 has ping enabled and the idea is that MSX17 will be used all the time, and MSX9 only gets used if MSX17 has failed.
What I can see in the logs is that occasionally calls are placed to MSX9 after being tried on MSX17:
Then it's tried on MSX9:
and that's the end of the call.
So my expectation here was that if I get a 404 then that would be the end of the call, but it appears in this instance that the second choice is tried even though the number is reported not to exist [the irony here (or maybe it's not an irony and I've misunderstood the meaning of a SIP 404) is that 01388528362 is actually a valid number].
Full bin of the relevant logs:
https://pastebin.freeswitch.org/view/ee47fe18
I have replaced UUID with labels for the call legs to make it readabler.
Gamma_MSX17 is the active peer and Gamma_MSX9 is the standby. Gamma_MSX17 has ping enabled and the idea is that MSX17 will be used all the time, and MSX9 only gets used if MSX17 has failed.
What I can see in the logs is that occasionally calls are placed to MSX9 after being tried on MSX17:
Code:
MSX_17-leg 2017-02-08 16:01:22.576445 [DEBUG] sofia.c:7041 Channel sofia/external Active/01388528362 entering state [terminated][404]
MSX_17-leg 2017-02-08 16:01:22.576445 [NOTICE] sofia.c:8212 Hangup sofia/external Active/01388528362 [CS_EXCHANGE_MEDIA] [UNALLOCATED_NUMBER]
MSX_17-leg 2017-02-08 16:01:22.576445 [DEBUG] switch_ivr_bridge.c:679 sofia/external Active/01388528362 ending bridge by request from read function
MSX_17-leg 2017-02-08 16:01:22.576445 [DEBUG] switch_ivr_bridge.c:752 BRIDGE THREAD DONE [sofia/external Active/01388528362]
Code:
MSX_9-leg 2017-02-08 16:01:38.476446 [DEBUG] sofia.c:7041 Channel sofia/external Standby/01388528362 entering state [terminated][404]
MSX_9-leg 2017-02-08 16:01:38.476446 [NOTICE] sofia.c:8212 Hangup sofia/external Standby/01388528362 [CS_EXCHANGE_MEDIA] [UNALLOCATED_NUMBER]
MSX_9-leg 2017-02-08 16:01:38.476446 [DEBUG] switch_ivr_bridge.c:679 sofia/external Standby/01388528362 ending bridge by request from read function
MSX_9-leg 2017-02-08 16:01:38.476446 [DEBUG] switch_ivr_bridge.c:752 BRIDGE THREAD DONE [sofia/external Standby/01388528362]
and that's the end of the call.
So my expectation here was that if I get a 404 then that would be the end of the call, but it appears in this instance that the second choice is tried even though the number is reported not to exist [the irony here (or maybe it's not an irony and I've misunderstood the meaning of a SIP 404) is that 01388528362 is actually a valid number].
Full bin of the relevant logs:
https://pastebin.freeswitch.org/view/ee47fe18
I have replaced UUID with labels for the call legs to make it readabler.
Last edited: