Remco Barendse
2009-Sep-02 07:45 UTC
[asterisk-users] Skype for Asterisk callfile question
Hi list, To make outgoing calls by skype i would like to have our crm app create callfiles like we do for normal calls. If i read the instructions it says this : ---quote--- The syntax for making an outgoing call using Skype for Asterisk is as follows: Dial(Skype/[<originator>@]<destination>) ---unquote--- So i create a callfile that looks like this: --- Channel: SIP/228 MaxRetries: 0 Dial(Skype/asteriskpbx at somebodyonskype) Priority: 1 Callerid: Somebodyonskype <somebodyonskype> --- SIP/228 is my desk phone, i purposely did not include a context (is it necessary for Skype calls? i guess not because i also did not create a 'dial plan' for it, should be just dump and go i guess) But i guess something must be wrong on my dial string : [Sep 2 09:39:10] NOTICE[8834]: pbx_spool.c:255 apply_outgoing: Syntax error at line 3 of /var/spool/asterisk/outgoing/REMCO.CALL [Sep 2 09:39:10] WARNING[8834]: pbx_spool.c:260 apply_outgoing: At least one of app or extension must be specified, along with tech and dest in file /var/spool/asterisk/outgoing/REMCO.CALL [Sep 2 09:39:10] WARNING[8834]: pbx_spool.c:427 scan_service: Invalid file contents in /var/spool/asterisk/outgoing/REMCO.CALL, deleting [Sep 2 09:39:10] WARNING[8834]: pbx_spool.c:482 scan_thread: Failed to scan service '/var/spool/asterisk/outgoing/REMCO.CALL' Where am i going wrong? Thanks!!
On 2/09/09 7:45 PM, Remco Barendse wrote:> So i create a callfile that looks like this: > --- > Channel: SIP/228 > MaxRetries: 0 > Dial(Skype/asteriskpbx at somebodyonskype) > Priority: 1 > Callerid: Somebodyonskype<somebodyonskype>You're combining technologies there :) You can do: Channel Context Extension Priority Or Channel Application Data Looks like you want Channel: SIP/228 Application: Dial Data: Skype/asteriskpbx at somebodyonskype -- Cheers, Matt Riddell Director _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)