Asterisk sip issue with external call

Hi, I am the beginner of asterisk,I have an external sip account in .I configured my asterisk with sip details in sip.conf and register ,while I making a call to my mobile number I am facing this error ,may i know what is the issue.

== Using SIP RTP CoS mark 5
– Executing [09600806002@users:1] NoOp(“SIP/user1-00000025”, “9600806002”) in new stack
– Executing [09600806002@users:2] Goto(“SIP/user1-00000025”, “outgoing,9600806002,1”) in new stack
– Goto (outgoing,9600806002,1)
– Executing [9600806002@outgoing:1] Dial(“SIP/user1-00000025”, “SIP/provider/9600806002”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/provider/9600806002
[2017-03-31 17:08:15] WARNING[2746][C-00000015]: chan_sip.c:23875 handle_response_invite: Received response: “Forbidden” from ‘;tag=as3f62b54c’
== Everyone is busy/congested at this time (1:0/0/1)

Any configuration issue is this?

Ask Antisip. They refused to allow you to make the call. Typically this is due to your giving them the wrong user and/or password.

I have a doubt , may i need to register my number also to antisip account?

Registration is needed if you wish to receive incoming calls from antisip, however you should better ask antisip to check whey they forbid your calls.

for outgoing what i need to do ? is it possible using sip?

It is possible, and commonplace, using SIP. For how to do it, you need to ask Antisip.

I need to get the time with date ,please help any one guys

time with date for what?

for post the time to asterisk api configured in dialplan using curl

Please start a new thread for a new subject.

The Asterisk Curl API doesn’t require a time and date! I think your machine translation is letting you down, which case either write a much longer description, as that will give more clues as to the correct translation, or write in your own language and hope someone on the forum understands it.

The Asterisk ${EPOCH} function returns the current time and date on the machine running Asterisk, and ${STRFTIME()} can be used to format it in many different printable ways.

Asterisk cannot set the time. That must be done using the underlying operating system.

1 Like

yeah i configured like that only and it is posted fine.
I need another one requirement to post the call start event when the call is answered once.

I configured like that is this work?

exten => 100,1,Dial(SIP/user1,20)
exten => 100,2,Answer(result=${CURL(${STRFTIME(${EPOCH},GMT,%Y-%m-%d/%H:%M:%S)})})
exten => 100,3,NoOp(${result})
exten => 100,10,HangUp()