[asterisk-dev] Bridge Call and Dial application
Dome Charoenyost
dome at tel.co.th
Tue May 8 08:49:04 MST 2007
I make module in asterisk for make a call like a mor (http://www.kolmisoft.com)
It's work fine in 1.2.4
>> Executing ws2("SIP/xxx.xxx.xxx.xxx-081b8580", "66819842912|1") in new stack
>> SIP/wholesale-09a7 is making progress passing it to
SIP/xxx.xxx.xxx.xxx-081b8580
>> SIP/wholesale-09a7 answered SIP/xxx.xxx.xxx.xxx-081b8580
>> Attempting native bridge of SIP/xxx.xxx.xxx.xxx-081b8580 and
SIP/wholesale-09a7
When hangup
>>May 8 22:25:20 NOTICE[25066]: app_ws2.c:679 ws2_exec: CDR : Duration: 0
>>May 8 22:25:20 NOTICE[25066]: app_ws2.c:451 ws2_acct_stop: Seconds
to duration: 16
>>May 8 22:25:20 NOTICE[25066]: app_ws2.c:452 ws2_acct_stop: Seconds
to bill: 12
When i comple and run on 1.2.18 found some problem
>> -- Attempting native bridge of SIP/xxx.xxx.xxx.xxx-081c1750 and
>>SIP/wholesale-081d2928
>>May 8 22:41:14 NOTICE[25605]: app_ws2.c:679 ws2_exec: CDR : Duration: 0
>>May 8 22:41:14 NOTICE[25605]: app_ws2.c:451 ws2_acct_stop: Seconds
to duration: 5
>>May 8 22:41:14 NOTICE[25605]: app_ws2.c:452 ws2_acct_stop: Seconds to bill: 0
My application terminate.but call still connect
my application call dial app with this code
app = pbx_findapp("Dial");
if (app) {
ret = pbx_exec(chan, app, data, 1);
} else {
if (SHOW_WARNING) ast_log(LOG_WARNING, "Could not find
application (Dial)\n");
ret = -2;
}
Can someone help me ?
Thanks..
Dome C.
More information about the asterisk-dev
mailing list