header image
Home arrow Technical Notes arrow Tech Notes arrow Skype for SIP name to DDI with Asterisk
Skype for SIP name to DDI with Asterisk PDF Print E-mail

When using Skype for SIP trunks with Asterisk a simple an neat way to enable DDI calling for the skype names is to use the "extension" option.
This means that the 'To' in in the sip header is set to what you set.

This can then be picked out with a simple little bit of dialplan

 

exten => 99051000000000,1,Set(CALLERID(num)=${CALLERID(name)})   
exten => 99051000000000,2,Set(cNum=${SIP_HEADER(TO):5:6})         
exten => 99051000000000,3,Noop(${cNum})                            
exten => 99051000000000,4,Goto(from-pstn,${cNum}|1)                     

 

In the above example we have 6 digit ddi numbers in the context from-pstn.

 

 

Setting up the Skype end is as simple as logging into your BCP and then the relevent profile and clicking on the calling tab

and setting as below

Image

 

This lets you now use one account and have all your BCP accounts have DDI calls directed at the PBX

Sip attacks are on the increase, Read or article on Sip security and look at the ITSPA document as well to make sure you are secure

images/stories/gaplogoweb.jpg

Skype Me™!

EFM Broadband
Number Porting
Asterisk
Technical Notes
User Guides
Case studies
System Monitoring
Suppliers
Blog