Cannot call from IAX2 - Wrong call routing

Hello I have issues with my configuration.

  • Have 2 Servers AMERICA and EUROPE
  • AMERICA is connected to EUROPE via IAX2
  • I can call from AMERICA to EUROPE internal Extensions Ex. 301
  • I can call from EUROPE to AMERICA internal Extensions Ex. 201

AMERICA PBX

  • Have two trunks (One using a dongle to place calls, and the other IAX from EUROPE)
  • OUTBOUND route to place calls using the Dongle
  • OUTBOUND route (IntraCompany Route) allowing me to contact 30x Extensions
  • INBOUND route from ANY DID ANY CID to IVR
  • INBOUND route from EUROPE DID EUROPE CID to Dongle

EUROPE PBX

  • Have two trunks (One using a SIP (Vodafone) to place calls, and the other IAX from AMERICA)
  • Have one OUTBOUND route to place calls using the SIP Line
  • Have one OUTBOUND route (IntraCompany Route) allowing me to contact 20x Extensions

If i call from the EUROPE side to a number with AMERICA PREFIX - AMERICA PBX answer the call but redirect it to the IVR instead of placing the call using the INBOUND route.

What could be the issue i don’t have too much experience with this, i think should be something related to the CID DID in the routes,

Can anyone help me i have been trying and trying from several days.

Thanks.

The context of your IAX2 trunk connecting them needs to be from-internal - then it is allowed to continue out - you probably have it set to from-pstn.

1 Like