Project

General

Profile

carriyer not working

Added by Florian Brandt almost 11 years ago

[May 10 13:19:30] -- Executing [0049711124124@default:1] AGI in new stack
[May 10 13:19:30] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[May 10 13:19:30] -- Executing [0049711124124@default:2] Dial("SIP/8001-00000014", "SIP/DIM1/ 0049711124124||To") in new stack
[May 10 13:19:30] WARNING20492: chan_sip.c:7474 determine_firstline_parts: Bad request protocol ;cpd=on SIP/2.0
[May 10 13:19:30] -- Called DIM1/ 0049711124124
[May 10 13:19:37] == Spawn extension (default, 0049711124124, 2) exited non-zero on 'SIP/8001-00000014'
[May 10 13:19:37] -- Executing [h@default:1] DeadAGI("SIP/8001-00000014", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------") in new stack
[May 10 13:19:37] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL---------- completed, returning 0


Replies (5)

RE: carriyer not working - Added by Demian Biscocho almost 11 years ago

Are you sure you have configured your carrier settings correctly? Please post more details. Your Asterisk CLI doesn't show much information.

RE: carriyer not working - Added by Florian Brandt almost 11 years ago

Registration String:
register => *****:************@sip.voipinfocenter.com

Account Entry:
[DIM1]
username=*************
secret=***********
type=friend
host=sip.voipinfocenter.com
insecure=very
disallow=all
allow=ulaw
qualify=yes
canreinvite=no

Globals String:
VIC-mah2 = SIP/DIM1

Dialplan Entry:
exten => _0049.,1,AGI
exten => _0049.,2,Dial(${VIC-mah2}/ ${EXTEN:},,To)
exten => _0049.,3,Hangup

RE: carriyer not working - Added by Jefferson Varias almost 11 years ago

Hi Florian,

You can try using the sample setting below, you can also remove the Global String.

Registration String:
register => username::5060/username

Account Entry:
[goautodial]
disallow=all
allow=g729
allow=gsm
allow=ulaw
type=friend
secret=password
username=username
host=sip.voipinfocenter.com
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
nat=yes

Dialplan Entry:

US:

exten => _91XXXXXXXXXX,1,AGI
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup

RE: carriyer not working - Added by Florian Brandt almost 11 years ago

Sorry but ibecome this error

WARNING3566: chan_sip.c:13685 handle_response_register: Got 404 Not found on SIP register to service ,,,,,*,,,,,,@77.**.***.***, giving up

RE: carriyer not working - Added by Levy Ryan Nolasco almost 11 years ago

Hi Florian,

Revert back to your VoIP carrier preferred settings then make sure if your account is already registered on their end. You can try "sip show registry" and "sip show peers" to check if your account is registered then try the dial plan below.

Where 49 is your country code(i assume your are calling germany) and 4 is your prefix. Your campaign dial prefix will be 4, If you are dialing directly from your softphone use 449 + phone number.

exten => _449.,1,AGI
exten => _449.,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _449.,3,Hangup

Regards,
Ryan

    (1-5/5)
    Go to top