[OpenSIPS-Users] siptarce enable/disable without restart service

2015-06-02 Thread Satish Patel
We have opensips 2.1, is there anyway we can enable disable siptrace
without restart opensips?  because it will be very helpful.. we don't want
to keep it on for no reason..


route {
 ...
 ...
 sip_trace();

}
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] siptarce enable/disable without restart service

2015-06-02 Thread Satish Patel
But siptrace() has no connection with cache store (memory, etc)... it is
just raw sip messages store in database or send to Homer (HEP)

On Tue, Jun 2, 2015 at 11:53 AM, Jarrod Baumann  wrote:

> You could wrap it in an if statement that checked a cache store (memory,
> etc) value if that didn’t pose too great a performance issue?  I haven’t
> tried it, just thinking outloud.
>
> > On Jun 2, 2015, at 10:45 AM, Satish Patel  wrote:
> >
> > We have opensips 2.1, is there anyway we can enable disable siptrace
> without restart opensips?  because it will be very helpful.. we don't want
> to keep it on for no reason..
> >
> >
> > route {
> >  ...
> >  ...
> >  sip_trace();
> >
> > }
> >
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] siptarce enable/disable without restart service

2015-06-02 Thread Jarrod Baumann
You could wrap it in an if statement that checked a cache store (memory, etc) 
value if that didn’t pose too great a performance issue?  I haven’t tried it, 
just thinking outloud.

> On Jun 2, 2015, at 10:45 AM, Satish Patel  wrote:
> 
> We have opensips 2.1, is there anyway we can enable disable siptrace without 
> restart opensips?  because it will be very helpful.. we don't want to keep it 
> on for no reason.. 
> 
> 
> route {
>  ...
>  ...
>  sip_trace();
> 
> }
> 
> 
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] siptarce enable/disable without restart service

2015-06-02 Thread Satish Patel
nevermind, i found answer.

 opensipsctl fifo sip_trace off
 opensipsctl fifo sip_trace on

On Tue, Jun 2, 2015 at 11:58 AM, Satish Patel  wrote:

> But siptrace() has no connection with cache store (memory, etc)... it is
> just raw sip messages store in database or send to Homer (HEP)
>
> On Tue, Jun 2, 2015 at 11:53 AM, Jarrod Baumann  wrote:
>
>> You could wrap it in an if statement that checked a cache store (memory,
>> etc) value if that didn’t pose too great a performance issue?  I haven’t
>> tried it, just thinking outloud.
>>
>> > On Jun 2, 2015, at 10:45 AM, Satish Patel  wrote:
>> >
>> > We have opensips 2.1, is there anyway we can enable disable siptrace
>> without restart opensips?  because it will be very helpful.. we don't want
>> to keep it on for no reason..
>> >
>> >
>> > route {
>> >  ...
>> >  ...
>> >  sip_trace();
>> >
>> > }
>> >
>> >
>> > ___
>> > Users mailing list
>> > Users@lists.opensips.org
>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] siptarce enable/disable without restart service

2015-06-02 Thread Jarrod Baumann
Thanks for sharing.. I learned something new! 😊

> On Jun 2, 2015, at 11:10 AM, Satish Patel  wrote:
> 
> nevermind, i found answer. 
> 
>  opensipsctl fifo sip_trace off
>  opensipsctl fifo sip_trace on 
> 
> On Tue, Jun 2, 2015 at 11:58 AM, Satish Patel  > wrote:
> But siptrace() has no connection with cache store (memory, etc)... it is just 
> raw sip messages store in database or send to Homer (HEP) 
> 
> On Tue, Jun 2, 2015 at 11:53 AM, Jarrod Baumann  > wrote:
> You could wrap it in an if statement that checked a cache store (memory, etc) 
> value if that didn’t pose too great a performance issue?  I haven’t tried it, 
> just thinking outloud.
> 
> > On Jun 2, 2015, at 10:45 AM, Satish Patel  > > wrote:
> >
> > We have opensips 2.1, is there anyway we can enable disable siptrace 
> > without restart opensips?  because it will be very helpful.. we don't want 
> > to keep it on for no reason..
> >
> >
> > route {
> >  ...
> >  ...
> >  sip_trace();
> >
> > }
> >
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org 
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
> > 
> 
> 
> ___
> Users mailing list
> Users@lists.opensips.org 
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
> 
> 
> 
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] issues with webrtc in 2.1 stable

2015-06-02 Thread Tito Cumpen
Group,


I checked out opensips 2.1  branch today as I had been running a trunk
version from about a month ago. Now I am seeing issues transmitting acks
and byes to the remote side when they source from a webrtc client. Opensips
is displaying this statement in the logs.

ERROR:proto_ws:proto_ws_send: no open tcp connection found. WebSocket
connect is not supported!

Jun  2 22:47:44/sbin/opensips[10323]: ERROR:tm:msg_send: send() for proto 5
failed

Jun  2 22:47:44  /sbin/opensips[10323]: ERROR:tm:t_forward_nonack: sending
request failed



Here is an ack that fails,



ACK sip:patientdemo6.gmail@68.195.115.219:49819;transport=tcp SIP/2.0

Via: SIP/2.0/WS 192.237.160.129:8080;branch=z9hG4bK1941.ac1ea01.3;i=11

Via: SIP/2.0/WS
df7jal23ls0d.invalid;received=68.195.115.219;branch=z9hG4bKDkzZdVkwTIfn7Q6BMh0h;rport=62612

From: "tito";tag=E6xwQCRGTOBxlP5EaIxL

To: ;tag=k1GPy4-

Contact: "tito";+g.oma.sip-im;language="en,fr"

Call-ID: bc03514a-10fd-b1ee-9b92-ca6046c3474f

CSeq: 44222 ACK

Content-Length: 0

Max-Forwards: 69

Proxy-Authorization: Digest username="
patientdemo5.gm...@nurseliveconnect.org",realm="nurseliveconnect.org
",nonce="556e341101e8de622139149f48392dc597150508b7df",uri="sip:patientdemo6.gmail@68.195.115.219:49819
;transport=tcp",response="326e78b8a9de4423c3a7f5d3ecaadf84",algorithm=MD5

Route: 

Route:


User-Agent: IM-client/OMA1.0 sipML5-v1.2015.03.18

Organization: Doubango Telecom


.

Jun  2 22:53:44 cloud-server-09 /sbin/opensips[10323]:
DBG:core:forward_request: orig. len=1174, new_len=1208, proto=5

Jun  2 22:53:44 cloud-server-09 /sbin/opensips[10323]:
ERROR:proto_ws:proto_ws_send: no open tcp connection found. WebSocket
connect is not supported!

Jun  2 22:53:44 cloud-server-09 /sbin/opensips[10323]: ERROR:core:msg_send:
send() for proto 5 failed


Please advise.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Manipulate Opensips generated SIP headers

2015-06-02 Thread Ping Han
Hi,

With Opensips is there a way to manipulate the SIP headers of a messages
that are generated locally by Opensips. See the example below.


ACK sip:0370103204@192.168.100.37:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.100.74:5060;branch=z9hG4bK5094.3ee05403.1
From:;tag=1740643510
Call-ID: 641613075@192.168.100.38
To:;tag=1994410995-1432625097305;
CSeq: 1 ACK
Max-Forwards: 70
User-Agent: OpenSIPS (2.1.0 (x86_64/linux))
Content-Length: 0


Thanks,
Ping Han
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Manipulate Opensips generated SIP headers

2015-06-02 Thread Jeff Pyle
Which headers do you want to manipulate?


- Jeff

On Tue, Jun 2, 2015 at 7:53 PM, Ping Han  wrote:

> Hi,
>
> With Opensips is there a way to manipulate the SIP headers of a messages
> that are generated locally by Opensips. See the example below.
>
> 
> ACK sip:0370103204@192.168.100.37:5060 SIP/2.0
> Via: SIP/2.0/UDP 192.168.100.74:5060;branch=z9hG4bK5094.3ee05403.1
> From:;tag=1740643510
> Call-ID: 641613075@192.168.100.38
> To:;tag=1994410995-1432625097305;
> CSeq: 1 ACK
> Max-Forwards: 70
> User-Agent: OpenSIPS (2.1.0 (x86_64/linux))
> Content-Length: 0
> 
>
> Thanks,
> Ping Han
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users