Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


shadenz

29 posts

Geek


#59850 13-Apr-2010 16:29
Send private message

Hi guys,

I've got Asterisk setup and using X-Lite as a softphone for my extension, however I can't seem to dial anything with a * or # prefix...is this something I need to be setting in my dialplan or on the softphone settings? 

Create new topic
shadenz

29 posts

Geek


  #317906 13-Apr-2010 16:35
Send private message

I'm guessing it's the dialplan cause Asterisk is responding 404 not found, and it's not sending anything to WxC. Anyone have this working on Asterisk?

My extensions.conf:

[general]
autofallthrough = yes
static = yes
writeprotect = no
clearglobalvars = no

[globals]
VFXNUMBER = [Number removed]

[dialout]
exten => _X.,1,Dial(SIP/VFX/${EXTEN:0})
exten => _X.,2,Hangup

[from-sip]
exten => ${VFXNUMBER},1,Dial(SIP/jameswork,,120)
exten => ${VFXNUMBER},2,Hangup

[default]
include => from-sip
include => dialout




shadenz

29 posts

Geek


  #317917 13-Apr-2010 17:03
Send private message

Doh, can you only edit posts once? Can someone edit my phone # and the failed bbcode [code] tags please :\

sbiddle
30853 posts

Uber Geek
+1 received by user: 9996

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #317943 13-Apr-2010 17:49
Send private message

It's in your Asterisk dialplan settings. X-lite doesn't have an internal dialplan.



shadenz

29 posts

Geek


  #318232 14-Apr-2010 10:26
Send private message

sbiddle: It's in your Asterisk dialplan settings. X-lite doesn't have an internal dialplan.

Mine does, (SIP Account Settings, Properties, Dialing Plan) and it's set to:

#1\a\a.T;match=1;prestrip=2; 

sbiddle
30853 posts

Uber Geek
+1 received by user: 9996

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #318241 14-Apr-2010 10:45
Send private message

But the dialplan is generic and passes everything through. No SIP invite is sent until you click on dial. I've certainly never changed anything to dial numbers beginning with * using X-Lite (or eyeBeam or Bria)

If you're trying to pass a number with a * or # at the start you need to have your Asterisk dialplan configured for this. Assuming what you have above is your only dialplan you have no provision for that. X. will only pattern match a number between 1-9 and then use the timeout period.

shadenz

29 posts

Geek


  #321263 21-Apr-2010 12:28
Send private message

Added this to my dialout context and it works now, hurrah..

[dialout]
exten => _X.,1,Dial(SIP/VFX/${EXTEN:0})
exten => _X.,2,Hangup

exten => _.XX,1,Dial(SIP/VFX/${EXTEN:0})
exten => _.XX,2,Hangup

 
 
 

Shop now on AliExpress (affiliate link).
shadenz

29 posts

Geek


  #321282 21-Apr-2010 12:51
Send private message

Hmm maybe not, now it's trying to dial 'h' when I check my voicemail? o_O

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.