Hi Sebastian,

not sure if you can do this - a kind of middle registrar; but you can try to experiment by using the latest UAC module which provides the FROM mangling and authentication features.
   http://www.openser.org/docs/modules/1.1.x/uac.html

regards,
bogdan

BASTARD Sebastien wrote:

Ok, it seems to work...but I have another question:
I would like to have a static configuration on the PC on a LAN with a local account [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>. There is openser running on a computer of this LAN which is managing domain test.net <http://test.net>. I would like to have an association of accounts on the openser server (I know asterisk is able to do it): SIP client connect to my local openser with account [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> OPENSER associates [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> with [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> and inform iptel.org <http://iptel.org> that this account is managed locally: it's like openser act as a client / iptel ser server.
Then I can be called from outside without problem.

Do you think it's possible to do it or to implement a module for that.

Thanks a lot for your help
Sebastien

On 11/9/05, *BASTARD Sebastien* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Ok, i'm going to try.

    Thanks for your help.

    sebastien


    On 11/8/05, *Bogdan-Andrei Iancu* < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:

        Hi,

        if I'm not wrong, you are talking about routing outbound requests
        (requests which are not targeting your domain). If so, the
        routing will
        be done via DNS based on the domain name; you do not have to
        specify
        each of them. Just do like:

            if (!uri==myself) {
               # this is an outbound call
               t_relay();
               exit;
            }
            # process inbound calls
            ........

        regards,
        bogdan

        BASTARD Sebastien wrote:

Hi,

I would like to make run openser as a sip client when a client is
connecting to it but with an unmanaged domain. I tried with the
following configuration but with no result:

    if (!uri==myself) {
        # mark routing logic in request
        append_hf("P-hint: outbound\r\n");
        # if you have some interdomain connections via TLS
        if(uri=~" iptel.org <http://iptel.org>") {
            forward("iptel.org <http://iptel.org>",5060);
            exit;
        } #else if(uri=~"@tls_domain2.net") {
        #    t_relay_to_tls("IP_domain2","port_domain2");
        #    exit;
        #}
        route(1);
    };

Thanks for any help.


------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://openser.org/cgi-bin/mailman/listinfo/users







_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to