Re: [OpenSIPS-Users] NOTIFY Help

2009-09-18 Thread Brent Thomson
Anca Vamanu wrote: > Hi Sanjeev, > > The presence server will send the Notify to the address the client put > in the Contact header from the Subscribe message. > Correct. Sanjeev, you can try fix_nated_contact() and/or fix_nated_register() in your logic before your call to save(). This will set

Re: [OpenSIPS-Users] storing and accessing dialog module flags and vals

2009-09-04 Thread Brent Thomson
Thanks. I'll watch the tracker and patch my build once you've got a fix. Let me know if there's anything I can do to help. -Brent On Sep 4, 2009, at 6:48 AM, Bogdan-Andrei Iancu wrote: > Brent Thomson wrote: >> Bogdan-Andrei Iancu wrote: >>

Re: [OpenSIPS-Users] IDE

2009-09-02 Thread Brent Thomson
Brett Nemeroff wrote: > I was thinking the same thing.. :) > > > On Wed, Sep 2, 2009 at 9:15 AM, Jeff Pyle > wrote: > > vim? > > > On 9/2/09 10:17 AM, "Ghaith ALKAYYEM" > > wrote: > > > Hello, > > > > Could anybody suggest an IDE t

Re: [OpenSIPS-Users] storing and accessing dialog module flags and vals

2009-09-02 Thread Brent Thomson
Bogdan-Andrei Iancu wrote: >> >> INVITE >> setflag(4) >> create_dialog() # returns true >> store_dlg_value("foo", "bar") >> set_dlg_flag("10") >> >> >> CANCEL >> create_dialog() # returns false >> fetch_dlg_value("foo", "$avp(i:2)") # returns empty >> is_dl

[OpenSIPS-Users] storing and accessing dialog module flags and vals

2009-09-01 Thread Brent Thomson
I've got the dialog module loaded and the dlg_flag configured: modparam("dialog", "dlg_flag", 4) In my routing logic, I set flag 4 and call create_dialog(). I then use store_dlg_value("foo", "bar") to set a dialog value and set_dlg_flag("10") to set a dialog flag. On subsequent messa

Re: [OpenSIPS-Users] SRV failover results in double call

2009-08-24 Thread Brent Thomson
Stanisław Pitucha wrote: > 2009/8/24 Brent Thomson : >> Bogdan-Andrei Iancu wrote: >>> Hi Brent, >>> >>> This problem was reported last week by another person and fixed on SVN >>> (including in 1.6 branch). >>> >>> What you have to

Re: [OpenSIPS-Users] SRV failover results in double call

2009-08-24 Thread Brent Thomson
Bogdan-Andrei Iancu wrote: > Hi Brent, > > This problem was reported last week by another person and fixed on SVN > (including in 1.6 branch). > > What you have to do is to upgrade from SVN and hopefully the problem > will be solved. > Cool. Thanks. -Brent __

[OpenSIPS-Users] SRV failover results in double call

2009-08-24 Thread Brent Thomson
I've got a strange issue. I have OpenSIPS set up to use SRV to look up the address of the next gateway. It works fine, except when the first host in the SRV lookup result isn't reachable. OpenSIPS does the failover just fine, but two calls get sent to the secondary route. Both have the same call ID