Re: [SR-Users] Reconnection to db

2011-01-16 Thread Javier Gallart
Hi Daniel, I'm using postgres 8.4 at the server and libpq5 library for the client. I've been testing again and the problem is that after a db restart (no matter if done through a service restart or having t down for some time), the PQstatus(CON_CONNECTION(_con)) function returns a CONNECTION_OK

[SR-Users] Handling call transfer in the Asterisk Realtime setup.

2011-01-16 Thread David J.
I am trying to add support for call transfer in the Asterisk realtime tutorial on Asipto; I am not sure what I would have to do to get this feature working; Perhaps I have to handle refer messages; but I am not sure how I send that to Asterisk; Any advice would be greatly appreciated.

Re: [SR-Users] Reconnection to db

2011-01-16 Thread Daniel-Constantin Mierla
Hello, made a commit to fix in such case, when the broken connection is reported after doing actually the query, attempting to reconnect then. Let me know if works now. Cheers, Daniel On 1/16/11 6:17 PM, Javier Gallart wrote: Hi Daniel, I'm using postgres 8.4 at the server and libpq5

[SR-Users] Refer Using UAC.

2011-01-16 Thread David J.
I realize that kamailio is not a b2bua; But because we are using Asterisk in the path; To extend the Asterisk Realtime Tutorial; I was wondering if I could do something like this... Kind of like how we use UAC to send a register to Asterisk; Could we do the same and modify the method to use