Hello,

I am attempting to set up a Skype for SIP trunk with sipx and have had
some success but have one final problem.  We have multiple online
skype numbers, and I need to be able to route them to different
internal extensions.  The INVITEs that skype sends have just my skype
account number, whereas the actual dialed number is included in the
To: header.  So far, I can add my skype account number as an alias to
get all calls delivered to that user, but have not discovered a way to
direct calls based on the inbound number.

A sample INVITE from skype:

-------
INVITE sip:[email protected]:5080 SIP/2.0
From: "sip_profile:9905100000xxxx" 
<sip:[email protected]>;tag=a4a109cc-13c4-4b89313d-8e1bec5a-1471c935
To: <sip:[email protected]:5060>
Call-ID: CXC-44-69408970-a4a109cc-13c4-4b89313d-8e1bec5a-91d001f
CSeq: 1 INVITE
Via: SIP/2.0/UDP 
204.9.161.164:5060;branch=z9hG4bK-44bba-4b89313d-8e1bec5a-73bf01ca
Max-Forwards: 12
User-Agent: sipgw-1.0
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE
Contact: <sip:[email protected]:5060;transport=udp>
Content-Type: application/sdp
Content-Length: 266

v=0
o=+1781420xxxx 1267282237 1267282237 IN IP4 204.9.161.164
s=Skype call
c=IN IP4 204.9.161.164
t=0 0
m=audio 23452 RTP/AVP 18 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=rtpmap:8 pcma/8000
a=fmtp:18 annexb=no

------------

What I would like to be able to do is put the 161744078xx number as a
user alias, however I have only been successful with the
9905100000xxxx number, which doesn't do much good as the account
number is the same for all our online numbers.  Any suggestions?

Thanks,
Josh Pieper
_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to