John A. Hull wrote:
I have ser running as a SIP proxy for SIP to SIP
calls, and use digest
authentication with MySQL for users. I'd like to add the ability for
users to place calls to the PSTN through a switch that needs user
authentication for PSTN invite requests. I have the same users set up in
SER and on the switch, and if an invite request is made to SER for a
PSTN number, I rewrite the host and t_relay it to the switch. My
question is as follows: is SER able to forward user authentication info
to the switch with the invite request? It's not obvious to me if or how
this can be done...
It will forward this info automatically. SER doesn't strip any
auth-related headers when forwarding the message leaving them "as is",
so that your router should have no problem with using them for auth
purposes.
-Maxim