Hi all, I need to register asterisk on an OpenSIPS SIP Proxy...The Registration is OK but my asterisk is sending OPTIONS packets to OpenSIPS and the SIP Proxy is not replying back...The issue is the UNKNOWN username that reside in the OPTIONS packet as you can see in the captured packets as you can see below: 1. U Asterisk_IP:5060 -> OPENSIPS_IP:5060 2. OPTIONS sip:OPENSIPS_IP SIP/2.0. 3. Via: SIP/2.0/UDP ASTERISK_IP:5060;branch=z9hG4bK2d757382;rport. 4. From: "Unknown" <sip:Unknown at ASTERISK_IP>;tag=as5a8c9f3b. 5. To: <sip:OPENSIPS_IP>. 6. Contact: <sip:Unknown at ASTERISK_IP>. 7. Call-ID: 7cad53ac17cc1ed971a3ffc674ce93fb at ASTERISK_IP. 8. CSeq: 102 OPTIONS. 9. User-Agent: Asterisk PBX. 10. Max-Forwards: 70. 11. Date: Wed, 11 Feb 2009 09:17:37 GMT. 12. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. 13. Supported: replaces. 14. Content-Length: 0. How i can fix this UNKNOWN username? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090211/04677ac6/attachment.htm
Try manipulate the fromuser= parameter in sip.conf. On Wed, 11 Feb 2009 11:43:13 +0200, michel freiha <michofr at gmail.com> wrote:> Hi all, > I need to register asterisk on an OpenSIPS SIP Proxy...The Registration > is > OK but my asterisk is sending OPTIONS packets to OpenSIPS and the SIP > Proxy > is not replying back...The issue is the UNKNOWN username that reside in > the > OPTIONS packet as you can see in the captured packets as you can see > below: > > > 1. U Asterisk_IP:5060 -> OPENSIPS_IP:5060 > 2. OPTIONS sip:OPENSIPS_IP SIP/2.0. > 3. Via: SIP/2.0/UDP ASTERISK_IP:5060;branch=z9hG4bK2d757382;rport. > 4. From: "Unknown" <sip:Unknown at ASTERISK_IP>;tag=as5a8c9f3b. > 5. To: <sip:OPENSIPS_IP>. > 6. Contact: <sip:Unknown at ASTERISK_IP>. > 7. Call-ID: 7cad53ac17cc1ed971a3ffc674ce93fb at ASTERISK_IP. > 8. CSeq: 102 OPTIONS. > 9. User-Agent: Asterisk PBX. > 10. Max-Forwards: 70. > 11. Date: Wed, 11 Feb 2009 09:17:37 GMT. > 12. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,NOTIFY.> 13. Supported: replaces. > 14. Content-Length: 0. > > How i can fix this UNKNOWN username? > > Regards-- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (678) 237-1775
11 feb 2009 kl. 10.43 skrev michel freiha:> Hi all, > I need to register asterisk on an OpenSIPS SIP Proxy...The > Registration is OK but my asterisk is sending OPTIONS packets to > OpenSIPS and the SIP Proxy is not replying back...The issue is the > UNKNOWN username that reside in the OPTIONS packet as you can see in > the captured packets as you can see below:OpenSIPS/kamailio/OpenSER/xxx proxy won't answer unless you tell it to. Check the options module and then change your routing script configuration so that the proxy starts answering. Make sure you only answer to requests addressed to the actual proxy. The proxy will need to proxy requests to other URIs. /O