Re: [SR-Users] Asterisk and dispatcher

2013-01-29 Thread SamyGo
ot;INVITE: INVITE Passed From [$fu] Asterisk >> > Cluster To [$rm:$au].\n"); >> > return 1; >> >return -1; >> > } >> > >> > Can you help? >> > >> > Thanks in advance >> > Ian >&g

Re: [SR-Users] Asterisk and dispatcher

2013-01-29 Thread Ian French
> ------ > > Message: 1 > Date: Wed, 23 Jan 2013 22:26:26 -0800 > From: SamyGo > Subject: Re: [SR-Users] Asterisk and dispatcher > To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - >

Re: [SR-Users] Asterisk and dispatcher

2013-01-23 Thread SamyGo
Except that I find missing curly brackets for the if() condition which will always return 1/positive. On Wed, Jan 23, 2013 at 10:26 PM, SamyGo wrote: > Hi, > > You've metioned this already in your code: > > if(ds_is_from_list("1")) > > Is this not working for you? > > Regards, > Sammy > > > > O

Re: [SR-Users] Asterisk and dispatcher

2013-01-23 Thread SamyGo
Hi, You've metioned this already in your code: if(ds_is_from_list("1")) Is this not working for you? Regards, Sammy On Wed, Jan 23, 2013 at 10:44 AM, Ian French wrote: > Hi, >> I've been working my way through this tutorial ( >> http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-ast

[SR-Users] Asterisk and dispatcher

2013-01-23 Thread Ian French
> > Hi, > I've been working my way through this tutorial ( > http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb) > and all it working well thanks. In the other benifits section you mention > that this configuration can be used with multiple instances of Asterisk. > I've

Re: [SR-Users] Asterisk and Dispatcher Module

2012-09-25 Thread Stoyan Mihaylov
if(is_method("INVITE")){ ds_select_dst("1","4"); $sht(forw=>$ft)=$du; sl_send_reply("100","Trying"); route(RELAY); exit(); } This way I am using table address, and all servers with group=1, using method

[SR-Users] Asterisk and Dispatcher Module

2012-09-25 Thread Ian French
Hi, I've been working my way throught this tutorial ( http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb) and all it working well thanks. In the other benifits section you mention that this configuration can be used with multiple instances of Asterisk. Could you elaborat