I know I need to create a carrier but what settings?
I tried:
- Code: Select all
[manchestera]
host=207.223.77.157
username=4845551212
type=friend
insecure=port,invite
context=agentin
in extension I have:
- Code: Select all
[agentin]
exten => _4845551212,1,AGI(agi-DID_route.agi)
exten => _14845551212,1,AGI(agi-DID_route.agi)
exten => 207.223.77.157,1,AGI(agi-DID_route.agi)
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}---
but here's the error I'm getting:
- Code: Select all
[Jul 17 21:39:57] -- Executing [4845551212@agentin:1] AGI("SIP/manchestera-00000001", "agi-DID_route.agi") in new stack
[Jul 17 21:39:57] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Jul 17 21:39:58] -- AGI Script agi-DID_route.agi completed, returning 0
[Jul 17 21:39:58] -- Executing [9998811112@default:1] Wait("SIP/manchestera-00000001", "2") in new stack
[Jul 17 21:40:00] -- Executing [9998811112@default:2] Answer("SIP/manchestera-00000001", "") in new stack
[Jul 17 21:40:00] -- Executing [9998811112@default:3] Playback("SIP/manchestera-00000001", "ss-noservice") in new stack
[Jul 17 21:40:00] -- <SIP/manchestera-00000001> Playing 'ss-noservice' (language 'en')
So what am I missing? How do I make it use my carrier, do I need something special for a dialplan in the carrier setup?