I've setup this simple configuration to test the new mediaonly iax feature in 1.4 :

Input (client) -> Server (routing) -> Termination
transfer=no        transfer=mediaonly   transfer=no

all the machines are in the same 192.168.0.x net

the routing Server in the middle has iaxusers realtime backend on mysql
the call is originated with a sip phone registered on the Input client
Server's credentials are hardcoded in iax.conf on the Termination server

codecs allowed are alaw and gsm, I see all the traffic as alaw
( Ooh, voice format changed to 8 )

with Server's transfer=no all works ok
with Server's transfer=yes all works "ok" I can hear, some seconds (~12) after the call is answered the Server spits a

   -- Channel 'IAX2/[Termination IP]:4569-2' ready to transfer
   -- Channel 'IAX2/[Client IP]:4569-1' ready to transfer

and inserts the cdr (in mysql), I can still hear
(of course the cdr is shorter than the actual call, or we would'nt be testing mediaonly :)

with Server's transfer=mediaonly I have quite immediatly the 'ready to transfer' message but cant' hear nothing (I see udp activity on I and T anyway) 10% of the tryes the transfer is not so immediate and I can hear a couple of seconds of monkey screams
(the cdr works ok, billing the entire call)


client I extensions.conf

[paps]
exten => _X.,1,Dial(IAX2/${LOGIN}:[EMAIL PROTECTED]/${EXTEN})
exten => _X.,n,Hangup

routing server S extensions.conf

[default]
exten => _X.,n,Dial(IAX2/server:[EMAIL PROTECTED]/${EXTEN})
exten => _X.,n,Hangup

termination server T extensions.conf

[incoming]
exten => _X.,1,Answer
exten => _X.,n,Playback(tt-monkeys)   <-- .gsm
exten => _X.,n,Echo
exten => _X.,n,Hangup
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to