Multiple trunks same provider problem

I have multiple incoming trunks with the same provider.
Each trunk has a different DID and is set to a different inbound route and separate trunks are configured.
The problem I have is that every incoming call from that provider, even though from a different Trunk using a different DID seem to show up in FOP2 on the first trunk from that provider in the list.
All the calls route properly and there are no problems except that they show as an incoming call on the wrong trunk.

Does anyone know a solution to this problem?

Comments

  • Hi,

    FOP2 monitors devices/channel names. A DID is not a device/channel name. In fact, you have ONE trunk as your provider is your trunk. As far as I can tell, there is no solution unless you manage or find a way to let Asterisk name the inbound channels uniquely based on DID, but you will have to work with your provider most probably, doing it at your end will not be possible.

    Best regards,
  • Hi Nicolas,
    Just to clirify, Each trunk is setup with the provider on a completely different account with completely different login details, DID etc.
    It is not the same trunk login details just with a different DID presented from the provider for each DID.
    Is your reply still the reason?

    Thanks again for all your valuable help.
  • Hi,

    FOP2 monitor devices or channel names. It does not care about sip authentication nor any other information/configuration you might have.

    If you get a call to DID1 from that trunk, and the channel name in asterisk is:

    SIP/TRUNK

    And then you get a call to DID2 from the same trunk, and the name is

    SIP/TRUNK

    Then, for FOP2, is just ONE trunk named SIP/TRUNK


    Now, if you manage to configure your asterisk peers so an inbound call from the trunk to DID1 is named something like

    SIP/TRUNKDID1

    and a call to DID2 as

    SIP/TRUNKDID2

    then you can have distinct buttons for them.

    You must look ONLY at channel names,you can verify those names with this CLI command:

    asterisk -rx "core show channels"

    Best regards,
Sign In or Register to comment.