[OpenSIPS-Users] REG::Opensips 1.11.5 with dual client domain
Ravitez Ravi
ravitez.dondeti at gmail.com
Mon Nov 2 01:45:09 CET 2015
Hello Everybody,
Unable to configure opensips with dual client domains,below
is the configuration and opesips logs
opensips.cfg
{
...
listen=tls:IP_2:port2
listen=tls:IP_3:port4
...
# set the TLS client domain AVP
tls_client_domain_avp = 400
# name based TLS client domains (for virtual SIPS hosting)
tls_client_domain["atlanta.com"] {
tls_certificate = "/certs/atlanta.com/cert.pem"
tls_private_key = "/certs/atlanta.com/privkey.pem"
tls_ca_list = "/certs/wellknownCAs"
tls_method=tlsv1
tls_verify_server = 1
}
tls_client_domain["biloxi.com"] {
tls_certificate = "/certs/biloxy.com/cert.pem"
tls_private_key = "/certs/biloxy.com/privkey.pem"
tls_ca_list = "/certs/wellknownCAs"
tls_method=tlsv1
tls_verify_server = 0
}
route{
...
# calls to other SIP domains
# set the proper SSL context (certificate) for local hosted domains
* avp_write("$fd","$avp(i:400)"); ################# does not exists in
1.11.5 can you please share the alternate function.!*
forward(); # uses NAPTR and SRV lookups
exit;
}
*Opensips Log :*
""no TLS client doman AVP set, looking for socket based TLS client domain""
I think internal_search_ID_avp in user_avp.c is failing.
Can some one please comment on how to get this working.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151101/f676bf8d/attachment.htm>
More information about the Users
mailing list