Re: [OpenSIPS-Users] ACK timout OpenSIPS MediaProxy Integration using MySQL db

2009-05-12 Thread Khan
Thanks Adrian for your advise, I really appreciate it, if you look at
the mailing list by author you will see in last year, my problem has
been same, i have been very specific and at times i have been random.
I appologize for my randomness, and trust me i grew in technology
quite bit by reading documentations and applying the knowledge.

I will keep in mind and stick with specific question, even though it
has been asked again and again...

Thanks again,

Khan

On Tue, May 12, 2009 at 11:04 AM, Adrian Georgescu  wrote:
>> Khan,
>
>
> The quality of an answer seldom exceeds the quality of the asked question.
> The more accurate and focused the question is, the more the chance is that
> you get a good answer for it. Asking to a busy mailing list a set of wide
> questions caused by mere ignorance of the subject will likely yield no
> results as you have not taken the time to learn the basics and there are
> very few who can afford to spend time in your behalf on such range and
> volume of questions.
>
> You can compensate the frustration by reading the software documentation and
> then by asking one question at a time for a particular problem.
>
> Adrian
>
>
>> This is quite annoying since the same question has been asked here
>> million different ways by me but no straight answer or guidence, and i
>> dont believe i am slow learner either...
>> Frustrated
>> Khan
>>
>>
>



-- 
Khan


VoIP Rookie
Every beginning has an end regardless we believe it or not...

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


Re: [OpenSIPS-Users] ACK timout OpenSIPS MediaProxy Integration using MySQL db

2009-05-12 Thread Uwe Kastens
Khan,

You are mixing enage_mediaproxy and use_mediaproxy in your
configuration. Look at the module doc:


http://www.opensips.org/html/docs/modules/1.5.x/mediaproxy.html#id228278

1.6.2. use_media_proxy()
Will make a call to the dispatcher and replace the IPs and ports in the
[...]
modified, while the unsupported streams will be left alone.

This function should NOT be mixed with engage_media_proxy().

BR

Uwe

Khan schrieb:
> *** This is not directed to one person, please feel free to respond ***
> 
> I appologize for my ignorace since I am newbee and in process of learning...
> 
> I am using standard CFG file with few additions only, rest of
> the configuration is standard. I added lines related to record_route()
> as follows:
> 
>   if(!is_method("REGISTER")){
>if(nat_uac_test("19")){
>setbflag(6);
>force_rport();
>fix_contact();
>record_route(";nat=yes");
>} else {
>record_route();
>};
>};
> 
> And mediaproxy activation in places where i believe i should be using,
> please verify if you could that:
> 
> a) did i have all the necessary calls to activate mediaproxy in place?
> b) does it activate mediaproxy when 200 OK is sent?
> c) what constitutes to UAC start sending "OPTIONS" and not been able
> to get ACK for other UAC that has been called?
> 
> Please explain to me, how would it effect, and where does mediaproxy
> comes in play during call?
> 
> I thank all of you in advance...
> This is quite annoying since the same question has been asked here
> million different ways by me but no straight answer or guidence, and i
> dont believe i am slow learner either...
> 
> 
> Frustrated
> Khan
> 
> 
> VoIP Rookie
> Every beginning has an end regardless we believe it or not...
> 
> 
> 
> On Mon, May 11, 2009 at 5:54 AM, Ruud Klaver  wrote:
>> Hi,
>>
>> On 09 May 2009, at 04:59, Khan wrote:
>>
>>> Sorry forgot the attachment of WS...
>>>
>>> Please Help...
>>>
>>> On Fri, May 8, 2009 at 9:56 PM, Khan  wrote:
>>>
>>> Hi everyone,
>>>
>>> I am having trouble running OpenSIPS, while back I had same problem,
>>> this problem is surfaced back again, I am sure there is something I am
>>> missing in my configuration.
>>> Currently i am trying to do followings:
>>> UAC1   >>>   MyOpenSIPS Server   >>>   MySQL auth  >>> MediaProxy >>> UAC2
>>>
>>> At this point, I don't have anything else running except OpenSIPS,
>>> MySQL, and MediaProxy.
>>>
>>> My connections are such...
>>> ISP Modem --> *MyRouter ---> MyServerBox
>>>
>>> * MyRouter has open ports, 80,22,5060, 1-13000, 5-6
>>> My Goals is to Integrate OpenSIPS. MySQL, and MediaProxy and make it
>>> functional...
>>>
>>> I started mediaproxy as follows:
>>> 
>>> root# media-dispatcher --no-fork
>>> Starting MediaProxy Dispatcher 2.3.4
>>> Twisted is using epollreactor
>>> mediaproxy.dispatcher.RelayFactory starting on 50100
>>> mediaproxy.dispatcher.OpenSIPSControlFactory starting on
>>> "'/var/run/mediaproxy/dispatcher.sock'"
>>> mediaproxy.dispatcher.ManagementControlFactory starting on 25061
>>> 
>>>
>>> Problem is that MediaProxy is not working with my configuration, I
>>> don't know what is going on. I can see both MediaProxy and OpenSIPS is
>>> running on my server BUT UAC outside my network still giving me the
>>> same problem as in the beginning.  I constantly receive
>>> "OPTIONS"/SUBSCRIBE
>>> from softphone outside my network since it doesn't received ACK, thus
>>> generate error...
>>>
>>> I made a call which lasted 35 seconds and got cut off giving UAC of
>>> other party an error of network failure.
>>>
>>> I have produced WS trace, please look at it and guide me what is wrong
>>> with this situation, also my configuration is on the following link as
>>> of today... http://pastebin.com/m3cf2769e
>>>
>>> Thanks for all your help,
>>>
>>>
>>> --
>>> Khan
>>>
>>>
>>> VoIP Rookie
>>> Every beginning has an end regardless we believe it or not...
>>>
>>>
>>> --
>>> Khan
>>>
>>>
>>> VoIP Rookie
>>> Every beginning has an end regardless we believe it or not...
>>> <0507WStrace.pcap>
>> I don't see how this has anything to do with mediaproxy, but you should be
>> very suspicious about the fact that both the 180 and the 200 OK in response
>> to the INVITE contain a Record-Route with a private IP address
>> (192.168.1.9), to which the ACK is subsequently sent.
>>
>> Ruud Klaver
>> AG Projects
>>
> 
> 
> 


-- 

kiste lat: 54.322684, lon: 10.13586

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


Re: [OpenSIPS-Users] ACK timout OpenSIPS MediaProxy Integration using MySQL db

2009-05-12 Thread Adrian Georgescu
> Khan,


The quality of an answer seldom exceeds the quality of the asked  
question. The more accurate and focused the question is, the more the  
chance is that you get a good answer for it. Asking to a busy mailing  
list a set of wide questions caused by mere ignorance of the subject  
will likely yield no results as you have not taken the time to learn  
the basics and there are very few who can afford to spend time in your  
behalf on such range and volume of questions.

You can compensate the frustration by reading the software  
documentation and then by asking one question at a time for a  
particular problem.

Adrian


> This is quite annoying since the same question has been asked here
> million different ways by me but no straight answer or guidence, and i
> dont believe i am slow learner either...
> Frustrated
> Khan
>
>

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


Re: [OpenSIPS-Users] ACK timout OpenSIPS MediaProxy Integration using MySQL db

2009-05-12 Thread Khan
*** This is not directed to one person, please feel free to respond ***

I appologize for my ignorace since I am newbee and in process of learning...

I am using standard CFG file with few additions only, rest of
the configuration is standard. I added lines related to record_route()
as follows:

  if(!is_method("REGISTER")){
   if(nat_uac_test("19")){
   setbflag(6);
   force_rport();
   fix_contact();
   record_route(";nat=yes");
   } else {
   record_route();
   };
   };

And mediaproxy activation in places where i believe i should be using,
please verify if you could that:

a) did i have all the necessary calls to activate mediaproxy in place?
b) does it activate mediaproxy when 200 OK is sent?
c) what constitutes to UAC start sending "OPTIONS" and not been able
to get ACK for other UAC that has been called?

Please explain to me, how would it effect, and where does mediaproxy
comes in play during call?

I thank all of you in advance...
This is quite annoying since the same question has been asked here
million different ways by me but no straight answer or guidence, and i
dont believe i am slow learner either...


Frustrated
Khan


VoIP Rookie
Every beginning has an end regardless we believe it or not...



On Mon, May 11, 2009 at 5:54 AM, Ruud Klaver  wrote:
> Hi,
>
> On 09 May 2009, at 04:59, Khan wrote:
>
>> Sorry forgot the attachment of WS...
>>
>> Please Help...
>>
>> On Fri, May 8, 2009 at 9:56 PM, Khan  wrote:
>>
>> Hi everyone,
>>
>> I am having trouble running OpenSIPS, while back I had same problem,
>> this problem is surfaced back again, I am sure there is something I am
>> missing in my configuration.
>> Currently i am trying to do followings:
>> UAC1   >>>   MyOpenSIPS Server   >>>   MySQL auth  >>> MediaProxy >>> UAC2
>>
>> At this point, I don't have anything else running except OpenSIPS,
>> MySQL, and MediaProxy.
>>
>> My connections are such...
>> ISP Modem --> *MyRouter ---> MyServerBox
>>
>> * MyRouter has open ports, 80,22,5060, 1-13000, 5-6
>> My Goals is to Integrate OpenSIPS. MySQL, and MediaProxy and make it
>> functional...
>>
>> I started mediaproxy as follows:
>> 
>> root# media-dispatcher --no-fork
>> Starting MediaProxy Dispatcher 2.3.4
>> Twisted is using epollreactor
>> mediaproxy.dispatcher.RelayFactory starting on 50100
>> mediaproxy.dispatcher.OpenSIPSControlFactory starting on
>> "'/var/run/mediaproxy/dispatcher.sock'"
>> mediaproxy.dispatcher.ManagementControlFactory starting on 25061
>> 
>>
>> Problem is that MediaProxy is not working with my configuration, I
>> don't know what is going on. I can see both MediaProxy and OpenSIPS is
>> running on my server BUT UAC outside my network still giving me the
>> same problem as in the beginning.  I constantly receive
>> "OPTIONS"/SUBSCRIBE
>> from softphone outside my network since it doesn't received ACK, thus
>> generate error...
>>
>> I made a call which lasted 35 seconds and got cut off giving UAC of
>> other party an error of network failure.
>>
>> I have produced WS trace, please look at it and guide me what is wrong
>> with this situation, also my configuration is on the following link as
>> of today... http://pastebin.com/m3cf2769e
>>
>> Thanks for all your help,
>>
>>
>> --
>> Khan
>>
>>
>> VoIP Rookie
>> Every beginning has an end regardless we believe it or not...
>>>
>>
>>
>>
>> --
>> Khan
>>
>>
>> VoIP Rookie
>> Every beginning has an end regardless we believe it or not...
>> <0507WStrace.pcap>
>
> I don't see how this has anything to do with mediaproxy, but you should be
> very suspicious about the fact that both the 180 and the 200 OK in response
> to the INVITE contain a Record-Route with a private IP address
> (192.168.1.9), to which the ACK is subsequently sent.
>
> Ruud Klaver
> AG Projects
>



-- 
Khan


VoIP Rookie
Every beginning has an end regardless we believe it or not...

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


Re: [OpenSIPS-Users] ACK timout OpenSIPS MediaProxy Integration using MySQL db

2009-05-11 Thread Ruud Klaver
Hi,

On 09 May 2009, at 04:59, Khan wrote:

> Sorry forgot the attachment of WS...
>
> Please Help...
>
> On Fri, May 8, 2009 at 9:56 PM, Khan  wrote:
>
> Hi everyone,
>
> I am having trouble running OpenSIPS, while back I had same problem,
> this problem is surfaced back again, I am sure there is something I am
> missing in my configuration.
> Currently i am trying to do followings:
> UAC1   >>>   MyOpenSIPS Server   >>>   MySQL auth  >>> MediaProxy  
> >>> UAC2
>
> At this point, I don't have anything else running except OpenSIPS,
> MySQL, and MediaProxy.
>
> My connections are such...
> ISP Modem --> *MyRouter ---> MyServerBox
>
> * MyRouter has open ports, 80,22,5060, 1-13000, 5-6
> My Goals is to Integrate OpenSIPS. MySQL, and MediaProxy and make it
> functional...
>
> I started mediaproxy as follows:
> 
> root# media-dispatcher --no-fork
> Starting MediaProxy Dispatcher 2.3.4
> Twisted is using epollreactor
> mediaproxy.dispatcher.RelayFactory starting on 50100
> mediaproxy.dispatcher.OpenSIPSControlFactory starting on
> "'/var/run/mediaproxy/dispatcher.sock'"
> mediaproxy.dispatcher.ManagementControlFactory starting on 25061
> 
>
> Problem is that MediaProxy is not working with my configuration, I
> don't know what is going on. I can see both MediaProxy and OpenSIPS is
> running on my server BUT UAC outside my network still giving me the
> same problem as in the beginning.  I constantly receive "OPTIONS"/ 
> SUBSCRIBE
> from softphone outside my network since it doesn't received ACK, thus
> generate error...
>
> I made a call which lasted 35 seconds and got cut off giving UAC of
> other party an error of network failure.
>
> I have produced WS trace, please look at it and guide me what is wrong
> with this situation, also my configuration is on the following link as
> of today... http://pastebin.com/m3cf2769e
>
> Thanks for all your help,
>
>
> --
> Khan
>
>
> VoIP Rookie
> Every beginning has an end regardless we believe it or not...
>>
>
>
>
> -- 
> Khan
>
>
> VoIP Rookie
> Every beginning has an end regardless we believe it or not...
> <0507WStrace.pcap>

I don't see how this has anything to do with mediaproxy, but you  
should be very suspicious about the fact that both the 180 and the 200  
OK in response to the INVITE contain a Record-Route with a private IP  
address (192.168.1.9), to which the ACK is subsequently sent.

Ruud Klaver
AG Projects

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


Re: [OpenSIPS-Users] ACK timout OpenSIPS MediaProxy Integration using MySQL db

2009-05-08 Thread Khan
Sorry forgot the attachment of WS...

Please Help...

On Fri, May 8, 2009 at 9:56 PM, Khan  wrote:

 Hi everyone,

 I am having trouble running OpenSIPS, while back I had same problem,
 this problem is surfaced back again, I am sure there is something I am
 missing in my configuration.
 Currently i am trying to do followings:
 UAC1   >>>   MyOpenSIPS Server   >>>   MySQL auth  >>> MediaProxy >>> UAC2

 At this point, I don't have anything else running except OpenSIPS,
 MySQL, and MediaProxy.

 My connections are such...
 ISP Modem --> *MyRouter ---> MyServerBox

 * MyRouter has open ports, 80,22,5060, 1-13000, 5-6
 My Goals is to Integrate OpenSIPS. MySQL, and MediaProxy and make it
 functional...

 I started mediaproxy as follows:
 
 root# media-dispatcher --no-fork
 Starting MediaProxy Dispatcher 2.3.4
 Twisted is using epollreactor
 mediaproxy.dispatcher.RelayFactory starting on 50100
 mediaproxy.dispatcher.OpenSIPSControlFactory starting on
 "'/var/run/mediaproxy/dispatcher.sock'"
 mediaproxy.dispatcher.ManagementControlFactory starting on 25061
 

 Problem is that MediaProxy is not working with my configuration, I
 don't know what is going on. I can see both MediaProxy and OpenSIPS is
 running on my server BUT UAC outside my network still giving me the
 same problem as in the beginning.  I constantly receive "OPTIONS"/SUBSCRIBE
 from softphone outside my network since it doesn't received ACK, thus
 generate error...

 I made a call which lasted 35 seconds and got cut off giving UAC of
 other party an error of network failure.

 I have produced WS trace, please look at it and guide me what is wrong
 with this situation, also my configuration is on the following link as
 of today... http://pastebin.com/m3cf2769e

 Thanks for all your help,


 --
 Khan


 VoIP Rookie
 Every beginning has an end regardless we believe it or not...
>



-- 
Khan


VoIP Rookie
Every beginning has an end regardless we believe it or not...


0507WStrace.pcap
Description: application/cap
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] ACK timout OpenSIPS MediaProxy Integration using MySQL db

2009-05-08 Thread Khan
Hi everyone,

I am having trouble running OpenSIPS, while back I had same problem,
this problem is surfaced back again, I am sure there is something I am
missing in my configuration.
Currently i am trying to do followings:
UAC1   >>>   MyOpenSIPS Server   >>>   MySQL auth  >>> MediaProxy >>> UAC2

At this point, I don't have anything else running except OpenSIPS,
MySQL, and MediaProxy.

My connections are such...
ISP Modem --> *MyRouter ---> MyServerBox

* MyRouter has open ports, 80,22,5060, 1-13000, 5-6
My Goals is to Integrate OpenSIPS. MySQL, and MediaProxy and make it
functional...

I started mediaproxy as follows:

root# media-dispatcher --no-fork
Starting MediaProxy Dispatcher 2.3.4
Twisted is using epollreactor
mediaproxy.dispatcher.RelayFactory starting on 50100
mediaproxy.dispatcher.OpenSIPSControlFactory starting on
"'/var/run/mediaproxy/dispatcher.sock'"
mediaproxy.dispatcher.ManagementControlFactory starting on 25061


Problem is that MediaProxy is not working with my configuration, I
don't know what is going on. I can see both MediaProxy and OpenSIPS is
running on my server BUT UAC outside my network still giving me the
same problem as in the beginning.  I constantly receive "OPTIONS"/SUBSCRIBE
from softphone outside my network since it doesn't received ACK, thus
generate error...

I made a call which lasted 35 seconds and got cut off giving UAC of
other party an error of network failure.

I have produced WS trace, please look at it and guide me what is wrong
with this situation, also my configuration is on the following link as
of today... http://pastebin.com/m3cf2769e

Thanks for all your help,


-- 
Khan


VoIP Rookie
Every beginning has an end regardless we believe it or not...

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