Unable to make Outbound calls

Hi All,

I am trying to make outbound call but every time I am getting the error. I am making the call file and moving it to /var/spool/asterisk/outgoing

– Attempting call on SIP/9498XXXXXX@9852XXXXXX for 1000@default:1 (Retry 1)
== Using SIP RTP CoS mark 5
[Sep 7 04:19:48] NOTICE[23548]: channel.c:4179 __ast_request_and_dial: Unable to request channel SIP/9498XXXXXX@9852XXXXXX
[Sep 7 04:19:48] NOTICE[23548]: pbx_spool.c:339 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)
[Sep 7 04:19:48] ERROR[22071]: pbx.c:9366 device_state_cb: Received invalid event that had no device IE
[Sep 7 04:19:48] ERROR[22071]: app_queue.c:1112 device_state_cb: Received invalid event that had no device IE

If I am registering the softphone with the same DID(9852XXXXXX), then I am able to make call.

Here is the call file which is created for outbound call

Channel: SIP/9498XXXXXX@9852XXXXXX
MaxRetries: 2
CallerID: 9852XXXXXX
RetryTime: 60
WaitTime: 30
Account: 9852XXXXXX
Context: default
Extension: 1000
Priority: 1
Set: var=value

Please help, it’s a bit urgent.

Version and relevant sip.conf contents? Some versions appear to treat SIP/@ as equivalent to Local/@, so, to be safe, use SIP//.

Thanks for reply david55

I am using asterisk 1.6.2.22. here is sip.conf

[general]
context=default
bindaddr=192.168.80.226
port=5060
allowguest=yes
srvlookup=yes
disallow=all
allow=ulaw
allow=alaw
language=en

register => 9852XXXXXX:XXXXXX@sbc-met.telco.bz/9852XXXXXX

;============================================
[9852XXXXXX]
username=9852XXXXXX
type=peer
secret=XXXXXX
outboundproxy=sbc-met.telco.bz
nat=yes
insecure=invite
allowguest=yes
host=dynamic
fromdomain=as1.telco.bz
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=alaw
allow=g729
context=default
authname=9852XXXXXX
callerid=9852XXXXXX
canreinvite=no
qualify=yes

I tried with SIP/9852XXXXXX/9498XXXXXX, but same result.

It is, at best, unusual to have to register in both directions, and almost unheard of for an ITSP to register with a client. I suspect your host=dynamic is unusable.

allowguest belongs in the general section. yes is the default. no is normally the right value (for security).

I made changes in host and allowguest, but still same.
When I am registering the softphone to the server with DID number, then I am able to make call. I am not able to get what the issue is.