Project

General

Profile

Problem with Carrier connection (Voipstunt)

Added by george kandylakis almost 10 years ago

Even though it seems that asterisk is connected to voipstunt:

8001/8001 192.168.1.199 D N 5062 OK (4 ms)
Voipstunt-SIP/username 77.72.169.134 N 5060 OK (110 ms)

we can't get calls through it.
Registration String: register => username::5060/username

[Voipstunt-SIP]
disallow=all
allow=gsm
allow=ulaw
type=friend
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
nat=yes
host=sip.voipstunt.com
allow=g729
allow=alaw
username=username
secret=password

exten => _0030XXXXXXXXXX.,1,AGI
exten => _0030XXXXXXXXXX.,2,Dial(SIP/${EXTEN:14}@Voipstunt-SIP,,tTo)
exten => _0030XXXXXXXXXX.,3,Hangup

We need to get a 00+ country code + phone number. We are getting the voice recorded message from voipstunt that the number we have dialed is incorrect.
We should be sending to the 00+30+number but from the logs we can see that there is an added 30 to the number. The log from those calls is the following:

-- Executing [8600051@default:1] MeetMe("Local/8600051@default-0000000d;2", "8600051,F") in new stack
[Aug 8 05:59:10] > Channel Local/8600051@default-0000000d;1 was answered.
[Aug 8 05:59:10] == Manager 'sendcron' logged off from 127.0.0.1
[Aug 8 05:59:10] -- Executing [0030306969696969@default:1] AGI("Local/8600051@default-0000000d;1", "agi://127.0.0.1:4577/call_log") in new stack
[Aug 8 05:59:10] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=TESTCAMP))
[Aug 8 05:59:10] -- <Local/8600051@default-0000000d;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Aug 8 05:59:10] -- Executing [0030306969696969@default:2] Dial("Local/8600051@default-0000000d;1", "SIP/33@Voipstunt-SIP,,tTo") in new stack
[Aug 8 05:59:10] Using SIP RTP CoS mark 5
[Aug 8 05:59:10] -- Called SIP/33@Voipstunt-SIP
[Aug 8 05:59:11] -- SIP/Voipstunt-SIP-00000009 is making progress passing it to Local/8600051@default-0000000d;1
[Aug 8 05:59:22] Everyone is busy/congested at this time (1:0/0/1)
[Aug 8 05:59:22] -- Auto fallthrough, channel 'Local/8600051@default-0000000d;1' status is 'CHANUNAVAIL'
[Aug 8 05:59:22] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-0000000d;2'
[Aug 8 05:59:22] -- Executing [h@default:1] AGI("Local/8600051@default-0000000d;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Aug 8 05:59:22] -- <Local/8600051@default-0000000d;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
[Aug 8 05:59:22] -- Executing [h@default:1] AGI("Local/8600051@default-0000000d;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----1-----CHANUNAVAIL----------") in new stack
[Aug 8 05:59:22] -- <Local/8600051@default-0000000d;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----1-----CHANUNAVAIL---------- completed, returning 0

Replies (2)

RE: Problem with Carrier connection (Voipstunt) - Added by striker 247 almost 10 years ago

in campaign put omit phone code = Y
and try

br
stirker
www.striker24x7.blogspot.com

RE: Problem with Carrier connection (Voipstunt) - Added by george kandylakis almost 10 years ago

This report is from goautodial 3,3 not 2,1. I found out the prefix and corrected it. Now i'm getting circuit-busy and a bad request error

[Aug 8 17:00:22] Using SIP RTP CoS mark 5
[Aug 8 17:00:22] -- Executing [00306969696969@default:1] AGI("SIP/8001-0000000b", "agi://127.0.0.1:4577/call_log") in new stack
[Aug 8 17:00:22] -- <SIP/8001-0000000b>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Aug 8 17:00:22] -- Executing [00306969696969@default:2] Dial("SIP/8001-0000000b", "SIP/@Voipstunt-SIP,,tTo") in new stack
[Aug 8 17:00:22] Using SIP RTP CoS mark 5
[Aug 8 17:00:22] -- Called SIP/@Voipstunt-SIP
[Aug 8 17:00:23] -- Got SIP response 400 "Bad request" back from 77.72.169.134:5060
[Aug 8 17:00:23] -- SIP/Voipstunt-SIP-0000000c is circuit-busy
[Aug 8 17:00:23] Everyone is busy/congested at this time (1:0/1/0)
[Aug 8 17:00:23] -- Executing [00306969696969@default:3] Hangup("SIP/8001-0000000b", "") in new stack
[Aug 8 17:00:23] Spawn extension (default, 00306969696969, 3) exited non-zero on 'SIP/8001-0000000b'
[Aug 8 17:00:23] -- Executing [h@default:1] AGI in new stack
[Aug 8 17:00:23] -- <SIP/8001-0000000b>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----127-----CONGESTION---------- completed, returning 0

    (1-2/2)
    Go to top