[SR-Users] How I can turn off 100 trying reply
Daniel-Constantin Mierla
miconda at gmail.com
Tue Apr 12 20:18:47 CEST 2011
On 4/12/11 7:37 PM, Derrick Ding wrote:
> Hi,
>
> Thanks for your reply,
> I solve this issue by modifying tm/config.c
>
> Line 69: change 1 to 0.
that is the auto_inv_100 parameter, you don't need to change the source
code, just set the module parameter:
modparam("tm", "auto_inv_100", 0)
Cheers,
Daniel
>
> Derrick
>
> -----Original Message-----
> From: sr-users-bounces at lists.sip-router.org
> [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of
> Daniel-Constantin Mierla
> Sent: Tuesday, April 12, 2011 12:28 PM
> To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
> UsersMailing List
> Subject: Re: [SR-Users] How I can turn off 100 trying reply
>
> Hello,
>
> On 4/12/11 6:20 PM, Henning Westerholt wrote:
>> On Tuesday 12 April 2011, Derrick Ding wrote:
>>> I wonder how I can make Kamailio not to send "100 Trying" msg when
>>> receive INVITE request, by modifying kamailio.cfg or source code.
>> Hi Derrick,
>>
>> if you use a 3.x version, try t_relay_to (from the tm module docs):
>>
>> 1.5.37. t_relay_to(proxy, flags)
>>
>> Forward the SIP request to a specific address, controlling
> internal
>> behavior via flags.
>> ...
>> * flags - bitmask integer value to control the internal
> behavior.
>> Bits can be:
>> + 0x01 - do not generate 100 reply.
> this works for t_realy_to() indeed, for other functions, there is either
>
> a module parameter to set this kind of behaviour globally or a function
> to do it per transaction:
> http://kamailio.org/docs/modules/stable/modules/tm.html#auto_inv_100
> http://kamailio.org/docs/modules/stable/modules/tm.html#t_set_auto_inv_1
> 00
>
> These are valid in v3.x.
>
> Cheers,
> Daniel
>
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the sr-users
mailing list