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. And see here for current known issues.

New Member

fxs sip

Hi everybody,

i'm getting mad trying to make it works this configuration about fxs and sip.

I can register the fxs on sip server , i can call from fxs to a phone also registereded on sip server but not the other way , form the sip phone to the fxs.

The router used its a Cisco 3640-IS-M Version 12.3(14)T4 that has got also CME on it.(Just in case i neeed it)

Hereunder my configuration:

voice-port 2/0/0

no vad

cptone IT

timeouts interdigit 5

timeouts ringing 12

description lete fxs0 port

station-id name lete0

station-id number 2550

!

dial-peer voice 200 pots

!for sip authentication

description lete fxs0 pots

destination-pattern 2550

port 2/0/0

forward-digits all

authentication username 2550 password xxxxxx

!

dial-peer voice 501 voip

description to 2552 sip server

destination-pattern 2552

session protocol sipv2

session target ipv4:SIP_IP:5060

codec g711alaw bytes 80

no vad

I cannot understand what i missed , any help apreciated.

Thanks and regards,

Pat98usb

2 REPLIES
Silver

Re: fxs sip

Under the 'session protocol sipv2' command, enter the 'sip-server' command.

Refer to

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a0080080b29.html

for the syntax.

New Member

Re: fxs sip

Of course i've already have all the sip and voice stuff configured , by the i'm adding them here for completeness .

voice service voip

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

redirect ip2ip

sip

bind control source-interface Ethernet0/0

bind media source-interface Ethernet0/0

registrar server

transport switch udp tcp

no call service stop

voice class codec 1

codec preference 1 g711ulaw

codec preference 2 g711alaw

codec preference 3 g723r63

codec preference 4 g729r8

gateway

timer receive-rtcp 5

timer receive-rtp 1200

sip-ua

authentication username XXXXX password YYYYY

registrar ipv4:MY_SIP expires 3600

sip-server ipv4:MY_SIP

Thanks,

Pat98usb

757
Views
0
Helpful
2
Replies