External sip call to outbound trunk


I am running Asterisk 1.4.22 I have successfully installed everything with multiple extensions and can make and receive calls internally and externally.

How would I go about receiving an anonymous SIP call and routing it to one of my SIP trunks within my outbound routes?

Would I need to setup an extension to handle this call and redirect it?

Thank you for any assistance.

Annon calls go to the default context that you set in sip.conf. In extensions.conf under that context I usually have a catch all and direct it to my main incoming context.

Thanks I will give it a go and report back.

Yes your answer was spot on, however my problem was inserting the line


into my sip_general_custom.conf

This is not required for this file.