[Asterisk-Users] Attempting native bridge of

snacktime snacktime at gmail.com
Tue Apr 12 21:18:15 MST 2005


I have a very strange bridging problem also with teliax.  I have an
800 DID and a local number DID with them.  Both numbers go to the same
context, where the caller is dropped into DISA, and the outgoing call
also goes out through teliax.

When dialing into the 800 number, everything works.  When dialing into
the local DID, the caller enters the number he wants to call, asterisk
goes through bridging the call, but when asterisk releases the
channels and hangs up the caller hears a second of garbled voice, then
a strange sound like an electic motor dying, and the call is dropped.

extensions.conf:
[outgoing]
exten => 
_1XXXXXXXXXX,1,DIAL(IAX2/snacktime:xxxxx at voip.teliax.com/${EXTEN},20,tr)

; I used '_.' just to make sure dialplan for both DID's was in fact the same.

[from-teliax]
exten => _.,1,Ringing
exten => _.,2,Wait(4)
exten => _.,3,Answer
exten => _.,4,Wait(2)
exten => _.,5,Authenticate(1234)
exten => _.,6,Playback(pls-entr-num-uwish2-call)
exten => _.,7,DISA(no-password|outgoing)

iax.conf:

[general]
; Teliax
register => snacktime:xxxxxx at voip.teliax.com


[teliax]
context=from-teliax
type=friend
host=voip.teliax.com
auth=md5
secret=xxxxxx
disallow=all
allow=ulaw


Following is a log off the * console.  The log looks the same whether
it's the 800 number or local DID.

 Accepting AUTHENTICATED call from 208.139.204.228, requested format =
4, actual format = 4
    -- Executing Ringing("IAX2/teliax at teliax/5", "") in new stack
    -- Executing Wait("IAX2/teliax at teliax/5", "4") in new stack
    -- Executing Answer("IAX2/teliax at teliax/5", "") in new stack
    -- Executing Wait("IAX2/teliax at teliax/5", "2") in new stack
    -- Executing Authenticate("IAX2/teliax at teliax/5", "1234") in new stack
    -- Playing 'agent-pass' (language 'en')
    -- Playing 'auth-thankyou' (language 'en')
    -- Executing Playback("IAX2/teliax at teliax/5",
"pls-entr-num-uwish2-call") in new stack
    -- Playing 'pls-entr-num-uwish2-call' (language 'en')
    -- Executing DISA("IAX2/teliax at teliax/5", "no-password|outgoing")
in new stack
Apr 12 20:52:13 WARNING[971]: cdr.c:286 ast_cdr_init: CDR already
initialized on 'IAX2/teliax at teliax/5'
    -- Executing Dial("IAX2/teliax at teliax/5",
"IAX2/user:pass at voip.teliax.com/12063821515|20|tr") in new stack
    -- Called user:pass at voip.teliax.com/12063821515
    -- Call accepted by 208.139.204.228 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/teliax/3 is ringing
    -- IAX2/teliax/3 answered IAX2/teliax at teliax/5
    -- Attempting native bridge of IAX2/teliax at teliax/5 and IAX2/teliax/3
    -- Channel 'IAX2/teliax at teliax/5' ready to transfer
    -- Channel 'IAX2/teliax/3' ready to transfer
    -- Releasing IAX2/teliax/3 and IAX2/teliax at teliax/5
    -- Hungup 'IAX2/teliax/3'
  == Spawn extension (outgoing, 12063821515, 1) exited non-zero on
'IAX2/teliax at teliax/5'
    -- Hungup 'IAX2/teliax at teliax/5'



More information about the asterisk-users mailing list