• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3315
  • Last Modified:

Using /var/spool/asterisk/outgoing/ to originate a call - fails?

My call record copied to  /var/spool/asterisk/outgoing/

Channel: SIP/E-SIP
MaxRetries: 1
RetryTime: 60
WaitTime: 30
;Context: a1test
;Extension: 182
;Priority: 1
Application: dial 182@a1test
CallerID: 105 <105>


The Context:

[a1test]
exten => _182,1,Dial(${OUTTRUNKSIP}/27824496273,60,)
exten => _182,2,Hangup

sip.conf

[E-SIP]
type=friend
host=196.12.32.4
secret=wsasaw
disallow=all
allow=g729:60
canreinvite=yes
context=internal
username=voips


The result:

Attempting call on SIP/E-SIP for application dial 182@a1test() (Retry 2)
    -- Attempting call on SIP/E-SIP for application dial 182@a1test() (Retry 2)
       > Channel SIP/E-SIP-093a8d20 was never answered.
[Nov  3 22:51:25] NOTICE[30759]: pbx_spool.c:341 attempt_thread: Call failed to go through, reason (8) Congestion (circuits busy)


Please help.....
0
shaunwingin
Asked:
shaunwingin
1 Solution
 
denisdsr20Commented:
Are you sure your E-SIP is reachable ? Registered on * ?

Let's check :

Before trying a 2 leg outgoing calls, you can try with a Leg to E-SIP and the other side directly connected to a local extension, for instance with the *'s echo application.

CALL :
channel:SIP/E-SIP
extension:1234
context:default

EXTENSION.CONF
exten => 1234,1,answer
exten => 1234,2,playback(demo-echotest)
exten => 1234,3,echo

E-SIP should ring and when you are connected on E-SIP, you should hear "this is an echo test ....blabla"

If all this work fine, then you can try with a 2 outgoing legs.

Hope this helps

Denis DIDIER
SR20 Service / France
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now