Call without registration

General discussions about Asterisk.

Moderators: Moderator, Support

Call without registration

Postby kamrul.khan » Wed Apr 25, 2012 4:24 pm

Hello,

I want to send calls from Asterisk server to another SIP server. I want to through calls directly without user/pass authentication and registration. How should configure sip.conf for this ? Please someone help me.

Thanks in advanced.
kamrul.khan
Newsterisk
 
Posts: 1
Joined: Wed Apr 25, 2012 4:21 pm

Re: Call without registration

Postby david55 » Wed Apr 25, 2012 4:39 pm

I don't fully understand the question, but:

allowguest=yes (which is default) in the general section will cause incoming calls to be passed to the context specified in the general section (default context is "default"), as long as they don't match a more specific entry.

A peer entry matching the IP address of the source, and with no secret, or with insecure=invite, will accept all calls with their last hop at that address.

I think the same applies to user entries, with no secret, if the From header (or is it Contact?) matches the sip.conf section name. I presume insecure=invite works there, as well, although it is normally only used for peer mode entries.

On the outgoing side, you will need to specify the host name or address, if there is no registration.

(In case you want Asterisk to act as a proxy, it won't. All calls must be terminated and then chained with Dial, etc.)

This was the wrong forum. I have answered assuming that you meant to use Asterisk Support (i.e. you are not trying to do this through one of the Asterisk GUIs).
david55
Moves Like Spencer
 
Posts: 7708
Joined: Fri Sep 26, 2008 5:03 am


Return to Asterisk General

Who is online

Users browsing this forum: aptustel and 1 guest