cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10480
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

So is this successfull:

telnet x.x.x.x 5061 /source-interface <sip-intf>

BR,

Dragan

HTH,
Dragan

Yes telnet is successful with port 5061. And kindly help me in routing issues and i just put a static route towards vodafone gateway provided by vodafone and that gateway is pingable and i send u all the confiuration already kindly tell me where i perform NAT?

 

Regard,

 

Haseeb

I don't know if you need NAT - you should know that...i just saw "nat in/out" in your config so remind you to pay attention if that impact your config...nothing else...

And did you try with "credential number..." instead of "username" with this new config without dns?

BR,
Dragan

HTH,
Dragan

your router dos not understund where is vodafone.qa

so

conf t

sip-ua

no registrar dns:vodafone.qa expires 3600

registrar ipv4:78.129.151.141 expires 3600

exi

wr

may be you need to reload router

I told that to him about 2 hours ago and thought that he already did that...and now after second lookup in actual config I see that there is dns entry still there...

Please change dns entry in IPv4 entry as I said before...

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

BR,

Dragan

HTH,
Dragan

yes I see

also need to check

ping 78.129.151.141 so GigabitEthernet0/2

 

and I do not see

voice traslation rules, profiles and dial-peers

I did not make any dial-peer first of all requirement is that that sip-trunk is registered with vodafone then i make inbound and outbound dial-peer. And one more thing the above ip is not pingable from gig0/2.

 

regard,

 

Haseeb

try to change vodafone.qa  to 78.129.151.141

 

sip-ua
 credentials username 97440006999 password vodafone123 realm vodafone.qa

 

 

also need to check

ping 78.129.151.141 sour GigabitEthernet0/2

Here is the Ping result:

Router#ping 78.129.151.141 source gigabitEthernet 0/2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 78.129.151.141, timeout is 2 seconds:
Packet sent with a source address of 10.72.0.194
.....
Success rate is 0 percent (0/5)

probably you do not have IP connect.

try 

ping 8.8.8.8

ping 8.8.8.8 so gigabitEthernet 0/2

 

 

Packet sent with a source address of 10.72.0.194

this is private ip address

You should resolve networking there and after that I think that SIP is going to work...or you can continue troubleshooting SIP after that if it doesn't.

But first things first - resolve networking...pay attention that you have NAT there...

After that - SIP registration...

BR,

Dragan

HTH,
Dragan

After Changing registrar dns to ip i get following debug:

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

*Jul  1 09:37:27.131: //-1/xxxxxxxxxxxx/SIP/Info/ccsipGetCCBFromRCB: Retrived CC
B pointer [0x0]
*Jul  1 09:37:27.131: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_register_free_rcb: Fr
eeing rcb [0x3D2E00A8]

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

After that i restart the router but the issue is still same now here is my sip-ua config:

sip-ua
 credentials username 97440006999 password vodafone123 realm vodafone.qa
 authentication username 97440006999 password vodafone123
 no remote-party-id
 retry invite 3
 retry response 3
 retry register 10
 timers connect 300
 registrar ipv4:x.x.x.x expires 3600
 sip-server ipv4:x.x.x.x:5061
 host-registrar

Hi,

Its important to have routing checked before you progress and its also irrelevant for SIP stack whether destination is reachable or not to process its initial messages.

So for routing go through the steps that my friends suggested here.

For SIP ..

If i go through the ccsip logs , first the number 97440006999 is checked on E164 table and the output is shown.

Jul  1 09:37:27.127: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_search_e164_tabl
e: ****No entry found in E164 Table

Generally what happen when entry is not found in the table , it adds the number as a new entry in E164 table. Like this and process the sip message.

//-1/xxxxxxxxxxxx/SIP/Error/ccsip_register_search_e164_table: ****No entry found in E164 Table
//-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_add_to_e164_table: ****Added to E164 Table

But that's not happening in your case.

Then we see the SIP SPI error. Which instruct not to send SIP REGISTER message.

Jul  1 09:37:27.127: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_spi_outgoing_register: Pr
ocess CCSIP_SPI_CONTROL not UP yet; send no Register msg

First we need to check is this service up or not ? Can you please send across output of the below command.

sh processes | i CCSIP_SPI_CONTR

 

Thanks

Manish

 

 

hi Manaish,

 

Thanx for the reply. I run the command which you suggest but it shows nothing:

Router#show run | inc CCSIP_SPI_CONTR
Router#

 

regard,

Haseeb

its not under show run its under show processes.