Re: [asterisk-dev] SIP asterisk proprietary extensions

2007-01-02 Thread Johansson Olle E
2 jan 2007 kl. 12.32 skrev Anton: This is one of the ways, thanks for clue! but why not to add this possibility to a mainstream, that appropriate X-headers would be setup and read by the asterisk itself. For example, a SIP channel may register two prefixes, like SIP - for current dial scheme, a

Re: [asterisk-dev] SIP asterisk proprietary extensions

2007-01-02 Thread Anton
This is one of the ways, thanks for clue! but why not to add this possibility to a mainstream, that appropriate X-headers would be setup and read by the asterisk itself. For example, a SIP channel may register two prefixes, like SIP - for current dial scheme, and ASIP for IAX2 alike dial schem

Re: [asterisk-dev] SIP asterisk proprietary extensions

2007-01-02 Thread Johansson Olle E
I think you have to do this within the dialplan. In the SIP addressing scheme, there's no "context". One way would be to run SIPaddheader(X-context, secretbackdoor) and then read the header on the inbound invite. It's all something you can solve within the dialplan, without changing the sou

Re: [asterisk-dev] SIP asterisk proprietary extensions

2007-01-02 Thread Anton
Olle, Now with IAX we can call any context on the destination Asterisk server, like Dial(IAX2/destAsterisk/[EMAIL PROTECTED]) I mean making SIP able to place call in any context on the destination Asterisk in the same way: Dial(SIP/DestAsterisk/[EMAIL PROTECTED]) In big system being able to