Trunk DID Number

Hi, I am new bee in free pbx.

I am having problem to set incoming call inbound DID number trunk.

I have open port 5060UDP,10000-20000UDP at my router.

Here is my trunk setting:

PEER detail
username=29222905
type=friend
secret=XXXXXXXXXXXX
qualify=yes
insecure=invite
host=jakarta.voffice.co.id
fromuser=29222905
fromdomain=jakarta.voffice.co.id
dtmfmode=rfc2833
disallow=all
context=from-pstn
canreinvite=no
allow=ulaw,alaw

User context 29222905

username=29222905
type=peer
secret=XXXXXXXXXXXX
insecure=invite
host=jakarta.voffice.co.id
fromuser=29222905
fromdomain=jakarta.voffice.co.id
dtmfmode=info
disallow=all
context=from-psnt
authuser=29222905
allow=ulaw,alaw

Register string 29222905:[email protected]/29222905

sip.conf
nat=yes
externip=My static Public IP
localhost=192.168.1.254

sip show registry
Host dnsmgr Username Refresh State Reg.Time
jakarta.voffice.co.id:5060 N 29222905 105 Registered Sat, 09 Jun 2012 11:23:08
1 SIP registrations.

sip show peers
Name/username Host Dyn Forcerport ACL Port Status
01/01 192.168.1.253 D N A 5060 OK (6 ms)
02/02 192.168.1.252 D N A 5060 OK (7 ms)
03/03 192.168.1.253 D N A 5061 OK (6 ms)
29222905/29222905 180.242.183.220 N 5060 Unmonitored
VOfficeJakarta/29222905 180.242.183.220 N 5060 OK (130 ms)
5 sip peers [Monitored: 4 online, 0 offline Unmonitored: 1 online, 0 offline]

When i call my did number (+622129222905) I have sound reply that 29222905 is unavailable.

MY DID provider give me this setting

SIP CONFIGURATION DETAILS
Username: 29222905
Authorization Username: 29222905
Password: XXXXXXXXXXXX
SIP Host: jakarta.voffice.co.id
SIP Port: 5060

Please help me TQ

This is my version.

FreePBX
freePBX 2.8.1 7
Name Package Name Version Release
Asterisk
asterisk 1.8.7.0 0
asterisk-perl 0.10 2
asterisk-addons 1.8.7.0 0

Please advice me and help me. TQ

remove ā€œUser context 29222905ā€ you have a typo there plus it is totally unnecessary. In PEER details type should be peer not friend.

I have remove my user context and user details

Also change type=peer at peer details

Still have the same response when I call the DID number

ā€œI have sound reply that 29222905 is unavailable please leave a message after a tone.ā€

Any one please advice me

Who is providing the reply ? Do you have an inbound route for the DID ?
You need to provide logs.

Hi Johansiau,
I have exactly the same problem as you. Did you manage to solve it?
Thanks a lot!

Just to make it clear. I am also trying to set up Elastix for vOffice.co.id. I hear the same message as you used to
What is the working configuration?
Thx a lot!