Re: Using SIP user agent behind NAT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Bogdan,

in general, cliend behind nat does not know its public address.
To my knowledge, common case for sip behind nat is to use STUN server.

Andrey

От: "Bogdan Cristea" <cristeab@xxxxxxxxx>
Кому: "pjsip" <pjsip@xxxxxxxxxxxxxxx>
Отправленные: Четверг, 21 Сентябрь 2017 г 18:41:32
Тема: Using SIP user agent behind NAT

Hi

I am using simpleua.c sample in order to implement an audio recorder. This works well when the server and the client are in the same network, but when the server is on the Internet I am able to receive the audio stream, but not when the server closes the communication. The client in this case has 2 address: 1 is internal and the other one is public. My question is how to change simpleua.c in order to publish the external, public address to the server.

thanks
Bogdan Cristea





_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux