Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

CUBE SIP trunk with Vodafone

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
Silver

Is your routing fine? Are you

Is your routing fine? Are you talking SIP to vodafone over SIP wan interface?

"ip domain lookup" is in place? You didn't disable it perhaps?

BR,

Dragan

HTH, Dragan

In addition to what Dragan

In addition to what Dragan asked for, is +97440006999 the DID that Vodafone would be expecting in the register messages?

Please rate useful posts.
New Member

hi thomas, yes +97440006999

hi thomas,

 

yes +97440006999 is the DID and they are expecting it in the register message.

 

Regard,

 

Haseeb

I would also double check if

I would also double check if the SIP messages need to be UDP or TCP. Right now its UDP. Also, I would remove the bind commands from the SIP configuration and apply it at the dial-peer level. Also make sure that IP routing is working correctly whether the packets are going out the correct WAN interface to the router. 

Please rate useful posts.
New Member

Has this issue ever been

Has this issue ever been resolved? We are running into the same issue with the same vendor. We keep getting 401 Unauthorized message.

They brought their test MATRIX PBX device to show that the everything is working.

In their MATRIX PBX device they set the SIP Identity to the pilot number and made sure that their MATRIX PBX is not sending the REGISTER message to the vodafone device.

Question, how can you instruct the Cisco CUBE not to send a REGISTER message?

How can you set the SIP Identity to just be the pilot number +9744000xxxx?

Thank you
Nadim

New Member

Hi Nadim, Can you please send

Hi Nadim,

 

Can you please send me your router "Sh Run" and "debug ccsip messages"?

 

Regard,

 

Haseeb

New Member

Hi Haseeb,So, did you have

Hi Haseeb,


So, did you have your issue resolved with Vodafone? Or are you still not working?

 

Thank you
Nadim

New Member

Yes i have successfully

Yes i have successfully resolved the issue that's why i am asking you about Router "Sh Run" and debug so that i can check it.

 

Regard,

 

Haseeb Ahmad

New Member

Hi Haseeb, The files are

Hi Haseeb,

 

The files are attached.

 

Thank you
Nadim

this is not debug ccsip

 

 

and what are calling and called numbers?

New Member

It is the output of "debug

It is the output of "debug ccsip all"

 

We are trying to bring the SIP trunk up first.

 

Thank you
Nadim

New Member

What is the IOS version you

What is the IOS version you use?

New Member

1.Yes i am talking to

1.Yes i am talking to vodafone over sip wan interface and that interface is also bind to sip. And ip domain lookup is not enable.

2. For routing i just put a static route towards vodafone.

 

Silver

What do you mean by "IP

What do you mean by "IP domain lookup is not enabled" - it should be enabled for resolving vodafone sip server which you entered. BR, Dragan
HTH, Dragan
New Member

Hi Dragan, Thanx for reply.

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

Silver

If you put IP then you don't

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

BR,

Dragan

HTH, Dragan
New Member

hi Dragan, Now here is my new

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?

Silver

registrar ipv4:x.x.x.x in SIP

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

And let's see what happens then...

BR,

Dragan

HTH, Dragan
New Member

I change registrar to ipv4:

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

Silver

Can you try with "credentials

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

BR,

Dragan

HTH, Dragan
New Member

After changing it shows

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]

Silver

Can you remove "+" sign from

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

BR,

Dragan

HTH, Dragan
New Member

now my new config without +

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.

Silver

Can you remove realm at the

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

BR,

Dragan

HTH, Dragan
New Member

Here is the ccsip debug all

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

post here result of

 

ping vodafone.qa

New Member

Here is the result: Router

Here is the result:

 

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

 

regard,

 

Haseeb

Silver

Can you even ping by IP - not

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

BR,

Dragan

HTH, Dragan
New Member

According to ISP that ip is

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

 

regard,

Haseeb

1419
Views
0
Helpful
48
Replies