[Asterisk-Users] Turning off Bridging?
Darren Smith
data at barrysworld.com
Mon Apr 28 06:23:54 MST 2003
Hi folks
Is it possible to turn off the native bridging on Asterisk?
I've been hacking about app_disa.c to support account & pin numbers, that tag the calls
depending on who logs in.....
It all works fine, then dials the destination number they requested.
My setup is as follows
[ENDPOINT] <IAX1> [MYASTERISKBOX] < IAX1 > [TELCOBOX]<>(PSTN)
If i dial [MYASTERISKBOX] via IAX1 from an <ENDPOINT> and call a pstn number, the call
connects via [MYASTERISKBOX] but then gets transferred directly to TELCOBOX and I loose
call duration etc :-(
Logs from MYASTERISKBOX show the following:
-- Executing Dial("IAX[<ENDPOINTUSER>@<ENDPOINTIP>:5036]/55",
"IAX/<MYUSER>:<MYPASS>@<TELCOBOXIP>/<DESTNUMBER>@<MYCONTEXT>") in new stack
-- Calling using options
'exten=<DSTNO>;callerid=<SRCNO>;language=en;context=<MYCONTEXT>;username=<MYUSER>;formats=
2;capability=2;version=1;adsicpe=0'
-- Called <MYUSER>:<MYPASS>@<TELCOBOXIP>/<DSTNO>@<MYCONTEXT>
-- Call accepted by <TELCOBOXIP> (format 2)
-- Format for call is 2
-- IAX[<TELCOBOX>]/57 is ringing
-- IAX[<TELCOBOX>]/57 stopped sounds
-- IAX[<TELCOBOX>]/57 answered IAX[<ENDPOINTUSER>@<ENDPOINTIP>:5036]/55
-- Attempting native bridge of IAX[<ENDPOINTUSER>@<ENDPOINTIP>:5036]/55 and
IAX[<TELCOBOX>]/57
-- Channel 'IAX[<TELCOBOX>]/57' ready to transfer
-- Channel 'IAX[<ENDPOINTUSER>@<ENDPOINTIP>:5036]/55' ready to transfer
-- Releasing IAX[<ENDPOINTUSER>@<ENDPOINTIP>:5036]/55 and IAX[<TELCOBOX>]/57
........
-- Hungup 'IAX[<TELCOBOX>]/57'
The total call duration was about 42 seconds, yet the actual call was ~ 16 minutes.
The Telcobox has a Digium E1 card in :)
Any thoughts?
Regards
Darren Smith
Game Digital Ltd
More information about the asterisk-users
mailing list