williamconley wrote:That looks like something you copied to a text file and then dumped and does not have the error message in it. IE: What you "intended" to enter, as opposed to what you actually entered.
It also doesn't address the possibility that there's already a babytel carrier in the system (and this can not have the same name).
And next we have the concept of why there would be more than one IP in the server IP dropdown. This field is meant to be the IP of the server. You have a single standalone server, and that means there should only be one ip, and that must be the IP of the server on which you are making this entry. However, that would not fail the modification, just cause it to be registered for a non-existent server. BUT: If there is more than one entry in this dropdown, you may have bigger problems that we can not see. How many servers do you have? How many entries are there under "Admin->Servers"? How many available options are there in the carrier configuration for "Server IP"? (If not "ONE!" and "It is the IP of my Vicidial Server!" ... something is wrong that should be resolved.)
Ok, I'm doing this super carefully (clean install).
my server, the only one listed:
- Code: Select all
SERVER LISTINGS:
SERVER ID NAME SERVER IP ACTIVE AGENT ASTERISK TRUNKS GMT MODIFY
linux-k7qk Server linux-k7qk 192.168.0.21 Y Y 1.8.29.0-vici 23 -5.00 MODIFY
The example carriers:
- Code: Select all
CARRIER LISTINGS:
Carrier ID Carrier Name Server IP Protocol Registration Active ADMIN GROUP MODIFY
IAXEXAMPLE TEST IAX carrier example 10.10.10.15 IAX2 register => te... N ---ALL--- MODIFY
PARAXIP TEST ParaXip CPD example 10.10.10.15 SIP N ---ALL--- MODIFY
SIPEXAMPLE TEST SIP carrier example 10.10.10.15 SIP register => te... N ---ALL--- MODIFY
I'll copy SIPEXAMPLE to BABYTEL:
Carrier ID: BABYTEL
Carrier Name: babytel
Server IP: 192.168.0.21
Source Carrier: 10.10.10.15
What, where and how did source carrier get configured?
Ok, it's copied:
- Code: Select all
MariaDB [asterisk]>
MariaDB [asterisk]> select carrier_id, carrier_name, server_ip, globals_string from vicidial_server_carriers;
+------------+--------------------------+--------------+---------------------------------+
| carrier_id | carrier_name | server_ip | globals_string |
+------------+--------------------------+--------------+---------------------------------+
| PARAXIP | TEST ParaXip CPD example | 10.10.10.15 | TESTSIPTRUNKP = SIP/paraxip |
| SIPEXAMPLE | TEST SIP carrier example | 10.10.10.15 | TESTSIPTRUNK = SIP/testcarrier |
| IAXEXAMPLE | TEST IAX carrier example | 10.10.10.15 | TESTIAXTRUNK = IAX2/testcarrier |
| BABYTEL | babytel | 192.168.0.21 | TESTSIPTRUNK = SIP/testcarrier |
+------------+--------------------------+--------------+---------------------------------+
4 rows in set (0.00 sec)
MariaDB [asterisk]>
the "source carrier" for babytel seems to have been lost in the shuffle...or it's in another table?
Now, the "babytel" (sortof) entry shows in Asterisk:
- Code: Select all
linux-k7qk*CLI>
linux-k7qk*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
gs102/gs102 (Unspecified) D N 0 UNKNOWN
testcarrier/testcarrier (Unspecified) D N 0 UNKNOWN
2 sip peers [Monitored: 0 online, 2 offline Unmonitored: 0 online, 0 offline]
linux-k7qk*CLI>
linux-k7qk*CLI> sip show peer testcarrier
* Name : testcarrier
Secret : <Set>
MD5Secret : <Not set>
Remote Secret: <Not set>
Context : trunkinbound
Subscr.Cont. : <Not set>
Language : en
AMA flags : Unknown
Netborder CPD: No
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
MOH Suggest : default
Mailbox :
VM Extension : asterisk
LastMsgsSent : 32767/65535
Call limit : 0
Max forwards : 0
Dynamic : Yes
Callerid : "" <>
MaxCallBR : 384 kbps
Expire : -1
Insecure : no
Force rport : Yes
ACL : No
DirectMedACL : No
T.38 support : No
T.38 EC mode : Unknown
T.38 MaxDtgrm: 4294967295
DirectMedia : No
PromiscRedir : No
User=Phone : No
Video Support: No
Text Support : No
Ign SDP ver : No
Trust RPID : No
Send RPID : Yes
TrustIDOutbnd: Legacy
Subscriptions: Yes
Overlap dial : No
DTMFmode : rfc2833
Timer T1 : 500
Timer B : 32000
ToHost :
Addr->IP : (null)
Defaddr->IP : (null)
Prim.Transp. : UDP
Allowed.Trsp : UDP
Def. Username: testcarrier
SIP Options : (none)
Codecs : 0x4 (ulaw)
Codec Order : (ulaw:20)
Auto-Framing : No
Status : UNKNOWN
Useragent :
Reg. Contact :
Qualify Freq : 60000 ms
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Min-Sess : 90 secs
RTP Engine : asterisk
Parkinglot :
Use Reason : No
Encryption : No
linux-k7qk*CLI>
Again, what happened to 10.10.10.15 which was a value which babytel copied from the other carrier?
It's somewhat awkward to get data from the db, or sip-vicidial.conf, but I'll run more queries if it provides useful info
I just don't know quite what to query.
ViciBox Redux v.6.0.3-141118 from .iso | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | AMD Phenom(tm) II X6 1090T Processor | 8GiB RAM