Shouldn't the line: exten => _XXXXXXXX,1,Dial(SIP/[EMAIL PROTECTED],,)
be: exten => _XXXXXXXX,1,Dial(SIP/[EMAIL PROTECTED],,) note the .dk in the second one... Also I don't see a register line in your sip.conf. In the [general] section I would have expected something like: register=><a number>:<a password>@musimi.dk/musimi I mention this because I had a problem where the domain name didn't resolve, so I had to change the register line to use a dotted IP address like this: register=><a number>:<a password>@999.999.999.999/musimi Don't laugh, it's the only way I could get it to work!! Yours, H On 8/27/06, Henrik Woffinden <[EMAIL PROTECTED]> wrote:
Hi, I'm running Asterisk 1.2.10 bristuffed. Asterisk is registring perfectly against my provider (musimi.dk), and incoming calls comes in and are routed fine to either internal ZAP (ISDN BRI) and/or SIP. But.... I can't dial out via SIP (musimi) sip.conf: [musimi] type=friend host=musimi.dk username=xxxxxxxx fromuser=xxxxxxxx secret=xxxxxxxxxx domain=musimi.dk fromdomain=musimi.dk context=from-sip ;nat=yes ;canreinvite=no insecure=very dtmfmode=rfc2833 [9999] type=friend context=internal username=9999 secret=xxxxxxxx host=dynamic canreinvite=no dtfmode=rfc2833 disallow=all allow=ulaw callerid="Henrik Woffinden" <9999> nat=yes qualify=yes insecure=very ;[EMAIL PROTECTED] extensions.conf: [internal] ;exten => _XXXXXXXX,1,Dial(Zap/g1/${EXTEN},,) exten => _XXXXXXXX,1,Dial(SIP/[EMAIL PROTECTED],,) exten => _XXXXXXXX,n,Hangup If I want to dial out via ISDN (Zap which is commented out above), then it works ok, but via SIP I get the following error message (my own number is xxxxxxxx and the number I dial is yyyyyyyy - which is a normal mobile): -- Registered SIP '9999' at 192.168.9.9 port 29796 expires 3600 -- Executing Dial("SIP/9999-09f2eb28", "SIP/[EMAIL PROTECTED]||") in new stack -- Called [EMAIL PROTECTED] Aug 27 16:38:41 NOTICE[23387]: chan_sip.c:9845 handle_response_invite: Failed to authenticate on INVITE to '"Henrik Woffinden" <sip:[EMAIL PROTECTED]>;tag=as06ed5480' -- SIP/musimi-09f34188 is circuit-busy == Everyone is busy/congested at this time (1:0/1/0) -- Executing Hangup("SIP/9999-09f2eb28", "") in new stack == Spawn extension (internal, yyyyyyyy, 2) exited non-zero on 'SIP/9999-09f2eb28' I hope somebody can tell me what I'm doing wrong here. -- Med venlig hilsen / Best regards, Henrik Woffinden _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users