[Dundi] Dundi lookup and inter PBX calls

Georghy fusco at wanagain.net
Mon Mar 8 09:56:30 CST 2010


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 360 at priv
>>
>>
>> asterisk respond :
>>
>>  1.     0 SIP/dundi:+WXATxXJXSPP8mRpAL3mRQ==@192.168.199.23/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:Unknown at 10.120.1.2>;tag=as39e0ff05
To: <sip:192.168.10.2>
Contact: <sip:Unknown at 10.120.1.2>
Call-ID: 2d6c9c1c5b9f38fa629b6356680384c4 at 10.120.1.2
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:Unknown at 10.120.1.2>;tag=as39e0ff05
To: <sip:192.168.10.2>
Contact: <sip:Unknown at 10.120.1.2>
Call-ID: 2d6c9c1c5b9f38fa629b6356680384c4 at 10.120.1.2
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




More information about the Dundi mailing list