[SR-Users] How I can turn off 100 trying reply

Derrick Ding dding at aastra.com
Tue Apr 12 19:37:12 CEST 2011


Hi,

Thanks for your reply,
I solve this issue by modifying tm/config.c

Line 69: change 1 to 0.

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


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list