[OpenSIPS-Users] LRN Service
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Sat Oct 23 14:12:50 CEST 2010
Hi Logan,
logan wrote:
> Me again on this issue. I'm having a hard time with integrating to my
> LRN service.
>
> My provider prefers us to do a dns lookup, whereby they return an LRN
> number. My initial plan was to have the enum module do this, however
> enum looks like it's using NAPTR and the provider does not support
> NAPTR, they have a custom type, example below.
>
> dig 5.1.4.1.3.96.5.1.4.1.lrn.e164.arpa. TYPE65280
>
>
> ; <<>> DiG 9.6.1-P2 <<>> 5.1.4.1.3.9.6.5.1.4.1.lrn.e164.arpa. TYPE65280
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21368
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 11
>
> ;; QUESTION SECTION:
> ;5.1.4.1.3.9.6.5.1.4.1.lrn.e164.arpa. IN TYPE65280
>
> ;; ANSWER SECTION:
> 5.1.4.1.3.9.6.5.1.4.1.lrn.e164.arpa. 60 IN TYPE65280 \# 6
> 0A0428041111 <----LRN = 4082401111
>
> Is what I'm trying to do possible using the enum module or any other
> module?
not really.
> If not has anyone ever developed a stub DNS application to integrate
> with OpenSIPs for this purpose?
OpenSIPS has a build in DNS query engine (for various types of DNS
entries), so I see as possible to create same script wrapper over this
DNS engine to allow you to run custom DNS queries from script.
Again, this is doable with a fair amount of work.
>
> If I can't find an answer here, I think I'm going to have to switch to
> a provider who I can send a SIP Invite to, then they return a 302
> redirect with the LRN Info in the header.
To be honest that will be a much normal way to do it if you want to use
only existing functionality.
Regards,
Bogdan
>
> I"m also open to any suggestions as to how anyone else has
> accomplished this goal.
>
> Thanks.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro
More information about the Users
mailing list