Askozia Forums
May 17, 2012, 01:58:57 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: external phone extension  (Read 1543 times)
thomasAT
Newbie
*

Karma: 0
Posts: 4


View Profile
« on: May 24, 2010, 01:14:51 pm »

hello forum,
i have a question about the external phone extension in askozia 2.0. for testing reasons i used it to get connected to the wbdemo@zipdx.com and i got the announcement that i am connected in narrowband. but my polycom is connected to the askozia box in wideband. is there any possibility to define the codecs that should be used for external phone extensions?

thanks a lot!

thomas
Logged
Facundo Ameal
Full Member
***

Karma: 5
Posts: 83

VoIPing


View Profile WWW
« Reply #1 on: August 06, 2010, 10:10:27 am »

In the "Providers" tab, there is a Codecs section. There you can set only the one you want.

Cheers.
Logged
thomasAT
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #2 on: August 07, 2010, 01:47:58 pm »

thanks for the answer, but i am calling "directly" from the askozia box a sip-uri as external extention, the call is not going via the sip provider, so the provider settings are not changing this call.
some other ideas?

thank you very much!

thomas
Logged
Facundo Ameal
Full Member
***

Karma: 5
Posts: 83

VoIPing


View Profile WWW
« Reply #3 on: August 07, 2010, 04:54:37 pm »

Try putting this
Code:
disallow=all
allow=g722

in Advanced -> SIP section in the Manual Attributes text box. Those are general options for SIP. In the allow parameter, you can put the codec you want to use. Take into account, that putting what I've said will ONLY let your phones use g722.

Or, create a Provider and define the codecs you want, you don't need to register. I think this is the best option.

Cheers.
Logged
Michael
Askozia Staff
Hero Member
*

Karma: 49
Posts: 1020


View Profile
« Reply #4 on: August 10, 2010, 10:01:09 am »

This seems to be a problem with Asterisk 1.6.1 not being able to define which codecs should be used for direct URI dialing. If someone knows how to configure that, please post it here so I can add those codec options to the outward dial settings.
Logged
Facundo Ameal
Full Member
***

Karma: 5
Posts: 83

VoIPing


View Profile WWW
« Reply #5 on: August 10, 2010, 11:39:10 am »

This seems to be a problem with Asterisk 1.6.1 not being able to define which codecs should be used for direct URI dialing. If someone knows how to configure that, please post it here so I can add those codec options to the outward dial settings.

I think that Asterisk use the general SIP config when URI dialing. Or, you can do some hacking to set the codec in dialplan. I put an Asterisk dialplan example below. This should do the trick but I canoot figure out where should it be in the Askozia webGUI.

Code:
exten => _9X.,1,Set(__SIP_CODEC=g722)
exten => _9X.,2,Dial(SIP/${EXTEN:1}@sip.myprovider.com,300)

Hope it helps you make the improvement.

Cheers.
Logged
giovanni.v
Hero Member
*****

Karma: 53
Posts: 670


View Profile
« Reply #6 on: August 10, 2010, 11:42:53 am »

This seems to be a problem with Asterisk 1.6.1 not being able to define which codecs should be used for direct URI dialing.

I believe that adding a default codecs selection, according to real translation capabilities, in sip.conf [general] section may help.

Never tried to play in but accordind to the quite nonexistent  Undecided documentation there are couple of channel variables to control the sip codecs offered:
- SIP_CODEC_OUTBOUND for the outbound call leg (http://svnview.digium.com/svn/asterisk?view=revision&revision=186635). According to the aforementioned documentation seems that the codec set using this variable must be one of the allowed codecs in the general settings.
- SIP_CODEC for the first call leg.

Logged
Facundo Ameal
Full Member
***

Karma: 5
Posts: 83

VoIPing


View Profile WWW
« Reply #7 on: August 10, 2010, 11:46:14 am »

- SIP_CODEC for the first call leg.

But if you set it this whay __SIP_CODEC=g722 it inherits to the second leg, I believe.
Logged
giovanni.v
Hero Member
*****

Karma: 53
Posts: 670


View Profile
« Reply #8 on: August 10, 2010, 11:53:55 am »

But if you set it this whay __SIP_CODEC=g722 it inherits to the second leg, I believe.

I did not mean to contradict what you said, I had not seen yet.
However they strictly are different variables, leg does not refer to a channel and a bridged channel has (almost) two legs: one inbound an one outbound.  Wink
« Last Edit: August 10, 2010, 11:58:42 am by giovanni.v » Logged
Facundo Ameal
Full Member
***

Karma: 5
Posts: 83

VoIPing


View Profile WWW
« Reply #9 on: August 10, 2010, 11:58:47 am »

I did not mean to contradict what you said, I had not seen yet.  Wink

Never thought that. I'm just trying to help the heroes Smiley

One more thing, perhaps, this two undocumented variables could be used for fax, somehow... Perhaps not... It's just a thought that came to my mind.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.173 seconds with 19 queries.