[OpenSIPS-Users] topology_hiding() not executing

Satish Patel satish.txt at gmail.com
Fri Aug 29 20:04:43 CEST 2014


Soon, i am going to send you SIP Trace, I need to get this done ASAP :)


On Fri, Aug 29, 2014 at 5:16 AM, Vlad Paiu <vladpaiu at opensips.org> wrote:

>  Hello,
>
> That's why I was asking for the call's SIP trace - seems to be an issue
> with the newly added CSEQ increase features.
>
>
> Best Regards,
>
> Vlad Paiu
> OpenSIPS Developerhttp://www.opensips-solutions.com
>
> On 29.08.2014 08:11, Satish Patel wrote:
>
>  Very interesting thing happened, If i am authentication trunk using
> uac_auth() function then it is not handling BYE from callee, but if i use
> IP base authentication on trunk between opensips and asterisk it works! and
> also handling BYE properly. Don't you think it is wired?
>
>  Here is my asterisk sip.conf  if i comment out permit ip and
> insecure=invite its works!  with BYE message also. Why it is not working
> properly with UAC authentication?
>
> [4545]
> type=friend
> host=182.72.242.164
> context=office
> ;insecure=invite
> ;deny=0.0.0.0/0.0.0.0
> ;permit=182.xx.xx.xx/255.255.255.255
> secret=password
> allow=all
> nat=yes
>
>
>
> On Thu, Aug 28, 2014 at 8:40 AM, Vlad Paiu <vladpaiu at opensips.org> wrote:
>
>>  Hello,
>>
>> Please privately send me again the SIP trace for the call.
>>
>>
>> Best Regards,
>>
>> Vlad Paiu
>> OpenSIPS Developerhttp://www.opensips-solutions.com
>>
>>   On 28.08.2014 15:23, Satish Patel wrote:
>>
>> I have tried to remove RR but it didn't help :(  I have put top hide
>> after RR no luck.
>>
>> Sent from my iPhone
>>
>> On Aug 28, 2014, at 3:16 AM, Vlad Paiu <vladpaiu at opensips.org> wrote:
>>
>>   Hello,
>>
>> When doing topology hiding, there's no need to call record_route() at
>> all, so please remove the call to record_route() from your script, or move
>> topology_hiding() after the record_route() function call.
>>
>> Best Regards,
>>
>> Vlad Paiu
>> OpenSIPS Developerhttp://www.opensips-solutions.com
>>
>> On 27.08.2014 20:25, Satish Patel wrote:
>>
>>   Hi Vlad,
>>
>>  I have created pastebin for Asterisk, Opensips and opensips.cf file, I
>> am going to send you in your private email address because of security
>> reason.
>>
>>  Let me know if you see any issue in my configuration, or any kind of
>> suggestion.
>>
>>  Appreciate your help.
>>
>>
>> On Mon, Aug 25, 2014 at 11:48 PM, Satish Patel <satish.txt at gmail.com>
>> wrote:
>>
>>>  I have put topology_hiding() function at following place in script but
>>> its not hiding VIA header following is my senerio
>>>
>>>  [UA]-------->[Opensips]-----------[Asterisk/SIP gateway]
>>>
>>>  I want to hind my UA IP address so Asterisk doesn't see them, currently
>>> my asterisk can see what IP address UA coming from, where should i put them
>>> generally
>>>
>>>
>>> if (is_method("INVITE")) {
>>> ...
>>> ...
>>> if  ( uri=~"^sip:[0-9]*@.*" <%5Esip:[0-9]*@.*>) {
>>>         uac_replace_from("sip:4545 at 65.111.170.127");
>>>         t_on_failure("3");
>>>         resetflag(7);
>>>         t_relay( "udp:65.111.170.127:5065" );
>>>          topology_hiding();
>>>         exit;
>>>         };
>>>
>>>
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140829/b34e3c41/attachment.htm>


More information about the Users mailing list