Remote Extension no Outbound

I have a remote extension that allows me to answer incoming calls, but not make outbound. When I try to call outbound or another extension systems tells me the number you are dialing is not in service.

I checked CDR i see the phone is reaching PBX playing message then disconnects.

The phone is registered to PBX

Any thoughts?

Are the dial plan of the trunk match the dial plan of the Outgoing route? and those it matches the country you are trying to call to?
Post the configuration of your trunk and the Outgoing route and I will try to help.

Is this unit behind a firewall? If so, is the remote phone on a VPN or how is it getting a port?

The unit is behind a firewall I opened a port for remote extension to access pbx.
Here is the log when I try to make a call.

Verbosity was 3 and is now 4
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [*65@from-sip-external:1] NoOp(“SIP/5000-00000066”, “Received i ncoming SIP connection from unknown peer to *65”) in new stack
– Executing [*65@from-sip-external:2] Set(“SIP/5000-00000066”, “DID=*65”) i n new stack
– Executing [*65@from-sip-external:3] Goto(“SIP/5000-00000066”, “s,1”) in n ew stack
– Goto (from-sip-external,s,1)
– Executing [s@from-sip-external:1] GotoIf(“SIP/5000-00000066”, “1?checklan g:noanonymous”) in new stack
– Goto (from-sip-external,s,2)
– Executing [s@from-sip-external:2] GotoIf(“SIP/5000-00000066”, “0?setlangu age:from-trunk,*65,1”) in new stack
– Goto (from-trunk,*65,1)
– Executing [*65@from-trunk:1] Set(“SIP/5000-00000066”, “__FROM_DID=*65”) i n new stack
– Executing [*65@from-trunk:2] NoOp(“SIP/5000-00000066”, “Received an unkno wn call with DID set to *65”) in new stack
– Executing [*65@from-trunk:3] Goto(“SIP/5000-00000066”, “s,a2”) in new sta ck
– Goto (from-trunk,s,2)
– Executing [s@from-trunk:2] Answer(“SIP/5000-00000066”, “”) in new stack
– Executing [s@from-trunk:3] Wait(“SIP/5000-00000066”, “2”) in new stack
– Executing [s@from-trunk:4] Playback(“SIP/5000-00000066”, “ss-noservice”) in new stack
– <SIP/5000-00000066> Playing ‘ss-noservice.gsm’ (language ‘en’)
– Executing [s@from-trunk:5] SayAlpha(“SIP/5000-00000066”, “*65”) in new st ack
– <SIP/5000-00000066> Playing ‘digits/star.gsm’ (language ‘en’)
> doing dnsmgr_lookup for ‘houston.voip.ms
– <SIP/5000-00000066> Playing ‘digits/6.gsm’ (language ‘en’)
> doing dnsmgr_lookup for ‘houston.voip.ms
– <SIP/5000-00000066> Playing ‘digits/5.gsm’ (language ‘en’)
– Executing [s@from-trunk:6] Hangup(“SIP/5000-00000066”, “”) in new stack
== Spawn extension (from-trunk, s, 6) exited non-zero on ‘SIP/5000-00000066’
– Executing [h@from-trunk:1] Macro(“SIP/5000-00000066”, “hangupcall,”) in n ew stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/5000-00000066”, “1?endmixmon check”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] NoOp(“SIP/5000-00000066”, “End of MIXMON check”) in new stack
– Executing [s@macro-hangupcall:10] GotoIf(“SIP/5000-00000066”, “1?nomeetme mon”) in new stack
– Goto (macro-hangupcall,s,15)
– Executing [s@macro-hangupcall:15] NoOp(“SIP/5000-00000066”, “MEETME_RECOR DINGFILE=”) in new stack
– Executing [s@macro-hangupcall:16] GotoIf(“SIP/5000-00000066”, “1?noautomo n”) in new stack
– Goto (macro-hangupcall,s,18)
– Executing [s@macro-hangupcall:18] NoOp(“SIP/5000-00000066”, “TOUCH_MONITO R_OUTPUT=”) in new stack
– Executing [s@macro-hangupcall:19] GotoIf(“SIP/5000-00000066”, “1?noautomo n2”) in new stack
– Goto (macro-hangupcall,s,25)
– Executing [s@macro-hangupcall:25] NoOp(“SIP/5000-00000066”, “MONITOR_FILE NAME=”) in new stack
– Executing [s@macro-hangupcall:26] GotoIf(“SIP/5000-00000066”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,29)
– Executing [s@macro-hangupcall:29] GotoIf(“SIP/5000-00000066”, “1?skipblkv m”) in new stack
– Goto (macro-hangupcall,s,32)
– Executing [s@macro-hangupcall:32] GotoIf(“SIP/5000-00000066”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,34)
– Executing [s@macro-hangupcall:34] Hangup(“SIP/5000-00000066”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on ‘SIP/5000-0000 0066’ in macro ‘hangupcall’
== Spawn extension (from-trunk, h, 1) exited non-zero on ‘SIP/5000-00000066’
> doing dnsmgr_lookup for ‘inbound24.vitelity.net
> doing dnsmgr_lookup for ‘inbound24.vitelity.net

I’m not an expert on the logs but I don’t think it’s a dial plan issue because you also have the same problem when calling another extension. I think it’s a port issue in the firewall. When an inbound call hits the phone that port is opened from INSIDE the firewall thus allowing the call to take place. When a call is dialed from the remote extension however there is no open port for the SIP, only for basics of phone communication, which take place on different ports.

To prove this you could whitelist your phone’s IP in the firewall for a test. If the call proceeds normally then you know it’s a firewall issue. If it still doesn’t work, even when that remote phone has 100% access through the firewall then it’s a phone issue.

Someone else will need to step in and tell you how to solve the problem however because it’s my understanding that SIP channels use a TON of ports, which would defeat the purpose of a firewall and put everything at risk. I’m afraid I don’t know how to suggest that configuration.

On MY remote phones I run a VPN so that the phone is located inside my network but I don’t know if that’s practical in your situation.