B410P - DID/CID problems

Discussion in 'Gateways' started by bulgarion, Nov 10, 2009.

  1. bulgarion

    Joined:
    Feb 22, 2008
    Messages:
    38
    Likes Received:
    0
    Hi,
    I managed to setup a B410P quad-BRI card from Digium with the default hardware config.
    Now whenever I try to put an incoming/outgoing rule I see that the Caller ID or the Destination ID variable has the wrong value - the number that DAHDI passes is stripped from its leading "0". That is a big problem, since our landline numbers ALWAYS start with "0" this is totally messing things up. I parsed all the config files without any clue, does anyone knows how to fix this?
    Thanks,

    Marco
     
  2. Bob

    Bob

    Joined:
    Nov 4, 2007
    Messages:
    2,400
    Likes Received:
    1
    Bulgarion,

    I can't provide you with the exact fix for your issue, as it varies from carrier to carrier, country to country...

    But the area you need to concentrate on is in the file

    /etc/asterisk/chan_dahdi.conf

    And the lines you need to look at are (or add if they are not there)

    internationalprefix =
    nationalprefix =
    localprefix =
    privateprefix =
    unknownprefix =

    I suspect this what you need to have in there....

    nationalprefix=0
    pridialplan=unknown
    prilocaldialplan=unknown
    internationalprefix=011

    But have a look via Google, there are plenty of examples from different users.

    Regards

    Bob
     
  3. bulgarion

    Joined:
    Feb 22, 2008
    Messages:
    38
    Likes Received:
    0
    Thanks Bob, it was exactly the parameter that I was looking for; I got the trunks running, but either DAHDI is definitely unstable or is not easy to configure, I had to fallback to mISDN to have a fully working configuration.
    Now everything is working and the world is a nicer place.
    Thanks!

    Marco
     

Share This Page