[VoIP] ENUM working in Asterisk

windmill windmill at topletter.com
Thu Jan 3 18:19:37 CST 2008


Yep, one of the really handy features of Asterisk is the ability to 
write an entire extensions.conf context and be able to test the whole 
with a simple parameter change in iax.conf, sip.conf etc always able to 
restore the original context if need be.

Of course it is confusing when one has [fromcnet] in iax.conf 
referencing [fromcnet] in extensions.conf as indeed I do.

Brian

John Novack wrote:
> I believe the "fromcnet"  referenced should be in your iax.conf
> That section can the refer to the proper context in extensions, which 
> can be different.
>
> John Novack
>
>
> Richard Lane wrote:
>   
>> Hi Ian
>>
>> I can see your connection attrempts but it is saying in the log
>>
>> [Jan  3 21:46:51] NOTICE[3787]: chan_iax2.c:7376 socket_process: 
>> Rejected connect attempt from 81.174.170.48, request 
>> '6160234678 at fromcnet' does not exist
>>
>> I don't have a "fromcnet" part in my extensions.conf.
>>
>> I will keep looking.
>>
>> Richard
>>
>> Ian Jolly wrote:
>>   
>>     
>>> Are you using the different line s6 in the [macro-dialcnet] for version 
>>> 1.4.X ?
>>>
>>> =>s,6(startloop),Set(ENUM=${ENUMLOOKUP(${ARG1},ALL,,1,std.ckts.info)})
>>> ; USE ABOVE LINE FOR Asterisk 1.4 !!!
>>>
>>> Ian Jolly
>>>
>>>
>>>
>>> ----- Original Message ----- 
>>> From: "Richard Lane" <richardlane at westnet.com.au>
>>> To: "Voice Over IP Tandem for Analog Switches" <voip at ckts.info>
>>> Sent: Wednesday, January 02, 2008 10:09 AM
>>> Subject: Re: [VoIP] ENUM working in Asterisk
>>>
>>>
>>>   
>>>     
>>>       
>>>> Hello All,
>>>>
>>>> So I was running 1.4.15.0 and have upgraded to 1.4.16.2
>>>>
>>>> I have not had emun working at all so far.
>>>>
>>>> I have been looking at the extensions.conf file that was produced for me
>>>> by Ian Jolly and have been thinking of rewriting the loop function in
>>>> the script with a do while loop.
>>>>
>>>> After playing around with the file I have reached the conclusion that
>>>> there is still a problem with the ENUMLOOKUP function.  I have posted
>>>> the verbose output of the CLI
>>>>
>>>>     -- Executing [0011448081 at 060271local:1]
>>>> Macro("SIP/271433-0837e308", "dialcnet|448081") in new stack
>>>>    -- Executing [s at macro-dialcnet:1] NoOp("SIP/271433-0837e308",
>>>> "448081") in new stack
>>>>    -- Executing [s at macro-dialcnet:2] Set("SIP/271433-08378f20",
>>>> "enumresult=") in new stack
>>>>
>>>> Notice the enumresult is always nothing. Can somebody post me a result
>>>> of a enum lookup to some test number on someones system so I can try a
>>>> direct call. Does the ENUM DNS lookup system in CKTS use IAX2 SIP or H323?
>>>>
>>>> I am still scratching my head but am keen to get my collection of old
>>>> telephones working!
>>>>
>>>> Richard
>>>>
>>>>
>>>>
>>>> windmill wrote:
>>>>     
>>>>       
>>>>         
>>>>> I think Shane was asking what you were running, i.e. before you upgraded
>>>>> to 1.4.16.2.
>>>>>
>>>>> If you were running 1.2 before the ENUMLOOKUP has changed in 1.4 but if
>>>>> you were running 1.4 then the ENUMLOOKUP should still work okay.
>>>>>
>>>>> Brian
>>>>>
>>>>> Richard Lane wrote:
>>>>>
>>>>>       
>>>>>         
>>>>>           
>>>>>> 1.4.16.2
>>>>>> latest zap
>>>>>> latest lib
>>>>>>
>>>>>> Shane Young wrote:
>>>>>>
>>>>>>
>>>>>>         
>>>>>>           
>>>>>>             
>>>>>>> No, my previous enum configuration worked fine.
>>>>>>>
>>>>>>> What version of Asterisk are you running?
>>>>>>>
>>>>>>> --Shane
>>>>>>>
>>>>>>> Quoting Richard Lane <richardlane at westnet.com.au>:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>>>>>> Hi Shane
>>>>>>>>
>>>>>>>> Was there anything you needed to change in order to get it working. I 
>>>>>>>> am
>>>>>>>> still trying to get my system running. So far I can dial internally 
>>>>>>>> but
>>>>>>>> cannot place a call to others.
>>>>>>>>
>>>>>>>> Richard
>>>>>>>>
>>>>>>>> Shane Young wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>             
>>>>>>>>               
>>>>>>>>                 
>>>>>>>>> I built Asterisk 1.4.16.2 this morning and ENUM seems to be working 
>>>>>>>>> again.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --Shane
>>>>>>>>> +1-821-7311 CNET
>>>>>>>>>
>>>>>>>>> ----------------------------------------------------------------
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> VoIP mailing list
>>>>>>>>> VoIP at ckts.info
>>>>>>>>> http://lists.ckts.info/mailman/listinfo/voip
>>>>>>>>> Project Web Page: http://www.ckts.info/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>               
>>>>>>>>>                 
>>>>>>>>>                   
>>>>>>>> _______________________________________________
>>>>>>>> VoIP mailing list
>>>>>>>> VoIP at ckts.info
>>>>>>>> http://lists.ckts.info/mailman/listinfo/voip
>>>>>>>> Project Web Page: http://www.ckts.info/
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>             
>>>>>>>>               
>>>>>>>>                 
>>>>>>> --Shane
>>>>>>> +1-821-7311 CNET
>>>>>>>
>>>>>>> ----------------------------------------------------------------
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> VoIP mailing list
>>>>>>> VoIP at ckts.info
>>>>>>> http://lists.ckts.info/mailman/listinfo/voip
>>>>>>> Project Web Page: http://www.ckts.info/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>>>> _______________________________________________
>>>>>> VoIP mailing list
>>>>>> VoIP at ckts.info
>>>>>> http://lists.ckts.info/mailman/listinfo/voip
>>>>>> Project Web Page: http://www.ckts.info/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>           
>>>>>>             
>>>>> _______________________________________________
>>>>> VoIP mailing list
>>>>> VoIP at ckts.info
>>>>> http://lists.ckts.info/mailman/listinfo/voip
>>>>> Project Web Page: http://www.ckts.info/
>>>>>
>>>>>
>>>>>       
>>>>>         
>>>>>           
>>>> _______________________________________________
>>>> VoIP mailing list
>>>> VoIP at ckts.info
>>>> http://lists.ckts.info/mailman/listinfo/voip
>>>> Project Web Page: http://www.ckts.info/ 
>>>>     
>>>>       
>>>>         
>>> _______________________________________________
>>> VoIP mailing list
>>> VoIP at ckts.info
>>> http://lists.ckts.info/mailman/listinfo/voip
>>> Project Web Page: http://www.ckts.info/
>>>
>>>   
>>>     
>>>       
>> _______________________________________________
>> VoIP mailing list
>> VoIP at ckts.info
>> http://lists.ckts.info/mailman/listinfo/voip
>> Project Web Page: http://www.ckts.info/
>>
>>   
>>     
>
>   


More information about the VoIP mailing list