I have been struggling the whole of the last week to try and get a clients sip trunk working.
It is receiving calls happily, but the outgoing calls seem to come and go weirdly enough. They work some times and then it stops working for a while.
It gives me the congestion message?
I only have one sip trunk (the one i’m trying to set-up now) which support multiple concurrent calls, and the sip provider is saying that ti must be my configuration, and they don’t provide support for 3rd party applications.
From their 3CX setup guide:
Credentials:
User: [You VoIP number, eg. 27870010000]
ID: [You VoIP number, eg. 27870010000]
Password: [Your VoIP password as provided by Nexus]
Server Settings:
Use As: [SIP Account]
Local PBX IP: 196.28.95.12
External PBX IP: 196.28.95.12
PBX Port: 5060
Stun: [blank]
Proxy: [blank]
Integration:
Record Calls [off]
Phonebook “+” to: 00
Phonebook prefix: [blank]
Network:
Local SIP port: 5065
First RTP port: 4000
TCP transport: [off]
NAT Helper: [on]
Thank you very much for your response and especially your effort in locating their 3CX guide, I have looked at that before when trying to find settings. Do my settings (listed in initial post) not respond to theirs? I am using freepbx to try and connect the trunk (if I never stated that previously)
The main concern I am having is that, the trunk is registering and connecting like everything is fine, Just when I call its giving me the congestion message? As I don’t really know the internals of freepbx, What would cause the trunk to register, connect etc. but then on outgoing calls it gives me the congestion message. Which to me means that in the outbound route, the sip trunk is not offering up its available channels, And the outbound route says oh I cant handle this message?
After much fighting with nexus they gave me this: (which is what I have based my initial config on.)
In general however you sip.conf file should look something to the effect of below:
[general]
localnet=192.168.0.0/255.255.255.0
bindaddr=192.168.0.XYZ
nat=route
context=DEFAULT
qualify=yes
register => 2787001XXXX:[email protected]
callerid=Your Name
allow=alaw,ulaw,gsm
tos_sip=cs3
tos_audio=ef
tos_video=cs4
tos_iax=cs3