Leif Madsen a écrit :
> Georghy wrote:
>
>> */etc/asterisk/sip_custom.conf
>>
>> language=fr
>> nat=never
>> ;Subscribecontext=ext-local
>> [priv]
>> type=friend
>> dbsecret=dundi/secret
>> context=dundi-priv-local
>> host=192.168.199.23
>> qualify=yes*
>>
>
> You have a friend setup with [priv] here.
>
should I change this ?
>
>> What works : if I use (on PBX B)
>>
>> dundi lookup 3...@priv
>>
>>
>> asterisk respond :
>>
>> 1. 0 SIP/dundi:[email protected]/360
>> (EXISTS|NOUNSLCTD|NOCOMUNSLTD)
>> from 00:40:48:b2:78:6b, expires in 5 s
>> DUNDi lookup completed in 7 ms
>>
>
> But you're trying to authenticate with the 'dundi' user here.
>
Should I try an other command ?
> Looks like you have an authentication issue. DUNDi appears to be working, so
> at
> this point it is just SIP authentication that is the problem. Try debugging
> with
> 'sip set debug' (if using 1.4) or 'sip set debug on') if using something
> later.
>
> Leif.
>
>
I'm trying to use sip debug but it displays huge amount of information
is this information that we're looking for ? :
<------------>
-- <SIP/360-09c19610> Playing 'silence/1' (language 'fr')
Retransmitting #1 (no NAT) to 192.168.10.2:5060:
OPTIONS sip:192.168.10.2 SIP/2.0
Via: SIP/2.0/UDP 10.120.1.2:5060;branch=z9hG4bK1182d80c
From: "Unknown" <sip:[email protected]>;tag=as39e0ff05
To: <sip:192.168.10.2>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Mon, 08 Mar 2010 15:52:24 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0
---
-- <SIP/360-09c19610> Playing 'cannot-complete-as-dialed' (language
'fr')
Retransmitting #2 (no NAT) to 192.168.10.2:5060:
OPTIONS sip:192.168.10.2 SIP/2.0
Via: SIP/2.0/UDP 10.120.1.2:5060;branch=z9hG4bK1182d80c
From: "Unknown" <sip:[email protected]>;tag=as39e0ff05
To: <sip:192.168.10.2>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Mon, 08 Mar 2010 15:52:24 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0
--
Cordialement, / Greetings,
Georghy FUSCO
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Dundi mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/dundi