[Asterisk-Users] outgoing calls

asterisk at karthaus.nl asterisk at karthaus.nl
Tue Jun 20 08:34:34 MST 2006


Hi list,
I've been trying all kinds of things for hours but I keep ending up with 
nothing, so I was hoping to get some help.
Because I could not get it to work i'v completely reset to the default 
configuration, except for sip.conf

If I call my number I get the DEMO talking to me so I know this works..

The problem is calling out. I want to drop a call file into the spool 
and have the server call me and if I answer connect me to the demo (if i 
can get that working i probably will be able to do the rest)

Can anyone tell me what i'm doing wrong, what am I missing.

Regards,
Marius


sip.conf
/###################################################
[general]
context=default                 ; Default context for incoming calls
port=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                   ; Enable DNS SRV lookups on outbound calls
disallow=all                    ; First disallow all codecs
allow=ilbc
allow=g729
allow=gsm
allow=ulaw
allow=alaw
allow=all                       ; Allow codecs in order of preference

register => 31137110377:secret at budgetphone.nl/1000

[31137110377]
type=friend
context=default
host=sip.budgetphone.nl
fromuser=31137110377
fromdomain=sip.budgetphone.nl
username=31137110377
insecure=very
secret=secret
qualify=no
port=5060
###################################################/


This is the call-file i'm dropping:
/###################################################
Channel: SIP/0031611111111 at 31137110377
Callerid: 31137110377
MaxRetries: 5
RetryTime: 300
WaitTime: 45
Context: default
Extension: s
Priority: 1
###################################################
/
logfiles:

/==> /var/log/asterisk/full <==
Jun 20 15:28:16 VERBOSE[26387]:     -- Attempting call on 
SIP/0031611111111 at 31137110377 for s at default:1 (Retry 1)
Jun 20 15:28:16 DEBUG[26387]: Setting NAT on RTP to 0
Jun 20 15:28:16 DEBUG[26387]: Outgoing Call for 0031611111111
Jun 20 15:28:16 DEBUG[26387]: 0031611111111 is not a local user
Jun 20 15:28:16 DEBUG[26387]: Acked pending invite 102
Jun 20 15:28:16 DEBUG[26387]: Stopping retransmission on 
'641f41e2315f7d5f00dd05c51b4bcabb at sip.budgetphone.nl' of Request 102: Found
Jun 20 15:28:16 WARNING[26387]: Forbidden - wrong password on 
authentication for INVITE to '"31137110377" 
<sip:31137110377 at sip.budgetphone.nl>;tag=as24baf051'
Jun 20 15:28:16 DEBUG[26387]: update_user_counter(0031611111111) - 
decrement outUse counter
Jun 20 15:28:16 DEBUG[26387]: 0031611111111 is not a local user
Jun 20 15:28:16 NOTICE[26387]: Call failed to go through, reason 8
Jun 20 15:28:16 DEBUG[26387]: Stopping retransmission on 
'641f41e2315f7d5f00dd05c51b4bcabb at sip.budgetphone.nl' of Request 102: Found
Jun 20 15:28:16 WARNING[26387]: Forbidden - wrong password on 
authentication for CANCEL

==> /var/log/asterisk/messages <==
Jun 20 15:28:16 WARNING[26387]: Forbidden - wrong password on 
authentication for INVITE to '"31137110377" 
<sip:31137110377 at sip.budgetphone.nl>;tag=as24baf051'
Jun 20 15:28:16 NOTICE[26387]: Call failed to go through, reason 8
Jun 20 15:28:16 WARNING[26387]: Forbidden - wrong password on 
authentication for CANCEL

==> /var/log/asterisk/full <==
Jun 20 15:28:31 DEBUG[26387]: Auto destroying call 
'641f41e2315f7d5f00dd05c51b4bcabb at sip.budgetphone.nl'/





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060620/b117445e/attachment.htm


More information about the asterisk-users mailing list