Hi Reda,
i fix it. forward() is stateless and so one then i breaks many things
in my multihomed setup.
I use transaction for it and then it works.
To prevent internal Invites to get dispatched, i used the dst_ip.
I just want external incoming calls to be dispatched.
route[INVITE] {
# -
Well, 30 seconds seems to be the timeout of your SIP client: I suspect your
client sends a 200OK but doesn't receive the ACK for it, and hence times
out 30 seconds after and terminates the call. You can run ngrep to trace
the call and see where the ACK is routed, and if it is routed to the
correct
Hi Reda,
my pitfall was that the probing takes 30seconds until the gateway is active
until startup. So if i test it right after kamctl restart the gateway
was inactive.
Now i seems that my working multihomed config needs some help to fix
nat for dispatching. For locatet user it works, for dispat
Can you try another algorithm?
Can you set debug=3 and see what's happening?
Reda
On Mon, Apr 16, 2012 at 14:54, Karsten Horsmann wrote:
> Hi Reda,
>
>
> there is no error in the log file. Its hard to debug this function.
>
> 2012/4/16 Reda Aouad :
> > Hi,
> >
> > When you use forward( ) it l
Hi Reda,
there is no error in the log file. Its hard to debug this function.
2012/4/16 Reda Aouad :
> Hi,
>
> When you use forward( ) it loops itself since the dispatcher function is not
> selecting a destination, and the SIP request is destined to your server. Do
> you have any error in your lo
Hi,
When you use forward( ) it loops itself since the dispatcher function is
not selecting a destination, and the SIP request is destined to your
server. Do you have any error in your log file?
Reda
On Mon, Apr 16, 2012 at 14:31, Karsten Horsmann wrote:
> Hi Carsten,
>
>
> its still the same
Hi Carsten,
its still the same if i use ds_select_domain to rewrite the ruri.
It seems not to fetch the values from the database.
#!ifdef WITH_DISPATCHER
if (!lookup("location")) {
if(ds_select_domain("1", "4")) {
xlog("DISPATCHER ds_select_dst\n");
Hi,
you should distinguish between ds_select_dst and ds_select_domain:
ds_select_dst only sets $du (Next Hop) while ds_select_domain actually
rewrites the Request URI (like a lookup would do).
Maybe this is your problem.
Thanks,
Carsten
2012/4/16 Karsten Horsmann :
> Hi Daniel,
>
>
> if i forwar
Hi Daniel,
if i forward it - then it loops to itself. And the if condition tolds
me that i didnt work :(
--
Mit freundlichen Grüßen
*Karsten Horsmann*
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-rou
Hello,
On 4/16/12 12:25 PM, Karsten Horsmann wrote:
Hi List!
I try to use the dispatcher module to route calls to my ivr systems.
But it didnt load the gateway. I didnt see my xlog message after the
ds_select_dst()
Any hints? Gateway is Active and Probing.
#!ifdef WITH_DISPATCHER
if
10 matches
Mail list logo