-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Newbe question:
Can someone explain what causes a match when lookup() and does_uri_exist() is used? Does it look at the least significant characters is the URI? Does it drop certain leading numbers like '1'?
Stu
Hello,
On 04/01/07 00:05, Stuart Sheldon wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Newbe question:
Can someone explain what causes a match when lookup() and does_uri_exist() is used? Does it look at the least significant characters is the URI? Does it drop certain leading numbers like '1'?
it uses the username part of R-URI, and if configured, the domain part as well. Does not strip or add anything by default. You can do it in script using available functions, before doing lookup().
Cheers, Daniel
Stu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFGDs0BK69Y+xPZrWYRAg5XAJ9kL3FNuImfu6wasPZ9z32uDYmoGwCfWKhW 5al96b0dhkmFNYnwBzyHmoY= =mNnn -----END PGP SIGNATURE-----
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thank you Daniel,
After doing some packet captures I found that the PSTN gateway upstream was sending the R-URI differently then I had been told.
Thanks again for your answer,
Stu
Daniel-Constantin Mierla wrote:
Hello,
On 04/01/07 00:05, Stuart Sheldon wrote: Newbe question:
Can someone explain what causes a match when lookup() and does_uri_exist() is used? Does it look at the least significant characters is the URI? Does it drop certain leading numbers like '1'?
it uses the username part of R-URI, and if configured, the domain part as well. Does not strip or add anything by default. You can do it in script using available functions, before doing lookup().
Cheers, Daniel
Stu
_______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
- -- Randomly Generated Fortune Tag: Q: Know what the difference between your latest project and putting wings on an elephant is? A: Who knows? The elephant *might* fly, heh, heh...