Hi, My SIP provider's gateway requires authorization with correct realm specified. So I configured gateway with "realm" parameter: <gateway name="$${default_provider}"> <param name="username" value="$${default_provider_username}"/> <param name="password" value="$${default_provider_password}"/> <param name="from-user" value="$${default_provider_username}"/> <param name="from-domain" value="$${default_provider_from_domain}"/> <param name="realm" value="$${default_provider_from_domain}"/> <param name="proxy" value="$${default_provider}"/> <param name="expire-seconds" value="600"/> <param name="register" value="$${default_provider_register}"/> <param name="retry-seconds" value="30"/> <param name="extension" value="$${default_provider_contact}"/> <!--<param name="contact-params" value="domain_name=$${domain}"/>--> <param name="context" value="public"/> </gateway> (default_provider_register = true) Unfortunately even after that there is no "Authorization:" header in the REGISTER message: REGISTER sip:1.2.3.4 SIP/2.0 Via: SIP/2.0/UDP 5.6.7.8:5080;rport;branch=z9hG4bKNBB3ygD85y3eF Max-Forwards: 70 From: <sip:1111111@Domain;transport=udp>;tag=Nrc6Z9yrNBS3H To: <sip:1111111@Domain;transport=udp> Call-ID: a93d949a-98c1-11de-b6b8-8321249ad8d4 CSeq: 119885384 REGISTER Contact: <sip:gw+1.2.3.4@5.6.7.8:5080;transport=udp> Expires: 600 User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14707M Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY Supported: timer, precondition, path, replaces Content-Length: 0 and the provider responds with 403 User '1111111' is disabled (as there is no correct authorization realm there). How to force Authorization header? Am I missing something? - Dmitry Bely