Situatation is that operator mangosip.ru got on 1 ip many realms. Problem is that asterisk automatically changes host to ip in To: field. So operator send error back. How to force asterisk not to change host to ip? Settings: register => A**1:pass at mangosip.ru <1%3Apass at mangosip.ru> - registry OK. But throw callbackextension not working, trying to register by ip and error. [mangosip] secret = pass defaultuser = A** trunkname = mangosip callerid hasexten = no hassip = yes hasiax = no host = mangosip.ru context = incoming insecure = invite fromuser = A** fromdomain = mangosip.ru type = peer disallow = all allow = alaw nat = no canreinvite = nonat dtmfmode = info Incoming OK with this settings:> sip show registryHost dnsmgr Username Refresh State Reg.Time mangosip.ru:5060 N A** 285 Registered Wed, 08 Sep 2010 1 SIP registrations.> sip show peersName/username Host Dyn Forcerport ACL Port Status mangosip/A** 81.88.80.36 5060 Unmonitored 4 sip peers [Monitored: 1 online, 0 offline Unmonitored: 3 online, 0 offline] And dialplan: exten => _7495XXXXXXX,1,Dial(SIP/mangosip/${EXTEN}) exten => _7495XXXXXXX,2,HangUp Getting this error: Transmitting (no NAT) to 81.88.80.36:5060: ACK sip:7495**@81.88.80.36 SIP/2.0 Via: SIP/2.0/UDP 62.**:5060;branch=z9hG4bK117d12fa Max-Forwards: 70 From: "user1" <sip:A**@mangosip.ru>;tag=as7372af08 To: <sip:7495**@81.88.80.36>;tag=06239f873a4c6ea5e6ca1d6186a625d8.17e2 Contact: <sip:A**@62.*:5060> Call-ID: 3**@mangosip.ru CSeq: 102 ACK User-Agent: Asterisk PBX SVN-trunk-r285456 Content-Length: 0 ... <--- SIP read from UDP:81.88.80.36:5060 ---> *SIP/2.0 416 Unsupported URI Scheme* Via: SIP/2.0/UDP 62.*:5060;rport=5060;branch=z9hG4bK1001766a To: <sip:7495**@81.88.80.36>;tag=410a7c35 From: "user1"<sip:A**@mangosip.ru>;tag=as7d4fb06c Call-ID: 0**@mangosip.ru CSeq: 103 INVITE User-Agent: Softswitch2 Content-Length: 0 So 416 error because 7495**@81.88.80.36 host is resolved to ip. How to change 7495**@81.88.80.36 to 7495**@mangosip.ru? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100908/ab5f857e/attachment.htm