[asterisk-users] call from cisco router to asterisk gets auto attendant

SWhite at littleme.com SWhite at littleme.com
Thu Nov 16 09:12:56 MST 2006


Folks,

I have a NEC 2400 pbx(non-voip) behind a Cisco 3725, connected via 
standard wic-t1 card.  The NEC needs to call two different asterisk 
servers with 4 digits.  I have two way calling working with the one * box, 
but the other is perplexing me.

Here's the layout

* <--> Cisco 2811(192.168.13.1) <--> 1.54 point to point <- Cisco 
3725(192.168.8.1)<-> NEC 2400.

The * has 5xxx extensions and the Nec has 1xxx and 2xxx extensions.  The * 
can call me at 1621 just fine.  When I call any 5xxx extension, I get the 
main greeting.  To make it even more confusing, the * is set up so that 
the 1xxx and 2xxx extensions go through the 2811 router.  When I call the 
*, it identifies the calls as going through the 3725 router. 

The * can not dial 1xxx at 192.168.8.1.  I believe this has to do with a 
routing issue due to a WAN aggregator box we are using, to be replaced by 
a 3mb circuit, soon.  The * has to dial 1xxx at 192.168.13.1.  It then gets 
transferred to the 3725 router's virtual interface at 192.168.100.44, 
which binds h323 calls to the interface for QoS purposes.

Here's what I have on the sip conf.

[cisco]
disallow=all
allow=ulaw
allow=alaw
allow=gsm
context=internal
insecure=very
auth=plaintext
tos=none
fromdomain=192.168.13.1
type=friend
host=192.168.13.1
nat=yes
canreinvite=no
dtmfmode=rfc2833
qualify=no
secret=cisco

cisco 2811 config:

!
voice service voip 
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 cause-code legacy
 sip
!
voice class codec 99
 codec preference 1 g711alaw
 codec preference 2 g711ulaw

(SNIP)

!
dial-peer voice 1 voip
 answer-address 1...
 destination-pattern 1...
 voice-class codec 99
 voice-class h323 1
 session target ipv4:192.168.100.44
 dtmf-relay h245-alphanumeric
 no vad
!
dial-peer voice 2 voip
 answer-address 2...
 destination-pattern 2...
 session target ipv4:192.168.100.44
 dtmf-relay h245-alphanumeric
 no vad
!
!
dial-peer voice 5 voip
 voice-class codec 99
 incoming called-number .
!
sip-ua 
 authentication username cisco password 1511021F0725
 retry invite 4
 retry response 3
 retry bye 2
 retry cancel 2
 sip-server ipv4:192.168.12.30
!

Cisco 3725 config:

!
voice service voip 
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 cause-code legacy
 sip
!
!
voice class codec 99
 codec preference 1 g711alaw
 codec preference 2 g711ulaw
!
(SNIP)
!
dial-peer voice 40 pots
 destination-pattern 1...
 port 1/0:0
 forward-digits all
!
dial-peer voice 41 pots
 destination-pattern 2...
 port 1/0:0
 forward-digits all
!
dial-peer voice 5 voip
 description voice to LMW
 application session
 answer-address 5...
 destination-pattern 5...
 voice-class codec 99
 session protocol sipv2
 session target ipv4:192.168.12.30
 session transport udp
!

Thanks for any replies.

----
Sam 
Little Me Childrenswear
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061116/822483ce/attachment.htm


More information about the asterisk-users mailing list