[asterisk-dev] Bug 8781 - G729 No path to translate.

Andy Davidson andy at nosignal.org
Tue Feb 13 11:23:48 MST 2007


Hi, Tim

Thanks for your reply.

On 13 Feb 2007, at 08:45, Tim Panton wrote:

> On 11 Feb 2007, at 12:48, Andy Davidson wrote:
>> On 11 Feb 2007, at 04:22, Paul Cadach wrote:
>>> Did you try to disable G.711 on SIP leg?
>> Yes (I put disallow=all, allow=g729 into the sip.conf for the  
>> handset device, and the same thing happens.  Inbound calls work ok  
>> if I have allow=g729 and allow=ulaw, as they get presented in 711.)
>> Making g.711 (well, ulaw and alaw) the preferred encoding to use  
>> makes everything work just fine.
>> Anyone have an opinion that it is related to bug 8781 ?
> what's in your IAX.conf ?
> It looks (I don't read SIP well) as if your iax.conf is allowing  
> 729 on the outbound leg of the call,
> if you post the IAX debug output I'll take a look at that too.

Heh .. I had a feeling that I was going to be embarrassed then, but  
no - I am not trying to do the last leg of the call in g729.  the  
iax.conf segment for this peer is :

[thing]
type=friend
host=dynamic
username=thinguser
secret=thingsecret
trunking=off
bridging=on
context=thing
disallow=all
allow=ulaw
allow=alaw
allow=gsm


It even fails with an explicit :

disallow=g729

too.


The IAX debug is

billie*CLI>
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 000 Type: IAX      
Subclass: PING
    Timestamp: 20010ms  SCall: 00002  DCall: 00000 [0.0.3.233:4569]
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 000 Type: IAX      
Subclass: LAGRQ
    Timestamp: 20013ms  SCall: 00002  DCall: 00000 [0.0.3.233:4569]
     -- Executing [907738383650 at default:1] Set("SIP/ 
andydesk-08213db8", "CALLERID(num)=+448447047047") in new stack
     -- Executing [907738383650 at default:2] Dial("SIP/ 
andydesk-08213db8", "IAX2/thing:thingsecret at iax3.magrathea- 
telecom.co.uk/07738383650") in new stack
     -- Called thing:thingsecret at iax3.magrathea-telecom.co.uk/ 
07738383650
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX      
Subclass: NEW
    Timestamp: 00016ms  SCall: 00006  DCall: 00000 [213.166.5.130:4569]
    VERSION         : 2
    CALLED NUMBER   : 07738383650
    CODEC_PREFS     : (ulaw|g729|gsm)
    CALLING NUMBER  : +448447047047
    CALLING PRESNTN : 0
    CALLING TYPEOFN : 0
    CALLING TRANSIT : 0
    CALLING NAME    : Andy Davidson
    LANGUAGE        : en
    USERNAME        : thing
    FORMAT          : 256
    CAPABILITY      : 41942910
    ADSICPE         : 2
    DATE TIME       : 2007-02-13  18:21:14

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX      
Subclass: AUTHREQ
    Timestamp: 00011ms  SCall: 00150  DCall: 00006 [213.166.5.130:4569]
    AUTHMETHODS     : 3
    CHALLENGE       : 101577978
    USERNAME        : thing
billie*CLI>
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX      
Subclass: AUTHREP
    Timestamp: 00029ms  SCall: 00006  DCall: 00150 [213.166.5.130:4569]
    MD5 RESULT      : 35f879655a4feeb08e7ad5a96232240f

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX      
Subclass: ACCEPT
    Timestamp: 00020ms  SCall: 00150  DCall: 00006 [213.166.5.130:4569]
    FORMAT          : 8
billie*CLI>
     -- Call accepted by 213.166.5.130 (format alaw)
     -- Format for call is alaw
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX      
Subclass: ACK
    Timestamp: 00020ms  SCall: 00006  DCall: 00150 [213.166.5.130:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX      
Subclass: REGREQ
    Timestamp: 00003ms  SCall: 00007  DCall: 00000 [213.166.5.129:4569]
    USERNAME        : jennet
    REFRESH         : 60

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX      
Subclass: REGAUTH
    Timestamp: 00018ms  SCall: 00032  DCall: 00007 [213.166.5.129:4569]
    AUTHMETHODS     : 3
    CHALLENGE       : 120497989
    USERNAME        : thing

Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX      
Subclass: REGREQ
    Timestamp: 00009ms  SCall: 00007  DCall: 00032 [213.166.5.129:4569]
    USERNAME        : thing
    REFRESH         : 60
    MD5 RESULT      : ffded161100f85b8f9afd687f3010cd5

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX      
Subclass: REGACK
    Timestamp: 00027ms  SCall: 00032  DCall: 00007 [213.166.5.129:4569]
    USERNAME        : thing
    DATE TIME       : 2007-02-13  18:19:48
    REFRESH         : 60
    APPARENT ADDRES : IPV4 194.9.77.198:4569
    CALLING NUMBER  : 110109
    CALLING NAME    : 110109

Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX      
Subclass: ACK
    Timestamp: 00027ms  SCall: 00007  DCall: 00032 [213.166.5.129:4569]
     -- parse_srv: SRV mapped to host sipgate.co.uk, port 5060
Tx-Frame Retry[002] -- OSeqno: 001 ISeqno: 000 Type: IAX      
Subclass: LAGRQ
    Timestamp: 10009ms  SCall: 00002  DCall: 00000 [0.0.3.233:4569]
Tx-Frame Retry[003] -- OSeqno: 000 ISeqno: 000 Type: IAX      
Subclass: REGREQ
    Timestamp: 00008ms  SCall: 00002  DCall: 00000 [0.0.3.233:4569]
    USERNAME        : 1001
    REFRESH         : 60
billie*CLI>
Tx-Frame Retry[001] -- OSeqno: 002 ISeqno: 000 Type: IAX      
Subclass: PING
    Timestamp: 20010ms  SCall: 00002  DCall: 00000 [0.0.3.233:4569]
Tx-Frame Retry[001] -- OSeqno: 003 ISeqno: 000 Type: IAX      
Subclass: LAGRQ
    Timestamp: 20013ms  SCall: 00002  DCall: 00000 [0.0.3.233:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: CONTROL  
Subclass: PROGRES
    Timestamp: 06530ms  SCall: 00150  DCall: 00006 [213.166.5.130:4569]
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 003 Type: IAX      
Subclass: ACK
    Timestamp: 06530ms  SCall: 00006  DCall: 00150 [213.166.5.130:4569]
     -- IAX2/213.166.5.130:4569-6 is making progress passing it to  
SIP/andydesk-08213db8
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 002 Type: VOICE   Subclass: 8
    Timestamp: 06693ms  SCall: 00150  DCall: 00006 [213.166.5.130:4569]
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 004 Type: IAX      
Subclass: ACK
    Timestamp: 06693ms  SCall: 00006  DCall: 00150 [213.166.5.130:4569]
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 004 Type: VOICE   Subclass: 8
    Timestamp: 06865ms  SCall: 00006  DCall: 00150 [213.166.5.130:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 003 Type: IAX      
Subclass: ACK
    Timestamp: 06865ms  SCall: 00150  DCall: 00006 [213.166.5.130:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 003 Type: CONTROL  
Subclass: ANSWER
    Timestamp: 08636ms  SCall: 00150  DCall: 00006 [213.166.5.130:4569]
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 005 Type: IAX      
Subclass: ACK
    Timestamp: 08636ms  SCall: 00006  DCall: 00150 [213.166.5.130:4569]
     -- IAX2/213.166.5.130:4569-6 answered SIP/andydesk-08213db8
[Feb 13 18:21:23] WARNING[19953]: channel.c:3059  
ast_channel_make_compatible_helper: No path to translate from SIP/ 
andydesk-08213db8(256) to IAX2/213.166.5.130:4569-6(8)
[Feb 13 18:21:23] WARNING[19953]: app_dial.c:1655 dial_exec_full: Had  
to drop call because I couldn't make SIP/andydesk-08213db8 compatible  
with IAX2/213.166.5.130:4569-6
     -- Hungup 'IAX2/213.166.5.130:4569-6'
   == Spawn extension (default, 907738383650, 2) exited non-zero on  
'SIP/andydesk-08213db8'
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 005 Type: IAX      
Subclass: HANGUP
    Timestamp: 08679ms  SCall: 00006  DCall: 00150 [213.166.5.130:4569]
    CAUSE CODE      : 16

Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 004 Type: IAX      
Subclass: ACK
    Timestamp: 08679ms  SCall: 00150  DCall: 00006 [213.166.5.130:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 000 Type: IAX      
Subclass: LAGRQ
    Timestamp: 30010ms  SCall: 00002  DCall: 00000 [0.0.3.233:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX      
Subclass: REGREQ
    Timestamp: 00010ms  SCall: 00008  DCall: 00000 [192.246.69.186:4569]
    USERNAME        : 720130
    REFRESH         : 60

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX      
Subclass: REGAUTH
    Timestamp: 00005ms  SCall: 00270  DCall: 00008 [192.246.69.186:4569]
    AUTHMETHODS     : 3
    CHALLENGE       : 104846293
    USERNAME        : 720130
billie*CLI>
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX      
Subclass: REGREQ
    Timestamp: 00118ms  SCall: 00008  DCall: 00270 [192.246.69.186:4569]
    USERNAME        : 720130
    REFRESH         : 60
    MD5 RESULT      : 30fbde257dd4e2fffce664456ce1e76d

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX      
Subclass: REGACK
    Timestamp: 00115ms  SCall: 00270  DCall: 00008 [192.246.69.186:4569]
    USERNAME        : 720130
    DATE TIME       : 2007-02-13  13:31:32
    REFRESH         : 60
    APPARENT ADDRES : IPV4 194.9.77.198:4569
billie*CLI>
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX      
Subclass: ACK
    Timestamp: 00115ms  SCall: 00008  DCall: 00270 [192.246.69.186:4569]
Tx-Frame Retry[001] -- OSeqno: 004 ISeqno: 000 Type: IAX      
Subclass: LAGRQ
    Timestamp: 30010ms  SCall: 00002  DCall: 00000 [0.0.3.233:4569]
Tx-Frame Retry[003] -- OSeqno: 001 ISeqno: 000 Type: IAX      
Subclass: LAGRQ
    Timestamp: 10009ms  SCall: 00002  DCall: 00000 [0.0.3.233:4569]





More information about the asterisk-dev mailing list