Re: [SR-Users] Shared location database used by independend kamailios

2015-04-15 Thread Daniel Tryba
On Wednesday 15 April 2015 14:03:16 Daniel-Constantin Mierla wrote: > > add_path(); > > msg_apply_changes(); > > > Are you saying the result after msg_apply_changes() is a broken message? > You can see what is there by printing $rb or $mb -- don't recall by > heart

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-15 Thread Daniel-Constantin Mierla
On 14/04/15 18:53, Daniel Tryba wrote: > On Tuesday 14 April 2015 13:37:42 Ben Langfeld wrote: >> Note that you could equally use add_path(). > add_path(); > msg_apply_changes(); > > Results in: > > SIP/2.0 400 Bad Request. > ... > P-Registrar-Error: Path parse err

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-15 Thread Daniel-Constantin Mierla
On 14/04/15 18:40, Daniel Tryba wrote: > On Tuesday 14 April 2015 17:59:01 Daniel-Constantin Mierla wrote: >> Upcoming major release has some embedded functionality for this case, >> relying on path -- iirc, was added by Charles Chance: > Good to know, if this could do something with DNS SRV reco

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Daniel Tryba
On Tuesday 14 April 2015 13:37:42 Ben Langfeld wrote: > Note that you could equally use add_path(). add_path(); msg_apply_changes(); Results in: SIP/2.0 400 Bad Request. ... P-Registrar-Error: Path parse error. Server: kamailio (4.2.4 (x86_64/linux)). Without msg

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Daniel Tryba
On Tuesday 14 April 2015 17:59:01 Daniel-Constantin Mierla wrote: > Upcoming major release has some embedded functionality for this case, > relying on path -- iirc, was added by Charles Chance: Good to know, if this could do something with DNS SRV records to find out if a recieved socket in the l

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Ben Langfeld
Note that you could equally use add_path(). On 14 April 2015 at 13:33, Daniel Tryba wrote: > On Tuesday 14 April 2015 17:11:45 Olle E. Johansson wrote: > > > I could use sqlops to fetch this manually, but is there an easier way I > > > am > > > missing? > > > > Use the path header? > > When regi

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Daniel Tryba
On Tuesday 14 April 2015 17:11:45 Olle E. Johansson wrote: > > I could use sqlops to fetch this manually, but is there an easier way I > > am > > missing? > > Use the path header? When registering directly to the srv records loadbalanced sip servers there is no path. But forcefully adding it be

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Daniel-Constantin Mierla
On 14/04/15 17:11, Olle E. Johansson wrote: > On 14 Apr 2015, at 17:06, Daniel Tryba wrote: > >> Is there an easy way to figure out on which server a uac is registered when >> using a shared database (modparam("usrloc", "db_mode", 3)). >> >> When uac1 is registered on server1 (dns srv loadbalan

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Olle E. Johansson
On 14 Apr 2015, at 17:06, Daniel Tryba wrote: > Is there an easy way to figure out on which server a uac is registered when > using a shared database (modparam("usrloc", "db_mode", 3)). > > When uac1 is registered on server1 (dns srv loadbalancing) and uac2 is on > server2. A call from uac1 t