[asterisk-users] transfer=mediaonly : can't hear nothing

Simone Cittadini mymailforlists at gmail.com
Fri Mar 16 09:20:02 MST 2007


Kevin P. Fleming ha scritto:
>> I've setup this simple configuration to test the new mediaonly iax
>> feature in 1.4 :
>>     
>
> What version of Asterisk exactly?
>   
1.4.1

>   
>> Input (client) -> Server (routing) -> Termination
>> transfer=no        transfer=mediaonly   transfer=no
>>     
>
> This doesn't make any sense; the 'Server' is going to have two 'friend'
> entries for the other systems. Are you saying that you have
> transfer=mediaonly set for both 'friends'?
>   
In our setup calls are always in the arrows direction, Input never 
receives a call, Termination never starts one.
So the config is :
realtime mysql users on the server to auth the customers (Input) and one 
user entry in iax.conf on the Termination to auth the Server
transfer=mediaonly is set in [general]

I tried to add an entry on the Server for the Termination (as a peer, 
not friend) and have T register, but the result is the same

just to be clear (and verbose) :

iax.conf on the Server :

[general]
bindport=4569
bindaddr=0.0.0.0
language=it
disallow=all
allow=alaw
allow=gsm
jitterbuffer = yes
forcejitterbuffer = no
maxjitterbuffer = 100
dropcount=2
maxjitterinterps=10
resyncthreshold=1000
maxexcessbuffer=80
minexcessbuffer=10
jittershrinkrate=1
;transfer=no
;transfer=yes
transfer=mediaonly
context=default
autokill=yes

and iaxusers table :


+---------+----------+--------+---------+------+---------+---------+---------+------+------------+----------+
| name    | username | type   | secret  | auth | host    | context | 
ipaddr  | port | regseconds | callerid |
+---------+----------+--------+---------+------+---------+---------+---------+------+------------+----------+
| 0100101 | 0100101  | friend | 0100100 | md5  | dynamic | default | 
0.0.0.0 |    0 |          0 | 0100101  |
| 0100102 | 0100102  | friend | 0100100 | md5  | dynamic | default 
|         |    0 |          0 | 0100102  |
| 0100103 | 0100103  | friend | 0100100 | md5  | dynamic | default 
|         |    0 |          0 | 0100103  |
| 0100203 | 0100203  | friend | 0100200 | md5  | dynamic | default 
|         |    0 |          0 | 0100203  |
| 0100202 | 0100202  | friend | 0100200 | md5  | dynamic | default 
|         |    0 |          0 | 0100202  |
| 0100201 | 0100201  | friend | 0100200 | md5  | dynamic | default 
|         |    0 |          0 | 0100201  |
| t01001  | t01001   | peer   | t01001  | md5  | dynamic | default | 
0.0.0.0 |    0 |          0 | 701001   |
+---------+----------+--------+---------+------+---------+---------+---------+------+------------+----------+







More information about the asterisk-users mailing list