please always Cc: the list....
On 23.12.2009 16:24, Rodney wrote:
Well could you explain how to actually get peering functioning between Kamailio on inbound and outbound?
There is no "peering functioning" in kamailio. You self have to define how you want to peer.
For example if you want to peer with somebody sending you inbound requests, you have to define at least: - number format - authentication (IP-based, TLS, digest)
One you have defined those parameters, you can implement it, e.g. digest authentication or IP based authentication.
The same for outbound route - you have to configure Kamailio so that outbound requests are sent in the proper format.
And Kamailio can not register to any other SIP service. If you need such a feature, you better use Asterisk.
regards klaus
Oh sorry about that, basically I have inbound fine, but cant figure out how to set the outbound routes? For example, calls from Kamailio --> X.X.X.X all calls are going to same destination at the moment, but later I will have to add prefixes to define different routes, or use LCR I know but would like to get it working with a single outbound route. Can you point me in the right direction?
-----Original Message----- From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Sent: Wednesday, December 23, 2009 11:10 AM To: Rodney Cc: users@lists.kamailio.org Subject: Re: [Kamailio-Users] adding inbound and outbound routes seperately
please always Cc: the list....
On 23.12.2009 16:24, Rodney wrote:
Well could you explain how to actually get peering functioning between Kamailio on inbound and outbound?
There is no "peering functioning" in kamailio. You self have to define how you want to peer.
For example if you want to peer with somebody sending you inbound requests, you have to define at least: - number format - authentication (IP-based, TLS, digest)
One you have defined those parameters, you can implement it, e.g. digest authentication or IP based authentication.
The same for outbound route - you have to configure Kamailio so that outbound requests are sent in the proper format.
And Kamailio can not register to any other SIP service. If you need such a feature, you better use Asterisk.
regards klaus
On Wed, December 23, 2009 5:15 pm, Rodney wrote:
Hey Rodney,
to route the SIP message in question (e.g. a INVITE) just to one destination, you could use "forward(destination)" or "t_relay(destination)" to send the msg to the respective target stateless or stateful. Take a look to the core cookbook/ TM module docs for the explanation of this functions.
You could also just set the request URI to the target you want to have, and then call forward/ t_relay without a destination. This can be done with "rewritehost(destination)", this can be also found in the cookbook.
Regards,
Henning
Thanks Henning I will look into that and try to figure out the configuration for that. I am a newb to kamailio, and its just a confusing process to me. Rodney
-----Original Message----- From: Henning Westerholt [mailto:henning.westerholt@1und1.de] Sent: Saturday, December 26, 2009 6:29 AM To: Rodney Cc: Klaus Darilion; users@lists.kamailio.org Subject: Re: [Kamailio-Users] adding inbound and outbound routes seperately
On Wed, December 23, 2009 5:15 pm, Rodney wrote:
Hey Rodney,
to route the SIP message in question (e.g. a INVITE) just to one destination, you could use "forward(destination)" or "t_relay(destination)" to send the msg to the respective target stateless or stateful. Take a look to the core cookbook/ TM module docs for the explanation of this functions.
You could also just set the request URI to the target you want to have, and then call forward/ t_relay without a destination. This can be done with "rewritehost(destination)", this can be also found in the cookbook.
Regards,
Henning
Yes it is, and the documentation is a little infathomable, like I understand what your saying just don't understand how to write the config so it properly works.
-----Original Message----- From: Henning Westerholt [mailto:henning.westerholt@1und1.de] Sent: Monday, December 28, 2009 12:27 PM To: Rodney Cc: users@lists.kamailio.org Subject: RE: [Kamailio-Users] adding inbound and outbound routes seperately
On Mon, December 28, 2009 5:23 pm, Rodney wrote:
You're welcome. :) This software has indeed a somewhat steep learning curve..
Henning
On Mon, December 28, 2009 6:43 pm, Rodney wrote:
Ok, I see. One way to learn more about the configuration means is to just use a minimal one (perhaps some example cfg) and then just modify it step by step according your ideas, tracing the execution in the logs. Adding xlog statements and increasing the log level will be useful in this regards, you could generate easy SIP test message e.g. with "sipsak".
Henning