Here's another patch we, at ss7.pl wrote for chan_ss7 0.9. AutoPC, or Auto Point Code patch, gives you the ability to ommit the opc/dpc configuration entirely, and refain the point code addresses from the link (if it's configured right at the other end - as an exercise, try to link asterisks with AutoPC on on both ends of a link ;)). All you need to do, is to add: [19:57:04] [70] manhattan:jacke:~> tail ss7.conf [host-manhattan] enabled => yes autopc => yes ;opc => 0x1111 ;dpc => test:0x2222 links => l1:1,l2:2 The 'autopc => yes' directive allows you not to specify any opc and dcp parameters. If you include them, they're ignored anyway. After starting asterisk, you'll get something like this: [chan_ss7.so] => (SS7 Protocol Support) [...] Dec 4 19:16:13 NOTICE[26879]: config.c:860 load_config: Configuring DPC 0 for linkset 'test'. [...] -- SS7 channel loaded successfully. Dec 4 19:16:23 WARNING[26902]: mtp.c:822 timeout_sltm_t1: No SLTA received within Q.707 timer T1, trying again on link 'l1'. Dec 4 19:16:23 NOTICE[26901]: mtp.c:1195 mtp2_good_frame: autopc = 1 Dec 4 19:16:23 WARNING[26902]: chan_ss7.c:651 monitor_main: MTP is now UP on link 'l1'. Dec 4 19:16:23 WARNING[26902]: chan_ss7.c:661 monitor_main: MTP is now INSERVICE for linkset 'test'. *CLI> ss7 show links Number of linksets: 1. Linkset 1 name is: test. Number of links in linkset: 2. Link number 1 name is: l1 Link number 2 name is: l2 Config opc=0x1111, dpc=0x2222 The warning is fine, as understandably we have to sit silet and wait for the other side to send us something, so we can guess the point codes. As you see - the command 'ss7 show links' will show you the opc and dpc parameters being used. The patch can be found at: http://www.ss7.pl/~jacke/patches/chan_ss7/chan_ss7-0.9.patch-2.gz (in the combined form, with the previous chan_ss7 0.9 patch by ss7.pl) If you have any questions - drop us a note.