BERONET FREEPBX French dialplan

Hello,

I desperately try to make outgoing call from freepbx to beronet gateway.
Here is the log error message

=> I SETUP|REQUEST|CID=00013
                port=1, channel=1
                dad=0652XXXXXX, dton=4
                oad=0033164XXXXXX, oton=4
=== D INCOMING:CID=00013
                SIP=>ISDN, from_id=p:SIP_XXXX, to_id=g:Lignes_XXXX, line=2
                new_src=0033164XXXXXX, new_src_auto=0033164XXXXXX
                new_dest=0652XXXXXX, new_dest_auto=0652XXXXXX
<== S INVITE|INDICATION|CID=00013
                from_user=+33164XXXXXX
                to_user=0652XXXXXX
                request_user=0652XXXXXX
                contact_user=asterisk 
=== CDR,13,SIP:192.168.1.2,ISDN:1:1,"" <sip:[email protected]>,"" <sip:[email protected]>,0033164XXXXXX,0652XXXXXX,22/01/11-09:56:26,22/01/11-09:56:27,-,-,ISDN,EVENT_DISCONNECT:28,-,-
==> S Address Incomplete|REQUEST|CID=00013
<== I DISCONNECT|INDICATION|CID=00013
                cause=28 (Invalid number (incomplete))
<== I SETUP_PROCEEDING|INDICATION|CID=00013
==> I SETUP|REQUEST|CID=00013
                port=1, channel=1
                dad=0652XXXXXX, dton=4
                oad=0033164XXXXXX, oton=4
=== D INCOMING:CID=00013
                SIP=>ISDN, from_id=p:SIP_LESA, to_id=g:Lignes_LESA, line=2
                new_src=0033164XXXXXX, new_src_auto=0033164XXXXXX
                new_dest=0652XXXXXX, new_dest_auto=06XXXXXX
<== S INVITE|INDICATION|CID=00013
                from_user=+33164XXXXXX
                to_user=0652XXXXXX
                request_user=0652XXXXXX
                contact_user=asterisk

I used PJSIP trunk.
The trouble seems to comes from dialplan, but after many changes I still don’t know which value to change to enable outgoing calls.
Should I change the CID from trunk ?

In beronet I set dad(Callee ID) to new_destination and oad (Caller ID) to new_source.

Does the trouble comes from oad or dad ? Should I use the dad which match one of my BRI ?

Any help will be really appreciated !

Thanks

Aurélien