I'm looking for some help with setting up a carrier with Gradwell - This is the information of my carrier below:
Carrier ID: Gradwell
Carrier Name: Gradwell
Registration String: register => Username:Password@host:5060/Username
Account Entry: [Gradwell]
type=peer
username=Username
secret=Password
host=host
dtmfmode=rfc2833
context=default
insecure=very
disallow=all
canreinvite=no
allow=g729
qualify=1000
Gloabl String: Gradwell = SIP/Gradwell
Dial Plan: exten => _0.,1,SetCallerID(01618500679#)
exten => _0.,2,Dial(Gradwell/${EXTEN}@sip trunk host)
This being correct hopefully - it should all be working but when i am manually dialling out from Zoiper; I am getting the message 'Call Rejected'.
Here is the output from 'Asterisk -R'
- Code: Select all
[Aug 2 07:08:07] -- Unregistered SIP '301'
[Aug 2 07:08:09] -- Registered SIP '301' at 192.168.1.38:5060
[Aug 2 07:08:11] == Manager 'sendcron' logged off from 127.0.0.1
[Aug 2 07:08:12] == Using SIP RTP CoS mark 5
[Aug 2 07:08:12] WARNING[31067]: pbx.c:4458 pbx_extension_helper: No application 'SetCallerID' for extension (default, 01282477587, 1)
[Aug 2 07:08:12] == Spawn extension (default, 01282477587, 1) exited non-zero on 'SIP/301-00000007'
[Aug 2 07:08:12] -- Executing [h@default:1] DeadAGI("SIP/301-00000007", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Aug 2 07:08:12] WARNING[31067]: res_agi.c:3930 deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!
[Aug 2 07:08:12] -- <SIP/301-00000007>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
VICI1*CLI>
I should only need to dial the number including the area code 0!
Could anyone please shed some light on this - been working on this for days now.
Thank you.
Zak.