Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 18, 2024 5:09 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Help!sip/iax friends can't talk to each other
PostPosted: Sat Apr 21, 2007 1:50 am 
Offline

Joined: Tue Apr 10, 2007 9:43 am
Posts: 3
I want to make sip/iax friends talk to each other for free,but charge them if they dial out from trunk,

so now I can charge them if they dial out from trunk,but I can't talk to some other sip/iax friends using a specified sip/iax friend ,when I dial a sip friend like 4289182340,i 'm told "The number you have dialed is ...unavailable...please enter you number and try again", Anyone knows plese help

Here's some pieces of my a2billing.conf
-------------------------------------------------------
; enable the option to call sip/iax friend for free (values : YES - NO)
sip_iax_friends=YES

; if SIP_IAX_FRIENDS is active, you can define a prefix for the dialed digits to call a pstn number
; values : number
sip_iax_pstn_direct_call_prefix=9

; this will enable a prompt to enter your destination number.
; if number start by sip_iax_pstn_direct_call_prefix we do directly a sip iax call, if not we do a normal call
sip_iax_pstn_direct_call=YES
....

dialcommand_param="|30|HL(%timeout%:61000:30000)"

; by default (3600000 = 1HOUR MAX CALL)
dialcommand_param_sipiax_friend="|30|HL(3600000:61000:30000)"

; Define the order to make the outbound call
; YES -> SIP/dialedphonenumber@gateway_ip - NO SIP/gateway_ip/dialedphonenumber
; Both should work exactly the same but i experimented one case when gateway was supporting dialedphonenumber@gateway_ip
; So in case of trouble, try it out
switchdialcommand=YES

----------------------------------------------------------------------------


Top
 Profile  
 
 Post subject: Re: Help!sip/iax friends can't talk to each other
PostPosted: Sat Apr 21, 2007 3:33 am 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
wanp.kevin wrote:
when I dial a sip friend like 4289182340,i 'm told "The number you have dialed is ...unavailable...please enter you number and try again", Anyone knows plese help

sip_iax_pstn_direct_call_prefix=9



You mean when you dial 94289182340 ?? :roll:


Top
 Profile  
 
 Post subject: Re: Help!sip/iax friends can't talk to each other
PostPosted: Sat Apr 21, 2007 6:22 am 
Offline

Joined: Tue Apr 10, 2007 9:43 am
Posts: 3
krzykat wrote:
wanp.kevin wrote:
when I dial a sip friend like 4289182340,i 'm told "The number you have dialed is ...unavailable...please enter you number and try again", Anyone knows plese help

sip_iax_pstn_direct_call_prefix=9



You mean when you dial 94289182340 ?? :roll:


In fact,no matter I add a prefix 9 or not,it makes the same :(


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 21, 2007 2:04 pm 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
When it say's "unavailable" - that means the number dialed is correct - otherwise it should say "there is no sip/aix number that matches".

So now we know you dialed properly ... so the next thing is that its telling you - I can't connect there. So do this:

Go to the CLI, and type:

Sip show peers like 4289182340

And see what it say's. It should say under status "OK (155 ms)" or something like this. If it say's "UnKnown" or some other status ... that means it can not call to it.

Oh and for people that read the post I listed on Request for "user status" - this is a prime reason why I think we should have it on the user interface.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 25, 2007 4:35 am 
Offline

Joined: Wed Apr 11, 2007 5:49 pm
Posts: 8
im having the same problem... did u solve this issue? :shock:

i want to dial the card alias because im using the same numeration im using in trixbox... dont know if its possible to do that...


Top
 Profile  
 
 Post subject: SIP / IAX Friends
PostPosted: Wed Nov 21, 2007 4:12 am 
Offline
User avatar

Joined: Sat Jun 02, 2007 5:59 am
Posts: 63
Location: Orlando, Fl
I have been trying to get calls from SIP friend to SIP friends working with no success. I have enabled the options in the a2billing.conf file as suggested. The SIP phones are able to register. No matter what number I dial I get the default IVR - "Enter PIN".. Does anyone have any suggestions?

Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on 'YWYyOGE2ZTVhMmMwMzMyMGRhYjliMTAxYTk4MWY4MWU.' of Response 1: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Setting NAT on RTP to 524288
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Checking SIP call limits for device 8711503777
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: build_route: Contact hop:
Nov 20 23:10:31 VERBOSE[10853] logger.c: -- Executing Answer("SIP/8711503777-09e37db8", "") in new stack
Nov 20 23:10:31 VERBOSE[10853] logger.c: -- Executing Wait("SIP/8711503777-09e37db8", "1") in new stack
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on 'YWYyOGE2ZTVhMmMwMzMyMGRhYjliMTAxYTk4MWY4MWU.' of Response 2: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Nov 20 23:10:31 DEBUG[3371] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Nov 20 23:10:32 VERBOSE[10853] logger.c: -- Executing DeadAGI("SIP/8711503777-09e37db8", "a2billing.php|1") in new stack
Nov 20 23:10:32 VERBOSE[10853] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
Nov 20 23:10:32 DEBUG[3371] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: A2Billing AGI internal configuration:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [debug] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [asterisk_version] => 1_2
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [answer_call] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [play_audio] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [say_goodbye] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [play_menulanguage] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [force_language] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [intro_prompt] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [min_credit_2call] => .05
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [min_duration_2bill] => 30
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [notenoughcredit_cardnumber] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [notenoughcredit_assign_newcardnumber_cid] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [use_dnid] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [no_auth_dnid] => Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [0] => 2400
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [1] => 2300
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [number_try] => 30
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [force_callplan_id] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [say_balance_after_auth] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [say_balance_after_call] =>
Nov 20 23:10:32 DEBUG[3371] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [say_rateinitial] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [say_timetocall] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [auto_setcallerid] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [force_callerid] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_sanitize] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_enable] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_askpincode_ifnot_callerid] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_assign_card_to_cid] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card_len] => 10
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card_typepaid] => POSTPAY
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card_credit] => 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card_credit_limit] => 1000
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [cid_auto_create_card_tariffgroup] => 6
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [callerid_authentication_over_cardnumber] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [sip_iax_friends] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [sip_iax_pstn_direct_call_prefix] => 555
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [sip_iax_pstn_direct_call] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [ivr_voucher] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [ivr_voucher_prefix] => 8
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [jump_voucher_if_min_credit] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [extracharge_did] => Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [0] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [extracharge_fee] => Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [0] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [dialcommand_param_sipiax_friend] => |60|HL(3600000:61000:30000)
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [switchdialcommand] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [failover_recursive_limit] => 3
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [maxtime_tocall_negatif_free_route] => 5400
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [send_reminder] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [record_call] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [monitor_formatfile] => gsm
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_force_currency] =>
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [currency_association] => Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [0] => usd:dollars
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [1] => mxn:pesos
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [2] => eur:euros
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [3] => all:credit
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [file_conf_enter_destination] => prepaid-enter-dest
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [file_conf_enter_menulang] => prepaid-menulang2
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [callback_bill_1stleg_ifcall_notconnected] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [logger_enable] => 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [log_file] => /tmp/a2billing.log
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [currency_association_internal] => Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [usd] => dollars
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [mxn] => pesos
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [eur] => euros
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [all] => credit
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [ivr_voucher_prefixe] => 8
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:a2billing.php - line:76 - IDCONFIG : 1
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:a2billing.php - line:77 - MODE : standard
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:a2billing.php - line:89 - AGI Request:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:a2billing.php - line:90 - Array
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: (
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_request] => a2billing.php
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_channel] => SIP/8711503777-09e37db8
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_language] => en
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_type] => SIP
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_uniqueid] => 1195618231.330
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_callerid] => 374436851496560
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_calleridname] => Mixon Seth
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_callingpres] => 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_callingani2] => 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_callington] => 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_callingtns] => 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_dnid] => 555
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_rdnis] => unknown
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_context] => a2billing
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_extension] => 555
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_priority] => 3
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_enhanced] => 0.0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_accountcode] => 8711503777
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: )
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:614 - get_agi_request_parameter = 374436851496560 ; SIP/8711503777-09e37db8 ; 1195618231.330 ; 8711503777 ; 555
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:a2billing.php - line:139 - [ANSWER CALL]
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1436 - [CID_ENABLE - CID_CONTROL - CID:374436851496560]
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1453 - QUERY = SELECT cc_callerid.cid, cc_callerid.id_cc_card, cc_callerid.activated, cc_card.credit, cc_card.tariff, cc_card.activated, cc_card.inuse, cc_card.simultaccess, cc_card.typepaid, cc_card.creditlimit, cc_card.language, cc_card.username, removeinterprefix, cc_card.redial, enableexpire, UNIX_TIMESTAMP(expirationdate), expiredays, nbused, UNIX_TIMESTAMP(firstusedate), UNIX_TIMESTAMP(cc_card.creationdate), cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email, cc_card.uipass, cc_card.id_campaign, cc_card.id, useralias FROM cc_callerid LEFT JOIN cc_card ON cc_callerid.id_cc_card=cc_card.id LEFT JOIN cc_tariffgroup ON cc_card.tariff=cc_tariffgroup.id WHERE cc_callerid.cid='374436851496560'
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: RESULT : 0
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1767 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15
Nov 20 23:10:32 DEBUG[10853] channel.c: Scheduling timer at 160 sample intervals
Nov 20 23:10:32 VERBOSE[10853] logger.c: -- Playing 'prepaid-enter-pin-number' (language 'en')
Nov 20 23:10:32 DEBUG[3371] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Nov 20 23:10:34 DEBUG[10853] channel.c: Scheduling timer at 0 sample intervals
Nov 20 23:10:34 DEBUG[10853] channel.c: Scheduling timer at 0 sample intervals
Nov 20 23:10:34 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1769 - RES DTMF : -1
Nov 20 23:10:34 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1773 - CARDNUMBER ::> -1
Nov 20 23:10:34 VERBOSE[10853] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1783 - PREPAID-INVALID-DIGITS
Nov 20 23:10:34 WARNING[10853] file.c: Failed to write frame
Nov 20 23:10:34 DEBUG[10853] channel.c: Scheduling timer at 0 sample intervals
Nov 20 23:10:34 DEBUG[10853] channel.c: Scheduling timer at 0 sample intervals
Nov 20 23:10:34 VERBOSE[10853] logger.c: == Spawn extension (a2billing, 555, 3) exited non-zero on 'SIP/8711503777-09e37db8'
Nov 20 23:10:34 DEBUG[10853] chan_sip.c: update_call_counter(8711503777) - decrement call limit counter
Nov 20 23:10:34 DEBUG[10853] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Nov 20 23:10:34 DEBUG[10853] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('2007-11-20 23:10:31','\"Mixon Seth\" <374436851496560>','374436851496560','555','a2billing', 'SIP/8711503777-09e37db8','','DeadAGI','a2billing.php|1',3,3,'ANSWERED',2,'8711503777')
Nov 20 23:10:35 DEBUG[3371] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Nov 20 23:10:35 DEBUG[3371] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found


Top
 Profile  
 
 Post subject: Re: Help!sip/iax friends can't talk to each other
PostPosted: Wed Nov 21, 2007 1:01 pm 
Offline

Joined: Thu Sep 13, 2007 12:46 pm
Posts: 254
Location: Naples, Fl ( USA )
wanp.kevin wrote:
I want to make sip/iax friends talk to each other for free,but charge them if they dial out from trunk,

so now I can charge them if they dial out from trunk,but I can't talk to some other sip/iax friends using a specified sip/iax friend ,when I dial a sip friend like 4289182340,i 'm told "The number you have dialed is ...unavailable...please enter you number and try again", Anyone knows plese help

Here's some pieces of my a2billing.conf
-------------------------------------------------------
; enable the option to call sip/iax friend for free (values : YES - NO)
sip_iax_friends=YES

; if SIP_IAX_FRIENDS is active, you can define a prefix for the dialed digits to call a pstn number
; values : number
sip_iax_pstn_direct_call_prefix=9

; this will enable a prompt to enter your destination number.
; if number start by sip_iax_pstn_direct_call_prefix we do directly a sip iax call, if not we do a normal call
sip_iax_pstn_direct_call=YES
....

dialcommand_param="|30|HL(%timeout%:61000:30000)"

; by default (3600000 = 1HOUR MAX CALL)
dialcommand_param_sipiax_friend="|30|HL(3600000:61000:30000)"

; Define the order to make the outbound call
; YES -> SIP/dialedphonenumber@gateway_ip - NO SIP/gateway_ip/dialedphonenumber
; Both should work exactly the same but i experimented one case when gateway was supporting dialedphonenumber@gateway_ip
; So in case of trouble, try it out
switchdialcommand=YES

----------------------------------------------------------------------------

I had the same problem. I changed qualify=3000 that solved the problem.


Top
 Profile  
 
 Post subject: SIP / IAX Friends
PostPosted: Wed Nov 21, 2007 2:49 pm 
Offline
User avatar

Joined: Sat Jun 02, 2007 5:59 am
Posts: 63
Location: Orlando, Fl
Hi graher01,

When you say: I had the same problem. I changed qualify=3000 that solved the problem.

Do you mean change it here:

I tried that setting- no matter what I dial I get the IVR - "prepaid enter pin-number"

Thanks


Attachments:
ScreenHunter_08 Nov. 21 09.48.jpg
ScreenHunter_08 Nov. 21 09.48.jpg [ 75.58 KiB | Viewed 7423 times ]
Top
 Profile  
 
 Post subject: Re: SIP / IAX Friends
PostPosted: Wed Nov 21, 2007 5:24 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
smixon wrote:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [number_try] => 30
Wow! They really don't like entering their PINs more than once, eh?

Once you get your SIP authentication solved (in the other thread you're active in today) you can move on to dialling SIP friends:
Quote:
Nov 20 23:10:32 VERBOSE[10853] logger.c: a2billing.php|1: [agi_extension] => 555
You need to dial 555CARDALIAS, where CARDALIAS is found in both the admin and customer UIs.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group