Project

General

Profile

Appels sortants

Added by Ibrahim El Alouchi almost 7 years ago

Bonjour,

je viens d'installer goautodial sur une machine, j'ai fait touts les configurations nécessaires, mais une fois je veux effectuer un appel sortant ça marche pas,ni avec des appareils téléphonique ni avec des softphones.
ça donne toujours (not found) ou (sip 404 not found no route to destination goautodial).

Merci d'avance pour votre aide.


Replies (11)

RE: Appels sortants - Added by striker 247 almost 7 years ago

post your carrier settings

also post the cli log

step to go to cli
ssh the server using tool putty.
then type asterisk -vvvvvvr for asterisk cli

now make a call you can see the realtime logs, copy and paste it here

regards
striker
www.striker24x7.blogspot.com

RE: Appels sortants - Added by Ibrahim El Alouchi almost 7 years ago

Thank you,

The cli log when i made call
;

[Jun 19 11:47:12] -- Executing [15147488747@default:1] AGI in new stack
[Jun 19 11:47:12] -- <SIP/8002-00000024>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jun 19 11:47:12] -- Executing [15147488747@default:2] Dial("SIP/8002-00000024", "SIP/MAZAGANIN/15147488747,,tTo") in new stack
[Jun 19 11:47:12] WARNING29795: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[Jun 19 11:47:12] Everyone is busy/congested at this time (1:0/0/1)
[Jun 19 11:47:12] -- Executing [15147488747@default:3] Hangup("SIP/8002-00000024", "") in new stack
[Jun 19 11:47:12] Spawn extension (default, 15147488747, 3) exited non-zero on 'SIP/8002-00000024'
[Jun 19 11:47:12] -- Executing [h@default:1] AGI in new stack
[Jun 19 11:47:12] -- <SIP/8002-00000024>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------- completed, returning 0

my carrier:

[MAZAGANIN]
disallow=all
allow=ulaw
allow=alaw
type=peer
canreinvite=no
dtmfmode=rfc2833
context=default
qualify=yes
insecure=invite,port
nat=no
host=38.XXX.XX.103
username=1234
secret=1234

Dialplan entry:
exten => _1XXXXXXXXXX,1,AGI
exten => _1XXXXXXXXXX,2,Dial(SIP/MAZAGANIN/${EXTEN},,tTo)
exten => _1XXXXXXXXXX,3,Hangup()

RE: Appels sortants - Added by striker 247 almost 7 years ago

the cli shows your sip trunk is not registered

go to cli and type below commands

sip show peers
sip show registry

regards
striker
www.striker24x7.blogspot.com

RE: Appels sortants - Added by Ibrahim El Alouchi almost 7 years ago

go*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
8001/8001 192.168.1.100 D N 5062 OK (35 ms)
8002/8002 192.168.1.100 D N 5064 OK (23 ms)
8003/8003 (Unspecified) D N 0 UNKNOWN
8004/8004 (Unspecified) D N 0 UNKNOWN
8005/8005 (Unspecified) D N 0 UNKNOWN
8006/8006 (Unspecified) D N 0 UNKNOWN
8007/8007 (Unspecified) D N 0 UNKNOWN
8008/8008 (Unspecified) D N 0 UNKNOWN
8009/8009 (Unspecified) D N 0 UNKNOWN
8010/8010 (Unspecified) D N 0 UNKNOWN
8011/8011 (Unspecified) D N 0 UNKNOWN
8012/8012 (Unspecified) D N 0 UNKNOWN
8013/8013 (Unspecified) D N 0 UNKNOWN
8014/8014 (Unspecified) D N 0 UNKNOWN
8015/8015 (Unspecified) D N 0 UNKNOWN
8016/8016 (Unspecified) D N 0 UNKNOWN
8017/8017 (Unspecified) D N 0 UNKNOWN
8018/8018 (Unspecified) D N 0 UNKNOWN
8019/8019 (Unspecified) D N 0 UNKNOWN
8020/8020 (Unspecified) D N 0 UNKNOWN
MAZAGANIN/15143169629 38.127.67.103 N 5060 UNREACHABLE

go*CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
38.127.67.103:5462 N 15143169629 24 Registered Mon, 19 Jun 2017 12:23:59
1 SIP registrations.

RE: Appels sortants - Added by striker 247 almost 7 years ago

sip show peers shows that your sip trunk is in unreachable.

"MAZAGANIN/15143169629 38.127.67.103 N 5060 UNREACHABLE"

1.make sure your dialer have internet to reach 38.127.67.103
2.if any firewal/router in your office , then open ports UDP 5060 & UDP 10000to20000

regards
striker
www.striker24x7.blogspot.com

RE: Appels sortants - Added by Ibrahim El Alouchi almost 7 years ago

Where can I find port 5060, because the port I configured on sip.conf or in carrier is the 5462.

RE: Appels sortants - Added by Ibrahim El Alouchi almost 7 years ago

Hi,
now it gives me

Name/username Host Dyn Forcerport ACL Port Status
8001/8001 192.168.1.100 D N 5062 OK (30 ms)
8002/8002 192.168.1.133 D N 54481 OK (3 ms)
8003/8003 192.168.1.181 D N 50733 OK (8 ms)
8004/8004 192.168.1.100 D N 5064 OK (23 ms)
8005/8005 (Unspecified) D N 0 UNKNOWN
8006/8006 (Unspecified) D N 0 UNKNOWN
8007/8007 (Unspecified) D N 0 UNKNOWN
8008/8008 (Unspecified) D N 0 UNKNOWN
8009/8009 (Unspecified) D N 0 UNKNOWN
8010/8010 (Unspecified) D N 0 UNKNOWN
8011/8011 (Unspecified) D N 0 UNKNOWN
8012/8012 (Unspecified) D N 0 UNKNOWN
8013/8013 (Unspecified) D N 0 UNKNOWN
8014/8014 (Unspecified) D N 0 UNKNOWN
8015/8015 (Unspecified) D N 0 UNKNOWN
8016/8016 (Unspecified) D N 0 UNKNOWN
8017/8017 (Unspecified) D N 0 UNKNOWN
8018/8018 (Unspecified) D N 0 UNKNOWN
8019/8019 (Unspecified) D N 0 UNKNOWN
8020/8020 (Unspecified) D N 0 UNKNOWN
MAZAGANIN/15143169629 38.127.67.103 N 5462 OK (11 ms)

RE: Appels sortants - Added by Ibrahim El Alouchi almost 7 years ago

and the outbound calls still no working

RE: Appels sortants - Added by striker 247 almost 7 years ago

now post yor cli log while making a call

regards
striker
www.striker24x7.blogspot.com

RE: Appels sortants - Added by Ibrahim El Alouchi almost 7 years ago

Hi,

Now when I make calls with devices or zoiper, it works.
But when I use manual dial of the interface goautodial it cuts immediately.

the cli log :

[Jun 22 10:40:06] -- Executing [8600051@default:1] MeetMe("Local/8600051@def ault-00000002;2", "8600051,F") in new stack
[Jun 22 10:40:06] > Channel Local/8600051@default-00000002;1 was answered .
[Jun 22 10:40:06] Starting Local/8600051@default-00000002;1 at default,1151 47488747,1 failed so falling back to exten 's'
[Jun 22 10:40:06] Starting Local/8600051@default-00000002;1 at default,s,1 still failed so falling back to context 'default'
[Jun 22 10:40:06] -- Sent into invalid extension 's' in context 'default' on Local/8600051@default-00000002;1
[Jun 22 10:40:06] -- Executing [i@default:1] Playback("Local/8600051@default 00000002;1", "invalid") in new stack
[Jun 22 10:40:06] -
<Local/8600051@default-00000002;1> Playing 'invalid.gsm ' (language 'en')
[Jun 22 10:40:06] Manager 'sendcron' logged off from 127.0.0.1
[Jun 22 10:40:07] Manager 'sendcron' logged on from 127.0.0.1
[Jun 22 10:40:07] -- Executing [58600051@default:1] MeetMe("Local/58600051@d efault-00000003;2", "8600051,Fmq") in new stack
[Jun 22 10:40:07] > Channel Local/58600051@default-00000003;1 was answere d.
[Jun 22 10:40:07] -- Executing [8309@default:1] Answer("Local/58600051@defau lt-00000003;1", "") in new stack
[Jun 22 10:40:07] -- Executing [8309@default:2] Monitor("Local/58600051@defa ult-00000003;1", "wav,20170622-104006_5147488747_12322642_agent001") in new stac k
[Jun 22 10:40:07] Manager 'sendcron' logged off from 127.0.0.1
[Jun 22 10:40:07] -- Executing [8309@default:3] Wait("Local/58600051@default 00000003;1", "3600") in new stack
[Jun 22 10:40:11] -
Executing [i@default:2] Hangup("Local/8600051@default-0 0000002;1", "") in new stack
[Jun 22 10:40:11] Spawn extension (default, i, 2) exited non-zero on 'Local /8600051@default-00000002;1'
[Jun 22 10:40:11] -- Executing [h@default:1] AGI in new stack
[Jun 22 10:40:11] -- <Local/8600051@default-00000002;1>AGI Script agi://127. 0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
[Jun 22 10:40:11] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000002;2'
[Jun 22 10:40:11] -- Executing [h@default:1] AGI in new stack
[Jun 22 10:40:11] -- <Local/8600051@default-00000002;2>AGI Script agi://127. 0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, r eturning 0

RE: Appels sortants - Added by Shuaib Ur Rahman Khan over 6 years ago

exten => _1XXXXXXXXXX,1,AGI
exten => _1XXXXXXXXXX,2,Dial(SIP/MAZAGANIN/${EXTEN},,tTo)
exten => _1XXXXXXXXXX,3,Hangup()

By default vicidial puts "1" as country code (for USA). Either replace "1" by "X" (on manual dial screen) or remove "1" from dialplan pattern.

exten => _5XXXXXXXXX,1,AGI
exten => _5XXXXXXXXX,2,Dial(SIP/MAZAGANIN/${EXTEN},,tTo)
exten => _5XXXXXXXXX,3,Hangup()
    (1-11/11)
    Go to top