LinuxMCE Forums
May 25, 2013, 05:03:35 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Missing asterisk directives.  (Read 1050 times)
pw44
Addicted
*
Posts: 651


View Profile
« on: September 16, 2012, 02:23:26 pm »

Hya,

installing my sip line (voipcheap), i did note it did not register.
So, looking into the database, table ast_config, i noted that some directives were missing.

Code:
83 0 18 0 sip.conf general alwaysauthreject yes
85 0 18 0 sip.conf general nat                        yes
86 0 60 0 sip.conf general externhost        mydyndns.homeunix.org
87 0 5 0 sip.conf general externrefresh        5
88 0 60 0 sip.conf general localnet               192.168.80.0/255.255.255.0
89 0 9 0 sip.conf general allow                g729
90 0 10 0 sip.conf general allow                g723
91 0 101 0 sip.conf general register                pwollny:XXXXXXXXX@sip.voipcheap.com/2062036594
The 83 is very inportant for fail2ban and 85-88 to have the NAT.
I also would like to know which are the rules for cat_metric and var_metric.

Anyway, my sip line register, but i keep getting
Code:
> doing dnsmgr_lookup for 'sip.voipcheap.com'
       > doing dnsmgr_lookup for 'sip.voipcheap.com'
       > doing dnsmgr_lookup for 'sip.voipcheap.com'
       > doing dnsmgr_lookup for 'sip.voipcheap.com'
       > doing dnsmgr_lookup for 'sip.voipcheap.com'
in the asterisk verbose, i can place calls, but no sound incoming and outgoing and receiving a call is rejected with "no service message" in my asterisk.

Way to solve it?

TIA


« Last Edit: September 22, 2012, 03:55:02 pm by pw44 » Logged
cfernandes
Guru
****
Posts: 267



View Profile WWW
« Reply #1 on: September 16, 2012, 03:43:53 pm »

Paulo ,

for test can you enable  ALLOW_SIP_ANON = yes

Carlos
Logged
pw44
Addicted
*
Posts: 651


View Profile
« Reply #2 on: September 17, 2012, 09:38:50 pm »

Hi Carlos,
i will test and report.
Best regards,
Paulo
Logged
pw44
Addicted
*
Posts: 651


View Profile
« Reply #3 on: September 20, 2012, 09:44:47 pm »

Hi Carlos,
i did set ALLOW_SIP_ANON = yes,
When i call from my mobile to my DID which routes to voipcheap, my phone rings. When i pick up, i talk and can hear in my mobile.
When i talk in the mobile i CANNOT hear in my home phone.
Calling from my home phone to my mobile, nothing happens.
So, calling from outside to home works, and only sound out, no sound in.
Calling out does not work.
Did you test voipcheap?
TIA,
Paulo
« Last Edit: September 25, 2012, 10:30:33 am by pw44 » Logged
pw44
Addicted
*
Posts: 651


View Profile
« Reply #4 on: March 01, 2013, 11:18:40 pm »

Hya,

installing my sip line (voipcheap), i did note it did not register.
So, looking into the database, table ast_config, i noted that some directives were missing.

Code:
83 0 18 0 sip.conf general alwaysauthreject yes
85 0 18 0 sip.conf general nat                        yes
86 0 60 0 sip.conf general externhost        mydyndns.homeunix.org
87 0 5 0 sip.conf general externrefresh        5
88 0 60 0 sip.conf general localnet               192.168.80.0/255.255.255.0
89 0 9 0 sip.conf general allow                g729
90 0 10 0 sip.conf general allow                g723
91 0 101 0 sip.conf general register                pwollny:XXXXXXXXX@sip.voipcheap.com/2062036594
The 83 is very inportant for fail2ban and 85-88 to have the NAT.
I also would like to know which are the rules for cat_metric and var_metric.

Anyway, my sip line register, but i keep getting
Code:
> doing dnsmgr_lookup for 'sip.voipcheap.com'
       > doing dnsmgr_lookup for 'sip.voipcheap.com'
       > doing dnsmgr_lookup for 'sip.voipcheap.com'
       > doing dnsmgr_lookup for 'sip.voipcheap.com'
       > doing dnsmgr_lookup for 'sip.voipcheap.com'
in the asterisk verbose, i can place calls, but no sound incoming and outgoing and receiving a call is rejected with "no service message" in my asterisk.

Way to solve it?

TIA




After updating asterisk, all the entries i did were gone Sad
No more NAT, externip, etc....
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!