<div>Dear ,</div>
<div>               thank you for the new patch which is very useful i will give that a try today.</div>
<div> </div>
<div>regards</div>
<div>surender<br><br> </div>
<div><span class="gmail_quote">On 04/12/06, <b class="gmail_sendername">Anton</b> <<a href="mailto:anton.vazir@gmail.com">anton.vazir@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Jacub!<br><br>Thanks for the patch! It's usefull!<br><br>I've a littile question, will the patch work with different
<br>opc's? on different linksets? I mean If I'm connected with<br>2x telcos and for both of them I should have different opc?<br>If no, seems you understand chan_ss7 internals quite good,<br>maybe you will not find it very difficult to add such a
<br>functionality?<br><br>Regards,<br>Anton.<br><br>On 5 December 2006 00:32, Jakub Klausa wrote:<br>> Hello,<br>><br>>       here's another patch we, at ss7.pl wrote for chan_ss7<br>> 0.9.<br>><br>>       AutoPC, or Auto Point Code patch, gives you the ability
<br>> to ommit the opc/dpc configuration entirely, and refain<br>> the point code addresses from the link (if it's<br>> configured right at the other end - as an exercise, try<br>> to link asterisks with AutoPC on on both ends of a link
<br>> ;)).<br>><br>>       All you need to do, is to add:<br>><br>>       [19:57:04] [70] manhattan:jacke:~> tail ss7.conf<br>><br>>       [host-manhattan]<br>>       enabled => yes<br>>       autopc => yes
<br>>       ;opc => 0x1111<br>>       ;dpc => test:0x2222<br>>       links => l1:1,l2:2<br>><br>>       The 'autopc => yes' directive allows you not to specify<br>> any opc and dcp parameters. If you include them, they're
<br>> ignored anyway.<br>><br>>       After starting asterisk, you'll get something like this:<br>><br>>       [chan_ss7.so] => (SS7 Protocol Support)<br>>       [...]<br>>       Dec  4 19:16:13 NOTICE[26879]: 
config.c:860 load_config:<br>> Configuring DPC 0 for linkset 'test'. [...]<br>>               -- SS7 channel loaded successfully.<br>>       Dec  4 19:16:23 WARNING[26902]: mtp.c:822<br>> timeout_sltm_t1: No SLTA received within 
Q.707 timer T1,<br>> trying again on link 'l1'. Dec  4 19:16:23 NOTICE[26901]:<br>> mtp.c:1195 mtp2_good_frame: autopc = 1 Dec  4 19:16:23<br>> WARNING[26902]: chan_ss7.c:651 monitor_main: MTP is now<br>> UP on link 'l1'. Dec  4 19:16:23 WARNING[26902]:
<br>> chan_ss7.c:661 monitor_main: MTP is now INSERVICE for<br>> linkset 'test'. *CLI> ss7 show links<br>>       Number of linksets: 1.<br>>       Linkset 1 name is: test.<br>>               Number of links in linkset: 2.
<br>>               Link number 1 name is: l1<br>>               Link number 2 name is: l2<br>>               Config opc=0x1111, dpc=0x2222<br>><br>>       The warning is fine, as understandably we have to sit
<br>> silet and wait for the other side to send us something,<br>> so we can guess the point codes.<br>><br>>       As you see - the command 'ss7 show links' will show you<br>> the opc and dpc parameters being used.
<br>><br>>       The patch can be found at:<br>><br>>       <a href="http://www.ss7.pl/~jacke/patches/chan_ss7/chan_ss7-0.9.p">http://www.ss7.pl/~jacke/patches/chan_ss7/chan_ss7-0.9.p</a><br>>atch-2.gz<br>>
<br>>       (in the combined form, with the previous chan_ss7 0.9<br>> patch by ss7.pl)<br>><br>>       If you have any questions - drop me a note.<br>_______________________________________________<br>--Bandwidth and Colocation provided by 
<a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-ss7 mailing list<br>To UNSUBSCRIBE or update options visit:<br>  <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7">http://lists.digium.com/mailman/listinfo/asterisk-ss7
</a><br></blockquote></div><br>