Hi All,
I've noticed that using X-lite (for Linux) there are some problems with
BYE method.
When X-lite generates BYE, it puts in the Route Header field the address
known through the record-route added by proxy.
As "SER - Gettin Started" shown, an address like : IP_proxy:5060;nat=yes:
" /....
....
if(method=="INVITE" && client_nat_test("7"))
{
record_route_preset ("proxy_ip_address :5060;nat=yes");
.... }
/"
1. When we have a BYE message sended by X-lite (user A), it is like this:
"/Request-Line: BYE sip: B@proxy_ip_address : 5060 SIP/2.0
Via: SIP/2.0/UDP A_address:5061; rport;branch=xyz
From: <sip: A@proxy_ip_address:5061>;tag=123
To: <sip: B@proxy_ip_address:5060>;tag=456
Contact:<sip:A@A_address:5061>
* Route: <sip: proxy_ip_address:5060; nat=yes; ftag=9098789; lr=on>*
....
.....
.... "/
2. Now the message BYE is parsed by the Proxy, and it uses the
loose_route():
/if(loose_route())/
{
forward the message
};
but Proxy doesn't recognizes its address and then rewrites the R-URI
with the address in Route header field and sends the BYE message.....to
itself! then Proxy parses the new BYE (sended by itself) with the URI
:/* <sip: proxy_ip_address:5060; nat=yes; ftag=9098789; lr=on>,*/ the
the answer to user A is : 404 Destination not found!
Why doesn't OpenSER, in the loose_route() function, recognize its
address in Route header field? This is what should it do. And then,
delete the route header field and then forward the message using R-URI.
I think there is something wrong....
Regards,
Daniel
--
---------------------------------------------------
Daniel Grotti
DEIS - University of Bologna
Via Venezia, 52 - 47023 Cesena (FC) - ITALY
Contacts
e-mail : daniel.grotti(a)unibo.it
Skype name : Daniel Grotti
---------------------------------------------------
Hi,
What are the possible HFNAME values in hf selects in ser rel_2_0_0?
When I try to add my own header and then use the a select for it the
select is empty.
I do it for
P-Asserted-Identity header
I did the following selects and no results:
xlog("L_INFO", " route[AUTHENTICATION]: P-ASS:
%(a)hf_value.p-asserted-identity \n");
xlog("L_INFO", " route[AUTHENTICATION]: P-ASS:
%(a)hf_value.P_Asserted_Identity \n");
xlog("L_INFO", " route[AUTHENTICATION]: P-ASS:
%(a)hf_value.p_asserted_identity \n");
xlog("L_INFO", " route[AUTHENTICATION]: P-ASS:
%(a)hf_value2.p-asserted-identity \n");
xlog("L_INFO", " route[AUTHENTICATION]: P-ASS:
%(a)hf_value2.P_Asserted_Identity \n");
xlog("L_INFO", " route[AUTHENTICATION]: P-ASS:
%(a)hf_value2.p_asserted_identity \n");
Please point me what do I miss.
Regards
Tomasz
Shad Mortazavi
UK Managing Director
Nexus Management (EMEA) Ltd
--------------------
T: +44 (0)844 484 2574
M: +44 (0)781 721 0758
Sent from Windows Mobile.
Hi Daniel,
Hmmm....I see - you say (for outgoing scenario) that the location set is
initialized with the A destination instead of B destination, right?
If so, please open a bug report on the tracker.
regards,
Bogdan
Daniel Grotti wrote:
> Hi bogdan,
> If it's my cpl outgoing script configuration, from USER A
> ******************************************************
> <cpl>
> <outgoing>
> <address-switch field="destination" subfield="user">
> <address is="B">
> <proxy />
> </address>
> </address-switch>
> </outgoing>
> <cpl>
> *******************************************************
> When I make a call from A to B, then the script has called, but in
> debug I can see that CPL rewrites R-URI with source address
> (A@A_ip_address) instead of destination address (B@B_ip_address). So
> the message goes back to user A.
>
> regards,
> Daniel
>
> Bogdan-Andrei Iancu wrote:
>> Hi Daniel,
>>
>> there are no differences - the implementation follows the RFC. For
>> incoming calls, the location set is empty, but it can be populated by
>> the CPL script during execution. So, when you do "proxy", you may
>> have multiple entries in the location set.
>>
>> The comment in the cpl_sig.c file refers to some implementation
>> details - how to process the available location set, depeding if it
>> is the first time doing proxy (for the call) or a second time.
>>
>> regards,
>> bogdan
>>
>> daniel grotti wrote:
>>> Hi all,
>>> this is what CPL_SIG.c says about forwarding a given message to the
>>> given location set:
>>>
>>> " forwards the msg to the given location set; if flags has set the
>>> CPL_PROXY_DONE, all locations will be added as branches,
>>> otherwise, the first one will set as RURI (this is ha case when
>>> this is the first proxy of the message)
>>> The given list of location will be freed, returning 0 instead.
>>> Returns: 0 - OK "
>>>
>>>
>>> My question is : which and what is "the first one" location ? Can
>>> you explain it better?
>>> Because RFC 3880 say that : "For the incoming top-level call
>>> processing action, the location set is initialized to the empty set.
>>> For the outgoing action, it is initialized to the destination
>>> address of the call."
>>>
>>> So RFC is very clear. I think there are considerable differences
>>> between RFC and the behavior of CPL interpreter.
>>>
>>> Thanks.
>>> Daniel
>>>
Hi all,
this is what CPL_SIG.c says about forwarding a given message to the given location set:
" forwards the msg to the given location set; if flags has set the
CPL_PROXY_DONE, all locations will be added as branches, otherwise, the
first one will set as RURI (this is ha case when this is the first proxy
of the message)
The given list of location will be freed, returning 0 instead.
Returns: 0 - OK "
My question is : which and what is "the first one" location ? Can you explain it better?
Because RFC 3880 say that : "For the incoming top-level call processing action, the location set is initialized to the empty set.
For the outgoing action, it is initialized to the destination address of the call."
So RFC is very clear. I think there are considerable differences between RFC and the behavior of CPL interpreter.
Thanks.
Daniel
-----------------------------
Daniel Grotti
DEIS - Universita' di Bologna
-----------------------------
Via Venezia, 52
47023 Cesena (FC) - ITALY
-----------------------------
email:daniel.grotti@unibo.it
-----------------------------
Hi Folks,
I'm still struggling with bridging openser between a public and a
private network.
The private 10.10.12.0/24 network connects openser and an asterisk
server that plays a file and hangs up. I've got 2 sip clients connected
to the public and private sides of the openser server.
When I make calls via openser to the asterisk box, I only get audio on
the private networks sip client, and neither client gets hung up
correctly at the end of the call.
I've put the SIP debug from the external client here:
http://pastebin.com/m388a707d
My openser and rtpproxy configs are here:
http://pastebin.com/m3ed309d3
Can anyone give me any pointers? I've been staring at this for days :(
-Cheers Max
Sir/Madam
I'm a System administrator of Institute.
I use MS LCS 2005 SP1 Enterprise edition & Office Communicator in my work
place.
I have linux SER Server & CISCO ATA 186 Telephone adapter.
I have to run to Messenger client X-Lite for SER Server and Office
Communicator for LCS.
Because I place TP in Guard Office they can call Staff through SER server /
X-Lite.
But can't call Office Communicator!
CISCO ATA 186 can't registering in LCS, I thing it not possible directly. (
Because LCS use Active Directory Account through Kerbas & NTLM
authentication).
So I want integrate LCS & SER Server to facilitate TP call to Office
Communicator & Office Communicator call TP.
I use a pool in LCS as normal TCP (not TLS). SER Server also use normal
(with out DB -Any one can registrar with any name)
Could you kindly tell the process for integrate LCS & SER Server?
Thank You
Your truly
Elil
At 18:17 05/11/2007, elilkumaran s wrote:
>Sir/Madam
>
>I'm a System administrator of Institute.
>
>I use MS LCS 2005 SP1 Enterprise edition & Office Communicator in my work place.
>I have linux SER Server & CISCO ATA 186 Telephone adapter.
>
>I have to run to Messenger client X-Lite for SER Server and Office Communicator for LCS.
>
>Because I place TP in Guard Office they can call Staff through SER server / X-Lite.
>But can't call Office Communicator!
Consider this "howto":
- log in as administrator in the Windows machine on which LCS is running
- start debian installation CD
- when asked "replace existing partitions", answer yes
- when finished, install SER debian packages, along with mysql
- continue testing your SIP end-devices
;-)
>CISCO ATA 186 can't registering in LCS, I thing it not possible directly. ( Because LCS use Active Directory Account through Kerbas & NTLM authentication).
>So I want integrate LCS & SER Server to facilitate TP call to Office Communicator & Office Communicator call TP.
>I use a pool in LCS as normal TCP (not TLS). SER Server also use normal (with out DB -Any one can registrar with any name)
>
>Could you kindly tell the process for integrate LCS & SER Server?
Seriously -- why would you like to have two servers when you can have one,
whichever you prefer better?
-jiri
>Thank You
>Your truly
>Elil
>
>
>
>_______________________________________________
>Serusers mailing list
>Serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
I have a cronjob that periodically runs openserctl to gather stats out of
openser. I've noticed that in my fifo directory, there are anywhere from
1.5 ~ 3k openser_receiver files laying around.
Is there something screwy with mi_fifo in v1.2.2-tls that's preventing it
from cleaning up after itself?
--Chris