SIP registration will not forward to right contect

Hello all,

I registrered a simple SIP with voipbuster:

register =>

host =
username = username
fromuser = username
secret = secret
exten => s,1,Answer()
exten => s,n,Playback(hello-world)
exten => s,n,Hangup()

This does not work somehow? It refuses to go to the incoming_trunk_1 context straight away.

But if I do this:

include => incoming_trunk_1

It does work :confused:

Why doesn’t the SIP.conf context point the incoming calls straight to the incoming_trunk_1 context in extensions.conf?


Strange one.

It is obviously going to the [default] context - and not the proper one.

Try ‘register =>’ and see where that goes.

Hm when I read your reply, I thought, ohh ofcourse! I mixed up the outgoing and incoming context.

But even this:

register =>
register =>

Gives me the error:
chan_sip.c:14383 handle_request_invite: Call from ‘’ to extension ‘trunk_1’ rejected because extension not found.
(or incoming_trunk_1)

Strange error I cannot really place…


The /xyz123 at the end of a register line is a extension not context.
the context is defined in the genral section and the the /xyz123 need to be an extension in it.


…in other words…


context = incoming_trunk_1
register =>


exten => 9876,1,Answer()
exten => 9876,n,Playback(tt-monkeys)
exten => 9876,n,Hangup()