blox

   
Hein Tonny Køien
Hein Tonny Køien
Posts: 1


5/10/2017
Hi,

I try to understand how to configure the SIP header manipulation and SIP header conditions.

If someone has tips on where to start to learn the configuration I would be grateful. I don't have a specific use case by know, I just need to understand the opportunity window. I'm familiar with SIP header manipulation in Sangoma, Sonus and some Kamailio configurations.

I also have a few direct questions:
1. There is a populated list of HEADER variables to use in the conditions, does it exist any documentation for this variables? For what I can see it's not possible to directly map Blox variables to OpenSIP variables (in the OpenSIP documentation).

2. I also wonder how to address the HEADER field correctly in:

SIP Headers -> Add new --> Condition (is_present_hf) -> Header

Should I use FROM, TO, P-Asserted-Identity, etc, or should I use OpenSIP variables like: from_uri, to_uri or the variable format populated in the conditions field?

3. Is there a logfile I can read to get the information regarding header variable names?
I would be gratefull to learn about it.

(... did my first installation of Blox today, to learn about the opportunities with this SBC. If I find that I can manage this clever Blox, we consider to implement it into our network replacing a licensed SBC).

Thanks,
Hein Tonny Køien

--
Hein Tonny Køien
0 link
bloxsupport1
bloxsupport1
Posts: 81


5/10/2017
bloxsupport1
bloxsupport1
Posts: 81
Hein Tonny Køien wrote:
Hi,

I try to understand how to configure the SIP header manipulation and SIP header conditions.

If someone has tips on where to start to learn the configuration I would be grateful. I don't have a specific use case by know, I just need to understand the opportunity window. I'm familiar with SIP header manipulation in Sangoma, Sonus and some Kamailio configurations.

I also have a few direct questions:
1. There is a populated list of HEADER variables to use in the conditions, does it exist any documentation for this variables? For what I can see it's not possible to directly map Blox variables to OpenSIP variables (in the OpenSIP documentation).


Blox is based on Opensips, so all the variables used are Opensips variable

Hein Tonny Køien wrote:

2. I also wonder how to address the HEADER field correctly in:

SIP Headers -> Add new --> Condition (is_present_hf) -> Header

Should I use FROM, TO, P-Asserted-Identity, etc, or should I use OpenSIP variables like: from_uri, to_uri or the variable format populated in the conditions field?


You can use the Opensips variable to create the condition $fu - from uri
https://www.opensips.org/Documentation/Script-CoreParameters-1-11

and in action you can specify e.g: append_hf
http://www.opensips.org/html/docs/modules/1.11.x/sipmsgops.html

Hein Tonny Køien wrote:

3. Is there a logfile I can read to get the information regarding header variable names?
I would be gratefull to learn about it.

https://www.opensips.org/Documentation/Script-CoreParameters-1-11
Logs: /var/log/opensips.log
configuration: /usr/local/etc/opensips/ and /etc/blox/ (macros)

Hein Tonny Køien wrote:

(... did my first installation of Blox today, to learn about the opportunities with this SBC. If I find that I can manage this clever Blox, we consider to implement it into our network replacing a licensed SBC).

Thanks for your interest. If you have any specification for SIP Header manipulation let us know.
You can also write us enquiry@blox.org, Online Skype: blox.support

Hein Tonny Køien wrote:

Thanks,
Hein Tonny Køien
0 link
imstest321
imstest321
Posts: 4


5/30/2017
imstest321
imstest321
Posts: 4
Dear sir,
my softphone register to Kamailio through blox SBC configuring Roaming Users.
The SIP port of Kamailio is 4060.
Would you please tell me how to remove the URI port 4060 using SIP Header function of SIP message to Kamailio?
Thanks a lot.
0 link
bloxsupport1
bloxsupport1
Posts: 81


6/1/2017
bloxsupport1
bloxsupport1
Posts: 81
Hi,
Can you please let us know in which URI port you need to make changes.


Thanks and Regards,
Blox Support Team





imstest321 wrote:
Dear sir,
my softphone register to Kamailio through blox SBC configuring Roaming Users.
The SIP port of Kamailio is 4060.
Would you please tell me how to remove the URI port 4060 using SIP Header function of SIP message to Kamailio?
Thanks a lot.
0 link
imstest321
imstest321
Posts: 4


6/1/2017
imstest321
imstest321
Posts: 4
Dear sir,

Thanks your reply.
Our network architecture was shown below.

softphone ---->Blox---->Kamailio (SIP port 4060)

The original SIP message from softphone to Blox was
REGISTER sip:ims.kamailio.org SIP/2.0

From Blox to Kamailio was
REGISTER sip:ims.kamailio.org:4060;transport=udp SIP/2.0

The response message from Kamailio was
SIP/2.0 483 Too Many Hops

We want to remove the RequestURI port 4060 using SIP Header function.

Thanks.


bloxsupport1 wrote:
Hi,
Can you please let us know in which URI port you need to make changes.


Thanks and Regards,
Blox Support Team





imstest321 wrote:
Dear sir,
my softphone register to Kamailio through blox SBC configuring Roaming Users.
The SIP port of Kamailio is 4060.
Would you please tell me how to remove the URI port 4060 using SIP Header function of SIP message to Kamailio?
Thanks a lot.
0 link
bloxsupport1
bloxsupport1
Posts: 81


6/2/2017
bloxsupport1
bloxsupport1
Posts: 81
imstest321 wrote:
Dear sir,

Thanks your reply.
Our network architecture was shown below.

softphone ---->Blox---->Kamailio (SIP port 4060)

The original SIP message from softphone to Blox was
REGISTER sip:ims.kamailio.org SIP/2.0

From Blox to Kamailio was
REGISTER sip:ims.kamailio.org:4060;transport=udp SIP/2.0

The response message from Kamailio was
SIP/2.0 483 Too Many Hops

We want to remove the RequestURI port 4060 using SIP Header function.

Thanks.



Uncheck the bind port in SIP domain used in Roaming user destination domain
0 link
imstest321
imstest321
Posts: 4


6/2/2017
imstest321
imstest321
Posts: 4
Dear sir,

The bind port and bind host were unchecked in SIP domain right now.
FreeBlox version : 1.0.4.00 8

Thanks.



edited by imstest321 on 6/2/2017
0 link
quan.pt
quan.pt
Posts: 1


6/4/2017
quan.pt
quan.pt
Posts: 1
You try edit SIP Port as 4060 in SIP INTERNAL PROFILE.
0 link
imstest321
imstest321
Posts: 4


6/4/2017
imstest321
imstest321
Posts: 4
Dear quan,

The result is the same.
The source port from Blox to Kamailio was changed to 4060.
Thanks.
0 link
bloxsupport1
bloxsupport1
Posts: 81


6/6/2017
bloxsupport1
bloxsupport1
Posts: 81
Hi,

In the current version of the firmware it is not possible, we will be fixing the issue in next release. Next release will be in 2 weeks of time.

Thanks and Regards,
Blox Support Team



imstest321 wrote:
Dear sir,

The bind port and bind host were unchecked in SIP domain right now.
FreeBlox version : 1.0.4.00 8

Thanks.



edited by imstest321 on 6/2/2017
0 link






Powered by blox.org 1.0.0.0 © 2015