<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi list,<br>
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. <br>
Because I could not get it to work i'v completely reset to the default
configuration, except for sip.conf <br>
<br>
If I call my number I get the DEMO talking to me so I know this works..<br>
<br>
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)<br>
<br>
Can anyone tell me what i'm doing wrong, what am I missing.<br>
<br>
Regards,<br>
Marius<br>
<br>
<br>
sip.conf<br>
<i>###################################################<br>
[general]<br>
context=default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Default context for incoming calls<br>
port=5060&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; UDP Port to bind to (SIP standard
port is 5060)<br>
bindaddr=0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; IP address to bind to (0.0.0.0 binds
to all)<br>
srvlookup=yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Enable DNS SRV lookups on outbound
calls<br>
disallow=all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; First disallow all codecs<br>
allow=ilbc<br>
allow=g729<br>
allow=gsm<br>
allow=ulaw<br>
allow=alaw<br>
allow=all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Allow codecs in order of preference<br>
<br>
register =&gt; <a class="moz-txt-link-abbreviated" href="mailto:31137110377:secret@budgetphone.nl/1000">31137110377:secret@budgetphone.nl/1000</a><br>
<br>
[31137110377]<br>
type=friend<br>
context=default<br>
host=sip.budgetphone.nl<br>
fromuser=31137110377<br>
fromdomain=sip.budgetphone.nl<br>
username=31137110377<br>
insecure=very<br>
secret=secret<br>
qualify=no<br>
port=5060<br>
###################################################</i><br>
<br>
<br>
This is the call-file i'm dropping:<br>
<i>###################################################<br>
Channel: SIP/0031611111111@31137110377<br>
Callerid: 31137110377<br>
MaxRetries: 5<br>
RetryTime: 300<br>
WaitTime: 45<br>
Context: default<br>
Extension: s<br>
Priority: 1<br>
###################################################<br>
</i>
<br>
logfiles:<br>
<br>
<i>==&gt; /var/log/asterisk/full &lt;==<br>
Jun 20 15:28:16 VERBOSE[26387]:&nbsp;&nbsp;&nbsp;&nbsp; -- Attempting call on
SIP/0031611111111@31137110377 for s@default:1 (Retry 1)<br>
Jun 20 15:28:16 DEBUG[26387]: Setting NAT on RTP to 0<br>
Jun 20 15:28:16 DEBUG[26387]: Outgoing Call for 0031611111111<br>
Jun 20 15:28:16 DEBUG[26387]: 0031611111111 is not a local user<br>
Jun 20 15:28:16 DEBUG[26387]: Acked pending invite 102<br>
Jun 20 15:28:16 DEBUG[26387]: Stopping retransmission on
'<a class="moz-txt-link-abbreviated" href="mailto:641f41e2315f7d5f00dd05c51b4bcabb@sip.budgetphone.nl">641f41e2315f7d5f00dd05c51b4bcabb@sip.budgetphone.nl</a>' of Request 102:
Found<br>
Jun 20 15:28:16 WARNING[26387]: Forbidden - wrong password on
authentication for INVITE to '"31137110377"
<a class="moz-txt-link-rfc2396E" href="sip:31137110377@sip.budgetphone.nl">&lt;sip:31137110377@sip.budgetphone.nl&gt;</a>;tag=as24baf051'<br>
Jun 20 15:28:16 DEBUG[26387]: update_user_counter(0031611111111) -
decrement outUse counter<br>
Jun 20 15:28:16 DEBUG[26387]: 0031611111111 is not a local user<br>
Jun 20 15:28:16 NOTICE[26387]: Call failed to go through, reason 8<br>
Jun 20 15:28:16 DEBUG[26387]: Stopping retransmission on
'<a class="moz-txt-link-abbreviated" href="mailto:641f41e2315f7d5f00dd05c51b4bcabb@sip.budgetphone.nl">641f41e2315f7d5f00dd05c51b4bcabb@sip.budgetphone.nl</a>' of Request 102:
Found<br>
Jun 20 15:28:16 WARNING[26387]: Forbidden - wrong password on
authentication for CANCEL<br>
<br>
==&gt; /var/log/asterisk/messages &lt;==<br>
Jun 20 15:28:16 WARNING[26387]: Forbidden - wrong password on
authentication for INVITE to '"31137110377"
<a class="moz-txt-link-rfc2396E" href="sip:31137110377@sip.budgetphone.nl">&lt;sip:31137110377@sip.budgetphone.nl&gt;</a>;tag=as24baf051'<br>
Jun 20 15:28:16 NOTICE[26387]: Call failed to go through, reason 8<br>
Jun 20 15:28:16 WARNING[26387]: Forbidden - wrong password on
authentication for CANCEL<br>
<br>
==&gt; /var/log/asterisk/full &lt;==<br>
Jun 20 15:28:31 DEBUG[26387]: Auto destroying call
'<a class="moz-txt-link-abbreviated" href="mailto:641f41e2315f7d5f00dd05c51b4bcabb@sip.budgetphone.nl">641f41e2315f7d5f00dd05c51b4bcabb@sip.budgetphone.nl</a>'</i><br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>