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.....
shaunwinginAsked:
Who is Participating?
 
denisdsr20Connect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.