hi ,
am a newbee to asterixwin32. I got a SIP account with callcentric.com I have this frustrating problem of connecting to their server. This is what i did:
1 Edit file sip.conf:
[color=blue] [general]
dtmfmode = rfc2833
context=from-callcentric
srvlookup=yes
register => 17772791762:password@callcentric.com/17772791762[/color]
[color=blue][callcentric]
type=peer
context=from-callcentric
host=callcentric.com
username=17772791762
secret=password
fromuser=17772791762
fromdomain=callcentric.com
insecure=very[/color]
[color=blue][123]
context=to-callcentric
type=friend
username=123
secret=PHONESECRET
host=dynamic[/color]
2 Edit the file extensions.conf:
[color=blue][from-callcentric]
exten => s,1,Dial(SIP/123)
[to-callcentric]
exten => _XX.,1,Dial(SIP/${EXTEN}@callcentric)[/color]
I get this error:
[color=red]
Feb 9 23:29:19 WARNING[1008] srv.c: Failed to expand hostname
Feb 9 23:29:19 WARNING[1008] srv.c: Failed to parse srv
Feb 9 23:29:19 WARNING[1008] dns.c: Failed to parse result
Feb 9 23:29:19 WARNING[1008] dns.c: DNS Parse error for _sip._udp.callcentric.com
Feb 9 23:29:39 NOTICE[1008] chan_sip.c: – Registration for '17772791762@callcentric.com’ timed out, trying again (Attempt #1)
[/color]
Can anyone help please…