cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3368
Views
0
Helpful
20
Replies

SIP Trunk setup for UK Based Draytel

jansait10
Level 1
Level 1

Hi All,

Can anybody help with setting up SIP trunking for Draytel (www.draytel.org) on UC540? The draytel website recommends the following settings:

Registrar: draytel.org

Outgoing Proxy : nat.draytel.org:5065

I have edited an XML template and have imported into the SIP trunk configuration using CCA 3.0.

I can make outgoing calls, but cannot receive calls

Checking SIP Trunk Status in Diagnostics shows that the line is not registered:


-----------  show sip-ua register status   -----------              

Line                             peer       expires(sec) registered                               P-Associ-URI
================================ ========== ============ ========== ============
0208*******                    20007       41               no        
8******                          -1              2322           yes

-----------  End CLI Output  -----------

I have set the WAN port behind a Netgear router, however I have set the WAN port as a DMZ Host so all in bound trafic should hit the UC540 WAN port.

My question is really whether I need to set an inbound Cisco firewall route for 5065 and if so to which internal address?  Also does a NAT entry have to be made for thr 5065 port on the UC540?

The xml file that I have set up has the following settings (has the 5065 port entry been enetred in the right place?):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:SIPProviderTemplate xmlns:ns1="SIPProviderXMLSchema">
    <ProviderName>DrayTel</ProviderName>
    <Revision>1</Revision>
    <Locale>United Kingdom</Locale>
    <Fields>
        <FieldInfo>
            <FieldName>Proxy Server</FieldName>
            <isDisplayed>true</isDisplayed>
            <isRequired>true</isRequired>
        </FieldInfo>
        <FieldInfo>
            <FieldName>Secondary Proxy Server</FieldName>
            <isDisplayed>false</isDisplayed>
            <isRequired>false</isRequired>
        </FieldInfo>
        <FieldInfo>
            <FieldName>Registrar Server</FieldName>
            <isDisplayed>true</isDisplayed>
            <isRequired>true</isRequired>
        </FieldInfo>
        <FieldInfo>
            <FieldName>Outbound Proxy Server</FieldName>
            <isDisplayed>true</isDisplayed>
            <isRequired>false</isRequired>
        </FieldInfo>
        <FieldInfo>
            <FieldName>SIP Domain Name</FieldName>
            <isDisplayed>true</isDisplayed>
            <isRequired>true</isRequired>
        </FieldInfo>
        <FieldInfo>
            <FieldName>Digest Authentication</FieldName>
            <isDisplayed>true</isDisplayed>
            <isRequired>true</isRequired>
        </FieldInfo>
        <FieldInfo>
            <FieldName>User Credentials</FieldName>
            <isDisplayed>true</isDisplayed>
            <isRequired>false</isRequired>
        </FieldInfo>
        <FieldInfo>
            <FieldName>Call Admission Controls</FieldName>
            <isDisplayed>false</isDisplayed>
            <isRequired>false</isRequired>
        </FieldInfo>
        <FieldInfo>
            <FieldName>Company Name</FieldName>
            <isDisplayed>true</isDisplayed>
            <isRequired>false</isRequired>
        </FieldInfo>
    </Fields>
    <CredentialsRealm>Proxy Server</CredentialsRealm>
    <VoiceCodecPreference>
        <VoiceCodec>
            <VoiceCodecType>G711ulaw</VoiceCodecType>
            <Preference>1</Preference>
        </VoiceCodec>
    </VoiceCodecPreference>
    <FaxProtocol>Upspeed G711</FaxProtocol>
    <DTMFMethod>RFC 2833</DTMFMethod>
    <RTPPayloadType>101</RTPPayloadType>
    <DSCPSignaling>cs3</DSCPSignaling>
    <DSCPMedia>ef</DSCPMedia>
    <isHairpinCallTransfers>true</isHairpinCallTransfers>
    <isHairpinCallForwards>true</isHairpinCallForwards>
    <isPreserveCallerIDs>false</isPreserveCallerIDs>
    <Transport>udp</Transport>
    <SessionPort>Fixed</SessionPort>
    <DestinationPort>5065</DestinationPort>
    <RegistrarExpiry>3600</RegistrarExpiry>
    <isRegisterAllDIDs>true</isRegisterAllDIDs>
    <isSamePasswordForAllDIDs>true</isSamePasswordForAllDIDs>
    <ProvisionalACK>Disable</ProvisionalACK>
    <RetriesInvite>2</RetriesInvite>
    <RetriesRegister>10</RetriesRegister>
    <TimersConnect>100</TimersConnect>
    <isRemotePartyIDs>false</isRemotePartyIDs>
    <SupplementaryCommands>
        <SupplementaryCommand>
            <SubMode>sip-ua</SubMode>
            <Command/>
            <Processing>Pre</Processing>
        </SupplementaryCommand>
    </SupplementaryCommands>
</ns1:SIPProviderTemplate>

Any guidance would be most appreciated as I am starting to tear my hair out on this one.

Many thanks

20 Replies 20

do you have these configuration in your UC 540:

ip nat inside source list a interface x/x(wan interface of uc540) where a

should be permit access-list of inside private adress

ip nat outside source list b interface x/x(wan interface of uc540) where b

should be permit access-list of outbound ip addresses from where packets are

coming into your network.

both cases overload needed since you have only one ip address to translate

to and multiple connections.

and ip nat inside and ip nat outside applied on appropriate interface.

provide ur show run.

Hope this Helps

Hi I've run the show running config command and

have attached the output.

give this a try :

ip nat outside source list 3 interface FastEthernet0/0 overload

OK I've issued that command, SIP trunk is still showing as not registered and have also tried to make an incoming call which has not worked.  Also interestingly outgoing calls have also stopped working.  I have attached the running config after this command was issued.

oops !!!!..missed overload in that command...

ip nat outside source list 3 interface FastEthernet0/0 overload

if that doesn't work u need to consider how packets that are coming into

your network are treated.

OK Just to update you, after a lot of running around in circles have found out, from the most basic of docs - First Look Labs v1.4 - integrating UC500 into Lan, that the UC500 series will not support SIP Trunks if behind a non ALG firewall/router - Which is exactly the case with my scenario.  Therefore I have to ensure that that the WAN port of the UC540 has a Routable address assigned to it.  There are several ways to achieve this, and one of those is to use the PPPoE function of the UC540.  So I reconfigured my broadband adsl modem (Draytek 2820n)  to act in "bridged mode" so that the UC540 will do the PPPoE.  However, this is not working either!!  For some reason the UC540 is not liking something and is not dialing out and obtaining an IP Address.  I have connected the UC540 WAN port to the LAN port on the Draytek with it configed as bridged, this should work but I am not sure what’s going wrong.  Have also tried bridged 1483 LLC mode as that seems to be the UK way of doing it, however still no luck. Any ideas?