[asterisk-users] Error: 603 declined

Alejandro Cabrera Obed acabrera at sintys.gov.ar
Tue Oct 9 11:05:34 CDT 2007


I have Asterisk 1.2.13 installed as a Debian package and I edit only
sip.conf and extensions.conf in this way:

sip.conf:

[general]
realm=work.com.ar             ; Realm for digest
authentication                     
bindport=5060                   ; UDP Port to bind to (SIP standard port
is 5060)
bindaddr=0.0.0.0                ; IP address to bind to (0.0.0.0 binds
to all)
srvlookup=yes   

[user1]
type=friend
username=user1
secret=xxx
host=dynamic
context=work

[user2]
type=friend
username=user2
secret=xxx
host=dynamic
context=work

extensions.conf:

[work]
exten => 1111,1,Dial(SIP,user1)
exten => 1112,1,Dial(SIP,user2)

When we use Twinkle as our SIP client, user1 calls user2 dialing 1111
and user2 calls user1 dialing 1112, we get this error: Line 1 Call
failed - 603 declined.....so I can make a call.

In Asterisk I debug the channel and I get this log:

voip*CLI> debug channel 1
No such channel 1
Debugging on new channels is enabled
    -- Executing Dial("SIP/user1-08148450", "SIP|user2") in new stack
Oct  9 12:52:41 WARNING[3478]: app_dial.c:1024 dial_exec_full: Dial
argument takes format (technology/[device:]number1)
  == Spawn extension (sintys, 1112, 1) exited non-zero on
'SIP/user1-08148450'
Oct  9 12:52:41 WARNING[3453]: channel.c:787 channel_find_locked:
Avoided initial deadlock for '0x81508e8', 10 retries!

What is the problem ??? Any help please ???

Thanks a lot

Alejandro



More information about the asterisk-users mailing list