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 4 $sht(forw=>$ft)=$du; - this store selected address in variable. May be my way is not good - I had troubles with ACK, BYE and I continue to have some troubles with messages - unfortunatelly I have even no enough time to get exact what happens with messages. But for calls - this work good enough. Just check ds_select_dst
On Tue, Sep 25, 2012 at 2:22 PM, Ian French <fre...@gmail.com> wrote: > 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 elaborate a little on this?? Is this achieved using the Dispatcher > module? I'm trying to get this working with two instances of Asterisk but I > can figure out how to specifc multiple asterisk servers as oppossed to the > single. > > asterisk.bindip = "192.168.178.23" desc "Asterisk IP Address" > asterisk.bindport = "5080" desc "Asterisk Port" > > > Thanks in advance > > Ian > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users