I also get this Error message after typing asterisk -r: ERROR[5896]: utils.c:966 ast_carefulwrite: write() returned error: Broken pipe.
Also, the customer information on the agent screen when attempting to make a call only says undefined.
Try 1:
Registration String
register=>xxxxx:xxxxx@inbound23.vitelity.net
Account Entry:
[vitel-outbound]
type=friend
dtmfmode=auto
host=outbound.vitelity.net
context=outbound
username=xxxxx
fromuser=xxxxx
trustrpid=yes
sendrpid=yes
secret=xxxxx
allow=all
nat=yes
Dialplan Entry:
exten => _91NXXNXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(SIP/${EXTEN:1}@vitel-outbound,,o)
exten => _91NXXNXXXXXX,3,Hangup
Try 2:
Registration String
register => xxxxx:xxxxx@inbound24.vitelity.net:5060
Account Entry:
[vitel-inbound]
type=friend
dtmfmode=auto
host=inbound24.vitelity.net
context=inbound
username=xxxxx
secret=xxxxx
allow=all
insecure=very
nat=yes
[vitel-outbound]
type=friend
dtmfmode=auto
host=outbound.vitelity.net
context=outbound
username=xxxxx
fromuser=xxxxx
trustrpid=yes
sendrpid=yes
secret=xxxxx
allow=all
nat=yes
Dialplan Entry:
[outbound]
exten => _1NXXNXXXXXX,1,Dial(SIP/$\{EXTEN}@vitel-outbound)
exten => _011.,1,Dial(SIP/$\{EXTEN}@vitel-outbound)
; e911 must be enabled. see DIDs > NPANXXNXXX > Action > e911
exten => _911,1,Dial(SIP/911@vitel-outbound)
Try 3
Registration String
register => xxxxx:xxxxx@inbound24.vitelity.net:5060
Account Entry:
[vitel-outbound]
type=friend
dtmfmode=auto
host=outbound.vitelity.net
context=outbound
username=xxxxx
fromuser=xxxxx
trustrpid=yes
sendrpid=yes
secret=xxxxx
allow=all
nat=yes
Dialplan Entry:
[outbound]
exten => _1NXXNXXXXXX,1,Dial(SIP/$\{EXTEN}@vitel-outbound)
exten => _011.,1,Dial(SIP/$\{EXTEN}@vitel-outbound)
; e911 must be enabled. see DIDs > NPANXXNXXX > Action > e911
exten => _911,1,Dial(SIP/911@vitel-outbound)