Help with configuring SIP trunk

Hello

I'm in big truble because i have to configure FreePBX/Asterisk, and after half of day i got to the point where internal calls are working :(

Can you help me with configuring SIP Trunk?

Mode of register: dynamic

Domain: domain. domain

Outside numbers: xxxxxx00 - xxxxxx 99

Maximum Channels: 30

User: USER

pass: PASWORD

Host: 87.204.129.4

 

We get fallowing tips from provider:

Pilot number :  00000001

DDI:     00000002

 

Register IPPBX in network, register pilot number

REGISTER sip: : domain. domain;transport=udp SIP/2.0

Via: SIP/2.0/UDP IP:5080;rport;branch=z9hG4bKr5FKNN9eHXSQB

Max-Forwards: 70

From: <sip: [email protected];transport=udp>;tag=Q8pjQa0Xp61gr

To: <sip: [email protected];transport=udp>

 

Unregister:

REGISTER sip:domain.domain;transport=udp SIP/2.0

Via: SIP/2.0/UDP IP:5080;rport;branch=z9hG4bKr81g0FtFDZycN

Max-Forwards: 70

From: <sip: [email protected];transport=udp>;tag=e93pgSgUrt1vg

To: sip: [email protected];transport=udp

 

Outbound connection:

 

Format of  r-uri in header Request-Line:

   KNA@domain  for local calls

   00CCKNA@domain for international calls

where:

  KNA:  local client number

  CC:  country code

  domain:  SIP Trunk domain or ip address SBC.

 

Also this is format for to-uri in header To:

 

Format of  from-uri in header From:

  DDI@ domain 

where:

  DDI: pilotnumber

  domain:  SIP Trunk domain or ip address SBC.

 

Inbound connection:

 

Format of  r-uri in header Request-Line:

  CONTACT

where:

  CONTACT:  Uri from header Contact of packet REGISTER.

 

Format for to-uri in header To:

  KNA@domain

where:

  KNA:  local client number

   KNA contains target number DDI.

  domain: :  SIP Trunk domain

 

Format for from-uri  in header From:

  KNA@ASFQDN  for local connection

  00CCKNA@ASFQDN for international connection

where:

  KNA:  local client number

  CC:  country code

  ASFQDN::  SIP Trunk domain

 

 

 

Did you find a solution ?

mIRO