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