Hi there.
I am trying to connect Asterisk to a local danish ip-telephony provider.
But is having some difficulties. First I thougt they were related to the
provider. But then i started debugging on the Asterisk (aix2 debug)
When I make a call using AIX to the provider everything seems to work
just fine:
*CLI> -- Accepting AUTHENTICATED call from 192.168.1.150, requested
format = 1024, actual format = 1024
-- Executing Dial("IAX2[demo@192.168.1.150:4569]/4",
"IAX2/demo@demo/6000|40|r") in new stack
-- Called demo@demo/6000
-- Call accepted by 212.130.58.212 (format ILBC)
-- Format for call is ILBC
-- IAX2[demo]/5 answered IAX2[demo@192.168.1.150:4569]/4
-- Attempting native bridge of IAX2[demo@192.168.1.150:4569]/4 and
IAX2[demo]/5
But when I am trying using OpenPhone witj H.323 it seems like something
is not working:
*CLI> iax2 debug
IAX2 Debugging Enabled
*CLI> -- Executing Dial("H323:10",
"IAX2/demo@demo/s|40|r") in new stack
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00001ms SCall: 00003 DCall: 00000 [212.130.58.212:4569]
VERSION : 2
CALLED NUMBER : s
LANGUAGE : en
USERNAME : demo
FORMAT : 4
CAPABILITY : 1038
ADSICPE : 0
DATE TIME : 148806226
I noticed these two lines were different:
AIX: Executing Dial("IAX2[demo@192.168.1.150:4569]/4", "
<mailto:IAX2/demo@demo/6000|40|r> IAX2/demo@demo/6000|40|r") in new
stack
H323: Executing Dial("H323:10", "IAX2/demo@demo/s|40|r") in
new stack
The number is missing in the H323 and replaced with an s instead. Anyone
who knows why this is happening?
Best regards
Martin Kiefer
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20040630/2f9e6ca0/attachment.htm
administrator tootai
2004-Jun-30 11:12 UTC
[Asterisk-Users] Using Asterisk as H323 gateway
Martin Kiefer a ?crit :> Hi there. > > I am trying to connect Asterisk to a local danish ip-telephony > provider. But is having some difficulties. First I thougt they were > related to the provider. But then i started debugging on the Asterisk > (aix2 debug) > > When I make a call using AIX to the provider everything seems to work > just fine: > > *CLI> -- Accepting AUTHENTICATED call from 192.168.1.150, > requested format = 1024, actual format = 1024 > -- Executing Dial("IAX2[demo@192.168.1.150:4569]/4", > "IAX2/demo@demo/6000|40|r <mailto:IAX2/demo@demo/6000%7C40%7Cr>") in > new stack > -- Called demo@demo/6000 <mailto:demo@demo/6000> > -- Call accepted by 212.130.58.212 (format ILBC) > -- Format for call is ILBC > -- IAX2[demo]/5 answered IAX2[demo@192.168.1.150:4569]/4 > -- Attempting native bridge of IAX2[demo@192.168.1.150:4569]/4 and > IAX2[demo]/5 > But when I am trying using OpenPhone witj H.323 it seems like > something is not working:You will never make it work, openphone is h323 and can't be an asterisk EP. You should setup a gatekeeper instead asterisk (or parallel to). The H323 asterisk channel provide a bridge between SIP/IAX EP and H323 EP and doesn't act as an h323 gatekeeper. See GnuGK for this.> > *CLI> iax2 debug > IAX2 Debugging Enabled > *CLI> -- Executing Dial("H323:10", "IAX2/demo@demo/s|40|r") in new stack > Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW > Timestamp: 00001ms SCall: 00003 DCall: 00000 [212.130.58.212:4569] > VERSION : 2 > CALLED NUMBER : s > LANGUAGE : en > USERNAME : demo > FORMAT : 4 > CAPABILITY : 1038 > ADSICPE : 0 > DATE TIME : 148806226 > > I noticed these two lines were different: > AIX: Executing Dial("IAX2[demo@192.168.1.150:4569]/4", > "IAX2/demo@demo/6000|40|r <mailto:IAX2/demo@demo/6000%7C40%7Cr>") in > new stack > H323: Executing Dial("H323:10", "IAX2/demo@demo/s|40|r") in new stack > > The number is missing in the H323 and replaced with an s instead. > Anyone who knows why this is happening? > > Best regards > Martin Kiefer-- Daniel