[VoIP] MF signalling with Asterisk and update on Linksys platform

john jones jjones3601 at yahoo.com
Sun Jan 7 20:42:37 CST 2007


The key was getting the correct IOS image.

I used 

c1700-k9sv8y7-mz.122-8.TPC10a.bin

and 

mc3810-a2jsv5-mz.123-18.bin

Here is the important config stuff.

Note: dialing 8 XXXXXXXXX   where XXXXXXXX is a
variable number of digits creates an outbound call out
of the 1750 FXO port 2/0.

Dialing 7700 connects to a 500 set on the 1750 FXS
port 1/0.  Dialing 7701 connects to 1750 FXS  port
1/1.

cisco-1750#sho run
Building configuration...

Current configuration : 1615 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco-1750
!
enable password cisco
!
memory-size iomem 20
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
!
!
no ip domain-lookup
!
ip cef
!         
!
voice service voip 
 sip
!
voice class codec 10
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 codec preference 4 g729r8
!
!
!
!
!
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
!
!
!
!
interface FastEthernet0
 ip address 192.168.0.88 255.255.255.0
 speed 10
 half-duplex
 no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.1
no ip http server
ip pim bidir-enable
!
!
no cdp run
!
call rsvp-sync
!
voice-port 1/0
 no comfort-noise
 station-id name 1750_FXS_0
 station-id number 7700
 ren 5
 ring cadence pattern01
!
voice-port 1/1
 no comfort-noise
 station-id name 1750_FXS_1
 station-id number 7701
!
voice-port 2/0
 no comfort-noise
 station-id name 1750_FXO_0
 station-id number #1
 dial-type pulse
!
voice-port 2/1
 no comfort-noise
 station-id name 1750_FXO_1
 station-id number #2
 dial-type mf
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
dial-peer voice 1 pots
 destination-pattern 7700
 port 1/0
!
dial-peer voice 2 pots
 destination-pattern 7701
 port 1/1
!
dial-peer voice 100 voip
 destination-pattern T
 voice-class codec 10
 session protocol sipv2
 session target ipv4:192.168.0.20:5060
!
dial-peer voice 3 pots
 destination-pattern 8.T
 port 2/0
!
gateway 
!
!
line con 0
line aux 0
line vty 0 4
 password cisco
 login
!
end

cisco-1750#
 
 
In jj_sip.conf:
 
[1750_FXS_0]                                          
                                                     
type=friend                                           
                                                     
username=7700                                         
                                                     
host=192.168.0.88                       ; <- IP
address of Cisco                                      
     
context=internal                                      
                                                     
canreinvite=no                                        
                                                     
qualify=yes                                           
                                                     
nat=no                                                
                                                     
dtmfmode=inband                                       
                                                     
                                                      
                                                     
[1750_FXS_1]                                          
                                                     
type=friend                                           
                                                     
username=7701                                         
                                                     
host=192.168.0.88                       ; <- IP
address of Cisco                                      
     
context=internal                                      
                                                     
canreinvite=no                                        
                                                     
qualify=yes                                           
                                                     
nat=no                                                
                                                     
dtmfmode=inband                                       
                                                     
                                                      
                                                     
[1750_FXO_0]                                          
                                                     
type=friend                                           
                                                     
username=#1                                           
                                                     
host=192.168.0.88                       ;<- IP address
of Cisco                                             
context=internal                                      
                                                     
canreinvite=no                                        
                                                     
qualify=yes                                           
                                                     
nat=no                                                
                                                     
dtmfmode=inband                                       
                                                     
                                                      
                                                     
[1750_FXO_1]                                          
                                                     
type=friend                                           
                                                     
username=#2                                           
                                                     
host=192.168.0.88                       ; <- IP
address of Cisco                                      
     
context=internal                                      
                                                     
canreinvite=no                                        
                                                     
qualify=yes                                           
                                                     
nat=no                                                
                                                     
dtmfmode=inband       
 
 
In extensions.conf
 

 
In  

[internal]

exten => 7700,1,Dial(SIP/1750_FXS_0)                  
                                                     
exten => 7701,1,Dial(SIP/1750_FXS_1)                  
                                                     
                                                      
                                                     
exten => _8.,1,Dial(SIP/${EXTEN}@1750_FXO_0,60,)    

In 

[cnet-in]                                             
                                                     
exten => _16873000,1,Goto(internal,3000,1)            
                                                     
exten => _16874878,1,Goto(internal,4878,1)            
                                                     
exten => _16874879,1,Goto(internal,4879,1)            
                                                     
exten => _16875678,1,Goto(internal,5678,1)            
                                                     
exten => _16871004,1,Goto(internal,1004,1)            
                                                     
exten => _16877700,1,Goto(internal,7700,1)            
                                                     
exten => _16877701,1,Goto(internal,7701,1)      

 



--- David Josephson <david at josephson.com> wrote:

> john jones wrote:
> >>>
> >>> Some really great news: the 1750 supports DP, MF
> >>>       
> >> (at
> >>     
> >>> least outbound) and DTMF dialing.  I was also
> able
> >>>       
> >> to
> >>     
> >>> get a Cisco MC3810 working with my system. 
> These
> What did you have to do, to make these talk with
> Asterisk? I seem to 
> recall that all the early Cisco gear was fairly
> dependent on being 
> served by other IOS gear.
> 
> --
> David Josephson
> 
> _______________________________________________
> VoIP mailing list
> VoIP at ckts.info
> http://lists.ckts.info/mailman/listinfo/voip
> Project Web Page: http://www.ckts.info/
> 
> 




More information about the VoIP mailing list