You can also use openser flags
http://www.openser.org/dokuwiki/doku.php/tutorials:openser-flag-operations

On 4/12/07, 杨冬 <wintersun1981@gmail.com> wrote:
Hi, Bogdan:
    Yes, you got it. I mean whether there is a function or pseudo variables
which can update it. So I can control the interval of REGISTER message
per-client.
    Thanks for your attention.

-----邮件原件-----
发件人: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
发送时间: 2007年4月11日 16:04
收件人: 杨冬
抄送: Ovidiu Sas; users@openser.org
主题: Re: [Users] How to change the expire parameter in a reply message of
REGISTER?

Hi Andy,

if I understand correctly, you want the same functionality, but with
per-register controllability, right?

regards,
bogdan

杨冬 wrote:
> hi, Ovidiu:
>    I know your meaning, but I don't want to change the value for
> normal client REGISTER message which is not behind a NAT device. For a
> REGISTER request, if it is tested to be behind a NAT device with
> client_nat_test, then I want to change the value of reply. Can u give
> some more suggestions?
>    Thanks very much!
>
> andy.yang
> 2007/04/10
>
> 2007/4/10, Ovidiu Sas <sip.nslu@gmail.com>:
>> Hi Andy,
>>
>> You don't need to rewrite the reply message.  Just set the value that
>> you want:
>> http://www.openser.org/docs/modules/1.2.x/registrar.html#AEN103
>>
>>
>> Best Regards,
>> Ovidiu Sas
>>
>> On 4/9/07, 杨冬 <wintersun1981@gmail.com> wrote:
>> > hi, all:
>> >     I want to make a client to send the REGISTER update message in a
>> > short time, which is used to prevent the NAT device to close the port
>> > for the client. So I want to rewrite the reply message for REGISTER
>> > and change the expire parameter to a value of my setting. How can I
>> > achieve this?
>> >     Thanks.
>> >
>> >
>> > andy.yang
>> >
>> > 2007/04/10
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users@openser.org
>> > http://openser.org/cgi-bin/mailman/listinfo/users
>> >
>>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users@openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>


_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users