> There was similar bug in some versions of sofia-sip, what exact version
> are you using? Please try to upgrade to latest one.
>

I use the latest versions: sofia-sip-1.12.0 and sofsip-cli-0.10.1


> Of course, you may try to set explicit sip contact either with command
> line or in the invironment.
>
I tried command line:
./sofsip_cli sip:[EMAIL PROTECTED] --contact="sip:*:5060;transport=udp"

Contact string became more reasonable (192.168.0.85 - server with
Asterisk; 192.168.0.90 - host with sofsip-cli):
 nta::contact: <sip:192.168.0.90;transport=udp>

And my client even connected to Asterisk:
> r
UA: REGISTER sip:[EMAIL PROTECTED] - registering address to network
sofsip> sofsip> UA: REGISTER: 401 Unauthorized
Server auth: Digest realm="asterisk", nonce="22e2e0a9"
Please authenticate 'REGISTER' with the 'k' command (e.g. 'k
password', or 'k [method:realm:username:]password')
sofsip> k pass
UA: authenticating 'REGISTER' with 'Digest:"asterisk":3000:pass'.
sofsip> UA: REGISTER: 200 OK
UA: succesfully registered sip:[EMAIL PROTECTED] to network
        Contact: <sip:192.168.0.90;transport=udp>;expires=120

But in a few seconds it disconnects:
sofsip> In the signal handler...11.

Asterisk says "Connection reset by peer".

What's wrong now? :(

Thanks. Sergey.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to