[Asterisk-Users] Help with Cisco PRI

gavron at wetwork.net gavron at wetwork.net
Mon Aug 2 20:21:28 MST 2004


Cisco PRI card in a 7200 running lastest IOS --> SIP --> *

Problem #1: SIP authenticates it under "general" and gives it the 
context from [general] not from [cisco.ip.address.here].
Here's the relevant party of sip.conf:
[209.104.XX.YY]
context=dids
type=friend
host=209.104.XX.YY  ; IP address of Cisco gateway
dtmfmode=rfc2833
disallow=all
allow=ulaw

[general]
...
context=weshouldnevergetthis
...


When there is that context line in [general], the cisco gets that context.
When there isn't, SIP DEBUG PEER buys us this:
SIP Debugging Enabled for IP: 209.104.2.51:5060
Peer RTP is at port 209.104.2.51:0
Peer RTP is at port 209.104.2.51:0
Peer RTP is at port 209.104.2.51:0
Peer RTP is at port 209.104.2.51:0
Peer RTP is at port 209.104.2.51:0
Peer RTP is at port 209.104.2.51:0
Peer RTP is at port 209.104.2.51:0
Peer RTP is at port 209.104.2.51:0
Peer RTP is at port 209.104.2.51:0
[and so on]

SIP SHOW PEER properly displays context=dids ... but yet... that's not 
the context
that gets assigned to it.  No context if [general] has none, context 
from general when
it has one.

Help?

Ehud
gavron at wetwork.net



More information about the asterisk-users mailing list