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
source.
/O
2 jan 2007 kl. 10.56 skrev 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 chose a context is very tasty
thing, making dialplanning easier in many aspects.
Regards,
Anton.
On 29 December 2006 15:50, Johansson Olle E wrote:
29 dec 2006 kl. 07.17 skrev Anton:
Guys,
Have anyone thought about implementing a kind of SIP
extension, to call a context on the destination
Asterisk server, so that this feature could be
controlled from the sip.conf - this could add greater
flexibility. This might be needed to not use IAX where
it's not needed, considering it's much lower
performance than SIP for big installations.
I don't understand this. Can you explain a bit better
what you want to do, what feature you think is missing,
that you can't do today with the current dialplan and SIP
channel?
Thanks,
/Olle
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
---
Olle E. Johansson * Asterisk Evangelist, developer * VOOP A/S
[EMAIL PROTECTED]
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev