Hi,
I am using the To: header to differentiate endpoints, and I am using Asterisk as the switch/proxy/B2BUA.
I don't know why this does not work for you, but I am currently running Asterisk version 1.2.7.1.

I do know that Asterisk gives you a lot of control of how it generates calls in the Dial() command.

Here is an example of entries in my extensions.conf file:
; 7 digit extensions for local calling
exten => _685XXXX,1,Dial(SIP/[EMAIL PROTECTED])
; 10 digit local extensions
exten => _301685XXXX,1,Dial(SIP/[EMAIL PROTECTED])

All my endpoints are 10 digit phone numbers, begining with 301685
Here is an example of the sip.conf for one of these endpoints.
[3016853102]
type=friend
secret=blahblah
host=dynamic
canreinvite=yes

Good luck,

Colin..


Luiz Augusto von Dentz wrote:
Hi,

On 6/8/06, H. L. <[EMAIL PROTECTED]> wrote:
Hi Luiz:
 
Thanks for your info!
I'm not quite clear about this scenario. Doest that mean from the incoming message we cannot use To header to differentiate the different endpoints?
 
thanks again,

Yes, we have this problem on tapioca-sip, some users trying to use it with asterik could not receive calls because To header doesnt identify any of the endpoint connected. 
What Im not sure is that this is a bug and user agents must provide the correct/complete uri given in the register or not.

_______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel



_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to