On Wed, Sep 17, 2014 at 6:39 PM, aawaise <owaisulhaq@hotmail.com> wrote:
How can we extract domain from the subscriber table to logs ??
Its beyond my control at the moment to shift to kamailio-4.1. So have to
persist with kamailio-3.1 ?

Look at the pseudovariable documentation. It sounds like $rd is what you want.

http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:3.1.x#domain_in_sip_request_s_uri

Corey