login | register
Sat 17 of May, 2008 [14:19 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Juan Ortega, Thu 15 of May, 2008 [10:33 UTC]: Hi everybody, I'm Juan, an ITCom student, and I need to know what basic elements I need to create a VoIP network. Can anybody helpme, please?,Thank you very much
  • gineta, Wed 14 of May, 2008 [03:58 UTC]: any here not fine the configuration of firewall juniper -screem for VOIP asterisk????
  • Anoop Prabhakaran, Tue 13 of May, 2008 [12:16 UTC]: I am developing Asterisk IVR, Whenever i make a internation call to the IVR system, the DTMF is not getting detected properly, this happens only for the first time, second call onwards system works fine. why this is happening
  • joe, Mon 12 of May, 2008 [04:27 UTC]: Is there an opensource browser based softphone, or a system like Busta where everything is not manages through their website?
  • Nick Barnes, Fri 09 of May, 2008 [11:36 UTC]: Christopher - yesterday I tried an Asterisk install on a CentOS 5.1 box with stock GUI and it all worked fine. Sorry I can't help.
  • aero, Fri 09 of May, 2008 [08:20 UTC]: can someone help me out on this, i tried to play some sound files on my asterisk box and this is the error message i got. WARNING[4429]: format_wav.c:169 check_header: Unexpected freqency 22050 May 8 11:17:39 WARNING[4433]: codec_gsm.c:194 gsmtolin_fra
  • Christopher Faust, Thu 08 of May, 2008 [14:15 UTC]: I beleive that I may have to change something in the xserver configuration. Please advise
  • Christopher Faust, Thu 08 of May, 2008 [14:14 UTC]: Everything was perfect. In the bios I have increased the memory allocated Still receive input not supported on my display.
  • Christopher Faust, Thu 08 of May, 2008 [14:13 UTC]: This would not be my main box. I am doing some testing to see if I can install zaptel and asterisk 1.4 on a full centos 5.1 box with development software Its bizzare, because before I went through the asterisk and zaptel installation everything was perfe
  • Nick Barnes, Thu 08 of May, 2008 [13:44 UTC]: Christopher - I can't see any way in which an Asterisk installation would muck your GUI, but remember that it is advised not to use a GUI on an Asterisk box anyway.
Server Stats
  • Execution time: 0.26s
  • Memory usage: 2.18MB
  • Database queries: 29
  • GZIP: Disabled
  • Server load: 0.51

cnum.info

cnum.info - Meta-ENUM and LCR

CNUM.INFO - Meta ENUM and LCR


cnum.info is a domain used for ENUM-stylish-queries to provide realtime least-cost-routing information based on Call-by-Call rates for the german market merged with regular ENUM.

This might only be interesting to people living in Germany. - Heimatseite in deutsch

How it works


cnum.info's nameserver provides regular ENUM compliant NAPTR records. Be aware that the basic domain before the number to call has the following format:

   .<areacode>.cnum.info

You need to replace <areacode> with the one your PSTN lines will be connected to. For i.e. Berlin its "030", see example below. If you are not interested in Call-by-Call rates or just aiming for ENUM resolution, use "XXX" as <areacode>.

<areacode> can also be replaced with your username (if you have registered) so the cnum.info-server can take care of flatrates, preselection or VoIP-provider relations you might have subscribed to.



~$ dig 0.5.5.5.9.6.2.0.2.9.4.030.cnum.info NAPTR

; ANSWER SECTION

0.5.5.5.9.6.2.0.2.9.4.030.cnum.info. 3300 IN NAPTR 78 3 "u" "E2U+tel" "!^\\+49(.*)$!tel:01900240\\1!" .
0.5.5.5.9.6.2.0.2.9.4.030.cnum.info. 3300 IN NAPTR 78 4 "u" "E2U+tel" "!^\\+49(.*)$!tel:010700\\1!" .
0.5.5.5.9.6.2.0.2.9.4.030.cnum.info. 3300 IN NAPTR 78 5 "u" "E2U+tel" "!^\\+49(.*)$!tel:010800\\1!" .
0.5.5.5.9.6.2.0.2.9.4.030.cnum.info. 3300 IN NAPTR 80 6 "u" "E2U+tel" "!^\\+49(.*)$!tel:010710\\1!" .
0.5.5.5.9.6.2.0.2.9.4.030.cnum.info. 3300 IN NAPTR 99 7 "u" "E2U+tel" "!^\\+49(.*)$!tel:010900\\1!" .
0.5.5.5.9.6.2.0.2.9.4.030.cnum.info. 3300 IN NAPTR 1 1 "u" "E2U+sip" "!^.*$!sip:info@portunity.de!" .
0.5.5.5.9.6.2.0.2.9.4.030.cnum.info. 3300 IN NAPTR 78 2 "u" "E2U+tel" "!^\\+49(.*)$!tel:010770\\1!" .



"Order" of each NAPTR record contains the price per Minute in 1/100 cent. The TTL values are adjusted to expire at the end of each hour where normally Call-by-Call rates change.

Too technical? Here is a "human friendly" lookup tool (:wink:)

=> The result above also shows: Call-by-Call is STILL much cheaper than any VoIP-Provider, or who of them is offering 0.78 ct/min to call german landlines without subscription?

Sources


  • Call-by-Call rates for the german market are provided by Verivox in realtime.
  • ENUM entries are coming from e164.arpa, e164.org and Sipgate's ENUM server. (More input here is welcome)

Integration with Asterisk


The AGI script used below is provided here. You will need to have Perl, Asterisk::AGI and Net::DNS installed.
Put the script into your agi-bin directory and make sure its executable. Edit the beginning of the script to fulfill the <areacode> requirements as mentioned above!

This AGI script will resolve the number passed, put the result in ${ENUM} and increase the priority accordingly:

  • +101 on FAILURE or NO RESULT
  • +51 if ${ENUM} contains number to dial via external Zap interface in format: "010130401234567"
  • +1 if ${ENUM} contains an IP route including the technology in format: "SIP/cool@man.de"

You can recall the script until it returns FAILURE to get the next ENUM in order.


   [dialout]

   ; CNUM processing - assuming Zap/g1 is external line

   ;
   exten => _.,1,Noop;
   exten => _.,2,AGI(CnumLookup.agi,${EXTEN})
   exten => _.,3,Noop

   exten => _.,4,Dial(${ENUM},60); Dial IP route
   exten => _.,5,Hangup

   exten => _.,53,Dial(Zap/g1/${ENUM},60); PSTN line success
   exten => _.,54,Hangup

   exten => _.,103,Dial(Zap/g1/${EXTEN},60); Lookup failure, or END - dial normal
   exten => _.,104,Hangup

   exten => _.,105,Goto(2); Retry lookup

   exten => _.,154,Goto(2); Retry lookup

   exten => _.,204,Congestion



See also



Dirk Tostmann

Created by tostmann, Last modification by JustRumours on Sat 04 of Jun, 2005 [15:52 UTC]

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver