All call forward from my VOIP provider to my freepbx

Hi,

I am new in this FreePBX. And I just install elastix 2.30

My VOIP provider has forward all call that come to MY DID number to my Static Public IP.

As they said I do not need to set any trunk for incoming call.

Just need to set Inbound routes.

here is my inbound routes:
Description: DIDNum
DID Number: 19111668
Set Destination
Extentions: <100> operator

I also put Allow Anonymous Inbound SIP calls yes

This is my sip_nat.conf
nat=yes
externalnip= my static public IP
localnet=192.168.1.0/255.255.255.0

The problem is when I call to my DID number, it always got fast busy tone. And extention 100 my IP phone never ring.

Do i miss some thing in here? Please help. Thank you.

Hi dicko,

Thank you for your reply.

I put this is my trunk:
username=29xxxxxx
secret=xxxxxxxxx
type=peer
qualify=yes
insecure=invite
host=jakarta.voffice.co.id
fromdomain=jakarta.voffice.co.id
disallow=all
allow=ulaw&gsm&alow
context=from-pstn
fromuser=29xxxxxx

Registration string:
29xxxxxxx:[email protected]/29xxxxxx

Inbound routes:
Did number: 29xxxxxx
Set destination: Extentions <100> Operator

First test:

  • Call my did number from my mobile
  • My ip phone extention 100 ring
  • I pick up the call but after 10 seconds can not hear any incoming voice.

Second test:

  • Call my did number from my mobile
  • My ip phone extention 100 ring
  • I pick up the call every thing work great.

After 20 minutes I try to test again

  • Call my did number from my mobile
  • My ip phone extention 100 ring
  • I pick up the call but after 10 seconds can not hear any incoming voice.

I want to ask do I miss some thing here, every first time call always after 10 seconds can not hear any sound.

Thank you,

I have a voip client program Zoiper. I try to use this and can get incoming call with out getting busy tone.

So my router nat and port forwarding should not have any problem. since i can receive incoming call at Zoiper.

Elastix does not use a legitimate FreePBX they forked it up a couple of years ago. please ask for help from them, we do not know how they hacked it up, and really have no motivation to help, Maybe you should install a real FreePBX based distro and come back. sorry.

– Remote UNIX connection
– Remote UNIX connection disconnected
– Remote UNIX connection
– Remote UNIX connection disconnected
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [29222886@from-pstn:1] Set(“SIP/29222886-0000005c”, “__FROM_DID=29222886”) in new stack
– Executing [29222886@from-pstn:2] Gosub(“SIP/29222886-0000005c”, “app-blacklist-check,s,1”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/29222886-0000005c”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“SIP/29222886-0000005c”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/29222886-0000005c”, “”) in new stack
– Executing [29222886@from-pstn:3] ExecIf(“SIP/29222886-0000005c”, “0 ?Set(CALLERID(name)=0066813547455)”) in new stack
– Executing [29222886@from-pstn:4] Set(“SIP/29222886-0000005c”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [29222886@from-pstn:5] Set(“SIP/29222886-0000005c”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [29222886@from-pstn:6] Goto(“SIP/29222886-0000005c”, “from-did-direct,202,1”) in new stack
– Goto (from-did-direct,202,1)
– Executing [202@from-did-direct:1] Macro(“SIP/29222886-0000005c”, “exten-vm,novm,202”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“SIP/29222886-0000005c”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/29222886-0000005c”, “AMPUSER=0066813547455”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/29222886-0000005c”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/29222886-0000005c”, “1?Set(REALCALLERIDNUM=0066813547455)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/29222886-0000005c”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/29222886-0000005c”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/29222886-0000005c”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/29222886-0000005c”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/29222886-0000005c”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/29222886-0000005c”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] Set(“SIP/29222886-0000005c”, “CALLERID(number)=0066813547455”) in new stack
– Executing [s@macro-user-callerid:20] Set(“SIP/29222886-0000005c”, “CALLERID(name)=0066813547455”) in new stack
– Executing [s@macro-user-callerid:21] NoOp(“SIP/29222886-0000005c”, “Using CallerID “0066813547455” <0066813547455>”) in new stack
– Executing [s@macro-exten-vm:2] Set(“SIP/29222886-0000005c”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/29222886-0000005c”, “VMBOX=novm”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/29222886-0000005c”, “__EXTTOCALL=202”) in new stack
– Executing [s@macro-exten-vm:5] Set(“SIP/29222886-0000005c”, “CFUEXT=”) in new stack
– Executing [s@macro-exten-vm:6] Set(“SIP/29222886-0000005c”, “CFBEXT=”) in new stack
– Executing [s@macro-exten-vm:7] Set(“SIP/29222886-0000005c”, “RT=”"") in new stack
– Executing [s@macro-exten-vm:8] Macro(“SIP/29222886-0000005c”, “record-enable,202,IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/29222886-0000005c”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] ExecIf(“SIP/29222886-0000005c”, “0?MacroExit()”) in new stack
– Executing [s@macro-record-enable:5] GotoIf(“SIP/29222886-0000005c”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,15)
– Executing [s@macro-record-enable:15] GotoIf(“SIP/29222886-0000005c”, “1?IN”) in new stack
– Goto (macro-record-enable,s,20)
– Executing [s@macro-record-enable:20] ExecIf(“SIP/29222886-0000005c”, “1?MacroExit()”) in new stack
– Executing [s@macro-exten-vm:9] Macro(“SIP/29222886-0000005c”, “dial-one,”",tr,202") in new stack
– Executing [s@macro-dial-one:1] Set(“SIP/29222886-0000005c”, “DEXTEN=202”) in new stack
– Executing [s@macro-dial-one:2] Set(“SIP/29222886-0000005c”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:3] GosubIf(“SIP/29222886-0000005c”, “0?screen,1”) in new stack
– Executing [s@macro-dial-one:4] GosubIf(“SIP/29222886-0000005c”, “0?cf,1”) in new stack
– Executing [s@macro-dial-one:5] GotoIf(“SIP/29222886-0000005c”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,8)
– Executing [s@macro-dial-one:8] GotoIf(“SIP/29222886-0000005c”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:9] GotoIf(“SIP/29222886-0000005c”, “0?continue”) in new stack
– Executing [s@macro-dial-one:10] Set(“SIP/29222886-0000005c”, “EXTHASCW=”) in new stack
– Executing [s@macro-dial-one:11] GotoIf(“SIP/29222886-0000005c”, “1?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,12)
– Executing [s@macro-dial-one:12] GotoIf(“SIP/29222886-0000005c”, “0?docfu:skip3”) in new stack
– Goto (macro-dial-one,s,16)
– Executing [s@macro-dial-one:16] GotoIf(“SIP/29222886-0000005c”, “1?next2:continue”) in new stack
– Goto (macro-dial-one,s,17)
– Executing [s@macro-dial-one:17] GotoIf(“SIP/29222886-0000005c”, “1?continue”) in new stack
– Goto (macro-dial-one,s,25)
– Executing [s@macro-dial-one:25] GotoIf(“SIP/29222886-0000005c”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:26] GosubIf(“SIP/29222886-0000005c”, “1?dstring,1:dlocal,1”) in new stack
– Executing [dstring@macro-dial-one:1] Set(“SIP/29222886-0000005c”, “DSTRING=”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“SIP/29222886-0000005c”, “DEVICES=202”) in new stack
– Executing [dstring@macro-dial-one:3] ExecIf(“SIP/29222886-0000005c”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:4] ExecIf(“SIP/29222886-0000005c”, “0?Set(DEVICES=02)”) in new stack
– Executing [dstring@macro-dial-one:5] Set(“SIP/29222886-0000005c”, “LOOPCNT=1”) in new stack
– Executing [dstring@macro-dial-one:6] Set(“SIP/29222886-0000005c”, “ITER=1”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“SIP/29222886-0000005c”, “THISDIAL=SIP/202”) in new stack
– Executing [dstring@macro-dial-one:8] GosubIf(“SIP/29222886-0000005c”, “1?zap2dahdi,1”) in new stack
– Executing [zap2dahdi@macro-dial-one:1] ExecIf(“SIP/29222886-0000005c”, “0?Return()”) in new stack
– Executing [zap2dahdi@macro-dial-one:2] Set(“SIP/29222886-0000005c”, “NEWDIAL=”) in new stack
– Executing [zap2dahdi@macro-dial-one:3] Set(“SIP/29222886-0000005c”, “LOOPCNT2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:4] Set(“SIP/29222886-0000005c”, “ITER2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:5] Set(“SIP/29222886-0000005c”, “THISPART2=SIP/202”) in new stack
– Executing [zap2dahdi@macro-dial-one:6] ExecIf(“SIP/29222886-0000005c”, “0?Set(THISPART2=DAHDI/202)”) in new stack
– Executing [zap2dahdi@macro-dial-one:7] Set(“SIP/29222886-0000005c”, “NEWDIAL=SIP/202&”) in new stack
– Executing [zap2dahdi@macro-dial-one:8] Set(“SIP/29222886-0000005c”, “ITER2=2”) in new stack
– Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/29222886-0000005c”, “0?begin2”) in new stack
– Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/29222886-0000005c”, “THISDIAL=SIP/202”) in new stack
– Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/29222886-0000005c”, “”) in new stack
– Executing [dstring@macro-dial-one:9] Set(“SIP/29222886-0000005c”, “DSTRING=SIP/202&”) in new stack
– Executing [dstring@macro-dial-one:10] Set(“SIP/29222886-0000005c”, “ITER=2”) in new stack
– Executing [dstring@macro-dial-one:11] GotoIf(“SIP/29222886-0000005c”, “0?begin”) in new stack
– Executing [dstring@macro-dial-one:12] Set(“SIP/29222886-0000005c”, “DSTRING=SIP/202”) in new stack
– Executing [dstring@macro-dial-one:13] Return(“SIP/29222886-0000005c”, “”) in new stack
– Executing [s@macro-dial-one:27] GotoIf(“SIP/29222886-0000005c”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:28] GotoIf(“SIP/29222886-0000005c”, “1?skiptrace”) in new stack
– Goto (macro-dial-one,s,30)
– Executing [s@macro-dial-one:30] Set(“SIP/29222886-0000005c”, “D_OPTIONS=tr”) in new stack
– Executing [s@macro-dial-one:31] ExecIf(“SIP/29222886-0000005c”, “0?SIPAddHeader(Alert-Info: )”) in new stack
– Executing [s@macro-dial-one:32] ExecIf(“SIP/29222886-0000005c”, “0?SIPAddHeader()”) in new stack
– Executing [s@macro-dial-one:33] ExecIf(“SIP/29222886-0000005c”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial-one:34] GosubIf(“SIP/29222886-0000005c”, “0?qwait,1”) in new stack
– Executing [s@macro-dial-one:35] Set(“SIP/29222886-0000005c”, “__CWIGNORE=”) in new stack
– Executing [s@macro-dial-one:36] Set(“SIP/29222886-0000005c”, “__KEEPCID=TRUE”) in new stack
– Executing [s@macro-dial-one:37] Dial(“SIP/29222886-0000005c”, “SIP/202,”",tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/202
– SIP/202-0000005d is ringing
– SIP/202-0000005d answered SIP/29222886-0000005c
– Executing [h@macro-dial-one:1] Macro(“SIP/29222886-0000005c”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/29222886-0000005c”, “1?endmixmoncheck”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] NoOp(“SIP/29222886-0000005c”, “End of MIXMON check”) in new stack
– Executing [s@macro-hangupcall:10] GotoIf(“SIP/29222886-0000005c”, “1?nomeetmemon”) in new stack
– Goto (macro-hangupcall,s,15)
– Executing [s@macro-hangupcall:15] NoOp(“SIP/29222886-0000005c”, “MEETME_RECORDINGFILE=”) in new stack
– Executing [s@macro-hangupcall:16] GotoIf(“SIP/29222886-0000005c”, “1?noautomon”) in new stack
– Goto (macro-hangupcall,s,18)
– Executing [s@macro-hangupcall:18] NoOp(“SIP/29222886-0000005c”, “TOUCH_MONITOR_OUTPUT=”) in new stack
– Executing [s@macro-hangupcall:19] GotoIf(“SIP/29222886-0000005c”, “1?noautomon2”) in new stack
– Goto (macro-hangupcall,s,25)
– Executing [s@macro-hangupcall:25] NoOp(“SIP/29222886-0000005c”, “MONITOR_FILENAME=”) in new stack
– Executing [s@macro-hangupcall:26] GotoIf(“SIP/29222886-0000005c”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,29)
– Executing [s@macro-hangupcall:29] GotoIf(“SIP/29222886-0000005c”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,32)
– Executing [s@macro-hangupcall:32] GotoIf(“SIP/29222886-0000005c”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,34)
– Executing [s@macro-hangupcall:34] Hangup(“SIP/29222886-0000005c”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on ‘SIP/29222886-0000005c’ in macro ‘hangupcall’
== Spawn extension (macro-dial-one, h, 1) exited non-zero on ‘SIP/29222886-0000005c’
== Spawn extension (macro-dial-one, s, 37) exited non-zero on ‘SIP/29222886-0000005c’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on ‘SIP/29222886-0000005c’ in macro ‘exten-vm’
== Spawn extension (from-did-direct, 202, 1) exited non-zero on ‘SIP/29222886-0000005c’