Hello,
On 1/25/13 2:57 PM, Philippe Sultan wrote:
I was using this module in version 3.1.0. The thing is that I used the
provisioning python scripts (ser_domain, ser_attrs) to create my
domains and their attributes (see :
http://www.mail-archive.com/sr-users@lists.sip-router.org/msg12415.html)
I was using this module in version 3.1.0. The thing is that I used the
provisioning python scripts (ser_domain, ser_attrs) to create my domains
and their attributes (see :
http://www.mail-archive.com/sr-users@lists.sip-router.org/msg12415.html).
The default value for the flag field when creating a
I am not using this module and I don't know what are supposed to be the
right default values for flags. But it should be like it was in the
past. If you used with an older version 3.x, apart of renaming, nothing
was touched in the code for 4.x.
Cheers,
Daniel
On 1/24/13 4:27 PM, Philippe Sult
Thank you Daniel, your answer helped a lot.
With :
#!KAMAILIO
loadmodule "pv.so"
$avp(fd.did)
Everything works fine, but only if I turn off caching with :
modparam("uid_domain", "db_mode", 0)
Otherwise, avps are not loaded from the db. Digging into
modules/uid_domain/domain.c, I figured out that
The sript compatibility was set to kamailio strict mode, throwing error
if $xy was not a pv. You can fetch latest master and should work like if
no pv found as $xy, then is set as avp.
Even if with your version, adding #!SER as first line should make it
work with $fd.did...
Cheers,
Daniel
O
Hi Philippe,
On 1/23/13 11:54 PM, Philippe Sultan wrote:
Hey Daniel,
Thanks a lot for your help.
do you have #!SER as first line? This part should be the same ...
if pv not found, then it should be considered avp. I will try to
see what is the issue.
I don't have #!SER
it shoul
Hey Daniel,
Thanks a lot for your help.
do you have #!SER as first line? This part should be the same ... if pv not
> found, then it should be considered avp. I will try to see what is the
> issue.
>
I don't have #!SER
> Anyhow, for the moment, if not working, load pv and then try:
> - $fd and
Hi Philippe,
do you have #!SER as first line? This part should be the same ... if pv
not found, then it should be considered avp. I will try to see what is
the issue.
Anyhow, for the moment, if not working, load pv and then try:
- $fd and $td must stay as parameters for lookup_domain()
- for