[OpenSIPS-Users] Gw module or dispatch authentication?

opensipslist at encambio.com opensipslist at encambio.com
Mon Dec 21 19:10:48 CET 2009


Hello list,

Has anyone had this problem of wanting to forward a INVITE to a PSTN
gateway, and not being able to authenticate?

The UAC (A) sends the INVITE to a OpenSIPS proxy (B) who replies 401
Unauthorized. A sends B a new INVITE with A's credentials and B's
realm and nonce.

B forwards this INVITE to a gateway (C) who replies 401 Unauthorized.
At this point the OpenSIPS proxy must somehow (like a B2BUA?)
provide the gateway with authentication credentials.

The gw module is useful for this but fails to provide any means of
authenticating with the new gateway C.

I believe the dispatch module does something similar, but it's
unclear just what the docs mean by 'hashing' in this case. Where
is the dispatcher module taking the username and password from?

Is carrierroute really what should be used in this case, or some
combination of modules... maybe uac for the authentication?

Regards,
Brian



More information about the Users mailing list