[asterisk-ss7] AutoPC patch for chan_ss7 0.9.

Mr.Surender Reddy gvsurenderreddy at gmail.com
Tue Dec 5 01:06:09 MST 2006


Dear ,
               thank you for the new patch which is very useful i will give
that a try today.

regards
surender


On 04/12/06, Anton <anton.vazir at gmail.com> wrote:
>
> Hi Jacub!
>
> Thanks for the patch! It's usefull!
>
> I've a littile question, will the patch work with different
> opc's? on different linksets? I mean If I'm connected with
> 2x telcos and for both of them I should have different opc?
> If no, seems you understand chan_ss7 internals quite good,
> maybe you will not find it very difficult to add such a
> functionality?
>
> Regards,
> Anton.
>
> On 5 December 2006 00:32, Jakub Klausa wrote:
> > Hello,
> >
> >       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.p
> >atch-2.gz
> >
> >       (in the combined form, with the previous chan_ss7 0.9
> > patch by ss7.pl)
> >
> >       If you have any questions - drop me a note.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20061205/5eaafd74/attachment.htm


More information about the asterisk-ss7 mailing list