I have a hosted FreePBX using hostpbx.us with two Vonage softphone trunks, one localtelecom and one voipwise trunk
The Vonage trunks work fine for incoming and outgoing calls but both the local telecom and voipwise trunks work after hitting apply config for maybe 10 minutes then when calling in I get an error saying “the number you have dialed is not in service, please check the number and try again” and when I look in the log file I see
“[2013-11-02 18:17:26] VERBOSE[29700][C-000005ca] netsock2.c: == Using SIP RTP TOS bits 184
[2013-11-02 18:17:26] VERBOSE[29700][C-000005ca] netsock2.c: == Using SIP RTP CoS mark 5
[2013-11-02 18:17:26] VERBOSE[24896][C-000005ca] pbx.c: – Executing [s@from-sip-external:1] GotoIf(“SIP/sip.voipwise.com-00000bcc”, “0?checklang:noanonymous”) in new stack
[2013-11-02 18:17:26] VERBOSE[24896][C-000005ca] pbx.c: – Goto (from-sip-external,s,5)
[2013-11-02 18:17:26] VERBOSE[24896][C-000005ca] pbx.c: – Executing [s@from-sip-external:5] Set(“SIP/sip.voipwise.com-00000bcc”, “TIMEOUT(absolute)=15”) in new stack
[2013-11-02 18:17:26] VERBOSE[24896][C-000005ca] func_timeout.c: – Channel will hangup at 2013-11-02 18:17:41.781 EDT.
[2013-11-02 18:17:26] VERBOSE[24896][C-000005ca] pbx.c: – Executing [s@from-sip-external:6] Answer(“SIP/sip.voipwise.com-00000bcc”, “”) in new stack
[2013-11-02 18:17:27] VERBOSE[24896][C-000005ca] pbx.c: – Executing [s@from-sip-external:7] Wait(“SIP/sip.voipwise.com-00000bcc”, “2”) in new stack
[2013-11-02 18:17:29] VERBOSE[24896][C-000005ca] pbx.c: – Executing [s@from-sip-external:8] Playback(“SIP/sip.voipwise.com-00000bcc”, “ss-noservice”) in new stack
[2013-11-02 18:17:29] VERBOSE[24896][C-000005ca] file.c: – <SIP/sip.voipwise.com-00000bcc> Playing ‘ss-noservice.ulaw’ (language ‘en’)
[2013-11-02 18:17:34] VERBOSE[24896][C-000005ca] pbx.c: – Executing [s@from-sip-external:9] PlayTones(“SIP/sip.voipwise.com-00000bcc”, “congestion”) in new stack
[2013-11-02 18:17:34] VERBOSE[24896][C-000005ca] pbx.c: – Executing [s@from-sip-external:10] Congestion(“SIP/sip.voipwise.com-00000bcc”, “5”) in new stack
[2013-11-02 18:17:35] VERBOSE[24896][C-000005ca] pbx.c: == Spawn extension (from-sip-external, s, 10) exited non-zero on ‘SIP/sip.voipwise.com-00000bcc’
[2013-11-02 18:17:35] VERBOSE[24896][C-000005ca] pbx.c: – Executing [h@from-sip-external:1] Hangup(“SIP/sip.voipwise.com-00000bcc”, “”) in new stack
[2013-11-02 18:17:35] VERBOSE[24896][C-000005ca] pbx.c: == Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/sip.voipwise.com-00000bcc’
”
The trunk settings are -
username=xxxxxxx
type=peer
secret=xxxxxxx
port=5060
nat=yes
insecure=very
host=sip.voipwise.com
fromuser=xxxxxxxx
fromdomain=sip.voipwise.com
dtmfmode=rfc2833
disallow=all
canreinvite=yes
auth=md5
allow=ulaw&g729
Any help would be appreciated