[Kamailio-Users] Forward calls from Asterisk to SIP provider via Kamailio for termination

Henning Westerholt henning.westerholt at 1und1.de
Tue Feb 23 13:57:17 CET 2010


On Saturday 20 February 2010, Slot Zero wrote:
> I am a Kamailio noob :). I am trying to get Asterisk to forward calls to
> my SIP provider via Kamailio.
> The same machine is running Kamailio and
> Asterisk. I do not want to consume credentials as they have to be passed
> on all the way to my SIP provider. There is no NAT of any sorts. SIP
> Phone/Users connect to Asterisk. I do not need to authenticate when
>  forwarding call from Asterisk to Kamailio as they are both running on the
>  same server but I do need to make sure that Kamailio dials and forwards
>  011+number to be sent from local host port
> 5062(Asterisk listener) to SIP provider only.
> I have 6 Public IP addresses
> mapped on the server. I want to use the force_send_socket to allow me to
> change source IP of SIP requests when being sent to the SIP provider on the
>  basis of credentials username in the request. I have pasted my config
>  below. Please tell me what am I doing wrong here. In the kamctlrc file i
>  have SIP_DOMAIN=localhost

Hi Slot,

do you observe an error with your quoted configuration, or it does not behave 
like you expect?

Cheers,

Henning



More information about the Users mailing list