cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
715
Views
4
Helpful
4
Replies

SIP Gateway registration

s.souroutis
Level 1
Level 1

I have configured a 1760 as SIP gateway but there is a problem registering to the registrar server.

I used a sniffer but I didn't see any registration requests.

This is my conf.

version 12.2

no service pad

service tcp-keepalives-in

service tcp-keepalives-out

service timestamps debug datetime localtime

service timestamps log datetime localtime

service password-encryption

!

hostname cisco1760

!

boot system flash flash:c1700-sv8y-mz.122-15.ZJ5.bin

logging exception 16342

logging count

logging queue-limit 100

logging buffered 16342 debugging

no logging console

enable secret 5 <removed>

!

username marinos privilege 15 secret 5 <removed>

username panos* privilege 15 secret 5 <removed>

username souroutiss privilege 15 secret 5 <removed>

username tolzer privilege 15 secret 5 <removed>

username surpass privilege 0 secret 5 <removed>

memory-size iomem 15

clock timezone EET 2

clock summer-time EET recurring last Sun Mar 3:00 last Sun Oct 4:00

tdm clock E1 1/0 both import onboard internal

aaa new-model

!

!

aaa authentication login default local

aaa authorization exec default local if-authenticated

aaa session-id common

ip subnet-zero

!

!

no ip domain lookup

!

no ip bootp server

ip cef

!

isdn switch-type primary-net5

!

voice call send-alert

!

voice service voip

sip

!

!

!

!

!

!

!

no voice hpi capture buffer

no voice hpi capture destination

!

!

mta receive maximum-recipients 0

!

!

controller E1 1/0

pri-group timeslots 1-31

!

!

interface FastEthernet0/0

ip address 172.25.32.17 255.255.224.0

speed auto

!

interface Serial1/0:15

no ip address

no logging event link-status

isdn switch-type primary-net5

isdn incoming-voice voice

isdn send-alerting

isdn sending-complete

no cdp enable

!

ip classless

ip route 0.0.0.0 0.0.0.0 172.25.32.100

no ip http server

ip pim ssm default

!

!

!

logging trap notifications

!

snmp-server community <removed> RO

snmp-server enable traps tty

radius-server authorization permit missing Service-Type

call rsvp-sync

!

voice-port 0/0

cptone GR

!

voice-port 0/1

cptone GR

!

voice-port 1/0:15

cptone GR

!

!

mgcp profile default

!

dial-peer cor custom

!

!

!

dial-peer voice 10 pots

application session

destination-pattern 0030898

direct-inward-dial

port 1/0:15

forward-digits all

!

dial-peer voice 30 voip

application session

destination-pattern 0030671......

session protocol sipv2

session target sip-server

dtmf-relay sip-notify

codec g711alaw

no vad

!

dial-peer voice 5 pots

application session

destination-pattern 0898

direct-inward-dial

port 0/0

forward-digits all

!

dial-peer voice 20 voip

application session

destination-pattern 07....

session protocol sipv2

session target sip-server

dtmf-relay sip-notify

codec g711alaw

no vad

!

sip-ua

retry invite 5

retry response 3

retry bye 2

retry cancel 2

registrar ipv4:172.25.32.68 expires 3600

sip-server ipv4:172.25.32.68

!

banner motd ^C

************************************************

* *

* 1760 Cisco Router *

* Gateway Router *

* *

************************************************

^C

privilege exec level 0 traceroute ip

privilege exec level 0 traceroute

privilege exec level 0 ping ip

privilege exec level 0 ping

privilege exec level 1 enable

privilege exec level 0 show ip route

privilege exec level 0 show ip interface

privilege exec level 0 show ip

privilege exec level 0 show version

privilege exec level 0 show interfaces

privilege exec level 0 show

!

line con 0

password 7 <removed>

line aux 0

line vty 0 4

password 7 <removed>

!

ntp clock-period 17207946

ntp server 192.168.200.200

end

4 Replies 4

ngss
Level 1
Level 1

The registrar functions here is to register e.164 numbers on behalf of analog phones voice ports (FXS).

I wonder what is the voice-port 0/0 and 0/1

Thanks

SSng

SIP gateways allow registration of E.164 numbers to a SIP proxy or registrar server on behalf of analog telephone voice ports (FXS), IP phone virtual voice ports (EFXS), and local SCCP phones.

Yes ports 0/0 and 0/1 are FXS ports.

As you can see in dial-peer voice 5 pots I use the FXS 0/0 port.

I actually saw a registration request for the FXS but not successful.

I did a little research and I think that the problem is the telephone number:

0030898 works fine

+30898 doesn't work.

error 404 NOT FOUND.

I thing I have a problem with the "+"

Any help here ?

Can you run debug ccsip messages

You should be able to see registration process and what's the different between the two numbers

Thanks

SSng

The numbers seems to be the same but still I have this message:

Status: 501 Third party registration is not supported.

Anyway, I found a way to configure router 1760 as "trusted" in the registrar server, and this way no registration or authentication is required.

Thanks for your help

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: