How to register bandwidth trunk

How to register bandwidth trunk without username and password they not provide any type of auth username and password. they just give phone number and ip (Url) to regsiter there.

If you are correctly describing the situation, you simply don’t register it!

On Monday 02 March 2026 at 17:41:10, darsh720 wrote:

How to register bandwidth trunk without username and password

“Trunks” (meaning SIP connections from service providers who support multiple
calls, often to/from multiple numbers, over a single connection) are very
commonly not authenticated with username/password credentials, but simply by
IP address.

If Bandwidth have asked you for the IP address of your end of the connection,
then that is all you need in order to connect to them.

Antony.

–
I conclude that there are two ways of constructing a software design: One way
is to make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies.

  • C A R Hoare

Also, registrations are not authentications, although they are often authenticated. They simply say to which address to send incoming calls for a particular URI.

pjsip.conf

[bandwidth]

type = wizard

sends_auth = yes

sends_registrations = yes

remote_hosts = cn26g001-96e0aa.auth.bandwidth.com:5016

; Auth settings: username is the “Auth ID”, password is the secret

outbound_auth/username = +19842399931

outbound_auth/password = XXXXXXXXX

; Endpoint settings

endpoint/context = from-bandwidth

endpoint/allow = !all,ulaw,g729

endpoint/from_user = +19842399931

endpoint/from_domain = cn26g001-96e0aa.auth.bandwidth.com

endpoint/rewrite_contact = yes

endpoint/force_rport = yes

endpoint/transport = transport-udp

endpoint/identify_by = username,auth_username,ip

; Registration settings

; client_uri uses the Phone Number, server_uri uses the Hostname

registration/client_uri = sip:+19842399931@cn26g001-96e0aa.auth.bandwidth.com:5016

registration/server_uri = sip:cn26g001-96e0aa.auth.bandwidth.com:5016

; AOR settings

aor/qualify_frequency = 60

I use this setup but still call is not coming

extensions.conf
[from-bandwidth]
; This will catch ANY number sent by Bandwidth and send it to your IVR
exten => _.,1,NoOp(Incoming Bandwidth Call - Number Received: ${EXTEN})
same => n,Set(__CALL_SOURCE=external)
same => n,Goto(ivr-17,s,1)
same => n,Hangup()

OP has said they can’t use this.

There is my password i just write here XXXXXXX for securtiy reason

The story seems to have changed

1 Like

Sorry for that

After meeting with bandwidth team they are ready to provide username and password that’s why in same topic i ping here