[asterisk-dev] New feature
John Lange
john at johnlange.ca
Fri Oct 24 18:50:48 CDT 2008
Even though this feature would seem to be relatively straight forward to
implement, my guess is it will never happen in Asterisk for the simple
reason that it would require bastardizing the chan_sip code to make it
work.
chan_sip seems like a very poor place to put device specific code.
On the other hand, if there was a way to modify chan_sip so that it
could hand-off these kinds of strange requests to some other code it
might be a useful feature to add.
Perhaps some other developer could comment on this further?
--
John Lange
www.johnlange.ca
On Thu, 2008-10-23 at 23:14 +0200, Klaus Darilion wrote:
> I really wonder why companies like Linksys produce such strange things.
> They should use LDAP or just simple http requests instead of abusing SIP.
>
> regards
> klaus
>
> Piotr Goczal wrote:
> > Hi,
> >
> > My name is Piotr Goczal and unfortuantelly I'm not a C/C++ coder.
> > Linksys SPA-9XX phones have nice feature called "Corporate directory"
> > unfortunatelly it works only with SPA-9000 PBX. It looks that it's done
> > via simple(?) Request INFO:
> >
> > ---
> > INFO sip:dir at 172.16.0.49:6060 SIP/2.0
> > Via: SIP/2.0/UDP 172.16.0.46:5060;branch=z9hG4bK-76687070
> > From: "Test2" <sip:23 at 172.16.0.49>;tag=1aaa997cfdd10d2do0
> > To: <sip:dir at 172.16.0.49>
> > Call-ID: 376cb484-ee5a72db at 172.16.0.46
> > CSeq: 2832 INFO
> > Max-Forwards: 70
> > User-Agent: Linksys/SPA922-6.1.3(a)
> > Content-Length: 0
> > ---
> >
> > and answer:
> >
> > ---
> > SIP/2.0 200 OK
> > To: <sip:dir at 172.16.0.49>;tag=60b7acd9-0
> > From: "Test2" <sip:23 at 172.16.0.49>;tag=1aaa997cfdd10d2do0
> > Call-ID: 376cb484-ee5a72db at 172.16.0.46
> > CSeq: 2832 INFO
> > Via: SIP/2.0/UDP 172.16.0.46:5060;branch=z9hG4bK-76687070
> > Server: Linksys/SPA9000-6.1.5
> > Allow-Events: talk, hold, conference, x-spa-cti
> > Content-Length: 136
> > Content-Type: application/directory
> >
> > FXS1;21
> > FXS2;22
> > Test2;23
> > Test1;24
> > Auto Attendant;aa
> > Internal Music;imusic
> > Page Group;pagegroup
> > Station;Test2
> > Station;Test1
> > wszyscy;8000
> > ---
> >
> > e.x. : "FXS1" - name of extension; 21 - extension number
> >
> > If anyone is interested in implementing it I can offer my help with
> > testing. I've mini lab with SPA-9000, SPA-400 and some SPA-9XX phones to
> > do some reverse enginering test and of course normal working asterisk
> > 1.4 + Linksys phones instalation.
> >
> > Best regards
> >
> > Piotr
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list