Multiple DID's on Vitalpbx

VitalPBX Community Support General Discussion Multiple DID's on Vitalpbx

  • Post
    voiprehberi
    Participant

    Hi,

    I setting up the us and uk dids on vitalpbx but when i try to call the did its busy.

     

    0
Viewing 15 replies - 1 through 15 (of 16 total)
  • Replies
    voiprehberi
    Participant
    Up
    0
    Down

    Here is my us inbound 

    0
    voiprehberi
    Participant
    Up
    0
    Down

    Now she says “no route exist to destination.” I changed insecure to “port,invite”  and i also getting one way audio i looked at the https://vitalpbx.org/en/how-to-install-vitalpbx-on-google-cloud/

     

    please help.

    0
    Up
    0
    Down

    Please, share a call log of an incoming call from Asterisk CLI to analyze it

    0
    voiprehberi
    Participant
    Up
    0
    Down

    Asterisk CLI logs on the attachment. Thank you.

    0
    Up
    0
    Down

    This is the number you have configured in your Inbound Route:  6466613192, but this the number sent to the PBX: +011972592277524

    That’s why, the PBX says the the route doesn’t exists, because you don’t have configured the right DID.

    0
    voiprehberi
    Participant
    Up
    0
    Down

    Thank you for your fast reply.

    My usa did is +16466613192 bought from Zadarma.com am i contact with Zadarma ?

    0
    Up
    0
    Down

    Yes, you must to contact to your VoIP provider, and ask why the received DID is: +011972592277524

    0
    voiprehberi
    Participant
    Up
    0
    Down

    Ok thank you so much !

    0
    voiprehberi
    Participant
    Up
    0
    Down

    ITSP said “Problem is your own end” when i try to call the uk number it gets to busy tone.

     

    Can you help me ?

    0
    Up
    0
    Down

    The only thing you have to do is change the current did configured in your inbound route with this: +011972592277524

    0
    voiprehberi
    Participant
    Up
    0
    Down

    This is a hack number. 🙁

    0
    Up
    0
    Down

    Hack number? what that’s mean?

    0
    voiprehberi
    Participant
    Up
    0
    Down
    Posted by: mrivera

    Hack number? what that’s mean?

    Can you google it the number please ?

    0
    TrustedbyU
    Participant
    Up
    0
    Down

    Not sure if you have sorted this, but i had a similar problem in the past with a UK SIP provider.

    It turned out that they were sending the number strangely in the headers. It didn’t matter what number was being dialled, it was reporting my customer ID / Trunk ID as the DID in the invite. However it was sending the information in the SIP headers. I had to hack together a little script that pulled the number from the header for the route to use. You will be able to tell if that’s the case by creating a default catchall route and see if it works. (any DID / CID)..

    in file /etc/asterisk/ombutel/extensions__custom.conf

    [default-trunk]
    exten => s,1,Noop(Fixing DID using information from SIP TO header)
    exten => s,n,Set(pseudodid=${SIP_HEADER(To)})
    exten => s,n,Set(pseudodid=${CUT(pseudodid,@,1)})
    exten => s,n,Set(pseudodid=${CUT(pseudodid,:,2)})
    exten => s,n,Goto(default-trunk,${pseudodid},1)

    Above fixed the issue for me if that’s the case 🙂

    HTH.

    0
    oromero31
    Participant
    Up
    0
    Down

    Hello, vitalpbx already use this information in the thunk configutacion. You only have to select where to get the did. Check the image 

    0
Viewing 15 replies - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.