Daniel Korndorfer wrote:
Does anybody know how can I send credentials to a gateway?
For example: I forward a call using forward(uri:host, uri:port);but my gateway needs authentication.
You can use the uac module. But this is a not standard conform way and may cause problems (e.g. when the gateway is Asterisk).
You need either a B2BUA (like asterisk) or use other ways of authentication - e.g. authentication based on IP address (use TCP as UDP can be spoofed easily) or TLS.
regards klaus