[asterisk-users] Cannot dial out through SIP provider

Henrik Woffinden hw at nitramlexa.com
Mon Aug 28 13:46:21 MST 2006


Hi again,

It was one letter which was wrong case in my secret....
Sorry to have bothered with that problem.

Med venlig hilsen / Best regards,

Henrik Woffinden

Dovid Bender wrote:
>
> ----- Original Message ----- From: "Henrik Woffinden" <hw at nitramlexa.com>
> To: <asterisk-users at lists.digium.com>
> Sent: Sunday, August 27, 2006 11:50 AM
> Subject: [asterisk-users] Cannot dial out through SIP provider
>
>
>> 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
>> ;mailbox=9999 at from-sip
>>
>> extensions.conf:
>> [internal]
>> ;exten => _XXXXXXXX,1,Dial(Zap/g1/${EXTEN},,)
>> exten => _XXXXXXXX,1,Dial(SIP/${EXTEN}@musimi,,)
>> 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/yyyyyyyy at musimi||") in
>> new stack
>> -- Called yyyyyyyy at musimi
>> Aug 27 16:38:41 NOTICE[23387]: chan_sip.c:9845 handle_response_invite:
>> Failed to authenticate on INVITE to '"Henrik Woffinden"
>> <sip:xxxxxxxx at musimi.dk>;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.
>>
>
> Your sip provider is rejecting the call. This can be for many reasons.
> Bad user/id pass, no credit left on acct., not using proper syntax
> etc. Look at thier site and see how they want you to send the call to
> them (i.e.with the + sign before the number or maybe add or remove a 0)
> _______________________________________________
> --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



More information about the asterisk-users mailing list