Dial Plan Additions

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Dial Plan Additions

Postby D » Sun Sep 10, 2006 9:14 am

We are using Slackware 10.2 and are in Phase 6. In Step 7 it asks to create GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds


We already have park.gsm file but it is in Binary format. Do we need to modify it and add those extensions? If yes, how? It mentions the same thing about conf.gsm.

Thanks

7. Add the more entries for astGUIclient specific uses:
- here are some more dialplan additions needed to use astGUIclient(this is a pure addition, nothing is being modified):
######------ START extensions.conf other additions ------######
; park channel for client GUI parking, hangup after 30 minutes
; create a GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8301,1,Answer
D
 
Posts: 87
Joined: Mon Jun 19, 2006 11:36 pm

Postby mflorell » Sun Sep 10, 2006 9:48 am

GSM files are SUPPOSED to be in binary format. This is not a problem.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby D » Sun Sep 10, 2006 10:52 am

Thanks Matt. In this case, do we go ahead and make the following changes and additions inside the park.gsm and conf.gsm Binary files?

7. Add the more entries for astGUIclient specific uses:
- here are some more dialplan additions needed to use astGUIclient(this is a
pure addition, nothing is being modified):
######------ START extensions.conf other additions ------######
; park channel for client GUI parking, hangup after 30 minutes
; create a GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8301,1,Answer
exten => 8301,2,AGI(park_CID.agi)
exten => 8301,3,Playback(park)
exten => 8301,4,Hangup
exten => 8303,1,Answer
exten => 8303,2,AGI(park_CID.agi)
exten => 8303,3,Playback(conf)
exten => 8303,4,Hangup
D
 
Posts: 87
Joined: Mon Jun 19, 2006 11:36 pm

Postby mflorell » Sun Sep 10, 2006 1:07 pm

I'm not really sure what you are asking. You do not open the gsm file and edit it, you need to move it to your sounds directory and then edit your extensions.conf file to make sure the dialplan entries are in to access it properly.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby D » Sun Sep 10, 2006 1:56 pm

Sorry...wasn't fully clear earlier. The "park.gsm" is already in /var/lib/asterisk/sounds. We did not have to put it there. Similarly, "conf.gsm" is already in /var/lib/asterisk/sounds.

Do we just edit our extensions.conf file or do we do anything else also? Below is what was written in Scratch Install...just wanted to make sure we doing it correctly. Thanks

; park channel for client GUI parking, hangup after 30 minutes
; create a GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8301,1,Answer
exten => 8301,2,AGI(park_CID.agi)
exten => 8301,3,Playback(park)
exten => 8301,4,Hangup
exten => 8303,1,Answer
exten => 8303,2,AGI(park_CID.agi)
exten => 8303,3,Playback(conf)
exten => 8303,4,Hangup
D
 
Posts: 87
Joined: Mon Jun 19, 2006 11:36 pm

Postby mflorell » Sun Sep 10, 2006 7:23 pm

just edit the extensions.conf. That should be it.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 52 guests