Project

General

Profile

issue with carrier setup

Added by eeeee dddd about 10 years ago

Hi everyone and thanks in advance .

I can't make call with my server through sipgate.co.uk. I'm using goautodial 2.1, vicidial 2.4 and asterisk 1.4.

Here my config:

Registration String

userid::5060/userid

Account Entry:

[sipgate]
host=sipgate.co.uk
fromuser=userid
secret=pw
type=peer
disallow=all
allow=all
context=from-trunk
insecure=very
username=userid
host=dynamic
allowguest=yes
registertrying=yes
nat=auto

Globals String:
SIPGATE= SIP/sipgate

Dialplan Entry:

exten => _x.,1,AGI
exten => _x.,2,Dial(SIP{sipgate}/${EXTEN:1},55,tTor)
exten => _x.,3,Hangup

Active: y

CLI:

[Apr 20 03:35:46] -- Executing [008000556688@default:1] AGI in new stack
[Apr 20 03:35:46] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Apr 20 03:35:46] -- Executing [008000556688@default:2] Dial("SIP/8001-00000001", "SIP/08000556688||tTo") in new stack
[Apr 20 03:35:47] WARNING23125: chan_sip.c:3225 create_addr: No such host: 08000556688
[Apr 20 03:35:47] WARNING23125: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Apr 20 03:35:47] Everyone is busy/congested at this time (1:0/0/1)
[Apr 20 03:35:47] -- Executing [008000556688@default:3] Hangup("SIP/8001-00000001", "") in new stack
[Apr 20 03:35:47] Spawn extension (default, 008000556688, 3) exited non-zero on 'SIP/8001-00000001'
[Apr 20 03:35:47] -- Executing [h@default:1] DeadAGI("SIP/8001-00000001", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Apr 20 03:35:47] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------- completed, returning 0

I tried to dial 008000556688.
  • I don't understand why asterisk think that the number that i tried to dial is an host and not sipgate instead.* " WARNING21981: chan_sip.c:3225 create_addr: No such host: 080000556688", if i try to dial an other number like 08000545564 for exemple I will have this "WARNING21981: chan_sip.c:3225 create_addr: No such host: 08000545564" That strange!!

And how to fix "WARNING23125: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)"

If you have any advice, please let me know. cheers.


Replies (4)

RE: issue with carrier setup - Added by eeeee dddd about 10 years ago

Just in case sip show peers

[code]sipgate/1809100 217.10.79.23 N 5060 OK (113 ms)[/code]

RE: issue with carrier setup - Added by striker 247 about 10 years ago

change the dialplan

exten => _x.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _x.,2,Dial(SIP{sipgate}/${EXTEN:1},55,tTor)
exten => _x.,3,Hangup
exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial({SIPGATE}/${EXTEN:1},55,tTor)
exten => _9X.,3,Hangup

use 9 as prefix in the campaign or while dialling from softphone/hardphone.

br
striker
www.striker24x7.blogspot.com

RE: issue with carrier setup - Added by eeeee dddd about 10 years ago

Hi Striker,

Yes you were right, its working now. thanks a lot.

RE: issue with carrier setup [solved] - Added by eeeee dddd about 10 years ago

eeeee dddd wrote:

Hi everyone and thanks in advance .

I can't make call with my server through sipgate.co.uk. I'm using goautodial 2.1, vicidial 2.4 and asterisk 1.4.

Here my config:

Registration String

userid::5060/userid

Account Entry:

[sipgate]
host=sipgate.co.uk
fromuser=userid
secret=pw
type=peer
disallow=all
allow=all
context=from-trunk
insecure=very
username=userid
host=dynamic
allowguest=yes
registertrying=yes
nat=auto

Globals String:
SIPGATE= SIP/sipgate

Dialplan Entry:

exten => _x.,1,AGI
exten => _x.,2,Dial(SIP{sipgate}/${EXTEN:1},55,tTor)
exten => _x.,3,Hangup

Active: y

CLI:

[Apr 20 03:35:46] -- Executing [008000556688@default:1] AGI in new stack
[Apr 20 03:35:46] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Apr 20 03:35:46] -- Executing [008000556688@default:2] Dial("SIP/8001-00000001", "SIP/08000556688||tTo") in new stack
[Apr 20 03:35:47] WARNING23125: chan_sip.c:3225 create_addr: No such host: 08000556688
[Apr 20 03:35:47] WARNING23125: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Apr 20 03:35:47] Everyone is busy/congested at this time (1:0/0/1)
[Apr 20 03:35:47] -- Executing [008000556688@default:3] Hangup("SIP/8001-00000001", "") in new stack
[Apr 20 03:35:47] Spawn extension (default, 008000556688, 3) exited non-zero on 'SIP/8001-00000001'
[Apr 20 03:35:47] -- Executing [h@default:1] DeadAGI("SIP/8001-00000001", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Apr 20 03:35:47] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------- completed, returning 0

I tried to dial 008000556688.
  • I don't understand why asterisk think that the number that i tried to dial is an host and not sipgate instead.* " WARNING21981: chan_sip.c:3225 create_addr: No such host: 080000556688", if i try to dial an other number like 08000545564 for exemple I will have this "WARNING21981: chan_sip.c:3225 create_addr: No such host: 08000545564" That strange!!

And how to fix "WARNING23125: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)"

If you have any advice, please let me know. cheers.

    (1-4/4)
    Go to top