* You are viewing the archive for August 1st, 2012

Html/js/flash/air SIP Clients?

Dear list, I am looking for an open source SIP client(or any SDK) that can work on a browser. It may be based html5, javascript, flash, adobe air. I have done some research myself and I would like to ask the community if they have any further hints for me. Real life experience would be awesome.

Thanks, Regards, Arstan Jusupov

Problem With Callfile And CDR

Good afternoon list.

I am experiencing a problem with the CDR and callfiles. What is happening is this: When generating a call with a callfile, everything works perfectly, but the CDR is recorded in the table when they answer the call destination. The field disposition is being recorded correctly, but the duration field is marked with the ring time and billsec is marked with 0. This just happens to connections through callfiles. Yes, the call is working usually remains. I did several tests with durations from seconds to
20 minutes.

I tested in two servers. With an Asterisk 1.4.44 (debian 5 64bits), and another with Asterisk 1.8.14.0 (debian 6 64bits). In both occurs the same problem. AND I tried using ForkCDR and ResetCDR and both did not help.

I’m doing something wrong? Has anyone experienced something similar? Any tips?


*The callfile:*

Channel: local/21411615@test_outgoing



*The extensions.conf*

[test_outgoingsaida]



*Example, console:*

*Log first channel:*
[2012-08-01 14:29:44] DEBUG[6679] pbx.c: Launching ‘Dial’
[2012-08-01 14:29:44] VERBOSE[6679] pbx.c: — Executing
[21411615@test_outgoing:1] Dial(“Local/21411615@test_outgoing-cb92;2″,
“khomp/gpstn/21411615,120,Ttr”) in new stack
[2012-08-01 14:29:44] DEBUG[6679] devicestate.c: device ‘Khomp/B1C0′ state
’1′
[2012-08-01 14:29:44] DEBUG[6679] rtp_engine.c: Can’t find native functions for channel ‘Khomp/B1C0-0.0′
[2012-08-01 14:29:44] DEBUG[6679] rtp_engine.c: Seeded SDP of
‘Khomp/B1C0-0.0′ with that of ‘Local/21411615@test_outgoing-cb92;2′
[2012-08-01 14:29:44] DEBUG[6679] channel.c: Not copying variable DIALEDTIME.
[2012-08-01 14:29:44] DEBUG[6679] channel.c: Not copying variable ANSWEREDTIME.
[2012-08-01 14:29:44] DEBUG[6679] channel.c: Not copying variable DIALEDPEERNAME.
[2012-08-01 14:29:44] DEBUG[6679] channel.c: Not copying variable DIALEDPEERNUMBER.
[2012-08-01 14:29:44] DEBUG[6679] channel.c: Not copying variable DIALSTATUS.
[2012-08-01 14:29:44] VERBOSE[6679] app_dial.c: — Called khomp/gpstn/21411615
[2012-08-01 14:29:52] VERBOSE[6679] app_dial.c: — Khomp/B1C0-0.0 is ringing
[2012-08-01 14:29:53] VERBOSE[6679] app_dial.c: — Khomp/B1C0-0.0 is making progress passing it to Local/21411615@test_outgoing-cb92;2
[2012-08-01 14:30:02] VERBOSE[6679] app_dial.c: — Khomp/B1C0-0.0
answered Local/21411615@test_outgoing-cb92;2
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Set channel Khomp/B1C0-0.0 to write format slin
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Set channel Khomp/B1C0-0.0 to read format slin
[2012-08-01 14:30:02] DEBUG[6679] features.c: Removing dialed interfaces datastore on Khomp/B1C0-0.0 since we’re bridging
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Planning to masquerade channel Khomp/B1C0-0.0 into the structure of Local/21411615@test_outgoing-cb92;1
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Done planning to masquerade channel Khomp/B1C0-0.0 into the structure of Local/21411615@test_outgoing-cb92;1
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Set channel Khomp/B1C0-0.0 to write format slin
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Set channel Khomp/B1C0-0.0 to read format slin
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Putting channel Khomp/B1C0-0.0
in slin/slin formats
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Done Masquerading Khomp/B1C0-0.0 (6)
[2012-08-01 14:30:02] DEBUG[6679] chan_local.c: Not posting to
‘Local/21411615@test_outgoing-cb92;2′ queue since already masqueraded out
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Bridge stops because we’re zombie or need a soft hangup: c0=Local/21411615@test_outgoing-cb92;2, c1=Local/21411615@test_outgoing-cb92;1, flags: No,Yes,Yes,Yes
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Bridge stops bridging channels Local/21411615@test_outgoing-cb92;2 and Local/21411615@test_outgoing-cb92
;1
[2012-08-01 14:30:02] DEBUG[6679] cdr_mysql.c: Inserting a CDR record.
[2012-08-01 14:30:02] DEBUG[6679] cdr_mysql.c: SQL command as follows:
INSERT IGNORE INTO cdr
(`calldate`,`clid`,`src`,`dst`,`dcontext`,`channel`,`dstchannel`,`lastapp`,`lastdata`,`duration`,`billsec`,`disposition`,`amaflags`,`uniqueid`)
VALUES (’2012-08-01 14:29:44′,’\”ELCO Test\”
<123456789>‘,’123456789′,’21411615′,’test_outgoing’,’Local/21411615@test_outgoing-cb92
;2′,’Khomp/B1C0-0.0′,’Dial’,’khomp/gpstn/21411615,120,Ttr’,’18′,’0′,’ANSWERED’,’3′,’1343842184.19303′)
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Hanging up zombie
‘Local/21411615@test_outgoing-cb92;1
[2012-08-01 14:30:02] DEBUG[6679] app_dial.c: Exiting with DIALSTATUS=ANSWER.
[2012-08-01 14:30:02] DEBUG[6679] pbx.c: Spawn extension
(test_outgoing,21411615,1) exited non-zero on
‘Local/21411615@test_outgoing-cb92;2′
[2012-08-01 14:30:02] VERBOSE[6679] pbx.c: == Spawn extension
(test_outgoing, 21411615, 1) exited non-zero on
‘Local/21411615@test_outgoing-cb92;2′
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Soft-Hanging up channel
‘Local/21411615@test_outgoing-cb92;2′
[2012-08-01 14:30:02] DEBUG[6679] channel.c: Hanging up channel
‘Local/21411615@test_outgoing-cb92;2′

*Log second channel:*
[2012-08-01 14:29:44] VERBOSE[6678] pbx_spool.c: — Attempting call on local/21411615@test_outgoing for 21411615@test_ivr:1 (Retry 1)
[2012-08-01 14:30:02] DEBUG[6678] pbx.c: Launching ‘Answer’
[2012-08-01 14:30:02] VERBOSE[6678] pbx.c: — Executing
[21411615@test_ivr:1] Answer(“Local/21411615@test_outgoing-cb92;1″, “”) in new stack
[2012-08-01 14:30:02] DEBUG[6678] pbx.c: Launching ‘Wait’
[2012-08-01 14:30:02] VERBOSE[6678] pbx.c: — Executing
[21411615@test_ivr:2] Wait(“Local/21411615@test_outgoing-cb92;1″, “30″) in new stack
[2012-08-01 14:30:02] DEBUG[6678] channel.c: Scheduling timer at (50
requested / 50 actual) timer ticks per second
[2012-08-01 14:30:02] DEBUG[6678] channel.c: Started silence generator on
‘Local/21411615@test_outgoing-cb92;1′
[2012-08-01 14:30:34] DEBUG[6678] channel.c: Scheduling timer at (0
requested / 0 actual) timer ticks per second
[2012-08-01 14:30:34] DEBUG[6678] channel.c: Stopped silence generator on
‘Khomp/B1C0-0.0′
[2012-08-01 14:30:34] DEBUG[6678] pbx.c: Launching ‘Hangup’
[2012-08-01 14:30:34] VERBOSE[6678] pbx.c: — Executing
[21411615@test_ivr:3] Hangup(“Khomp/B1C0-0.0″, “”) in new stack
[2012-08-01 14:30:34] DEBUG[6678] pbx.c: Spawn extension
(test_ivr,21411615,3) exited non-zero on ‘Khomp/B1C0-0.0′
[2012-08-01 14:30:34] VERBOSE[6678] pbx.c: == Spawn extension (test_ivr,
21411615, 3) exited non-zero on ‘Khomp/B1C0-0.0′
[2012-08-01 14:30:34] DEBUG[6678] channel.c: Soft-Hanging up channel
‘Khomp/B1C0-0.0′
[2012-08-01 14:30:34] DEBUG[6678] channel.c: Hanging up channel
‘Khomp/B1C0-0.0′
[2012-08-01 14:30:34] NOTICE[6678] pbx_spool.c: Call completed to local/21411615@test_outgoing


*Example, table cdr (MySQL):*

*************************** 46. row ***************************
calldate: 2012-08-01 14:29:44
clid: “ELCO Test” <123456789>
src: 123456789
dst: 21411615
dcontext: test_outgoing
channel: Local/21411615@test_outgoing-cb92;2
dstchannel: Khomp/B1C0-0.0
lastapp: Dial
lastdata: khomp/gpstn/21411615,120,Ttr
duration: 18
billsec: 0
disposition: ANSWERED
amaflags: 3
accountcode:
uniqueid: 1343842184.19303
userfield:
did:
recordingfile:




Best Regards,

Asterisk Dahdi 1.6.2.23 iaxmodem

Hello, I have anolog lines coming throug Dahdi to Asterisk Server, one of the anolog lines is used for fax line. I received fax fine without any problems using Iaxmodem with Hylafax Server. Outgoint fax is the problem, when IAXMODEM dial out using Dahdi channel, dahdi answers and start to dial the outside number however Iaxmodem thinks that dahdi is the remote fax machine and starts sending fax data eventually giving up.

Here is my dialplan in extensions.conf

[fax-out]
exten => _XXXXXXX,1,Set(__SIP_CODEC=alaw)
exten => _XXXXXXX,2,Dial(dahdi/g3)

If the remote machine answers within the first ring, the outgoing fax works fine, but if remote fax machine does not answer within the first ring, I get the fallowing erro: “no carrier found”

Hylfafax and Iaxmodem are working fine, my problem is between iaxmodem dialing and though dahdi channel.

Thanks,

Planned Service Outage For Community Services On August 2, 2012

On August 2, 2012 during a window from 10:00AM to 11:00AM (Central Daylight Time, GMT-5), the core routers that provide connectivity through to all Asterisk community services will be swapped out. The actual service interruption may only last a few minutes, but could last longer.

These services could be unavailable during most, if not all, of this time window. Once the move is complete, the services will be available again, with no user-visible changes.

The services affected include:

bamboo.asterisk.org
code.asterisk.org
downloads.digium.com
downloads.asterisk.org
git.asterisk.org
issues.asterisk.org
packages.asterisk.org
reviewboard.asterisk.org
svn.asterisk.org
svnview.digium.com
wiki.asterisk.org

CallerID

When I use a call file to start a call I set the CallerID: field and the polycom phone shows the correct information.

When I use a call file to start a conf call I set the CallerID: field and my polycom phones show “asterisk” not the callerID I
have set.

Is there something additional needed to set the CallerID in this case?
I am also using the “Local” channel does that make a difference?

Jerry

Call Completion Supplementary Services (CCSS) Sound Files?

Dear All,

Does someone knows where to find CCSS sound files? (something like: to request callback press …, )

best regards, pepesz