Sending a call from Asterisk A to Asterisk B - LAN


I have two Asterisk servers on the same LAN. Remote Users are registering to Server A. An inbound call via TDM with prefix 170 is received on Server B and then sent to Server A, the remote user on server A then get the call.

To accomplish this I added the following to extensions.conf on ServerB:

exten => _170.,1,Dial(SIP/${EXTEN});

This works but my question is, is this a good way to do this? Could that cause the calls to get disconnected etc?


Why do you think it might be wrong? On the limited information provided, I can’t think of anything unreasonable with it.