cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7609
Views
0
Helpful
48
Replies

CUBE SIP trunk with Vodafone

engrhaseeb81
Level 1
Level 1

Dear All,

 

Here is my Scenario:

 

CUBE ========>SIP-Trunk=====>Vodafone-Sip-Server.

 

I configure basic sip trunk configurations on Cisco 2900 series router. But my sip trunk does not get registered with vodafone. Router send sip register

 

message but did not receive any message from vodafone side. Please find attached configuration and ccsip debug and kindly help me.

48 Replies 48

Hi Dragan,

 

Thanx for reply. If i put i put ip of SIP server instead of DNS then is there any requirement of ip domain lookup?

 

Regard,

 

Haseeb

If you put IP then you don't need domain lookup sure...

BR,

Dragan

HTH,
Dragan

hi Dragan,

 

Now here is my new config:

Router#sh run
Building configuration...


Current configuration : 2708 bytes
!
! Last configuration change at 07:45:25 UTC Tue Jul 1 2014
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
enable secret 4 zAyQ6pBnFovlynvi8ctuJaw4uptMtDeOYoaNQ3oQenY
!
no aaa new-model
!
ip cef
!
!
!
!
!
!
no ip domain lookup
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!
!
!
voice-card 0
!
!
voice rtp send-recv
!
voice service voip
 ip address trusted list
  ipv4 0.0.0.0 0.0.0.0
 allow-connections sip to sip
 no supplementary-service sip moved-temporarily
 no supplementary-service sip refer
 no supplementary-service sip handle-replaces
 fax protocol pass-through g711alaw
 sip
  bind control source-interface GigabitEthernet0/2
  bind media source-interface GigabitEthernet0/2
  registrar server expires max 3600 min 3600
  listen-port non-secure  5061
!
!
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1748AJJD
hw-module pvdm 0/0
!
!
!
username corvit password 0 corvit786
!
redundancy
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface GigabitEthernet0/1 (LAN Interface)
 ip address 192.168.30.72 255.255.255.0
 ip nat inside
 ip virtual-reassembly in
 duplex auto
 speed auto
!
interface GigabitEthernet0/2 (SIP Wan interface)
 ip address x.x.x.x.
 ip nat outside
 ip virtual-reassembly in
 duplex auto
 speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat service sip udp port 5061
ip nat inside source list 101 interface GigabitEthernet0/2 overload
ip route 0.0.0.0 0.0.0.0 x.x.x.x ===> static route towards vodafone
ip route 192.168.1.0 255.255.255.0 192.168.30.1

!
access-list 101 permit ip any any
!
!
!
control-plane
!
 !
 !
 !
!
!
!
mgcp profile default
!
!
!
sip-ua
 credentials username +97440006999 password 7 061000254D48061700464058 realm vod
afone.qa
 authentication username +97440006999 password 7 111F160116140402017B7977 realm
vodafone.qa
 no remote-party-id
 retry invite 2
 retry register 10
 timers connect 100
 registrar dns:vodafone.qa expires 3600
 sip-server ipv4:x.x.x.x:5061
 host-registrar

 

Now my router does not generate any sip register request and in debug ccsip it does not show any debug.

 

and here is SIP-UA register status:

 

Router#show sip-ua register status
Line                             peer       expires(sec) registered P-Associ-URI

================================ ========== ============ ========== ===========

 

Kindly help me what to do?

registrar ipv4:x.x.x.x in SIP-UA config

And let's see what happens then...

BR,

Dragan

HTH,
Dragan

I change registrar to ipv4: after changing following ccsip error logs are shown:


*Jul  1 08:05:59.803: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_reset_dns_cache:
 CCSIP_REGISTER:: registrar 0 DNS resolved addr reset
*Jul  1 08:05:59.803: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_register_update_e164_
registrations: CCSIP_REGISTER:: e164 number (+97440006999) event (1)
*Jul  1 08:05:59.803: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_search_e164_tabl
e: ****No entry found in E164 Table
*Jul  1 08:05:59.803: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_register_get_rcb: Get
ting New RCB [0x3D1E224C]
*Jul  1 08:05:59.803: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_outgoing_register: Pr
ocess CCSIP_SPI_CONTROL not UP yet; send no Register msg
*Jul  1 08:05:59.803: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_search_e164_tabl
e: ****No entry found in E164 Table
*Jul  1 08:05:59.803: //-1/xxxxxxxxxxxx/SIP/Error/ccsip_register_delete_from_e16
4_table:
 Invalid Entry for search key

*Jul  1 08:05:59.803: //-1/xxxxxxxxxxxx/SIP/Info/ccsipGetCCBFromRCB: Retrived CC
B pointer [0x0]
*Jul  1 08:05:59.803: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_register_free_rcb: Fr
eeing rcb [0x3D1E224C]

Regard,

 

Haseeb

Can you try with "credentials number..." instead of "credentials username..." and see what happens?

BR,

Dragan

HTH,
Dragan

After changing it shows following logs still not sent register mesage:

*Jul  1 08:27:52.979: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_cred_user: Sendi
ng msg type 2 to register process from parser for user +97440006999
*Jul  1 08:27:52.979: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_register_process_e164
_registration: CCSIP_REGISTER:: e164 number (+97440006999)
*Jul  1 08:27:52.979: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_search_e164_tabl
e: ****No entry found in E164 Table
*Jul  1 08:27:52.979: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_register_get_rcb: Get
ting New RCB [0x3D1E2DD8]
*Jul  1 08:27:52.979: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_outgoing_register: Pr
ocess CCSIP_SPI_CONTROL not UP yet; send no Register msg
*Jul  1 08:27:52.979: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_search_e164_tabl
e: ****No entry found in E164 Table
*Jul  1 08:27:52.979: //-1/xxxxxxxxxxxx/SIP/Error/ccsip_register_delete_from_e16
4_table:
 Invalid Entry for search key

*Jul  1 08:27:52.979: //-1/xxxxxxxxxxxx/SIP/Info/ccsipGetCCBFromRCB: Retrived CC
B pointer [0x0]
*Jul  1 08:27:52.979: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_register_free_rcb: Fr
eeing rcb [0x3D1E2DD8]

Can you remove "+" sign from this number in register messages?

BR,

Dragan

HTH,
Dragan

now my new config without + sign:

 

sip-ua
 credentials username 97440006999 password xxxxxxx realm vodafone.qa
 authentication username 97440006999 password xxxxxxxxxx realm vodafone.qa
 no remote-party-id
 retry invite 2
 retry register 10
 timers connect 100
 registrar dns:vodafone.qa expires 3600
 sip-server ipv4:x.x.x.x:5061
 host-registrar

 

But still the same issue.

Can you remove realm at the end of "authentication username..." and give me output of debug ccsip all...

BR,

Dragan

HTH,
Dragan

Here is the ccsip debug all after removing realm:

*Jul  1 09:22:25.331: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_cred_user: Sendi
ng msg type 2 to register process from parser for user 97440006999
*Jul  1 09:22:25.331: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_register_process_e164
_registration: CCSIP_REGISTER:: e164 number (97440006999)
*Jul  1 09:22:25.331: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_search_e164_tabl
e: ****No entry found in E164 Table
*Jul  1 09:22:25.631: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_reset_dns_cache:
 CCSIP_REGISTER:: registrar 0 DNS resolved addr reset
*Jul  1 09:22:25.631: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_register_update_e164_
registrations: CCSIP_REGISTER:: e164 number (97440006999) event (1)
*Jul  1 09:22:25.631: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_search_e164_tabl
e: ****No entry found in E164 Table
*Jul  1 09:22:25.631: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_register_get_rcb: Get
ting New RCB [0x235269EC]
*Jul  1 09:22:25.631: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_outgoing_register: Pr
ocess CCSIP_SPI_CONTROL not UP yet; send no Register msg
*Jul  1 09:22:25.631: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_search_e164_tabl
e: ****No entry found in E164 Table
*Jul  1 09:22:25.631: //-1/xxxxxxxxxxxx/SIP/Error/ccsip_register_delete_from_e16
4_table:
 Invalid Entry for search key

*Jul  1 09:22:25.631: //-1/xxxxxxxxxxxx/SIP/Info/ccsipGetCCBFromRCB: Retrived CC
B pointer [0x0]
*Jul  1 09:22:25.631: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_register_free_rcb: Fr
eeing rcb [0x235269EC]

post here result of

 

ping vodafone.qa

Here is the result:

 

Router#ping vodafone.qa
Translating "vodafone.qa"
% Unrecognized host or address, or protocol not running.

 

regard,

 

Haseeb

Can you even ping by IP - not domain? You are not using domain lookup...

BR,

Dragan

HTH,
Dragan

According to ISP that ip is not pingable it is just able to telnet with port 5061

 

regard,

Haseeb